generate_clips
Generate AI clips from a YouTube video. Specify optional start/end times for a segment. Returns project ID for polling or provide callback URL for webhook notification when clips with download URLs are ready.
Instructions
Start AI clip generation from a YouTube video. Returns a JSON object with project_id (string), status ('processing'), poll_url (string), and estimated_minutes (number). Processing is async -- use get_project_status to poll every 10-15 seconds, or provide a callback_url to receive a webhook POST when all clips are exported with download URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full YouTube video URL (e.g. https://www.youtube.com/watch?v=...) | |
| start_time | No | Start time in seconds to clip only a segment of the video. Omit to process the full video. | |
| end_time | No | End time in seconds to clip only a segment of the video. Omit to process the full video. | |
| callback_url | No | Webhook URL to receive a POST when processing finishes. The payload includes an array of clips sorted by score, each with a download_url. |