Create speech
Audio
Créer une synthèse vocale
Convert text into natural speech with the OpenAI-compatible audio speech interface. Returns a binary audio stream — save the response body directly to a file.
POST
Create speech
Autorisations
Your DGrid API key. All endpoints use Authorization: Bearer <DGRID_API_KEY>.
Corps
application/json
Voice model, such as tts-1 or tts-1-hd.
Exemple:
"tts-1"
Text to synthesize, up to 4096 characters.
Voice preset.
Options disponibles:
alloy, echo, fable, onyx, nova, shimmer Output audio format.
Speaking speed.
Plage requise:
0.25 <= x <= 4Réponse
Binary audio stream.
The response is of type file.

