Download a clip or finished video
download_videoDownload a completed ClipUGC clip or finished video to a local mp4 file by providing its ID. Specify an output path to save it; missing directories are created.
Instructions
Download a completed clip (kind "clip", default; same as clipugc videos download <id>) or a completed finished video (kind "finished"; same as clipugc finished download <videoId>) to a local mp4 file. Pass an absolute output path; missing parent directories are created. Costs no credits. Fails if the video has not completed yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Clip or finished video id, as returned by other tools (numbers are fine as strings). | |
| kind | No | "clip" (default) for a clip id, "finished" for a finished video id (merged_video_id). | |
| output | No | Destination file path (same as --output). Default: clipugc-video-<id>.mp4 or clipugc-finished-<id>.mp4 in the server's working directory. |