retranscribe_attachment
Re-run transcription on an existing audio or video attachment with new options, such as a different model, language, speaker diarization, or English translation. Overwrites the previous transcription.
Instructions
Retranscribe an existing attachment with new transcription options.
The API overwrites the existing transcription. The attachment must be audio or video; retranscribing a non-media file or a file that was never transcribed has undefined effect.
The six supported models are: model_auto, nb_whisper_large_semantic, nb_whisper_large_verbatim, openai_whisper_large_v3, openai_whisper_large_v2, and KBLab-large. The language parameter accepts 100+ language codes; passing an unknown code raises BadRequestError naming the allowed values. The diarize flag requests speaker identification, and translate_to_english requests translation to English after transcription.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Transcription model. Optional; the spec declares no default. | |
| diarize | No | Request speaker identification in the transcription. | |
| language | No | Language code for transcription (e.g., "en", "no", "auto"). Optional; the spec declares no default. | |
| answer_attachment_id | Yes | The attachment's numeric ID. | |
| translate_to_english | No | Request translation to English after transcription. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |