Create Your Own Text-To-Speech Desktop App With Python & OpenAI Speech API | Beginner Tutorial

  Рет қаралды 321

Jie Jenn

Jie Jenn

Күн бұрын

Text-To-Speech technology has improved significantly the past few years. And with OpenAI Text-To-Speech API, it lets you convert text into natural human sound speech. In this tutorial, we'll learn how to use Python to build a Text-To-Speech desktop application using OpenAI’s Speech API.
📋 Source Code: / source-code-your-10287...
💖 Show Support
☕ Paypal: www.paypal.me/jiejenn/5
☕ Venmo: @Jie-Jenn
🌳 Patreon: / jiejenn (early access to tutorial source code)
✉️ Business Inquiring: KZfaq@LearnDataAnalysis.org
00:00 - Intro
00:19 - Demo
00:39 - Install Python Packages
01:01 - Create app.py
01:04 - Import statement
02:27 - Create AudioPlayer Class
03:18 - run method
04:38 - Entry point
05:44 - Create AppWindow class
07:20 - AppWindow init_ui method
11:06 - Create convert_text_to_audio method
12:54 - Create play_audio method
13:48 - Create reset_play_button method
14:27 - Create save_audio_to_file method
15:17 - Create config_signals method
16:15 - Testing & Finish
🎤 Audio is generated with OpenAI Speech API.
#generativeai #openai #python #tts #desktopapplication

Пікірлер: 7
@jiejenn
@jiejenn 3 ай бұрын
Post a comment below if you have any questions. And by the way, the audio in this tutorial is done by OpenAI Speech API.
@Canna_Science_and_Technology
@Canna_Science_and_Technology 3 ай бұрын
Have you figured out Microsoft graph API? What a pin in the butt.. if you have time, I think a video of MS Graph would be awesome. Outlook mail and calendar access for an llm.
@jiejenn
@jiejenn 3 ай бұрын
I covered MS Graph APIs in some of my videos. There are a few new updates, I will probably make new videos soon.
@xevenau
@xevenau 2 ай бұрын
Did you use this for this video text to speech?
@jiejenn
@jiejenn 2 ай бұрын
Yes I did. The entire video actually.
@xevenau
@xevenau 2 ай бұрын
@@jiejenn Nice! I was trying to find the pricing but couldn't find it. I'm assuming it is free to use this?
@jiejenn
@jiejenn 2 ай бұрын
@@xevenau not free, but relatively inexpensive. $15.00 / 1M characters.
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 23 МЛН
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 377 М.
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 39 М.
What's going on with Windows Laptops?
10:30
Marques Brownlee
Рет қаралды 1,4 МЛН
Modern Python logging
21:32
mCoding
Рет қаралды 168 М.
How to Publish a Python Package to PyPI (pip)
11:38
pixegami
Рет қаралды 15 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 559 М.
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 23 МЛН