Upscale an image
POST /v1/images/upscale
Authorizations
API key in format: Bearer inf_***
Body
Slug of the upscale model to run, as listed by GET /v1/models. Must be an upscale-modality model that accepts an image input and is served by FAL; anything else is rejected with 400.
Source image to upscale, as a URL or a data URI. Required.
"https://example.com/photo.png"
Upscale factor. Forwarded onto whichever of the model's own input fields is named scale, upscale_factor or upscaling_factor; silently ignored by a model that declares none of them. Omit to use the model's own default.
4
Response
The upscaled image. data normally holds a single artifact.
Unix timestamp, in seconds, of when the result was produced.
1713204900
One entry per produced artifact, in the order the provider returned them.
Credits actually settled for this request (1 credit = $0.01). Settled against measured compute for per_second models, clamped to the amount reserved before the call, so it is never larger than the hold. May be fractional.
12.5