Transcribe Audio
transcribe_audioWrite out everything said in a recording, with the exact second every word starts and ends. Give it the asset id of a clip in your library (or an https link) and you get back the full text, the language it heard, and a word-by-word list with times you can build captions or cut on. Set speakers true when more than one person is talking and each word is also labelled with who said it. Set sound_events true to have laughter, applause and other noises marked too. Pass keyterms, a list of words or short phrases (up to 1000, each under 50 letters and 5 words or fewer), to make sure names, product words and acronyms come out spelled the way you write them, for example ["QA"] so it is not heard as "Q&A". Works on audio and on video files. Billed per minute of the recording (a charge applies). Nothing new is saved to your library.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyterms | No | Optional. Words or short phrases to hear right, spelled the way you want them back, e.g. ["QA", "SwitchApp"]. Up to 1000, each under 50 letters and 5 words or fewer, with no < > { } [ ] or backslash. | |
| language | No | Optional two-letter language code, e.g. "en". Leave out and the language is worked out automatically. | |
| speakers | No | Optional. true labels each word with who said it, for two or more people talking. | |
| recording | Yes | The clip to write out: an asset id from your library, the generation_id any Switch audio tool gave back (list_my_audio shows them), or an https link. | |
| sound_events | No | Optional. true marks non-speech sounds like laughter and applause. |