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

/upscale-image(1)

agentutility / mediakit / upscale-image
PRICE / CALL
$0.10
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
ai
STATUS
live
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.

INPUTrequest schema
propertytypedescriptionreq?
image_urlstringURL of the source image to upscale; must be publicly reachable for the fal.ai ESRGAN backend to fetch.required
scalenumber1-8. Default 2.optional
OUTPUTresponse shape
fieldtypedescription
image_urlstringURL of the upscaled output image hosted on fal.ai's CDN.
widthnumberWidth in pixels of the upscaled output image.
heightnumberHeight in pixels of the upscaled output image.
file_size_bytesnumberSize of the upscaled output image file in bytes.
content_typestringMIME type of the upscaled output image, typically image/png or image/jpeg.
scalenumberScale factor applied by ESRGAN, between 1 and 8.
source_urlstringEcho of the input image_url that was upscaled.
EXAMPLEStwo 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
ADJACENTother endpoints in mediakit
endpointdescriptionprice
extract-tablesExtract tables from PDF / table extractor / PDF to CSV / spreadsheet from PDF.$0.10
mp4-to-mp3MP4 → MP3 audio extractor.$0.10
pdf-extract-tablesPDF table extractor / table from PDF / scanned-table parsing / financial-table OCR / multi-page table consolidator / Datalab Marker tables.$0.10
pdf-to-jpgPDF to JPG / PNG / WEBP image converter.$0.10
speaker-diarizeSpeaker diarization / who-said-what transcription.$0.10
transcribeVideo / audio transcription via Whisper v3.$0.10
video-summarizeVideo summarizer / podcast summarizer / lecture notes generator.$0.10
video-to-audioVideo → audio extractor / video to audio converter.$0.10
SEE ALSO
agentutility(7) · mediakit(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org