Download a clip or ad
download_videoDownload a completed clip or merged ad to a local MP4 file. Provide the ID and an absolute output path; parent folders are created automatically.
Instructions
Download a completed clip (kind "clip", default; same as clipugc videos download <id>) or a completed merged ad (kind "ad"; same as clipugc ads download <adId>) 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 ad id, as returned by other tools (numbers are fine as strings). | |
| kind | No | "clip" (default) for a character video id, "ad" for a merged_video_id. | |
| output | No | Destination file path (same as --output). Default: clipugc-video-<id>.mp4 or clipugc-ad-<id>.mp4 in the server's working directory. |