Video Download
video_downloadDownload video or audio from public media URLs, set output format, quality, and duration limits, and deliver results by webhook.
Instructions
Video Download. Credit cost: 1 credit per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Video URL to download. | |
| fields | No | Comma-separated list of fields to keep in the response, with dot notation for nested fields (e.g. name,location.city). Does not change the credit cost. | |
| webhook_url | No | URL of the webhook where results will be sent. When specified, the system will attempt to send the response to this URL up to 3 times with a 5-second delay between each attempt. The results will be sent as a POST request. | |
| max_duration | No | Maximum duration of the downloaded content in seconds. If the video/audio is longer than this value, only the content up to this duration will be downloaded. | |
| video_format | No | Desired output format for the video. Available options: Default: "mp4". | |
| download_type | No | Desired download type. You have three options: Default: "audio_video". | |
| video_quality | No | Desired video quality. Available options: Default: "best". | |
| webhook_authorization | No | Authorization header for the webhook. This parameter allows you to add authentication to your webhook endpoint. This value will be included in the Authorization header when making the webhook request to your server. |