Transcribe audio or video
transcribe_audioUse this when the user wants the words: speech in an audio or video file turned into text, from a podcast, interview, lecture, meeting or voice note. Accepts a file the user attached (file) or a direct https link to a media file such as .mp3, .m4a, .wav or .mp4 (url). Returns the transcript with speaker turns, plus a page with the full text and .txt, .srt and .vtt downloads. Short files finish in this call; longer ones return status "processing" and a transcription_id for transcription_status. Up to 90 minutes per file. The first transcript needs no account; after that it asks for a Slice sign-in, and a signed-in person gets 3 transcripts a month, shared with the Slice website. Do not use when the user wants short video clips made from a video (start_episode does that), for YouTube, Spotify, Apple Podcasts or other web pages (they are pages, not files), for text already in the conversation, or for live audio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A direct https link to an audio or video file, e.g. https://example.com/episode.mp3. Not a web page. | |
| file | No | An audio or video file the user attached in the conversation. | |
| wait | No | Default true: wait briefly so short files come back finished. False returns at once with a transcription_id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| language | No | Detected language code, e.g. en. | |
| downloads | No | ||
| file_name | No | ||
| transcript | No | The transcript in paragraphs, with speaker labels when there is more than one voice. | |
| word_count | No | ||
| results_url | Yes | Page with the full transcript and downloads. No sign-in; share it only with people who should see the transcript. | |
| duration_minutes | No | ||
| transcription_id | Yes | Pass to transcription_status or email_transcript. | |
| transcript_truncated | No | True when only the first part is included here; the results page has all of it. |