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

/image-convert(1)

agentutility / mediakit / image-convert
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
media
STATUS
live
NAME
image-convert universal image format converter (png, jpg, webp, avif, gif, bmp, tiff, ico, heic, heif, psd, svg)
SYNOPSIS
POST https://x402.org/v1/image-convert
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

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

Universal image format converter (PNG, JPG, WEBP, AVIF, GIF, BMP, TIFF, ICO, HEIC, HEIF, PSD, SVG). Optional resize + quality. CloudConvert engine.

INPUTrequest schema
propertytypedescriptionreq?
image_urlstringURL of source image. Format inferred from extension.required
output_formatstringTarget format: png, jpg, webp, avif, gif, bmp, tiff, ico, heic, heif, psd.required
qualitynumber1-100. Affects jpg/webp/avif.optional
widthnumberOptional resize width (1-16000).optional
heightnumberOptional resize height (1-16000).optional
fitstring'max' (default), 'crop', or 'scale' when resizing.
enum: max · crop · scale
optional
OUTPUTresponse shape
fieldtypedescription
image_urlstringURL to the converted image file hosted on CloudConvert's CDN, ready for download.
file_size_bytesnumberSize of the converted output image in bytes.
input_formatstringDetected format of the source image (png, jpg, webp, avif, heic, etc.).
output_formatstringTarget format the image was converted to (png, jpg, webp, avif, gif, bmp, tiff, ico, heic, heif, psd, svg).
source_urlstringOriginal URL of the source image that was fetched and converted.
job_idstringCloudConvert job identifier for the conversion task, useful for debugging or support.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/image-convert \
  -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 image-convert tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
imageconvertpngjpgwebpavifheicformat
env
CLOUD_CONVERT_API_KEY
methods
POST
cluster
mediakit
price
$0.01 USDC per call
ADJACENTother endpoints in mediakit
endpointdescriptionprice
audio-transcribeAudio transcribe / speech-to-text / Whisper-large / multi-language ASR / OpenAI Whisper API compat.$0.01
csv-to-icsCSV calendar to ICS / iCal file generator.$0.01
image-format-convertImage converter.$0.01
merge-pdfPDF merger / combine PDFs / concatenate PDF files / join multiple PDFs into one.$0.01
pdf-mergePDF merger / PDF combiner / PDF concatenator.$0.01
receipt-ocrReceipt OCR.$0.01
receipt-parserReceipt → structured JSON (vendor, address, date, line items with qty/unit_price/total, subtotal, tax, tip, total, payment method).$0.01
youtube-transcriptYouTube transcript / closed-caption fetcher / video subtitles puller / auto-generated CC reader.$0.01
SEE ALSO
agentutility(7) · mediakit(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org