Upscale an image 2x or 4x
upscale_imageDouble an image's width and height with a super-resolution model, which reconstructs edges and texture instead of blurring. Takes images of up to about one megapixel (2.25 on Pro). scale 4 (Pro, up to one megapixel, slower) runs the model twice. Returns a download URL valid for one hour.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | 2 (default) or 4 (Pro). | |
| format | No | Output format. Default: keep the input format. | |
| image_url | No | Public http(s) address of the image. Use this or image_base64. | |
| image_base64 | No | The image file's bytes, base64-encoded. Use for a local file, e.g. one in the repository. |