$ man upscale-image
/upscale-image
NAME
upscale-image — upscales images 2x or 4x with ai super-resolution, best for photos and illustrations
SYNOPSIS
POST https://x402.agentutility.ai/upscale-image
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Upscales images 2x or 4x with AI super-resolution, best for photos and illustrations. Venice image/upscale backend (venice-sd35), re-hosted for a permanent URL. Use it as an AI image upscaler or image enlarger.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| image_url | string | Public http(s) URL of the source image. | required |
| scale | number | Upscale factor. Default 2. enum: 2 · 4 | optional |
| model | string | Override the upscaler model. Default 'venice-sd35'. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| image_url | string | URL of the upscaled output image hosted on fal.ai's CDN. |
| width | number | Width in pixels of the upscaled output image. |
| height | number | Height in pixels of the upscaled output image. |
| file_size_bytes | number | Size of the upscaled output image file in bytes. |
| content_type | string | MIME type of the upscaled output image, typically image/png or image/jpeg. |
| scale | number | Scale factor applied by ESRGAN, between 1 and 8. |
| source_url | string | Echo of the input image_url that was upscaled. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/upscale-image \
-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 upscale-image tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- upscalesuper-resolutionveniceimageenhance
- env
- VENICE_API_KEY · FAL_KEY
- methods
- POST
- cluster
- mediakit
- price
- $0.02 USDC per call
ADJACENT — other endpoints in mediakit
| endpoint | description | price |
|---|---|---|
| add-watermark | Add watermark to PDF, image, or video. | $0.02 |
| audio-loudnorm | Audio loudness normalizer (EBU R128 LUFS). | $0.02 |
| csv-to-jsonl | Converts CSV or TSV data into JSON, JSONL/NDJSON, or column-oriented arrays. | $0.02 |
| image-translate | Image translator. | $0.02 |
| image-upscale | Upscales an image 2x or 4x via Venice's image/upscale endpoint (default model: venice-sd35). | $0.02 |
| image-watermark | Image watermark / add text or logo watermark to image files. | $0.02 |
| mp4-to-mp3 | Converts MP4, MOV, WebM, MKV, AVI, M4V, and FLV video files to MP3 via CloudConvert, with selectable bitrate (96/128/192 kbps). | $0.02 |
| mp4-to-mp3-api | Converts MP4, MOV, WEBM, MKV, AVI, M4V, or FLV URLs into hosted MP3 output with selectable 96, 128, or 192 kbps bitrate. | $0.02 |
SEE ALSO