$ man upscale-image
/upscale-image(1)
NAME
upscale-image — ai image upscaler / super-resolution / image enlarger
SYNOPSIS
POST https://x402.org/v1/upscale-image
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
AI image upscaler / super-resolution / image enlarger. ESRGAN. 1-8× scale factor. Best for photos and illustrations. fal.ai backend.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| image_url | string | URL of the source image to upscale; must be publicly reachable for the fal.ai ESRGAN backend to fetch. | required |
| scale | number | 1-8. Default 2. | 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.org/v1/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 once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the upscale-image tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- upscalesuper-resolutionesrganimageenhance
- env
- FAL_KEY
- methods
- POST
- cluster
- mediakit
- price
- $0.10 USDC per call
ADJACENT — other endpoints in mediakit
| endpoint | description | price |
|---|---|---|
| extract-tables | Extract tables from PDF / table extractor / PDF to CSV / spreadsheet from PDF. | $0.10 |
| mp4-to-mp3 | MP4 → MP3 audio extractor. | $0.10 |
| pdf-extract-tables | PDF table extractor / table from PDF / scanned-table parsing / financial-table OCR / multi-page table consolidator / Datalab Marker tables. | $0.10 |
| pdf-to-jpg | PDF to JPG / PNG / WEBP image converter. | $0.10 |
| speaker-diarize | Speaker diarization / who-said-what transcription. | $0.10 |
| transcribe | Video / audio transcription via Whisper v3. | $0.10 |
| video-summarize | Video summarizer / podcast summarizer / lecture notes generator. | $0.10 |
| video-to-audio | Video → audio extractor / video to audio converter. | $0.10 |
SEE ALSO