download_video
Download a completed VideoToken MP4 to a local file path using its task ID and API key, so AI coding assistants can save generated videos for review or use.
Instructions
Download a completed VideoToken MP4 video via GET /v1/videos/{id}/content?download=1 to a local file path. Requires VIDEOTOKEN_API_KEY.
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": {
"task_id": "<task_id>",
"output_path": "<output_path>"
},
"name": "download_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Completed platform task ID. | |
| output_path | Yes | Local file path where the MP4 should be saved. |