Unlock the Power of Text-to-Speech AI: ElevenLabs Tutorial for Beginners

  Рет қаралды 8,861

Leon van Zyl

Leon van Zyl

Күн бұрын

#elevenlabs #texttospeech #aivoice #aivoiceover #aivoices
In this video you will learn how to use the Elevenlabs Text to Speech API in your very own applications.
☕ Buy me a coffee:
www.buymeacoffee.com/leonvanzyl
Useful links:
Source code: github.com/leonvanzyl/Elevenl...
Elevenlabs: elevenlabs.io
Chat with Like Minded Individuals on Discord:
/ discord
Chapters:
00:00 - Introduction
00:28 - Sample Project
00:55 - Prerequisites
01:42 - Project setup
03:15 - Building the frontend
11:18 - Elevenlabs API key
12:49 - Environment Variable File
13:32 - Elevenlabs API Route
22:14 - Calling the Route API from Frontend
29:31 - Calling the Voices API
34:55 - Conclusion
35:10 - 1000 Subs Thanks

Пікірлер: 40
@leonvanzyl
@leonvanzyl Жыл бұрын
At the time of recording the video, there is a known bug with the NextJS setup. If you receive the following error message after adding "USE CLIENT" in the PAGE.JS file: "undefined" is not valid JSON Then run the following command in the terminal to update Next to the latest version, which includes a fix for this. npm install next@canary
@ultrasrock
@ultrasrock 3 ай бұрын
One question, we are building something like this, but the voice that goes in my frontend is way more robotic than the one in the 11labs page. Do you know how we get the same voice texture?
@hypergon123
@hypergon123 8 ай бұрын
Amazing tutorial, really helps alot
@leonvanzyl
@leonvanzyl 8 ай бұрын
Thank you
@nootopian
@nootopian Жыл бұрын
Thank you for this. Will it work when hosted on Vercel as there is only an ephemeral file system?
@ju4n4lvar3z3
@ju4n4lvar3z3 11 ай бұрын
i have "Network request failed" on log error and i dont know what its wrong
@an802adam
@an802adam Жыл бұрын
Another amazing tutorial! I'm thinking about using the Response variable in conjunction with the ChatGPT response value from my application's API to feed the TTS application and have the audio auto play on load. This would create a talking ChatGPT interaction.
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you 😊. That's a very practical use case.
@quilloai
@quilloai 3 ай бұрын
Hello my i know how can i play it on the live page server? because when my project deployed at vercel the fs file mp3 won't work
@HansScharler
@HansScharler Жыл бұрын
This is a wonderful tutorial. Thank you.
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you
@ahmedsinger9435
@ahmedsinger9435 Жыл бұрын
tysm
@programtracer7868
@programtracer7868 Жыл бұрын
Hey man this was very helpful and you're an excellent instructor. Do you have any idea how to get my custom or generated voices to show up?
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you very much! I've been playing with the custom voice and will release a video SOON!
@programtracer7868
@programtracer7868 Жыл бұрын
@@leonvanzyl wow thats fantastic. To me it seems the api key is not being used at all with .env.local? or am i wrong
@timelinecode2600
@timelinecode2600 9 ай бұрын
@@leonvanzylIs the video up?
@ShaunyTravels.
@ShaunyTravels. 4 ай бұрын
Great video ! ek is n baie new beginner ! If i copy your source code do i follow along and make the changes with you correct ?
@leonvanzyl
@leonvanzyl 4 ай бұрын
Hey there. Beginners are always welcome here 😊. Yes, copy the code and follow along. That's the best way to learn.
@ShaunyTravels.
@ShaunyTravels. 4 ай бұрын
Thank you so much Leon !!
@GI_Jeaux
@GI_Jeaux 11 ай бұрын
Everything is working for me except for the voice and the files saving. Any idea what I could be doing wrong? Update: got it working. I think I had the API key in wrong or something.
@leonvanzyl
@leonvanzyl 11 ай бұрын
Glad you figured it out 😀👍
@doston8795
@doston8795 4 ай бұрын
Hey it is great tut buddy cam you advise me i wanna connect openai to elevenlab in nextjs 14 i wanna make people click start button and open ai generate questions and asking them using eleven lab user can hear the questions and user can record their voice answer and open AI give them feedback in text. Please can you help i can find much from internet thank you
@leonvanzyl
@leonvanzyl 4 ай бұрын
Thank you 🙏. Sounds like a fun tutorial idea. Noted. You could also reach out to my agency if you'd like assistance sooner.
@doston8795
@doston8795 4 ай бұрын
@@leonvanzyl thanks a lot
@soly4924
@soly4924 9 ай бұрын
How can we find voices we created? I am only getting the default voice lists to pop up.
@leonvanzyl
@leonvanzyl 9 ай бұрын
I think you need a paid account in order to see cloned voices.
@tadimakwindi8808
@tadimakwindi8808 8 ай бұрын
Doea ANYONE know how to do this in Java bruhhh
@authorityinjesus
@authorityinjesus Жыл бұрын
*Hii..Thank you for the tutorial...is it for unlimited text or after 10000 words need to change key again??? plz reply*
@leonvanzyl
@leonvanzyl Жыл бұрын
You're welcome. I think the free / starter plan only includes 10,000 words per month. Creating a new key won't help unfortunately.
@Squared_Phoenix
@Squared_Phoenix Жыл бұрын
@@leonvanzyl Don't they mean create a new free account and then copy over the new key?
@Camxlare
@Camxlare Жыл бұрын
But what about the cost differences between using their GUI?
@leonvanzyl
@leonvanzyl Жыл бұрын
I believe the cost is the same, whether you're using the GUI or the API. The cost is based on the amount of tokens (basically words).
@Camxlare
@Camxlare Жыл бұрын
@@leonvanzyl Got it thanks for the reply! Great tutorial btw.
@stizix7137
@stizix7137 Жыл бұрын
Can you do a tutorial of this in python please
@leonvanzyl
@leonvanzyl Жыл бұрын
I could recreate this using a framework like Flask or Django. Thank you for the suggestion.
@gilbertobalderas6043
@gilbertobalderas6043 10 ай бұрын
how do I put in in a website
@leonvanzyl
@leonvanzyl 10 ай бұрын
Hey there. I assume you are asking how to deploy this to a server online? Easiest solution would be to deploy to Vercel.
@sandroavieira
@sandroavieira 11 ай бұрын
The commands were different here, did I make the right choices? sorry for the newbie question... √ What is your project named? ... elevenlabs √ Would you like to use TypeScript with this project? ... NO /yes √ Would you like to use ESLint with this project? ... NO /yes √ Would you like to use Tailwind CSS with this project? ... no/ YES √ Would you like to use `src/` directory with this project? ... NO /yes √ Use App Router (recommended)? ... no/ YES √ Would you like to customize the default import alias? » no/ YES √ What import alias would you like configured? ... @/* Creating a new Next.js app in ElevenLabs\elevenlabs. Using npm. Initializing project with template: app-tw Installing dependencies: - react - react-dom - next - tailwindcss - postcss - autoprefixer added 108 packages, and audited 109 packages in 13s 21 packages are looking for funding run `npm fund` for details found 0 vulnerabilities
@leonvanzyl
@leonvanzyl 11 ай бұрын
Your settings are correct 👍. At the time of recording, Nextjs 13 was still in beta.
@sandroavieira
@sandroavieira 11 ай бұрын
@@leonvanzyl Thanks
DALL-E 2 API in JAVASCRIPT for BEGINNERS (OpenAI, Next 13)
31:26
Leon van Zyl
Рет қаралды 3,2 М.
How many pencils can hold me up?
00:40
A4
Рет қаралды 17 МЛН
La final estuvo difícil
00:34
Juan De Dios Pantoja
Рет қаралды 27 МЛН
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 95 МЛН
Getting Started with LangChain | JavaScript Tutorial #1
26:25
Leon van Zyl
Рет қаралды 19 М.
Getting started with Langflow in under 3 minutes
2:57
Langflow
Рет қаралды 11 М.
Best FREE Speech to Text AI - Whisper AI
8:22
Kevin Stratvert
Рет қаралды 874 М.
Eleven Labs Prompts (Eleven Labs Whisper, Yelling, etc)
6:00
Marketing Island
Рет қаралды 35 М.
Free Speech: Reviewing Coqui-ai, Mycroft Mimic3 and Tortoise TTS Libraries
14:23
BARK: Free Text to Speech & Voice Cloning
14:49
Abhishek Thakur
Рет қаралды 27 М.
ElevenLabs Voice Samples: Hear all premade AI voices
2:43
PuppyCoding – for Python & AI
Рет қаралды 7 М.
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
⌨️ Сколько всего у меня клавиатур? #обзор
0:41
Гранатка — про VR и девайсы
Рет қаралды 653 М.
👎Главный МИНУС планшета Apple🍏
0:29
Demin's Lounge
Рет қаралды 489 М.