Export a video project (quote, then confirm)
video_project_exportRender the project to MP4 (charged in credits). Always two steps: (1) call without quoteToken to get {quote:{credits, quoteToken, expiresAt}}; show the price to the user and wait for an explicit yes; (2) call again with the quoteToken. The quote is bound to the timeline revision and expires after 15 min; if the timeline changes, get a new quote. Returns renderId; poll video_project_export_status. The project stays editable at editorUrl.
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": {
"projectId": "<projectId>"
},
"name": "video_project_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Video project id (from video_project_create) | |
| quoteToken | No | From step 1, only after the user agreed to the price | |
| acceptWarnings | No | Export even though the quote listed warnings (e.g. clipped text). Only when the user accepts them | |
| expectedRevision | No | The `revision` from your last read; the call is refused if the timeline changed since. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | No | ||
| needsConfirmation | No |