Fetch async generation result
Fetch the result of a 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 to use
Please invoke this endpoint with a GET request.
The headers of the request must include an API key in the authorization field and the ID
of your generation must be in the path.
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.
Authorizations
Your Stability API key, sent as a bearer token in the Authorization header.
Headers
Path Parameters
Response
Generation finished.
The bytes of the generated image.
The finish-reason and seed will be present as headers.