Creative Upscale (async)
Takes images between 64x64 and 1 megapixel and upscales them all the way to 4K resolution. Put more generally, it can upscale images ~20-40x times while preserving, and often enhancing, quality. Creative Upscale works best on highly degraded images and is not for photos of 1mp or above as it performs heavy reimagining (controlled by creativity scale).
How to use
Please invoke this endpoint with a POST request.
The headers of the request must include an API key in the authorization field. The body of the request must be
multipart/form-data.
The body of the request should include:
imageprompt
The body may optionally include:
seednegative_promptoutput_formatcreativitystyle_preset
Note: for more details about these parameters please see the request schema below.
Results
After invoking this endpoint with the required parameters, use the id in the response to poll for results at the
results/ endpoint. Rate-limiting or other errors may occur if you poll more than once every 10 seconds.
Credits
Flat rate of 60 credits per successful generation. You will not be charged for failed generations.
Authorizations
Your Stability API key, sent as a bearer token in the Authorization header.
Headers
Body
What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.
To control the weight of a given word use the format (word:weight),
where word is the word you'd like to control the weight of and weight
is a value between 0 and 1. For example: The sky was a crisp (blue:0.3) and (green:0.8)
would convey a sky that was blue and green, but more green than blue.
1 - 10000