- Go to the releases tab and download the latest
elevenlabs-tts.js
- Open Firebot and head to Settings -> Scripts -> Manage Startup Scripts
- Click
Add New Script
- Click on the
scripts folder
link in the popup and place theelevenlabs-tts.js
inside - Click the blue reload button next to the
Pick one
dropdown to refresh the available scripts - Select
elevenlabs-tts.js
in the dropdown and put your API key in the textbox
You can find your API key by heading to the ElevenLabs website, clicking onMy Account
in the bottom left,
then clickingAPI Keys
and creating a new key. - Click
Save
- You might have to restart Firebot for the script to load.
This TTS script works a bit differently to the conventional ones.
You first have to request a TTS to be generated and will get an internal TTS token, which you then use to play it back.
- Add a
Request ElevenLabs TTS
effect and select all the settings you want for the generation - It will output as
$effectOutput[ttsToken]
which you can use in other effects - Add a
Play ElevenLabs TTS
effect and put$effectOutput[ttsToken]
into the TTS Token textbox