Skip to content

Use ElevenLabs to add a feature that reads text aloud in a voice from your ElevenLabs account, makes sound effects from a description, or transcribes a recording. You need an API key from ElevenLabs.

Connect ElevenLabs

To connect ElevenLabs, you must be a project owner. Everyone on the project can use it after an owner connects it. Create an API key in ElevenLabs under Developers › API Keys. The key starts with sk_, and ElevenLabs shows it only once. If you restrict the key to some endpoints, allow Text to Speech, Sound Effects, Speech to Text, and Voices (read).

  1. Open Project Settings › Connections.
  2. Turn on the switch for ElevenLabs. The Connect ElevenLabs dialog opens.
  3. If the dialog lists keys from your other apps, choose one. FlutterFlow connects it, and you’re done.
  4. To use a new key instead, click Paste an API key if the dialog shows it. Paste your key into API key, and click Connect. To open ElevenLabs’ API keys page, click Find it beside the label.

Cost

ElevenLabs bills every speech clip, sound effect, and transcript to your ElevenLabs account’s credits: speech by its characters, sound effects by their length, and transcripts by the recording’s length. A call that’s tried again is billed again.

What to ask

To ask for an ElevenLabs feature, tell the agent what the feature does, that it uses ElevenLabs, and which voice speaks. To pick a voice, ask the agent to list the voices that your key can use, with a sample of each:

Example request

Which voices can my connected ElevenLabs key use?

Example request

On each transaction, add a Read aloud button that uses ElevenLabs to speak the payee and the amount in the [voice name] voice.

Example request

Let people upload a short voice recording to a transaction, and then use ElevenLabs to transcribe it into the transaction’s note.

Speech and sound effects come back as MP3 files. The agent has your app save them in Backend › Files and play them from there. Long text is spoken in several calls, one part at a time. To transcribe a recording, ElevenLabs downloads it from your app’s files, so keep recordings to a few minutes.

Agent questions

If ElevenLabs isn’t connected, the agent asks you to connect it in a card above the message box. See Connect when the agent asks.

Review

After the agent finishes, read the turn’s Summary and review its Changes. Check the affected screens in Screens, and try the change in Preview. If the change uses records or sign-in, test it with the thread’s own data in Data.

After you push a backend change, check the result in Backend.

Try the feature in the preview, and listen to the clip or read the transcript. ElevenLabs can’t reach recordings in the preview’s files, so to try a transcript in the preview, use a recording at a public https link. Each try is billed to your ElevenLabs account.

Call limit

Your app and the agent share a limit of 30 calls a minute to ElevenLabs through your app’s connection. See Limits.

Push

After you test the feature, push the changes to your app.

Next steps

Troubleshooting

  • ElevenLabs refuses your key: see A service refuses your key.
  • The dialog says that your key is a Stripe, OpenAI, or Anthropic key: ElevenLabs keys start with sk_, with an underscore. Paste the key from Developers › API Keys in ElevenLabs.
  • Calls fail because the key isn’t allowed to make them: in ElevenLabs, under Developers › API Keys, allow Text to Speech, Sound Effects, Speech to Text, and Voices (read) on the key, or replace the key.
  • Calls fail because your account is out of credits: add credits or upgrade your plan in ElevenLabs, or raise the key’s credit limit.
  • Calls fail because ElevenLabs is busy: your ElevenLabs plan limits how many requests run at once. Wait a moment, and try again. FlutterFlow also limits how often one connection can be called each minute.
  • Speech fails because the clip is too large: ask the agent to send less text in each call.
  • A transcript fails: the link to the recording must open the recording itself on the public internet and must not have expired. Check the recording in Backend › Files, and try again.
  • Your app shows a message about the service: see Messages shown in your app.