Get Image Generation

Retrieve the status of an image generation, and retrieve its output URL once completed.

Path parameters

generation_idstringRequired

Headers

xi-api-keystringOptional

Response

Successful Response
completedobject
A completed media generation and its output.
OR
failedobject
A failed media generation and why it failed.
OR
generatingobject
A media generation that has not finished yet.
OR
pendingobject
A media generation that has not finished yet.

Errors

422
Unprocessable Entity Error