home / skills / openclaw / skills / coloring-page

coloring-page skill

This skill converts an uploaded photo into a printable black-and-white coloring page for easy coloring and sharing.

npx playbooks add skill openclaw/skills --skill coloring-page

Review the files below or copy the command above to add this skill to your agents.

Files (2)
SKILL.md
1.3 KB
---
name: coloring-page
description: Turn an uploaded photo into a printable black-and-white coloring page.
metadata:
  clawdbot:
    config:
      requiredEnv:
        - GEMINI_API_KEY
---

# coloring-page

Create a printable black-and-white outline coloring page from a photo.

This skill is designed to be used conversationally:
- You upload an image
- You say: “create a coloring page”
- The assistant runs this skill and sends back the generated PNG

Under the hood, this uses the Nano Banana Pro (Gemini 3 Pro Image) image model.

## Requirements

- `GEMINI_API_KEY` set (recommended in `~/.clawdbot/.env`)
- `uv` available (used by the underlying nano-banana-pro skill)

## How the assistant should use this

When a user message includes:
- an attached image (jpg/png/webp)
- and the user asks for a “coloring page”

Run:
- `bin/coloring-page --in <path-to-uploaded-image> [--out <output.png>] [--resolution 1K|2K|4K]`

Then send the output image back to the user.

## CLI

### Basic

```bash
coloring-page --in photo.jpg
```

### Choose output name

```bash
coloring-page --in photo.jpg --out coloring.png
```

### Resolution

```bash
coloring-page --in photo.jpg --resolution 2K
```

## Notes

- Input must be a raster image (`.jpg`, `.png`, `.webp`).
- Output is a PNG coloring page on a white background.

Overview

This skill converts an uploaded photo into a printable black-and-white outline coloring page. It produces a high-contrast PNG with clear outlines on a white background, ready for printing. Use it when you need a quick coloring sheet from any raster image.

How this skill works

You upload a raster image (jpg, png, or webp) and request a coloring page. The skill runs an image model to detect edges, simplify shapes, and remove color, producing a crisp outline on white. Command-line options let you set output filename and resolution (1K, 2K, 4K).

When to use it

  • Create printable coloring pages from family photos or portraits.
  • Turn product or animal photos into simple line art for kids.
  • Prepare activity sheets for classrooms or events.
  • Generate outlines for craft stencils or paper art.
  • Quickly convert images for low-ink printing or tracing practice.

Best practices

  • Upload clear, well-lit images with distinct subjects for the best outlines.
  • Use simple backgrounds or crop the subject to reduce noisy edges.
  • Choose higher resolution (2K or 4K) for larger prints or fine detail areas.
  • Prefer photos with strong contrast between subject and background.
  • Check and optionally edit the resulting PNG in an image editor before printing.

Example use cases

  • Turn a child’s birthday photo into a personalized coloring sheet.
  • Convert a pet photo into a line drawing for a craft activity.
  • Create classroom worksheets from nature or field-trip photos.
  • Produce low-ink coloring pages for handouts at events.
  • Generate stencil-ready outlines for DIY art projects.

FAQ

What input image types are supported?

Raster images: JPG, PNG, and WEBP are supported. Vector files are not supported.

Can I control the output size or filename?

Yes. Use the resolution flag (1K, 2K, 4K) and the output name option to set file size and name.

What does the output look like?

A PNG file with black outlines and a white background optimized for printing and tracing.