coloring-page

TotalClaw 作者 totalclaw

将上传的照片转换为可打印的黑白着色页。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw skills install shop:totalclaw:totalclaw~borahm-coloring-page
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~borahm-coloring-page/file -o borahm-coloring-page.md
# 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.

---

## 中文说明

# coloring-page

从一张照片创建可打印的黑白线稿着色页。

此技能设计为以对话方式使用:
- 你上传一张图片
- 你说:“创建一个着色页”
- 助手运行此技能并返回生成的 PNG

在底层,它使用 Nano Banana Pro(Gemini 3 Pro Image)图像模型。

## 要求

- 已设置 `GEMINI_API_KEY`(推荐设置在 `~/.clawdbot/.env` 中)
- 可用的 `uv`(由底层的 nano-banana-pro 技能使用)

## 助手应如何使用此技能

当用户消息包含以下内容时:
- 一张附带的图片(jpg/png/webp)
- 且用户请求一个“着色页”

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

然后将输出图片返回给用户。

## CLI

### 基本用法

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

### 选择输出名称

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

### 分辨率

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

## 注意事项

- 输入必须是栅格图像(`.jpg`、`.png`、`.webp`)。
- 输出是白色背景上的 PNG 着色页。