🗣️ Indic TTS API

Voice Tech for All - Multilingual Indian Text-to-Speech

📡 Endpoint

GET /Get_Inference?text=<text>&lang=<language>

📋 Parameters

ParameterTypeRequiredDescription
textstringYesText to synthesize (English must be lowercase)
langstringYesLanguage code
speaker_wavWAV fileYesReference speaker audio

🌍 Supported Languages

bhojpuri, bengali, english, gujarati, hindi, chhattisgarhi, kannada, magahi, maithili, marathi, telugu

📝 Example

import requests

base_url = 'https://Souhadra-Shri-indic-tts-api.hf.space/Get_Inference'

params = {
    'text': 'नमस्ते आप कैसे हैं',
    'lang': 'hindi',
}

with open('speaker.wav', 'rb') as f:
    response = requests.get(base_url, params=params, files={'speaker_wav': f})

with open('output.wav', 'wb') as f:
    f.write(response.content)
        

📚 Interactive API Documentation