Hi!
OpenAI just dropped some exciting news:
๐ GPT-4o can now generate images directly from prompts.
Announced here: Introducing GPT-4o Image Generation, this new feature lets you go from words to stunning visuals โ including photorealistic scenes, illustrations, logos, and more.
The fun part? You can now generate images just by chatting with GPT-4o.
The challenging part? If you’re a developer trying this via the OpenAI API… it’s not quite ready yet ๐
๐ฏ My Test: “Make Me a Cute Sticker”
So, naturally, I tried this in ChatGPT โ and it worked beautifully.
Just uploaded a photo of my cat, added this prompt:
“Make me a cute minimalist sticker based on the provided image. Use a thick white border and transparent background.”
Boom ๐พ โ instant sticker! Minimalist lines, clear cat expression, perfect for printing or slapping on your laptop.

๐ง Now Letโs Try in C# (Spoiler: itโs not readyโฆ yet)
Being a .NET fanboy and AI tinkerer, I fired up a quick console app using the awesome new Microsoft.Extensions.AI library โ designed to unify and simplify AI model calls from .NET.
Here’s my code using the OpenAIClient with GPT-4o:
๐ The Actual Output
Hereโs what I got back from GPT-4o via API:
Prompt: make me a cute minimalist sticker based on the provided image...
Response:
To create a cute minimalist sticker from the provided image, follow these steps:
1. Crop and Simplify...
2. Add a thick white border...
3. Use a transparent background...
You can use tools like Adobe Illustrator or Canva.
Basically โ the model understood the task, but instead of returning a new image, it gave instructions ๐.
โ Why the Disconnect?
The image generation capability is live in ChatGPT, but not yet exposed via the OpenAI API.
As of now:
GetResponseAsync()fromMicrosoft.Extensions.AIsupports image inputs โ- But image generation as an output is not yet supported โ
So developers: sit tight, it’s coming.
๐ก Takeaways
- GPT-4oโs new image generation is ๐ฅ โ in ChatGPT.
- If you’re building with .NET and
Microsoft.Extensions.AI, you’re already in a great spot to tap into these APIs as soon as image outputs are supported. - Until then, your code can analyze and interpret images with GPT-4o, but it canโt yet generate them.
๐ Whatโs Next?
Iโm keeping this code snippet ready for when OpenAI opens up the feature.
And Iโm already thinking about using this in:
- Sticker generators ๐ฑ
- Avatar creators ๐ง
- Meme bots ๐ค
- Or even something weird, like โWhat if your plant could draw?โ
Let me know if you want to explore this together โ or if youโre building cool stuff with GPT-4o and .NET.
Until then, happy coding!
โ Bruno ๐ฌ๐พ

Leave a comment