Poll a generation
Retrieves the current status of an asynchronous generation, and its results once complete. Use the generation_id returned by the async generation endpoint. While the generation is pending or has failed, the response contains only generation_id, status, and created. Once status is completed, the response includes response_type and data, and may include usage_cost_usd_micros when the request uses variable usage-based pricing.
Path parameters
URL-safe base64 ID of the generation returned by the async generation endpoint.
Response
Generation status retrieved successfully.
Example response
{
"generation_id": "bzue-VZtSlSMAneIbfCo2A",
"status": "completed",
"created": "2000-01-23T04:56:07+00:00",
"response_type": "url",
"data": [
{
"prompt": "prompt",
"resolution": "2048x2048",
"seed": 12345,
"is_image_safe": true,
"url": "https://ideogram.ai/api/images/ephemeral/xtdZiqPwRxqY1Y7NExFmzB.png?exp=1743867804&sig=e13e12677633f646d8531a153d20e2d3698dca9ee7661ee5ba4f3b64e7ec3f89"
}
]
}Changes
Changed in 6 of the 34 revisions of this API.817
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
- ▲
added to the
/response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added
layerized_imagediscriminator mapping keys to the/response property for the response statusresponse-property-discriminator-mapping-added
- ▲
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ▲
added to the
/response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added
image.without-prompt-or-seeddiscriminator mapping keys to the/response property for the response statusresponse-property-discriminator-mapping-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added to the
/response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
the
/response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added discriminator to
/response property for the response statusresponse-property-discriminator-added
- ▲