Adult coloring books offer a relaxing, meditative way to unwind that has soared in popularity in recent years. But the selection in stores tends to focus on generic patterns and shapes.
And, if you have your own idea for some interesting content, you don't have an easy way to make your own coloring book say, for your friends, unless you're willing to hire an artist or create each detailed drawing yourself.
Well, what if I told you there was actually a way around that problem?
Turns out there is. New AI image generation models like
With the right model (or chain of models... more on that later) and the right prompt, you can get perfectly detailed images for your coloring book idea.
In this article, we’ll explore how to leverage the power of AI to make custom coloring books adults will love.
We'll take a close look at the
We'll also see how we can modify the prompt to vary the level of complexity in the image, effectively tailoring our model to the skill level of the adult (or child) who happens to be holding the crayons.
Let's get going.
Recent AI models like DALL-E 2, Midjourney, and Stable Diffusion use various AI techniques to generate remarkably realistic and diverse images from text prompts. They are trained on huge datasets of images and text to "learn" associations between words and visual concepts.
By entering the right prompt, you can guide these models to create custom illustrations suitable for coloring books.
For our adult coloring book project, we will use
I chose Hasdx specifically because it is a fine-tuned version of Stable Diffusion, allowing it to produce high-quality, varied images perfect for coloring books.
As creators began experimenting with Stable Diffusion, specialized models emerged seeking to enhance aspects like image quality and training control.
One such model was the HuggingFace
Around the same period, two checkpoint models gained recognition for their artistic capabilities -
As a result, it excels at photorealistic human images. Meanwhile, handas-3dkx10b, created by digital artist handas2077, employed 3D modeling techniques to achieve exceptional accuracy and detail.
Identifying an opportunity for synergy, developer
Unlike its complex predecessors, Hasdx emphasized simplicity, flexibility, and high-fidelity results. This made it appealing for creative applications like generating adult coloring book illustrations, where intricate designs can benefit from Hasdx's detail without requiring lengthy prompts.
For users across skill levels, Hasdx brought professional-grade image generation within reach.
If you'd like to follow along with the steps in this guide and try your hand at generating an adult coloring book image with Hasdx alongside me, the fastest and simplest way to get started is to use to Replicate demo UI. Here's how to access it:
You can also read more about how to interact with the model in the
When using Hasdx for an adult coloring book project, there are a few key inputs you can adjust. We'll focus on the prompt in the next section, but to be thorough, here's a list of all of the parameters you can play around with.
The key outputs from Hasdx will be high-resolution PNG images matching the prompt details. With the right prompts (shown below), the AI will generate sharp, intricate illustrations perfect for printable adult coloring book pages.
If you're using Replicate to interact with the model (as we will be doing in this example), the output will look like this:
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}
The key to generating great images with AI is carefully crafting the text prompt. For coloring books, we want simple black-and-white line drawings with thick outlines.
Here is a prompt structure that works well, inspired by Chase Lean's
adult coloring book, cartoon, [theme], intricate details, advanced patterns, black and white
Replace [theme] with whatever you want to illustrate - animals, vehicles, foods, etc. Let's try some examples:
You'll also gain a lot by setting a negative prompt. Here's the one I used:
You can set the other parameters I reviewed above. Here's a full example that I think has a very nice output.
We can also adjust the complexity of the generated images. For adult books, intricate details and advanced patterns are preferred. Children's books, on the other hand, usually favor simpler images due to the fine motor skill level of their readers.
To make more basic illustrations for simpler children's books, consider
b/w outline art for kids coloring book page, rabbit, Kids coloring pages, full white, kids style, white background, whole body, Sketch style, full body (((((white background))))), only use outline. , cartoon style, line art, coloring book, clean line art, white background, Sketch style
(Original prompt from prompthero)
Experiment with different style values to get the right level of detail. But remember, most adults enjoy advanced complexity.
You may find the resulting image generated by Hasdx a little blurry, especially if you need to scale it up to be larger for a book you'd ultimately like to print.
Fortunately, you can run your outputs through another model to get an even better file. These models are called upscalers, and there are many popular options:
Here's an example that shows how running the first example output through Real-ESRGAN results in a better-quality image:
The results are pretty subtle, but once you see the upscaled image and original side-by-side, you can see how the improved lines make coloring the image easier - fewer gray areas and sharper boundaries are great for this type of application.
Once you've perfected your prompts and practiced upscaling images, you're basically all set. You can now generate the full set of illustrations for your book by following this general process:
And that's it - you now have a custom AI-generated adult coloring book! The enormous range of intricately detailed images these models can create makes it easy to tailor the book to any style and subject matter.
Using AI to create custom adult coloring books is an exciting new application of generative image models. As we've seen, tools like Hasdx provide an endless source of unique, intricate illustrations to make highly personalized books.
Here are some of the big takeaways after walking through this full process:
The world of generative AI is rapidly evolving. As models continue to improve in capability and accessibility, we're likely to see many more emerging applications like custom adult coloring books. The future looks bright for leveraging AI creativity! Thanks for reading.
Here are some helpful resources that you may want to take a look at as you work on your AI-based adult coloring book project:
Also published here