Upscale Image
Upscales the resolution of a selected photo.
This operation costs 3 credits.
Endpoint
POST /api/images/upscaleParameters
Parameter
Type
Required
Description
image_id
string
Yes
The identifier of the selected image.
callback
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
curl -X POST "https://api.deepmode.ai/api/images/upscale" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_SECRET_API_KEY" \
-d '{
"image_id": "c6b8a9f7e5d1c3a2f91e3"
}'Response
Upon successful upscaling, the API returns the following response:
Last updated