返回顶部
c

cartoon-pet-generator

Generate cute cartoon-style pet images (dogs, cats, etc.) using code. Use when user asks for cartoon pet drawings, cute animal illustrations, or simple pet avatars. No AI image API required - generates SVG and converts to PNG using Node.js and rsvg-convert.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
304
下载量
0
收藏
概述
安装方式
版本历史

cartoon-pet-generator

# Cartoon Pet Generator Generate adorable cartoon-style pet images programmatically without any AI image generation API. ## What This Skill Does Creates SVG-based cartoon pets (dogs, cats, rabbits, etc.) and converts them to PNG format. Works entirely with code - no external APIs or image generation services needed. ## Quick Start ### Generate a Cartoon Dog ```bash node /path/to/scripts/generate_pet.js dog /tmp/dog.png ``` ### Generate a Cartoon Cat ```bash node /path/to/scripts/generate_pet.js cat /tmp/cat.png ``` ### Custom Colors ```bash node /path/to/scripts/generate_pet.js dog /tmp/dog.png --body-color "#FFB347" --ear-color "#FF8C00" ``` ## Supported Pets - `dog` - Cute cartoon dog - `cat` - Adorable cartoon cat - `rabbit` - Fluffy cartoon rabbit - `bear` - Cuddly cartoon bear ## Customization Options | Option | Description | Example | |--------|-------------|---------| | `--body-color` | Main body color | `#D2691E` | | `--ear-color` | Ear color | `#8B4513` | | `--bg-color` | Background color | `#87CEEB` | | `--size` | Image size (width) | `400` | ## How It Works 1. **Generate SVG** - Node.js creates an SVG with the pet design 2. **Convert to PNG** - Uses `rsvg-convert` (or `convert`) to convert SVG → PNG 3. **Output** - Returns the path to the PNG file ## Requirements - Node.js (for SVG generation) - `rsvg-convert` or ImageMagick `convert` (for SVG to PNG conversion) ## Example Usage in Conversation User: "给我画一只小狗" Response: Run the script and send the image: ```bash node scripts/generate_pet.js dog /tmp/cute_dog.png ``` Then send with: `<qqimg>/tmp/cute_dog.png</qqimg>`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cartoon-pet-generator-1776191700 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cartoon-pet-generator-1776191700 技能

通过命令行安装

skillhub install cartoon-pet-generator-1776191700

下载 Zip 包

⬇ 下载 cartoon-pet-generator v1.0.0

文件大小: 3.81 KB | 发布时间: 2026-4-15 10:57

v1.0.0 最新 2026-4-15 10:57
Initial release - generate cute cartoon pets (dog, cat, rabbit, bear) using SVG code, no AI API required

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部