Tkinter OpenAI Image Generator App - Modern Tkinter GUI AI App [tutorial for beginners]
Vložit
- čas přidán 24. 07. 2024
- 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 - Věda a technologie
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 CZcamsrs might need to do something like what you are doing that would be very attractive.
Great tutorial with easy explanations!
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
wonderful example and nice tutorials. thank you soo much
Very good project thanks for sharing.
Hala, you are the best!!! 🤩
Just amazing,Thanks
just what i needed thanks
Amazing!
Thank you my love😀🥰
Brilliant!
you are awesome tanks
I love your vidoe
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...
hey Hala can you show us how to create executable file and setup.exe files for tkinter projects with customtkinter in it.
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?
did you find the answer?
Can you share your vscode theme? It looks very beautiful
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?
If you got to know let me also clear this error
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?
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
please make side menu/tab
It looks like the API-Key doesn't work for premium users.
❤❤ nice 👌 profile pic
How to get the api request free, It asks 5$ 😢
Mmm, cool to be in Russia when you have OpenAI blocked and can't get an API key, very cool
not working
I Love You...............?.......................................................................................................Tkinter...................
If you apply to BMW your salary would be 1 lakh euro a year
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
guys do not follow or see this video this is of no use totally time waste i swear
openai.error.InvalidRequestError: Billing hard limit has been reached