vak_live_... and are shown only once at creation, so store yours
securely.1export VAKYAM_API_KEY="vak_live_..."
1pip install vakyamai
1234567891011121314from vakyamai import VakyamAI client = VakyamAI() # reads VAKYAM_API_KEY response = client.tts.generate( text="வணக்கம், நான் வாக்யம் AI பேசுகிறேன்.", model_id="raaga-v1", voice="Archana", language="ta-IN", output_format="mp3", ) response.save("speech.mp3") print(response.duration_seconds, "seconds")
123456{ "audio": "SUQzBAAAAAAA...", "format": "mp3", "duration_seconds": 2.4, "characters_used": 36 }
audio field to get the raw file:1echo "<base64-audio>" | base64 --decode > speech.mp3
voice and language combinations exist? List them:12voices = client.voices.list(group_by="language") print(voices)