Path Parameters
The task ID returned from the initial image generation request.
If the create response included
poll_url, prefer calling that exact URL for polling. Some image tasks may surface a poll_url under /v1/tasks/{id} instead of the image-specific status path.Response
Unix timestamp of creation.
The task identifier.
Task status:
pending, processing, completed, or failed.Array of generated images (populated when
status is completed).Each object contains:url(string): URL of the generated imagerevised_prompt(string): The prompt used for generation
Error message (only present when
status is failed).