cURL
curl --request POST \ --url https://api.vachana.ai/api/v1/tts/sse \ --header 'Content-Type: application/json' \ --header 'X-API-Key-ID: <x-api-key-id>' \ --data ' { "text": "नमस्ते, आप कैसे हैं?", "voice": "speaker_0" } '
"event: audio_chunk\ndata: UklGRiQAAABXQVZFZm10IBAAAAABAAEAQB8AAEAfAAABAAgAZGF0YQAAAAA=\n\nevent: completed\ndata: {\"status\": \"success\"}\n"
Complete technical specification for the Vachana TTS streaming (SSE) endpoint — receive audio in chunks as it is generated.
Request body for TTS inference.
Supported TTS models.
"vachana-voice-v1"
Audio output configuration.
Show child attributes
Successful Server-Sent Events stream
The response is of type string.
string
Was this page helpful?