download_video
Download finished HeyGen videos to local .mp4 files by passing a video ID or direct URL. The tool resolves the URL and saves the file before link expiration.
Instructions
Download a finished HeyGen video to a local .mp4 file. Pass video_id (the URL is looked up automatically) or a direct video_url. HeyGen video URLs expire 7 days after generation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | No | Video ID to download. Its status must be 'completed'. | |
| video_url | No | Direct video URL, used instead of looking it up by video_id. | |
| output_path | Yes | Absolute path for the .mp4 (e.g. /tmp/demo.mp4). Directory is created if needed. |