YouTube Audio & Video Modes
- Index the video, not just the captions: Index YouTube now takes a
modeparameter.transcript(the default, unchanged and staying that way) indexes the caption track as text.audiopulls the audio track through the multimodal audio pipeline, billed at 5 credits per minute.videopulls the video itself for frame descriptions plus transcription, billed at 20 credits per minute. - Captionless videos can fall back instead of failing: set
on_missing_transcripttoaudioorvideoand a video with no captions is indexed through that media pipeline instead of failing the file. Because the fallback changes what you are billed, it is never silent: Get Job Status returns a per-videoyoutubearray withmode_used,fell_back_from,transcript_available, andlanguages. youtube.com/live/URLs are now accepted alongside the existingwatch,youtu.be,shorts,embed, and/v/shapes. Duplicate videos in one request are deduplicated, live streams are refused, and media over 4 hours is rejected before any processing starts.