ElevenLabs API
Using the ElevenLabs API in your bots
The lil’bots platform comes with ElevenLabs access built in. You can use the ElevenLabs API to build bots that can generate human-like speech from text.
ElevenLabs provides provides the leading text-to-speech API for generating human-like speech from text. You can use the ElevenLabs API to generate speech from text, customize the voice, and more.
Using the ElevenLabs API
You can use the following endpoints in the ElevenLabs API:
Currently, custom voices are not supported in the lil’bots platform. You can use the default voice for generating speech. You can see a list of available voices by making a request to the /v1/voices
or by visiting the ElevenLabs API Reference.
Using the ElevenLabs API - JavaScript Runtime
Here’s a simple example of a bot that uses the ElevenLabs API to generate speech from text: