What it does
The audio transcription API turns speech in an audio or video file into text. Send the file as file_base64 with its file_name, and get back the transcript, the duration_seconds and the billed minutes.
Set format to txt for plain text, or to srt for subtitles with a start and end time for each line. Plain text is the default. Each SRT cue has a number, a time range such as 00:00:00,100 --> 00:00:02,009 and the spoken line, ready to load into a video player.
Supported files are MP3, WAV, M4A, OGG, FLAC, AAC, OPUS, MP4, WEBM, MOV and MKV, up to 20 MB. Media with no speech returns an error instead of an empty transcript.
Teams use the audio transcription API to transcribe meetings, customer calls and interviews, add subtitles to videos and make recordings searchable.
To translate the transcript, use the Text Translation API. To remove names and phone numbers from call transcripts, use the Text Anonymization API.