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.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cartoon-pet-generator" with this command: npx skills add juliantsaiii/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

node /path/to/scripts/generate_pet.js dog /tmp/dog.png

Generate a Cartoon Cat

node /path/to/scripts/generate_pet.js cat /tmp/cat.png

Custom Colors

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

OptionDescriptionExample
--body-colorMain body color#D2691E
--ear-colorEar color#8B4513
--bg-colorBackground color#87CEEB
--sizeImage 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:

node scripts/generate_pet.js dog /tmp/cute_dog.png

Then send with: <qqimg>/tmp/cute_dog.png</qqimg>

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

x402-development

Build internet-native payments with the x402 open protocol (x402 Foundation, Apache-2.0). Use when developing paid APIs, paywalled content, AI agent payment...

Registry SourceRecently Updated
Coding

Proxyclick

Proxyclick integration. Manage data, records, and automate workflows. Use when the user wants to interact with Proxyclick data.

Registry SourceRecently Updated
Coding

react-typescript

Build React 19 applications with TypeScript. Covers Actions, Activity, use() hook, React Compiler, ref-as-prop, useEffectEvent, and strict TypeScript pattern...

Registry SourceRecently Updated
Coding

effect-ts

Effect-TS (Effect) comprehensive development guide for TypeScript. Use when building, debugging, reviewing, or generating Effect code. Covers typed error mod...

Registry SourceRecently Updated
1980Profile unavailable