Reduces a PDF's file size through lossless stream recompression and optionally linearizes it so web viewers can render the first page before the rest loads. Works best on text- and vector-heavy PDFs; image-heavy documents shrink only marginally since embedded images are not downsampled.
You want a smaller PDF to email or upload, or a web-optimized one.
Aggressively shrinking image-heavy scans (images are not downsampled).
~2 credits / MB (up to 20)
Billed at 0.1 credits per MB of the input file, regardless of how much it shrinks.
Estimated; the actual charge depends on your input and is shown in the response.
Set these inside the intent when you run it.
URL of the PDF to compress.
Compression effort: light (minimal change), balanced (default, also linearizes), or max (smallest output, also linearizes).
A compressed PDF file as a downloadable URL, along with the new size and compression ratio.
Run this sub-skill directly: pin it with operation and pass its inputs in the intent. (Omit operation and the PDF skill will route from your intent instead.)
curl -X POST "https://skill.askfaro.com/skills/pdf/run" \
-H "Authorization: Bearer $FARO_TOKEN" \
-H "Content-Type: application/json" \
-d '{"intent":{"operation":"compress","source_pdf":"https://example.com/large-document.pdf","level":"balanced"}}'Example requests