Connect Fish Audio to Genesys Cloud through the third-party TTS Connector, PCM 8 kHz streaming and a precise voice-agent boundary.
Genesys Cloud is the clearest platform in this set for a custom TTS integration. Its TTS Connector is a documented bring-your-own-technology path: you point it at a speech provider's synthesize and voice-list endpoints, map the fields, and Genesys streams the returned audio into Architect call flows and bot flows. Fish Audio can sit behind that connector with a small adapter. There is no native Fish Audio app in AppFoundry, so the adapter is part of the project.
The connector's constraints matter more than the marketing: PCM at 8 kHz, audio-stream responses only, no SSML, and a voice list cached at activation.
The connector lets Genesys Cloud use an external speech provider instead of its built-in TTS. You install it from AppFoundry, configure an instance and activate it. Genesys documents these properties:
The Genesys third-party TTS provider guide is the source of truth for the current fields and constraints.
A minimal adapter has two endpoints:
| Endpoint | Purpose | Response |
|---|---|---|
POST /synthesize | Accept mapped text, voice and format fields, call Fish Audio | Audio stream in the required PCM format |
GET /voices | Return the Fish Audio voice catalog in the Genesys mapping shape | JSON voice list |
The adapter should:
Keep the adapter stateless and log request IDs, not raw patient or customer text.
Genesys documents these limits:
Design for short utterances. A long paragraph increases time to first audio in bot flows even when the provider streams internally.
For real-time barge-in, the behavior still belongs to the Architect flow and the media path. The TTS connector supplies audio; it does not create a full conversational agent.
Use a dedicated credential for the connector, rotate it on a schedule and scope it to the adapter only. Do not put a Fish Audio key in the Genesys configuration if a proxy can hold it.
Add:
Monitor synthesize latency and error rate separately from the Genesys flow outcome.
| Failure | Safe fallback |
|---|---|
| Adapter returns JSON audio | Return an audio stream instead |
| Sample rate is wrong | Convert to PCM 8 kHz before responding |
| Voice ID is missing | Refresh the voice list and re-activate after 30 minutes |
| Synthesize times out | Return an error the flow can route to a transfer |
| SSML is sent | Use plain text; the connector does not support SSML |
| Long text delays a bot flow | Split the prompt into shorter utterances |
| Credential expires | Rotate and re-activate the integration |
| Metric | What it tells you |
|---|---|
| Synthesize p95 latency | The adapter's contribution to time to first audio |
| Error rate by status | Whether failures are auth, format or provider |
| Voice-list refresh success | Whether new voices are visible |
| Bot-flow completion rate | Whether long prompts break the conversation |
| Transfer rate | Whether the TTS path degrades the flow |
| Cost per 1,000 characters | Fish Audio plus Genesys BYOT charges |
| Cache hit rate | Whether repeated prompts are reused |
Natural speech is roughly 150 words per minute, close to 900 characters. One Fish Audio credit covers about 1,000 characters, so agent speech starts near one credit per minute before retries or longer prompts.
| Pack | Price | Credits | Approximate agent speech |
|---|---|---|---|
| Starter | $9 | 1,000 | About 16 hours |
| Creator | $29 | 4,000 | About 66 hours, plus commercial rights |
| Studio | $99 | 15,000 | About 250 hours, plus API access |
Genesys documents a separate BYOT-A charge for third-party TTS; verify the current rate for your contract. The TTS API pricing guide converts characters into a full budget.
Yes. The Genesys TTS Connector integration lets an organization connect a third-party TTS provider with a Synthesize Text URI, a List Voices URI, parameter mappings and credentials. It is the documented bring-your-own-TTS path.
Playback is PCM at 8 kHz regardless of the provider format. The connector accepts audio-stream responses only; it does not support audio embedded in a JSON body or SSML.
Yes, through a small adapter service that exposes the Synthesize Text and List Voices endpoints, calls Fish Audio, and returns an audio stream in the required PCM format. There is no native Fish Audio connector in AppFoundry.
Genesys documents up to 10 connector instances, a voice list cached at activation with a refresh after at least 30 minutes, no JSON audio or SSML, and higher latency in bot flows because they wait for the full audio payload.
Fish Audio charges prepaid character credits. Genesys documents a separate BYOT third-party TTS charge; verify the current rate for your region and contract.