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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
image_url required | URL or file | — | Url to input image |
scale | number 1 to 8 | 2 | Rescaling factor |
tile | number (whole) | 0 | Tile size. Default is 0, that is no tile. When encountering the out-of-GPU-memory issue, please specify it, e.g., 400 or 200 |
face | true or false | false | Upscaling a face |
model | one of RealESRGAN_x4plus, RealESRGAN_x2plus, RealESRGAN_x4plus_anime_6B, RealESRGAN_x4_v3, RealESRGAN_x4_wdn_v3, RealESRGAN_x4_anime_v3 | RealESRGAN_x4plus | Model to use for upscaling |
output_format | one of png, jpeg | png | Output 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"
}
}'