Add Fish Audio speech to 8x8 Voice API callflows with pre-rendered prompts, playFile audio and webhook-driven voice agents.
An 8x8 AI voice agent is usually built from 8x8 Voice API callflows plus an external service. Fish Audio fits as the voice that generates branded prompts and, where the architecture allows, the speech inside an external agent. 8x8 does not document a native Fish Audio TTS connector, and its say action uses 8x8 voice profiles rather than arbitrary provider voices.
The reliable pattern is simple: native say for generic prompts, Fish Audio-rendered playFile audio for branded lines, and webhooks for the dynamic steps.
8x8 provides:
say for native TTS with 8x8 voice profiles.sayAndCapture for DTMF IVR prompts.playFile for hosted MP3 or WAV audio.Fish Audio provides:
For static prompts, the boundary is a file. For a live agent, the boundary is your service and the webhook flow.
| Path | What it does | Custom Fish Audio voice? |
|---|---|---|
Native say | 8x8 generates speech from text with a voice profile | No |
playFile | 8x8 plays a hosted MP3 or WAV file | Yes, pre-rendered |
| Webhook-driven external agent | Your service receives call actions and returns the next step | Yes, with your own runtime |
The 8x8 Voice API documentation is the source of truth for action names, voice profiles and webhook behavior.
playFile flow work?playFile in the callflow instead of say.Keep the text, voice ID and file together in version control. When the script changes, generate a new file and update the URL or path.
playFile is the cleanest way to use a custom Fish Audio voice on 8x8 without claiming a native TTS integration.
makeCall opens the voice session.say or playFile reads the menu.sayAndCapture collects DTMF digits.The initial Send Callflow response only confirms that the request was accepted. Do not treat it as proof that the call completed; use the Session Summary webhook.
8x8 documents callflow actions and a Voice Profile API, but the public introduction does not list a custom external TTS provider or arbitrary voice upload. Plan around that:
say voices come from the 8x8 catalog.playFile accepts MP3 or WAV at an HTTP/HTTPS URL.| Failure | Safe fallback |
|---|---|
playFile URL is unreachable | Fall back to a native say prompt |
| Audio file is in the wrong format | Re-export as MP3 or WAV and retest |
| DTMF input is missed | Reprompt once, then route to a human |
| VCA webhook times out | Return a safe fallback step or hang up gracefully |
| Send Callflow is accepted but the call fails | Use VSS to determine the real outcome |
| Caller needs a complex answer | Transfer to a human or callback |
| Voice changes mid-flow | Standardize on one voice for branded prompts |
| Metric | What it tells you |
|---|---|
| Prompt playback failures | Whether hosted files are reliable |
| VCA response latency | Whether the flow feels responsive |
| DTMF capture rate | Whether the IVR is understandable |
| Transfer success rate | Whether the handoff works |
| Call completion rate | Whether the flow finishes the task |
| File cache or CDN hit rate | Whether hosting is efficient |
| Cost per call | Speech plus 8x8 plus hosting |
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 |
8x8 numbers, call minutes, hosting and the agent runtime remain separate. The TTS API pricing guide converts characters into a full budget.
say uses native voice profiles; Fish Audio is not a native 8x8 voice.playFile.8x8 Voice API callflows support native TTS through the say action with 8x8 voice profiles, and playFile for hosted MP3 or WAV audio. A custom Fish Audio voice is used as a pre-rendered file, not as a native 8x8 TTS voice.
Yes. Generate the audio with Fish Audio, export MP3 or WAV, host it at an HTTPS URL and play it with the playFile action. Keep the source text and file versioned together.
Use an external agent service with an 8x8 callflow and webhook path. There is no native Fish Audio connector inside 8x8, and real-time media streaming is not documented in the same way as the callflow actions.
The Voice Call Action webhook drives the next step after DTMF capture, the Session Summary webhook reports the final outcome, and Call Status and Virtual Number Updated webhooks provide telemetry and number lifecycle events.
At roughly 150 words per minute, one minute of agent speech is about one Fish Audio credit. 8x8 numbers, call minutes, hosting and the agent runtime are separate costs.