- Home
- Integrations
- Text to speech
Text to speech without code: OpenAI and ElevenLabs voices
Text to speech in nana800 takes one block of the same name: it sends your text to OpenAI or ElevenLabs, saves the audio file in your project and returns a link to it. All you need is an API key of the chosen service, with no code. A block run costs $0.002, and the voice service bills the speech itself on your own plan.
Build it in the builder- Block run: $0.002
- Free every month: $3.50
- No card needed
What you can do
- Voice bot replies, news, alerts and product descriptions and get a link to the audio file
- Speak many languages with ElevenLabs voices: the eleven_multilingual_v2 model knows 29 languages
- Pick one of 13 OpenAI voices, set the speed and the delivery, for example speak warmly and calmly
- Save audio as mp3, opus, aac, flac or wav with OpenAI and as mp3, opus or wav with ElevenLabs
- Send the file on: as a document to Telegram, as a link to a sheet or an email
Blocks in the builder
Text to speech
Action · $0.002 per run
Speaks text with an OpenAI voice (up to 4096 characters) or an ElevenLabs voice (5000 to 40000 characters depending on the model), saves the audio to the project files and returns file_url, the file name, size and type.
How to set it up
- 1
Choose a service and get a key
OpenAI: open API keys in your OpenAI account, click Create new secret key and add funds. ElevenLabs: open Settings, API Keys, create a key with Text to Speech access, then pick a voice under Voices and click Copy voice ID.
- 2
Create a scheme with a trigger
Add a trigger that brings the text: a message to your Telegram bot, a webhook from your website or a schedule. For a first test the button trigger is enough.
- 3
Set up the speech block
Add the Text to speech block, choose openai or elevenlabs in the service field and paste the key. Type the text or take it from the trigger. For OpenAI pick a model and a voice. For ElevenLabs paste the voice ID and pick a model.
- 4
Send the file on
Put file_url from the result into the next block. For example, choose the document type in Telegram message send and the bot sends the audio file. All created files appear in the project file list, where you can delete them.
- 5
Turn the scheme on and test it
Turn the scheme on, press the button, open the block result and play the file from the link. If there is no file, error_message explains why: a wrong key, no voice with that ID, or no characters left on your plan. When it works, keep the scheme on. It costs $0.0042 per hour while on.
Frequently asked questions
Build your first scheme for free
Sign-up is free and needs no card. Every month the balance is topped up to $3.50 for free, enough for about 3,500 runs of basic blocks.
Build it in the builder