We're happy to roll out a new feature today: Prompt-driven image generation, built directly into the post editor. This is now available on DEV and all other subforems we host. (Self-hosted instances of our open-source Forem project can use it if they bring their own key).
We've seen many of you already using AI-generated images for your articles. Our goal is to make this process more straightforward and integrate it directly into your writing workflow.
Here’s a quick look at how it works and what's under the hood.
Key Features & Details
- Community-driven Vibe: To help align with our community aesthetic, we've added a custom system prompt that generates images with a somewhat shared overall aesthetic and design language. We have chosen "retro" feel by default to match an artistry we very much enjoy. We might have fun with this and tweak it for special occasions (like Halloween), but we promise not to overdo it.
-
The Tech: We're using the
gemini-2.5-flash-imagemodel (aka "Nano Banana"). We'll be tracking future upgrades to this model to keep improving the experience. - Open Source First: We love being open source! You'll find a direct link to the feature's source code right in the generation modal. We're planning to do this more often across the site. (You can also check it out here).
Performance and What's Next
We've tested this thoroughly and find it fast enough to be a fun and useful tool. To manage load, we do have rate limiting in place. We'll be monitoring real-world use and may tweak these limits as we see how things go.
While this is designed to streamline things our members are already doing if they so choose, we should all recognize this technology as powerful and potentially harmful. All community moderation applies and we will be as thoughtful as possible in iterative improvements going forward — especially with regards to individual and communal wellbeing.
Give it a try on your next post and let us know what you think!
Top comments (24)
Okayyy this is AWESOME! 🤩
Just tried it and the workflow is so smooth. Loving the retro style and the way it fits DEV’s personality.
Huge kudos to the entire DEV team — this is one of those small features that makes a huge difference. 🎨
Yesssss. This is awesome. I spend a lot of time trying to make things visually appealing. I love pictures! 🌌 will try!
Loved it😍
this is osmm
Love it to o😃😃😃😃
Oh no…
why?
absolutely — why? maybe for making it easier to spot slop content at first sight? Although I like Ben's cover, so — to be fair — this might actually be fun (for a while)
So basically… aesthetic quality control? 👀 Not the worst idea.
I never took the time to add an image to my posts. But with the generator build in it becomes an extra challenge to create a cover image that doesn't look like it is used many times before. And make something that is relevant. I'm not the most visually creative person, but I'm going to do my best.
Thank you, I accepted the challenge.
Yeah, I tried an it seems like fun, thwarting all the other trend predictions for future colors and web design with a neon pink and cyan neon retro design that might match "transformative teal", if anything. Yes, it's actually fun, so I'll give it a try for my upcoming 2026 predictions post.
2026 Web, Design, and Tech Predictions - and a Review of Last Year's Forecast
Ingo Steinke, web developer ・ Oct 29
@ben thanks for the fun tool! I love the retrofuturistic style, however, I couldn't resist to add a critical comment about retrofuturism quoting a recent New York Times magazine article.
But more importantly, I have a question: what is considered fair use considering off-site publications?
I have just used and reused AI-generated images in my Substack post about 2026 Trend Spotting beyond the Obvious which links back to my earlier DEV post 2026 Web, Design, and Tech Predictions - and a Review of Last Year's Forecast.
So, both posts use AI generated images, originating from the DEV post editor prompt, but retouched in GIMP, and one of the images is only used on Substack, not on DEV. What do you think about that?
Oooh awesome!
Some comments may only be visible to logged-in visitors. Sign in to view all comments.