Fang text to speech API
Send Fang text to the Svara TTS Turbo API and get speech back in any of hundreds of voices.
- Script
- Latin
- Language code
- fan
- Optional lang value
- fan
Try it live
Hear Fang in your own words.
Pick a voice, choose one of the lines below or write your own, and press Play. The audio is generated live by the model.
Some sample lines are taken or adapted from the OHCHR translation of the Universal Declaration of Human Rights.
What teams build in Fang
Voice agents and IVR
Streaming speech for phone and app agents that answer in Fang. LiveKit and Pipecat plugins, or one HTTP request.
Alerts and reminders
Order updates, payment reminders, appointments and one-time codes, read out in Fang on a call or in an app.
Stories, lessons and news
Long-form narration for audiobooks, classes and bulletins, in hundreds of voices.
Mixed-language speech
People rarely speak one language at a time. Any voice switches between Fang and English mid-sentence.
One request
Send Fang text as you would write it, and get speech back.
curl https://api.kenpathlabs.com/v1/audio/speech \
-H "Authorization: Bearer $SVARA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "svara-tts-turbo",
"input": "Mbolo!",
"voice": "sv_ubsxdnh8",
"lang": "fan",
"response_format": "mp3"
}' --output fang.mp3Pricing
₹1 per 1,000 characters, the same rate for every language. 100,000 characters free every month, no card needed.
See pricing