In this project, we will use OpenAI and the DALL-E model to create a web app that will generate images from scratch based on the entered text.
💻 Code:
[ Ссылка ]
📄OpenAI Docs:
[ Ссылка ]
⭐ All Courses:
[ Ссылка ]
💖 Show Support
Patreon: [ Ссылка ]
PayPal: [ Ссылка ]
👇 Follow Traversy Media On Social Media:
Twitter: [ Ссылка ]
Instagram: [ Ссылка ]
Linkedin: [ Ссылка ]
Timestamps:
0:00 - Intro
2:00 - Setup & Install Dependencies
3:33 - Express Server & ENV Variables
6:03 - Route & Controller
9:58 - OpenAI Library Request/Response
15:17 - Request Body Data
19:34 - Frontend Setup
24:00 - Form Event Listener
26:38 - GenerateImageRequest() Function
31:45 - Display Image in DOM
33:20 - Using The App & Outro
Ещё видео!