AI - Text to Speech
Type identifier:
ai:text-to-speechCategory: AI Operations
Description
The AI - Text to Speech node generates realistic spoken audio from text input using OpenAI's text-to-speech models. It supports multiple voice options and quality levels, returning an audio file that can be used in Experiences or stored.
Input Handles
Handle | Type | Description |
|---|---|---|
|
| The text to convert to speech. |
|
| (Dynamic) The TTS model to use. |
|
| (Dynamic) The voice to use. |
Note:
modelandvoicehandles appear when set to dynamic mode.
Output Handles
Handle | Type | Description |
|---|---|---|
|
| The generated audio file. |
Configuration Options
Text Input
Option | Type | Default | Description |
|---|---|---|---|
Text |
| dynamic | The text content to synthesize. |
Model Selection
Option | Type | Default | Description |
|---|---|---|---|
Model | literal or dynamic |
| The TTS model to use. |
See AI - Model Reference — Text to Speech Models for the canonical model list.
Available models:
Model | Quality | Speed | Use Case |
|---|---|---|---|
| Standard | Fast | Real-time applications |
| High Definition | Slower | High-quality output |
Voice Selection
Option | Type | Default | Description |
|---|---|---|---|
Voice | literal or dynamic |
| The voice character to use. |
Available voices:
Voice | Character |
|---|---|
| Neutral, balanced |
| Warm, natural |
| Expressive, British |
| Deep, authoritative |
| Friendly, energetic |
| Clear, pleasant |
Behaviour
- Resolves text content from input
- Generates audio with the selected model and voice
- Stores the audio as a file in the Space
- Returns the audio file
Audio Format
Generated audio is typically in MP3 format.
Text Limits
OpenAI TTS has a character limit per request. Long text may need to be chunked.
Examples
Basic Text to Speech
Configuration:
- Model:
openai:tts-1 - Voice:
openai:nova
Input (text):
"Welcome to our application. Let me guide you through the features."Output: MP3 audio file with spoken content.
High-Quality Narration
Configuration:
- Model:
openai:tts-1-hd - Voice:
openai:onyx
Use case: Generate professional-quality audio for podcasts or presentations.
Dynamic Voice Selection
Configuration:
- Model: literal
openai:tts-1 - Voice: dynamic
Use case: Allow user to select their preferred voice at runtime.