Stability AI

Interact with the Stability AI API to generate, upscale, and edit images.

Upscale Image

AI-generated

Summary

Upscale an existing image using Stability AI's API with a choice between 'Creative' or 'Conservative' upscale types.

Inputs

  • Upscale Type — Select 'Creative Upscale' for a more artistic enhancement or 'Conservative Upscale' for a subtler improvement.
  • Image (required) — Provide the image to upscale as a base64 encoded string or a URL.

Output shape

a list of items each containing a single binary image file representing the upscaled image in PNG format

Each returned item has no JSON data and includes binary data with keys 'data' (the image content), 'fileName' (always 'upscaled_image.png'), and 'mimeType' ('image/png'). The image is always returned as PNG regardless of input format.

Examples

Example 1: Upscaling an image from a URL using a creative upscale

Set 'Upscale Type' to 'Creative Upscale' and provide the image URL in 'Image'. The node returns the upscaled PNG image as binary data.

Links

Discussion