Fast
Our Fast Upscaler service enhances image resolution by 4x using predictive and generative AI. This lightweight and fast service (processing in ~1 second) is ideal for enhancing the quality of compressed images, making it suitable for social media posts and other applications.
Try it out
Grab your API key and head over to
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, and the accept header should be set to one of the following:
image/*to receive the image in the format specified by theoutput_formatparameter.application/jsonto receive the image encoded as base64 in a JSON response.
The body of the request must include:
image
Optionally, the body of the request may also include:
output_format
Note: for more details about these parameters please see the request schema below.
Output
The resolution of the generated image is 4 times that of the input image with a maximum size of 16 megapixels.
Credits
Flat rate of 2 credit per successful generation. You will not be charged for failed generations.
Authorizations
Use your Stability API key to authentication requests to this App.
Headers
Your Stability API key, used to authenticate your requests. Although you may have multiple keys in your account, you should use the same key for all requests to this API.
1The content type of the request body. Do not manually specify this header; your HTTP client library will automatically include the appropriate boundary parameter.
1"multipart/form-data"
Specify image/* to receive the bytes of the image directly. Otherwise specify application/json to receive the image as base64 encoded JSON.
image/*, application/json The name of your application, used to help us communicate app-specific debugging or moderation issues to you.
256"my-awesome-app"
A unique identifier for your end user. Used to help us communicate user-specific debugging or moderation issues to you. Feel free to obfuscate this value to protect user privacy.
256"DiscordUser#9999"
The version of your application, used to help us communicate version-specific debugging or moderation issues to you.
256"1.2.1"
Body
The image you wish to upscale.
Supported Formats:
- jpeg
- png
- webp
Validation Rules:
- Width must be between 32 and 1,536 pixels
- Height must be between 32 and 1,536 pixels
- Total pixel count must be between 1,024 and 1,048,576 pixels
Dictates the content-type of the generated image.
jpeg, png, webp Response
Upscale was successful.
The bytes of the generated image.
The finish-reason and seed will be present as headers.