360 Secure SkillHub
360 安全技能中心

Coloring page

用户上传 jpg/png/webp 照片并请求生成涂色页时,通过 bin/coloring-page CLI 调用 Nano Banana Pro(Gemini 3 Pro Image)图像模型,输出白底黑白线稿 PNG,可选 1K/2K/4K 分辨率,需 GEMINI_API_KEY。

borahm
borahm
热度 68.90
最近更新 2026-05-11 15:50:48
分类:创作依赖:代码执行 / 第三方 API / 读写文件应用场景:图像生成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add coloring-page
Metadata
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

coloring-page --in photo.jpg

Choose output name

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

Resolution

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.