Skip to main content

Fish Audio (Beta)

Fish Audio provides text-to-speech (TTS) with flexible models and high-quality synthetic 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": "fishaudio",
_8
"params": {
_8
"api_key": "<fishaudio_key>",
_8
"reference_id": "<voice_model_id>",
_8
"backend": "speech-1.5"
_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 Fish Audio documentation.

Key parameters

ttsrequired
  • api_key stringrequired

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

  • reference_id stringrequired

    The identifier of the voice model to use for speech synthesis.

  • backend stringrequired

    The backend model version to use. For example, speech-1.5.