下载生成的视频
seedance_download_videoDownload a completed video generation task as an MP4 to a specified absolute local path, creating parent directories and preventing accidental overwrites.
Instructions
Download a succeeded task as an MP4 to an absolute local output path. Returns path, bytes and mime. Creates parent directories; refuses to overwrite an existing file. Streams at most 512 MB with a 90-second network deadline. Partial files are removed on failure. Uses the authenticated file endpoint, with no key forwarding across redirect origins.
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": "seedance_download_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task ID returned by seedance_create_video. | |
| output_path | Yes | Absolute destination path including .mp4 filename; must not already exist. |