Tkinter OpenAI Image Generator App - Modern Tkinter GUI AI App [tutorial for beginners]

  Рет қаралды 17,614

Code First with Hala

Code First with Hala

Күн бұрын

With Python, Tkinter, and the OpenAI DALL-E2 API, create an Image Generator app. This tutorial is beginner-friendly.
Learn Tkinter and Tkinter for GUI design. Learn how to use the DALL-E 2 API from OpenAI.
In this tutorial, you will:
- Learn how to setup an OpenAI account
- Get your OpenAI API key
- Install the Python OpenAI library
- Use Python to talk to OpenAI DALL-E 2
- Learn about Tkinter and Customtkinter
- Install Customtkinter
- Use labels, buttons, entries in Tkinter
- Make an interface with Customtkinter
Source code: github.com/codefirstio/tkinte...
Timestamps:
00:00 Introduction and demo
01:08 Getting and storing your OpenAI API Key
02:00 Interacting with the OpenAI DALL-E 2 API with Python
05:52 Building the Customtkinter interface
17:20 Connecting the interface and OpenAI DALL-E 2
22:54 Creating the images slideshow in Tkinter
Socials:
My email: code.first.io@gmail.com
Tiktok: / hala.codes
*************
*Tags*
Modern Tkinter
Modern Python GUI
Modern GUI Python
Customtkinter
Tkinter tutorial
Tkinter GUI tutorial
GUI tutorial Python
GUI Project Python
Graphical User Interface Python
Python tutorial
Tkinter widgets
OpenAI
Python OpenAI Images
Python OpenAI DALL-E 2 API
OpenAI API
OpenAI API Python

Пікірлер: 34
@hoangng84
@hoangng84 Жыл бұрын
I love watching stuff like this one because it really helps new people to put their just-learned skills into practice. There are heaps and heaps of videos and courses about fundamental things such as OOP, Python, and JS, you name them, but there are few practical tutorials to help learners do real projects. New technical KZbinrs might need to do something like what you are doing that would be very attractive.
@tomschimansky6668
@tomschimansky6668 Жыл бұрын
Great tutorial with easy explanations!
@Blonar257
@Blonar257 Жыл бұрын
Really nice tutorial. Very helpfull for someone like me. I just started learning Python 2 months ago and ich can follow without problems. Greetings from germany
@Coding_and_Gaming
@Coding_and_Gaming Жыл бұрын
Very good project thanks for sharing.
@rustcohle9134
@rustcohle9134 3 ай бұрын
wonderful example and nice tutorials. thank you soo much
@odivergente388
@odivergente388 Жыл бұрын
Hala, you are the best!!! 🤩
@tecnom7133
@tecnom7133 10 ай бұрын
Just amazing,Thanks
@carstenjensen3123
@carstenjensen3123 Жыл бұрын
Brilliant!
@VibeLife-vr4me
@VibeLife-vr4me 3 ай бұрын
Amazing! Thank you my love😀🥰
@osacaos
@osacaos Жыл бұрын
you are awesome tanks
@namia8509
@namia8509 8 ай бұрын
I love your vidoe
@AkhtarReviews
@AkhtarReviews Жыл бұрын
That's really cool! And I have a question. We're using environment variable for api key. Now I want to create exe file using pyinstaller. Will it include the api key itself? Or do we have to mention some path for additional file/folder?
@ayushrana1401
@ayushrana1401 Жыл бұрын
did you find the answer?
@arshdeepsingh6570
@arshdeepsingh6570 Жыл бұрын
Can you share your vscode theme? It looks very beautiful
@itsme9877
@itsme9877 3 ай бұрын
Does it need GPU to run or is it cpu friendly and quick?? Cz i followed the other video that used stable diffusion model wherein gpu played way too important role.. Doin it wth cpu was takin 1.5hr to gen 1 image😢😢so please let me know...
@lokmanturkmen8964
@lokmanturkmen8964 Жыл бұрын
hey Hala can you show us how to create executable file and setup.exe files for tkinter projects with customtkinter in it.
@SuperNova-Tales
@SuperNova-Tales 10 ай бұрын
Thanks very much for good video. But I ran into this error "InvalidRequestError: Billing hard limit has been reached'' while trying to get the image url. It has made me wonder if the openai key is free or for purchasing. help me with this?
@noahsark08
@noahsark08 8 ай бұрын
You need to add credits to your platforms account in order to use text to image, they will charge your account per image generated, you can create a new account and get 5$ dollar credit, but for the most part its not free unfortunately
@TheWolf1340
@TheWolf1340 7 ай бұрын
hello. it seems that this is not working with openai versions greater than 0.28 (in exemple: module 'openai' has no attribute 'Image' error). I cannot install 0.28 version, do you know what I can change in the python script?
@divyasohni1267
@divyasohni1267 5 ай бұрын
If you got to know let me also clear this error
@its_code
@its_code Жыл бұрын
❤❤ nice 👌 profile pic
@denhendra9360
@denhendra9360 9 ай бұрын
please make side menu/tab
@nisidabay
@nisidabay Жыл бұрын
It looks like the API-Key doesn't work for premium users.
@mraghul7418
@mraghul7418 Жыл бұрын
How to get the api request free, It asks 5$ 😢
@mahabubalam6253
@mahabubalam6253 Жыл бұрын
I Love You...............?.......................................................................................................Tkinter...................
@timbang9231
@timbang9231 Жыл бұрын
not working
@gopher_7
@gopher_7 11 ай бұрын
Mmm, cool to be in Russia when you have OpenAI blocked and can't get an API key, very cool
@WinnerSingh
@WinnerSingh Жыл бұрын
If you apply to BMW your salary would be 1 lakh euro a year
@divyasohni1267
@divyasohni1267 5 ай бұрын
billing hard limit has been reached error did not solved i tried a lot but still , why you made projects like that i am trying my best to learn everything from your this video but got an error at the last which is not going to solve in any ways i tried it all i am not following your videos from now and even i unsubscribe you
@divyasohni1267
@divyasohni1267 5 ай бұрын
guys do not follow or see this video this is of no use totally time waste i swear
@psychoboy8172
@psychoboy8172 11 ай бұрын
openai.error.InvalidRequestError: Billing hard limit has been reached
Tkinter ChatGPT App - Modern Tkinter GUI Chatbot [tutorial for beginners]
22:36
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 9 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 134 МЛН
This FREE AI Comic Book Creator is Incredible!
11:37
Theoretically Media
Рет қаралды 334 М.
Using tkinter with classes
28:23
Atlas
Рет қаралды 58 М.
Create Stunning Python GUIs in 10 Minutes With Drag & Drop
11:38
Coding Is Fun
Рет қаралды 42 М.
Stop, Intel’s Already Dead! - AMD Ryzen 9600X & 9700X Review
13:47
Linus Tech Tips
Рет қаралды 1,1 МЛН
Use a Drag & Drop Editor to Make Tkinter Python GUI Applications!
11:16
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,5 МЛН
Мой новый мега монитор!🤯
1:00
Корнеич
Рет қаралды 3,8 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 66 МЛН
Частая ошибка геймеров? 😐 Dareu A710X
1:00
Вэйми
Рет қаралды 6 МЛН
разбил телефон из-за видео
0:15
STANISLAVSKIY Hi
Рет қаралды 771 М.
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 3,6 МЛН