A generation's status and files
generationRead-onlyIdempotent
One generation by id: its status, progress, files and charge, waiting up to wait_seconds for it to finish first. Use it after generate answers with a video still running. Needs the key the generation was made with. Live from GET /v1/generations/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The generation id generate answered with (gen_ then 24 hex characters). | |
| preview | No | Default true: a finished image comes back inline as image content besides its link. | |
| wait_seconds | No | Seconds to wait for the files before answering with the generation as it stands, 0 to 120. Images usually finish inside the default 60; a video takes minutes, so follow up with generation. |