A Stavrobot plugin that converts text to speech and transcribes speech to text using ElevenLabs. TTS produces an MP3 audio file that Stavrobot delivers back to you; STT transcribes an audio file you provide.
Tell Stavrobot:
Install the plugin at
https://github.com/stavrobot/plugin-elevenlabs
After installation, configure your ElevenLabs API key:
Configure the elevenlabs plugin with my API key:
<your-api-key>
| Key | Required | Default | Description |
|---|---|---|---|
api_key | Yes | — | Your ElevenLabs API key. Obtain one at elevenlabs.io. Free keys can only use the default voices; a paid plan is required to use library voices via the API. |
default_voice_id | No | JBFqnCBsd6RMkjVDRZzb | ElevenLabs voice ID to use when none is specified in the request. |
model_id | No | eleven_v3 | ElevenLabs model ID. |
stability | No | 0.9 | Voice stability from 0.0 to 1.0. Higher values produce more consistent speech. |
stt_model_id | No | scribe_v2 | ElevenLabs speech-to-text model ID. |
Ask Stavrobot to convert text to speech:
Read this aloud: "Hello, world!"
You can also specify a voice:
Read this in voice
21m00Tcm4TlvDq8ikWAM: "Hello, world!"
Ask Stavrobot to transcribe audio:
Transcribe this audio file:
<path-or-url-to-audio>