← All models
Upscales image resolution to improve sharpness and size while preserving the original content
images
Details
- Accepts
- text
Pricing
- Price
- 5 cr / image
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| image_urlrequired | string | URL of the image to upscale. |
| sync_mode | boolean | Return the image inline instead of as a URL. |
| output_type | stringenum: png, jpeg | Image format. JPEG carries no alpha, so preserve_alpha does not apply. |
| preserve_alpha | boolean | Reattach the source alpha channel to the result. |
| preserve_color | boolean | Correct the upscaled result's color cast against the source image. |
| desired_increase | integerenum: 2, 4 | Upscale factor. Each factor is its own SwinIR checkpoint. |
Output
| Field | Type | Description |
|---|---|---|
| image | — | The upscaled image. |