Text-to-Speech (Bytes)
TTS
Text-to-Speech (Bytes)
Stream audio from a complete transcript
POST
Text-to-Speech (Bytes)
Authorizations
Headers
API version header.
Available options:
2024-11-13 Example:
"2024-11-13"
Body
application/json
- TTSRequestIdSpecifier
- TTSRequestEmbeddingSpecifier
- RawOutputFormat
- WAVOutputFormat
- MP3OutputFormat
The language that the given voice should speak the transcript in.
Available options:
en, fr, de, es, pt, zh, ja, hi, it, ko, nl, pl, ru, sv, tr The maximum duration of the audio in seconds. You do not usually need to specify this. If the duration is not appropriate for the length of the transcript, the output audio may be truncated.
Influences the speed of the generated speech. Faster speeds may reduce hallucination rate.
This feature is experimental and may not work for all voices.
Available options:
slow, normal, fast Response
200 - audio/*
Audio bytes
The response is of type file.