$ man image-convert
/image-convert
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakitCATEGORY
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.agentutility.ai/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.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| image_url | string | — | required |
| output_format | string | — | required |
| quality | number | — | optional |
| width | number | — | optional |
| height | number | — | optional |
| fit | string | — enum: max · crop · scale | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| image_url | string | URL to the converted image file hosted on CloudConvert's CDN, ready for download. |
| file_size_bytes | number | Size of the converted output image in bytes. |
| input_format | string | Detected format of the source image (png, jpg, webp, avif, heic, etc.). |
| output_format | string | Target format the image was converted to (png, jpg, webp, avif, gif, bmp, tiff, ico, heic, heif, psd, svg). |
| source_url | string | Original URL of the source image that was fetched and converted. |
| job_id | string | CloudConvert job identifier for the conversion task, useful for debugging or support. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/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 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 image-convert tool from your MCP-aware agent.
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
ADJACENT — other endpoints in mediakit
| endpoint | description | price |
|---|---|---|
| audio-transcribe | Transcribes audio to text with whisper-large-v3. | $0.01 |
| csv-to-ics | Converts a CSV of events into an RFC 5545 compliant ICS calendar file (VCALENDAR/VEVENT) for Google Calendar, Outlook, and Apple Calendar… | $0.01 |
| image-format-convert | Image converter. | $0.01 |
| merge-pdf | Combines 2-50 input PDFs from URLs into one PDF, preserving bookmarks. | $0.01 |
| movie-database | Finds movies or TV shows by title, with optional year and region, and returns release year, poster, overview, and language. | $0.01 |
| movie-database-api | Searches movies and TV shows by title and optional year, returning release date, rating, popularity, overview, poster URLs, TMDB links, a… | $0.01 |
| movie-info | Looks up movie and TV metadata: title, release year, rating, overview, poster, and optional streaming providers. | $0.01 |
| pdf-merge | Merges 2-50 PDFs from URLs into a single PDF, preserving bookmarks. | $0.01 |
SEE ALSO