Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man pdf-to-jpg

/pdf-to-jpg

agentutility / mediakit / pdf-to-jpg
PRICE / CALL
$0.10
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
media
STATUS
live
NAME
pdf-to-jpg convert a pdf into page images for previews, thumbnails, or archiving
SYNOPSIS
POST https://x402.agentutility.ai/pdf-to-jpg
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Convert a PDF into page images for previews, thumbnails, or archiving. Send a pdf_url with an optional format (jpg, png, or webp), quality, and pixel_density (36-600 DPI), and it rasterizes every page and returns one image URL per page along with the total page_count. Use it as a PDF to JPG converter, PDF page rasterizer, or PDF thumbnail generator when you need images instead of a PDF viewer.

INPUTrequest schema
propertytypedescriptionreq?
pdf_urlstringURL of the PDF to rasterize, one image returned per page.required
formatstringOutput image format: 'jpg' (default), 'png', or 'webp'.
enum: jpg · png · webp
optional
qualitynumberOptional. JPG quality, 1-100. Default 85.optional
pixel_densitynumberOptional. Render DPI, 36-600. Default 144.optional
OUTPUTresponse shape
fieldtypedescription
imagesarrayArray of { page, url, filename, file_size_bytes } objects.
page_countnumberNumber of pages rendered from the source PDF, one image URL returned per page.
formatstringOutput image format used for the rendered pages (jpg, png, or webp).
qualitynumberCompression quality applied to lossy formats like JPG/WEBP, typically 1-100.
pixel_densitynumberDPI used to rasterize each PDF page, between 36 and 600 as configured in the request.
source_urlstringURL of the input PDF that was rasterized into images.
job_idstringCloudConvert job identifier for the rasterization run, useful for tracing or support.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/pdf-to-jpg \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the pdf-to-jpg tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
pdfjpgpngwebprasterizeimages
env
CLOUD_CONVERT_API_KEY
methods
POST
cluster
mediakit
price
$0.10 USDC per call
ADJACENTother endpoints in mediakit
endpointdescriptionprice
doc-to-jsonConverts any document (PDF, DOCX, PPT, XLSX, or image) into structured JSON matching a caller-supplied schema.$0.10
extract-tablesDetects and extracts every table from a PDF document, returning structured JSON or CSV per table.$0.10
pdf-extract-tablesExtracts every table from a PDF, digital or scanned, and returns row-by-column text matrices page-by-page.$0.10
pdf-table-extractExtracts tables from digital or scanned PDFs, returning row/column matrices, CSV output, page numbers, and optional cell boxes.$0.10
pdf-table-extractorFinds tables in digital or scanned PDFs and returns row-by-column matrices, page numbers, and optional cell bounding boxes.$0.10
speaker-diarizeTranscribe audio or video and label who said what.$0.10
transcribeConvert spoken audio or video into text.$0.10
video-summarizeSummarizes videos, podcasts, and lectures in one call: Whisper v3 transcribes, then Mistral summarizes.$0.10
SEE ALSO
agentutility · mediakit · x402 · mcp · llms.txt · registry.json · bazaar.x402.org