Create speech
Audio
Crear voz
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
Autorizaciones
Your DGrid API key. All endpoints use Authorization: Bearer <DGRID_API_KEY>.
Cuerpo
application/json
Voice model, such as tts-1 or tts-1-hd.
Ejemplo:
"tts-1"
Text to synthesize, up to 4096 characters.
Voice preset.
Opciones disponibles:
alloy, echo, fable, onyx, nova, shimmer Output audio format.
Speaking speed.
Rango requerido:
0.25 <= x <= 4Respuesta
Binary audio stream.
The response is of type file.

