GET
/v1/schemas/fal/image/fal-ai%2Fesrgan
Accept:
Request body
6 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | Url to input image | |
| model | enum | Model to use for upscaling | RealESRGAN_x4plus | RealESRGAN_x2plus | RealESRGAN_x4plus_anime_6B | RealESRGAN_x4_v3 | RealESRGAN_x4_wdn_v3 | RealESRGAN_x4_anime_v3 · default: "RealESRGAN_x4plus" |
| tile | integer | 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 | default: 0 |
| face | boolean | Upscaling a face | default: false |
| output_format | enum | Output image format (png or jpeg) | png | jpeg · default: "png" |
| scale | number | Rescaling factor | 1 ≤ n ≤ 8 · default: 2 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/esrgan","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}