v4
latestOpenAPI 3.0.22026-08-02109239415.7 KBgenerate
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; the response_type and data fields are present only once status is completed.
get/v1/generations/{generation_id}
Path parameters
generation_idstring required
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"
}
]
}