Skip to main content

Text-to-Speech

Convert text to an audio file using OpenAI's text-to-speech models.

Converts text to natural-sounding speech using OpenAI's advanced text-to-speech models, facilitating accessibility and multimedia applications.

Text-to-Speech
Text*Text
InstructionText
ModelSelect
VoiceSelect
Fields marked * are required. Dots are connection handles.

Inputs​

Each input can be typed in directly or connected to another node's output.

InputTypeRequiredDescriptionAvailable when
TextTextRequiredEnter your text here—
InstructionTextOptionalPrompt the model to control aspects of speech (accent, emotional range, intonation, speed, tone, ...)Model is “gpt-4o-mini-tts”

Settings​

SettingTypeDefaultDescription
ModelSelectgpt-4o-mini-tts
VoiceSelectalloy

Model options​

OptionDefault
gpt-4o-mini-tts✓
tts-1
tts-1-hd

Voice options​

OptionDefault
alloy✓
ash
ballad
coral
echo
fable
onyx
nova
sage
shimmer

Output​

Type: Audio (audioUrl)