Chat Flow
Flow Builder
Blocks
Integrations
ElevenLabs

ElevenLabs Integration

The ElevenLabs integration block enables you to incorporate the ElevenLabs API into your bot, transforming text into lifelike speech for enhanced user interactions. ElevenLabs provides industry-leading AI voice generation with natural-sounding voices.

Integrate the ElevenLabs API in the Indite editor to add dynamic text-to-speech capabilities to your bot!

Key Features

  • Lifelike Voice Generation: Convert text to natural-sounding speech using AI
  • Multiple Voice Options: Choose from a variety of voices or clone custom voices
  • Dynamic Content: Generate speech from variables and personalized content
  • Model Selection: Pick from different ElevenLabs models for quality vs. speed
  • Audio Playback: Generated audio integrates seamlessly with Audio Bubble blocks

Configuration Options

OptionDescription
API KeyYour ElevenLabs API key for authentication
VoiceSelect from available ElevenLabs voices
ModelChoose the AI model (e.g., Eleven Multilingual, Eleven Turbo)
TextThe text to convert, can include variables
Save URL to VariableStore the generated audio URL for use with Audio Bubble

Convert Text to Speech

The "Convert Text to Speech" action transforms text into speech using ElevenLabs voices and models, generating a temporary audio file link. This link can be used in an Audio Bubble to play the audio in your bot.

Setup Steps

  1. Add the ElevenLabs block to your flow
  2. Configure your API key in the credentials section
  3. Select a voice that matches your bot's personality
  4. Enter the text or variable to convert
  5. Store the resulting audio URL in a variable
  6. Add an Audio Bubble block using the stored URL
⚠️

Audio file links are temporary. Use the Audio Bubble immediately after generation for best results.

Example Usage

Personalized Welcome Message

Create a spoken greeting with the user's name:

  1. Collect the user's name in an input block
  2. Use ElevenLabs to convert "Hello {{Name}}, welcome to our service!"
  3. Play the personalized audio greeting

Accessibility Enhancement

Make your bot more accessible:

  1. Convert important text responses to speech
  2. Allow users to listen to information instead of reading
  3. Provide audio summaries of complex content

Interactive Storytelling

Build engaging narrative experiences:

  1. Generate character dialogue with different voices
  2. Create dynamic story narration based on user choices
  3. Add atmospheric audio responses

Best Practices

  • Keep Text Concise: Shorter text generates faster and uses fewer API credits
  • Test Voice Selection: Preview different voices to find the best match for your use case
  • Use Variables Wisely: Ensure dynamic content makes grammatical sense when spoken
  • Consider Load Times: Audio generation takes time; use the Wait block if needed
  • Monitor API Usage: Track your ElevenLabs API usage to manage costs
  • Have Fallbacks: Consider text alternatives if audio generation fails
  • Match Voice to Brand: Choose a voice that aligns with your brand personality
Indite Documentation v1.4.0
PrivacyTermsSupport