Upscale Image
Upscales the resolution of a selected photo.
This operation costs 3 credits.
Endpoint
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
| string | Yes | The identifier of the selected image. |
| string | No | A URL that will be called when the prompt is done processing. If not provided, the endpoint will run in sync mode and return the response when the image generation is complete. |
Callback
The callback
parameter behaves similarly to the "generate image" endpoint.
Request Example
Response
Upon successful upscaling, the API returns the following response:
Last updated