Integration guide

Five9 AI Voice Agent: TTS Integration Guide (2026)

Evaluate Fish Audio with Five9 Studio prompts, Virtual Voiceover boundaries and MediaStream for real-time voice agents.

Nov 9, 2026 Updated Nov 9, 2026

A Five9 AI voice agent can use Five9's native TTS, a pre-rendered prompt, or an external service connected through MediaStream. Fish Audio fits the second and third paths. Five9 does not provide a native Fish Audio connector, and its Studio voice catalog is separate from Fish Audio's voices.

The practical choice is between static prompts and a live agent: pre-rendered WAV files for the IVR and MediaStream for a real-time conversation.

A cream desk phone and five stacked call cards beside a sculpted waveform connected by a coral voice ribbon and mint connected-agent light

What does Five9 provide versus Fish Audio?

Five9 owns:

  • Telephony, routing, queues and agent desktop.
  • Studio call flows and Prompt nodes.
  • Native TTS voices and Virtual Voiceover.
  • MediaStream for real-time external AI.

Fish Audio owns:

  • Speech to text and streaming text to speech inside your service.
  • A reusable or cloned voice, with authorization.
  • API access for synthesis.

Five9's native TTS is convenient for standard prompts. Fish Audio gives you a consistent custom voice across the IVR and the live agent, provided you build the right path.

What are the two integration paths?

PathWhat it doesLive conversation?
Pre-rendered WAV via Audio VariablesFish Audio generates the prompt; Five9 plays the fileNo
External agent via MediaStreamFive9 streams call audio to your service, which returns audioYes

The Five9 Studio Prompt documentation and the MediaStream documentation are the source of truth for current behavior.

How does the pre-rendered prompt flow work?

  1. Write the prompt from the approved script.
  2. Generate the audio with Fish Audio.
  3. Export a WAV file in the format the flow expects.
  4. Upload it as an Audio Variable and insert it into the Prompt node.
  5. Test playback on a real call.

Keep the text, voice ID and generated file together. When the script changes, regenerate the file and replace the variable.

Mixing native TTS, recorded prompts and different voices in one flow can sound inconsistent. Decide which prompts are branded and which can stay native.

How does the MediaStream flow work?

  1. Five9 answers the call. The Studio flow starts MediaStream.
  2. Audio reaches your service. MediaStream carries the call audio over the supported SIP or gRPC path.
  3. Speech to text. Your service transcribes the caller.
  4. Agent turn. The dialogue manager selects the answer and tool calls.
  5. Text to speech. Fish Audio streams the reply back through MediaStream.
  6. Transfer. Five9 routes to a human or queue when policy requires it.

Measure p95 time to first audio on the real Five9 path, including the MediaStream leg. Test barge-in, DTMF, transfer and reconnect behavior. The telephony text to speech API guide covers the media contract.

What are the native TTS limits?

Five9 Studio documents:

  • Google and IBM as TTS vendors, with a Lumenvox fallback voice.
  • SSML support for pauses, volume, pitch, emphasis and rate.
  • No SSML for Lumenvox voices; only certain IBM voices labelled transformable allow SSML editing.
  • TTS cache files retained for up to two weeks, renewed every two weeks.
  • Audio Variables for uploaded WAV files.
  • Prompt preview plays static text only and does not render variables.

These limits apply to the native path, not to audio you pre-render with Fish Audio.

What are the common failure modes?

FailureSafe fallback
MediaStream disconnectsReconnect or transfer to a queue
Audio format mismatchLog the negotiated format and reject before playback
Prompt file is staleRegenerate and replace the Audio Variable
Native voice differs from the agentUse pre-rendered audio for the branded lines
SSML is ignoredUse plain text or a supported voice
Caller interruptsStop the current audio immediately
Transfer target is unavailableOffer a callback or voicemail

Which metrics should you track?

MetricWhat it tells you
p95 time to first audioThe real conversational latency
MediaStream error rateWhether the real-time path is stable
Prompt playback failuresWhether the pre-rendered files work
Transfer success rateWhether the handoff works
Barge-in cancellation rateWhether the agent yields correctly
Flow completion rateWhether the agent finishes the task
Cost per callSpeech plus Five9 plus runtime

How much does the speech layer cost?

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 answers.

PackPriceCreditsApproximate agent speech
Starter$91,000About 16 hours
Creator$294,000About 66 hours, plus commercial rights
Studio$9915,000About 250 hours, plus API access

Five9 licenses, MediaStream, telephony, transcription and the agent runtime remain separate. The TTS API pricing guide converts characters into a full budget.

Key takeaways

  • Five9 has native Studio TTS; Fish Audio does not replace it natively.
  • Use pre-rendered WAV prompts for branded static lines.
  • Use MediaStream for a real-time external agent.
  • Respect the native SSML and cache limits if you stay on Studio voices.
  • Test barge-in, transfer and reconnect on the real path.
  • There is no native Fish Audio connector inside Five9.

Frequently asked questions

Does Five9 include native text to speech?

Yes. Five9 Studio Prompt nodes use platform TTS voices, with Google and IBM as documented vendors and a Lumenvox fallback. Studio also supports audio files and Virtual Voiceover for approved prompt production.

Can Fish Audio replace the native Five9 TTS voices?

Not natively. Use Fish Audio to pre-render WAV prompts and play them through Audio Variables, or run an external voice agent over Five9 MediaStream. There is no native Fish Audio connector inside Five9.

What is Five9 MediaStream?

MediaStream, formerly VoiceStream, is Five9 real-time audio streaming for external AI services, typically over SIP or gRPC with OAuth. It lets your service receive call audio and return audio while Five9 keeps telephony and routing.

What are the Five9 TTS limits?

SSML is not supported for Lumenvox voices, and only certain IBM voices labelled transformable allow SSML editing. Studio caches TTS files for up to two weeks, so a vendor voice or pronunciation change can take that long to appear.

How much does the speech layer cost?

At roughly 150 words per minute, one minute of agent speech is about one Fish Audio credit. Five9 licenses, MediaStream, telephony, transcription and the agent runtime are separate costs.

Five9 AI Voice Agent: TTS Integration Guide (2026)