falImage to imageComing soon

fal-ai/esrgan

fal-ai/esrgan is an image to image tool from fal that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
image
Longest queue wait
3600s
Run deadline
1800s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
image_url requiredURL or file—Url to input image
scalenumber
1 to 8
2Rescaling factor
tilenumber (whole)0Tile size. Default is 0, that is no tile. When encountering the out-of-GPU-memory issue, please specify it, e.g., 400 or 200
facetrue or falsefalseUpscaling a face
modelone of
RealESRGAN_x4plus, RealESRGAN_x2plus, RealESRGAN_x4plus_anime_6B, RealESRGAN_x4_v3, RealESRGAN_x4_wdn_v3, RealESRGAN_x4_anime_v3
RealESRGAN_x4plusModel to use for upscaling
output_formatone of
png, jpeg
pngOutput image format (png or jpeg)

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/esrgan",
    "input": {
      "image_url": "https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg"
    }
  }'