Image generation in chat, a try to copy what OpenAI announced regarding dalle-3 powered chatgpt

I liked the innovation of OpenAI with DALLE-3 powered ChatGPT: OpenAI on LinkedIn: DALL·E 3 in ChatGPT | 359 comments

I gave it a try to implement the same thing using gtp-3.5-turbo API and text-to-image API, I got nice results.

The concept is simple, the user provides what is needed, gpt will generate an image prompt, text-to-image will generate and image based on that prompt.

Code available here:

Enjoy :slight_smile: