ElevenLabs
App · Voice AI · 1 action
Generate lifelike speech from text with ElevenLabs AI voices.
Convert text to speech
Synthesize text into speech with a chosen voice. The generated audio is saved to your workspace's file storage; the action returns a document reference and a download URL so a later step can send, upload, or attach the audio file.
Inputs
- Voice
voice_idtextRequired - The voice to speak with, from your ElevenLabs account.
- Text
texttextRequired - The text to convert to speech.
- Model
model_idtext - The model to use. Leave empty for the default.
- Output format
output_formattext - Audio output format. Leave empty for the default MP3.
- Language
language_codetext - Optional language to enforce. Supported by the multilingual models only; leave empty to auto-detect.
Outputs
byte_sizenumbercontent_typetextdocument_reftextdocumentslistmodel_idtextoutput_formattexturltextvoice_idtext
Example output
{
"byte_size": 20480,
"content_type": "audio/mpeg",
"document_ref": "doc_9f8e7d6c5b4a3210",
"documents": [
{
"content_type": "audio/mpeg",
"document_ref": "doc_9f8e7d6c5b4a3210",
"filename": "elevenlabs-speech.mp3",
"size_bytes": 20480,
"url": "/actions/core/serve-document/doc_9f8e7d6c5b4a3210?teamId=6512a1b2c3d4e5f600000001"
}
],
"model_id": "eleven_multilingual_v2",
"output_format": "mp3_44100_128",
"url": "/actions/core/serve-document/doc_9f8e7d6c5b4a3210?teamId=6512a1b2c3d4e5f600000001",
"voice_id": "21m00Tcm4TlvDq8ikWAM"
}