API Documentation
Upscale
API documentation and implementation examples for the Upscale model.
Part of the Image To Image / Upscale collection
API Endpoint
/v1/image-to-image/upscale
Request Parameters
faceboolean
Whether to enhance faces in the image
image_url(Required)string
URL of the image to be upscaled
Code Examples
Response Example
Response Fields
image(Required)object
urlstring
URL of the upscaled image
widthinteger
Width of the image in pixels
heightinteger
Height of the image in pixels
file_datastring
Base64-encoded image data (if applicable)
file_namestring
Name of the image file
file_sizeinteger
Size of the image file in bytes
content_typestring
Content type/MIME type of the image