ElevenLambs

Text to baa.

Type anything. Pick a lamb. Get back the sound of sheep, as long as your text takes to read aloud. In every language, with no exceptions and no words.

0 / 5000 characters

How long is a baa

As long as reading it aloud

People read aloud at about 150 words a minute. Words are a poor unit across languages (Finnish fits a sentence into one word), so we count letters and digits instead: 150 words of about five letters each is 12.5 letters a second. Spaces and punctuation are free. Anything you type gets at least one second of sheep.

Then we pick baas at random, play each a little higher or lower depending on the voice, leave a pause after each, and pad the end with silence so the file lasts exactly the estimated time, to within 26 milliseconds.

API

One endpoint, familiar shape

If you have used a text-to-speech API, you already know this one. Any xi-api-key works; baa-demo-key is traditional.

curl -X POST "https://YOUR-HOST/v1/text-to-speech/dolly" \
  -H "xi-api-key: baa-demo-key" \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello world", "model_id": "baa_multilingual_v1"}' \
  --output baa.mp3

Voices

Sounds

Free sheep

Every baa is cut from recordings on Wikimedia Commons that are in the public domain or dedicated to it under CC0. No attribution is required; we give it anyway.