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 a...
Generate adorable cartoon-style pet images programmatically without any AI image generation API.
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.
node /path/to/scripts/generate_pet.js dog /tmp/dog.png
node /path/to/scripts/generate_pet.js cat /tmp/cat.png
node /path/to/scripts/generate_pet.js dog /tmp/dog.png --body-color "#FFB347" --ear-color "#FF8C00"
dog - Cute cartoon dogcat - Adorable cartoon catrabbit - Fluffy cartoon rabbitbear - Cuddly cartoon bear| Option | Description | Example |
|---|---|---|
--body-color | Main body color | #D2691E |
--ear-color | Ear color | #8B4513 |
--bg-color | Background color | #87CEEB |
--size | Image size (width) | 400 |
rsvg-convert (or convert) to convert SVG → PNGrsvg-convert or ImageMagick convert (for SVG to PNG conversion)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>
ZIP package — ready to use