Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man pdf-to-jpg

/pdf-to-jpg(1)

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 pdf to jpg / png / webp image converter
SYNOPSIS
POST https://x402.org/v1/pdf-to-jpg
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

PDF to JPG / PNG / WEBP image converter. Renders every page at configurable DPI (36-600). Returns one image URL per page. CloudConvert backend.

INPUTrequest schema
propertytypedescriptionreq?
pdf_urlstringPublic URL of the PDF.required
formatstring'jpg' (default), 'png', or 'webp'.
enum: jpg · png · webp
optional
qualitynumberJPG quality 1-100 (default 85). Ignored for png/webp.optional
pixel_densitynumberDPI for rasterization. Default 144. Range 36-600.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.org/v1/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 once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the pdf-to-jpg tool to ..."
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
extract-tablesExtract tables from PDF / table extractor / PDF to CSV / spreadsheet from PDF.$0.10
mp4-to-mp3MP4 → MP3 audio extractor.$0.10
pdf-extract-tablesPDF table extractor / table from PDF / scanned-table parsing / financial-table OCR / multi-page table consolidator / Datalab Marker tables.$0.10
speaker-diarizeSpeaker diarization / who-said-what transcription.$0.10
transcribeVideo / audio transcription via Whisper v3.$0.10
upscale-imageAI image upscaler / super-resolution / image enlarger.$0.10
video-summarizeVideo summarizer / podcast summarizer / lecture notes generator.$0.10
video-to-audioVideo → audio extractor / video to audio converter.$0.10
SEE ALSO
agentutility(7) · mediakit(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org