For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
PlatformCallingAIMessagingTools
PlatformCallingAIMessagingTools
    • Overview
  • Voice
    • Overview
    • SIP
    • TTS
      • Amazon Polly
      • Azure
      • Cartesia
      • Deepgram
      • ElevenLabs
      • Google Cloud
      • OpenAI
      • The Rime TTS engine
    • Caller ID & CNAM
    • STIR/SHAKEN
    • STUN vs. TURN vs. ICE
    • WebRTC
  • Video
    • Overview
  • Fax
    • Overview
    • Common fax errors
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • Models
  • Voices
  • Languages
  • Usage
  • Examples
VoiceTTS

OpenAI

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

The Rime TTS engine

Text-to-speech

Next
Built with

OpenAI offers versatile multilingual voices balancing low latency and good quality. While voices are optimized for English, they perform well across all supported languages.

Consult OpenAI’s Text-to-Speech documentation for more information and audio samples for available voices.

Models

OpenAI offers two TTS models with different quality and latency characteristics:

ModelDescription
tts-1Default - Standard quality, optimized for speed
tts-1-hdHigh-definition quality, improved audio fidelity

Voices

OpenAI provides 6 fully multilingual voices optimized for natural-sounding speech:

VoiceDescription
alloyNeutral, balanced voice
echoWarm, expressive voice
fableBritish accent, articulate
onyxDeep, authoritative voice
novaEnergetic, friendly voice
shimmerSoft, gentle voice

Languages

All OpenAI voices are fully multilingual and automatically adapt to the input text language.

Consult OpenAI’s supported languages resource for an up-to-date list.

Usage

OpenAI voice IDs conform to the following format:

openai.<voice>:<model>

Parameters:

  • voice (required): One of: alloy, echo, fable, onyx, nova, shimmer
  • model (optional): tts-1 (default) or tts-1-hd

Examples:

openai.alloy
openai.nova:tts-1-hd
openai.fable:tts-1

Examples

Learn how to use OpenAI voices on the SignalWire platform.

SWML
RELAY Realtime SDK
Call Flow Builder

Use the languages SWML method to set one or more voices for an AI agent.

1version: 1.0.0
2sections:
3 main:
4 - ai:
5 prompt:
6 text: Have an open-ended conversation about flowers.
7 languages:
8 - name: English
9 code: en-US
10 voice: openai.alloy

Alternatively, use the say_voice parameter of the play SWML method to select a voice for basic TTS.

1version: 1.0.0
2sections:
3 main:
4 - set:
5 say_voice: "openai.alloy"
6 - play: "say:Greetings. This is the Alloy voice from OpenAI's text-to-speech model."