Stability.Ai
  1. generation
Stability.Ai
  • Getting Started
  • v1
    • user
      • account
      • balance
    • engines
      • list
    • generation
      • text-to-image
      • image-to-image
      • image-to-image/upscale
      • image-to-image/masking
  • v2alpha
    • generation
      • image-to-video
        POST
      • image-to-video/result
        GET
      • stable-image/upscale
        POST
      • stable-image/upscale/result
        GET
      • stable-image/inpaint
        POST
  1. generation

stable-image/upscale/result

https://api.stability.ai
https://api.stability.ai
https://api.stability.ai
https://api.stability.ai
GET
/v2alpha/generation/stable-image/upscale/result/{id}
v2alpha/generation
Fetch the result of an upscale generation by ID. Make sure to use the same API key to fetch the generation result
that you used to create the generation, otherwise you will receive a 404 response.

How is progress reported?#

Your generation is either in-progress (i.e. status code 202) or it is complete (i.e. status code 200).
We may add more fine-grained progress reporting in the future (e.g. a numerical progress).

How long are results stored?#

Results are stored for 24 hours after generation. After that, the results are deleted.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.stability.ai/v2alpha/generation/stable-image/upscale/result/' \
--header 'authorization;'
Response Response Example
200 - Example 1
{}

Request

Path Params
id
string 
required
Header Params
authorization
string 
required
accept
string 
optional

Responses

🟢200The upscale was successful.
application/json
Body
object {0}
🟢202Your upscale generation is still in-progress.
🟠400Something about your request is invalid, see the `errors` field for details.
🟠403Your request was flagged by our content moderation system.
🟠404No generation found for the provided ID.
🔴500An internal error occurred. If the problem persists [contact support](https://platform.stability.ai/support).
Previous
stable-image/upscale
Next
stable-image/inpaint
Built with