Skip to main content

Groq (Beta)

Groq provides fast, reliable text-to-speech (TTS) with customizable voices.

Sample configuration

The following example shows a starting tts parameter configuration you can use when you Start a conversational AI agent.


_8
"tts": {
_8
"vendor": "groq",
_8
"params": {
_8
"api_key": "<groq_key>",
_8
"model": "playai-tts",
_8
"voice": "Arista-PlayAI"
_8
}
_8
}

caution

The parameters listed on this page are validated for use with Conversational AI Engine. To avoid unpredictable behavior, Agora strongly recommends using only the supported parameters. For a complete reference, consult the Groq documentation.

Key parameters

ttsrequired
  • api_key stringrequired

    The Groq API key used to authenticate requests. You must provide a valid key for the service to function.

  • model stringrequired

    The Groq TTS model to use. For example, playai-tts.

  • voice stringrequired

    The voice preset to use for speech synthesis. For example, Arista-PlayAI.