$ man image-format-convert
/image-format-convert
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakitCATEGORY
uncategorized
STATUS
● live
NAME
image-format-convert — image converter
SYNOPSIS
POST https://x402.agentutility.ai/image-format-convert
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Image converter. Convert any image between PNG, JPG, WEBP, AVIF, GIF, BMP, TIFF, ICO, HEIC, HEIF, PSD, and SVG. Optional resize and quality. CloudConvert engine. Same backend as image-convert under a more search-friendly slug.
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 | Temporary CloudConvert download URL for the converted image; fetch promptly before it expires. |
| output_format | string | Format of the returned file, echoing the requested output_format. |
| file_size_bytes | string | Size of the converted file in bytes, as a string. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/image-format-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-format-convert tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- mediakitimage-conversionformat-converterpng-to-jpgwebpavifheicimage-resize
- 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-convert | Universal image format converter (PNG, JPG, WEBP, AVIF, GIF, BMP, TIFF, ICO, HEIC, HEIF, PSD, SVG). | $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