download_video
Download a video or audio track and return a temporary download link. Finishes within wait_seconds for most videos; otherwise returns a job id to pass to get_download_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Link to ONE video, reel, short or post (not a playlist or channel). Surrounding text is ignored. | |
| quality | No | 'best' (default), a maximum height such as '1080', '720', '480', '360', or an audio format: 'audio:mp3:192', 'audio:m4a', 'audio:opus', 'audio:wav'. get_video_info lists what a video offers. | best |
| audio_only | No | Download only the audio (MP3 192k unless quality names an audio format). | |
| wait_seconds | No | How long to wait for the download to finish before returning a job id. |