Skip to main content

Create transcription

POST 

/audio/transcriptions

Transcribes one audio file, in the format of OpenAI's speech-to-text API (client.audio.transcriptions.create in the OpenAI SDKs), with vibevoice-asr (alias microsoft/vibevoice-asr). The request is a multipart/form-data form with the file and the model. With verbose_json, the answer adds the duration and the segments, each with its start, end and speaker. More than 50 languages are detected automatically. At most 5 minutes of audio and a body of 16 MiB per request. Audio, transcripts and prompts are processed in memory only: they are never written to disk or logs and never used for training.

Billed per second of audio, rounded up, at least one second, at the price in audio_pricing.per_second of GET /v1/models?format=openai; usage.seconds of the answer is what was billed. A request that ends in an error is not billed. The model marks audio without speech with tags such as [Silence]; send remove_nonspeech_tags=true to remove them. A transcription that takes more than about 20 seconds is answered 200 at once with blank lines until the transcript follows; JSON parsers skip them. Only Serenity Edge API keys can use this route. See the Speech to text guide.

Request​

Responses​

The transcript. json, the default, gives text and usage; verbose_json adds the language sent, the duration and the segments; text gives the transcript alone as text/plain.