image-to-image/upscale
POST
/v1/generation/{engine_id}/image-to-image/upscaleCreate a higher resolution version of an input image.
This operation outputs an image with a maximum pixel count of 4,194,304. This is equivalent to dimensions such as 2048x2048
and 4096x1024
.
By default, the input image will be upscaled by a factor of 2. For additional control over the output dimensions, a width
or height
parameter may be specified.
For upscaler engines that are ESRGAN-based, refer to the RealESRGANUpscaleRequestBody
body option below. For upscaler engines that are Stable Diffusion Latent Upscaler-based, refer to the LatentUpscalerUpscaleRequestBody
body option below.
For more details on the upscaler engines, refer to the documentation on the Platform site.
Request
The format of the response. Leave blank for JSON, or set to 'image/png' for a PNG image.
Allows for requests to be scoped to an organization other than the user's default. If not provided, the user's default organization will be used.
Used to identify the source of requests, such as the client application or sub-organization. Optional, but recommended for organizational clarity.
Used to identify the version of the application or service making the requests. Optional, but recommended for organizational clarity.