We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e32d67 commit 899f673Copy full SHA for 899f673
examples/async_tts_call.py
@@ -9,10 +9,10 @@
9
async def main():
10
# Stream the TTS generation
11
voices = await client.voice_cloning.list_voices()
12
- voice_id = voices[1]["id"]
+ voice_id = voices[0]["id"]
13
print(f">>> using voice id: {voice_id}")
14
response = client.text_to_speech.tts(
15
- text="Experience ultra-low latency streaming with Camb AI.",
+ text="Experience high quality text to speech generation using MARS Pro Model.",
16
language="en-us",
17
speech_model="mars-pro",
18
voice_id=voice_id,
0 commit comments