Export video
export_videoExport an mp4 for an existing Revid project, with the export modal's resolution, frame rate and compression settings. The call waits up to 40 seconds. An export done by then returns status "ready" with its videoUrl. A longer render (most videos over a minute, 4k) returns status "processing" with an exportId: call get_export_status with it until ready or failed. Do not call export_video again for the same project while it is processing: every call charges a new export. 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": {
"pid": "<pid>"
},
"name": "export_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Existing Revid project id. | |
| fileName | No | Optional export filename. `.mp4` is added automatically if missing. | |
| frameRate | No | Frames per second: 30 (default) or 60. | |
| resolution | No | Export resolution. 4k costs 10 extra credits. Omit to keep the project's own (720p by default). | |
| compression | No | low (default, sharpest), medium or high (lightest file), or a CRF from 0 to 51. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| method | Yes | ||
| status | Yes | ||
| endpoint | Yes | ||
| retryAfterSeconds | No |