Get media status
get_media_statusFollow a generate_media call that returned status "processing": pass its mediaIds. Waits up to waitSeconds (default 40) for the generation to finish, then returns status "ready" with each media's url, "failed" with the reason, or still "processing": then call it again with the same mediaIds. Images usually take under a minute, videos 1 to 10 minutes; a media still generating after an hour fails with Timeout. Requires an active Revid plan.
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": {
"mediaIds": "<mediaIds>"
},
"name": "get_media_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaIds | Yes | The mediaIds returned by `generate_media`. | |
| waitSeconds | No | How long to wait for the generation to finish before answering, 0 to 40. Default 40; 0 checks once. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| method | Yes | ||
| status | Yes | ||
| endpoint | Yes | ||
| retryAfterSeconds | No |