All models

Text-to-speech

Amazon Generative Speech

amazon/generative-speech

Generative text-to-speech with selectable bilingual speakers for Indian English and Hindi.

Try in Playground

Model capabilities

Price
$30.00 per 1M characters
Modes
Offline HTTP and Realtime streaming
Text limit
2,000 characters
Languages
English (en), Hindi (hi)

Offline HTTP request

curl --fail-with-body 'https://api.runbios.ai/v1/audio/speech' \  -H "Authorization: Bearer $RUNBIOS_API_KEY" \  -H 'Content-Type: application/json' \  -d '{"model":"amazon/generative-speech","input":"Hello.","voice":"default","response_format":"mp3"}' --output speech.mp3
Offline API guide

Realtime streaming

Connect with a WebSocket client using the bios.audio.v1 subprotocol and a Bearer token.

wss://api.runbios.ai/v1/audio/speech/realtime?model=amazon%2Fgenerative-speechRealtime API guide