A generation's status and files
generationOne 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}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "generation"
}
}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. |