Transcribe a YouTube video
youtube_transcribeTranscript or summary of a YouTube video by its link. Same as POST /v1/video/transcriptions. The video is checked before any model is called: a deleted, private or link-only video, a live stream and a video longer than four hours are refused without charge.
mode "exact" gives a word-for-word transcript, each line with an [HH:MM:SS] timecode, optionally labelled by speaker. mode "fast" gives a summary with key points and rough timecodes — several times faster and cheaper on long videos. An hour-long video in "exact" takes several minutes, which may exceed your client's tool timeout; prefer "fast" there.
Spends money from the account balance: billed per token of the model doing the work. usage.cost_rub is what this call cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Link to the YouTube video, e.g. "https://youtu.be/ITL6WqcV6sE". | |
| mode | No | "exact" — word-for-word transcript with timecodes (default); "fast" — summary with key points. | |
| diarize | No | With mode "exact": label lines by speaker ("Speaker 1:", or by name when it is said in the video). |