kdp-image-generator

Generate grayscale line art coloring book images via the Gemini API.

1|1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/hoanghd218/aws-kdp --skill kdp-image-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kdp-image-generator
Source: https://github.com/hoanghd218/aws-kdp/tree/main/.claude/skills/kdp-image-generator
Command: npx skills add https://github.com/hoanghd218/aws-kdp --skill kdp-image-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai, Pillow, python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of grayscale line art images suitable for coloring books, transforming creative plans into visual assets.

Core Features & Use Cases

  • Image Generation: Creates coloring page images using the Gemini API.
  • Plan-Based Generation: Generates images based on a provided plan file (.json).
  • Theme-Based Generation: Supports legacy generation using theme keys.
  • Resumable Generation: Allows resuming the generation process from a specific page.
  • Use Case: After a book theme and prompts are defined, use this skill to generate all the necessary page illustrations for a children's coloring book.

Quick Start

Use the kdp-image-generator skill to generate 10 coloring pages for the 'dinosaurs' theme plan.

Frequently Asked Questions about kdp-image-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate grayscale line art for coloring books using an API?

To generate grayscale line art for coloring books, this Skill uses the Gemini API with the Nano Banana Pro model. It automates the creation of coloring page images, ensuring outputs meet specific technical requirements for aspect ratio, resolution, and grayscale conversion.

Can I resume generating coloring book images from a specific page?

Yes, you can resume generating coloring book images from a specific page. The Skill supports resumable generation, allowing you to continue the image creation process seamlessly from the exact page where it was previously interrupted.

How do I use a JSON plan file to create coloring book illustrations?

You can create coloring book illustrations by providing a JSON plan file to the generator. This plan-based approach reads your predefined themes and prompts to systematically produce the necessary grayscale line art assets for your book.

Do I need a Gemini API key to generate coloring book pages?

Yes, you need a Gemini API key to generate coloring book pages. The Skill relies on the google-genai dependency and requires environment variables configured via python-dotenv to authenticate and interact with the Nano Banana Pro model.

What image specifications are enforced when generating coloring book pages?

Generating coloring book pages enforces strict technical specifications for aspect ratio, resolution, and grayscale conversion. The Skill uses the Pillow library to ensure the final line art images meet the standard visual requirements for KDP publishing.

Can I generate coloring pages using theme keys instead of a plan file?

Yes, you can generate coloring pages using theme keys as an alternative to a plan file. This legacy theme-based generation mode allows you to produce line art illustrations by simply passing predefined theme keys to the generator.