DEV Community

Cover image for Building an On-Demand Coloring Book Generator with Google AI Studio & Imagen
manoj-23
manoj-23

Posted on

Building an On-Demand Coloring Book Generator with Google AI Studio & Imagen

Education Track: Build Apps with Google AI Studio

This post is my submission for DEV Education Track: Build Apps with Google AI Studio.

What I Built
I built an On-Demand Coloring Book Studio, a web application that generates printable, custom black-and-white coloring pages from user descriptions using Google AI Studio and the Imagen API. Using systematic prompt engineering for high-contrast vector outlines and negative prompt modifiers, the app allows users to select age groups, adjust line complexity, fill colors online, and export complete multi-page PDF coloring books.

Demo


My Experience
Working through this track showed me how effective system instructions are at turning raw diffusion models into specialized design utilities. Structuring automated prompt modifiers (forcing clean line art while strictly penalizing shading, gradients, and dark backgrounds) made the Imagen API consistently output clear, print-ready vector pages. It was surprising how seamlessly Google AI Studio helped prototype both the UI layout logic and the underlying API calls in one cohesive workflow.

Top comments (2)

Collapse
 
alexshev profile image
Alex Shev

Nice use case because coloring pages have a very concrete output constraint. The model can make something pretty, but the product wins or loses on line clarity, printable contrast, and whether the generated page has enough open areas for the person actually coloring it.

Collapse
 
latrisha_5a24fb5a824484b3 profile image
Latrisha

Really interesting project! I like how you combined prompt engineering with Imagen to solve a very specific problem instead of just generating images for the sake of it. The idea of adjusting line complexity for different age groups and exporting the results as printable PDFs makes this much more practical.
It’s a great example of how Google AI Studio can turn an AI model into a useful, focused application. For developers interested in AI tools and coding projects, codearea.net is also worth checking out.