Transcribe audio or video
transcribe_mediaSpeech-to-text with word timestamps and segments (ElevenLabs Scribe v2). ASYNC: returns a jobId at once; poll get_transcription (or get_job) every ~15 s. Takes about 4 minutes per hour of audio. Pass exactly one source: r2Key (from create_upload / import_asset_from_url) or url (a direct https file link, public or presigned, up to 2 GB; video-platform page links are rejected). Up to 120 minutes per file (split longer recordings), 5 running at once. SPENDS 1 credit per started 10 minutes: maxDurationMinutes (default 60) is reserved up front and settled to the real duration. Tip: upload only the audio track (ffmpeg -i in.mp4 -vn -ac 1 -b:a 64k out.mp3, about 29 MB per hour) rather than a multi-GB video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct https audio/video file URL | |
| name | No | Label for this transcription | |
| r2Key | No | Uploaded file key (api-uploads/… or api-imports/…) | |
| diarize | No | Label speakers (speakerId on words and segments) | |
| keyterms | No | Names and jargon to bias recognition toward (each < 50 chars, ≤ 5 words) | |
| numSpeakers | No | Max speakers; needs diarize | |
| languageCode | No | ISO 639-1 or 639-3 language code, e.g. 'de' or 'deu' | |
| tagAudioEvents | No | Include non-speech events like (laughter) | |
| maxDurationMinutes | No | Longest the audio could be; sizes the credit reservation (default 60) |