Skills sprite-animator
Generate animated pixel art sprites from any image using AI. Send a photo, get a 16-frame animated GIF.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/awlevin/sprite-animator" ~/.claude/skills/openclaw-skills-sprite-animator && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/awlevin/sprite-animator" ~/.openclaw/skills/openclaw-skills-sprite-animator && rm -rf "$T"
manifest:
skills/awlevin/sprite-animator/SKILL.mdsource content
Sprite Animator
Generate animated pixel art sprites from any image. Uses nano-banana-pro (Gemini) to create a 16-frame sprite sheet in a single request, then assembles it into an animated GIF.
Quick Start
# Wave animation (default 16 frames) uv run --with sprite-animator sprite-animator -i photo.png -o sprite.gif -a wave # Bounce animation with larger sprites uv run --with sprite-animator sprite-animator -i avatar.png -o bounce.gif -a bounce -s 256 # Keep the raw sprite sheet and individual frames uv run --with sprite-animator sprite-animator -i pet.jpg -o dance.gif -a dance --keep-sheet --keep-frames
Animations
| Type | Description |
|---|---|
| Subtle breathing + blinking loop |
| Arm raises, waves back and forth, lowers |
| Crouch → jump → land → recover |
| Lean, spin, jump — fun and energetic |
Options
| Flag | Description |
|---|---|
| Input image (photo, drawing, etc.) |
| Output GIF path |
| Animation type: idle, wave, bounce, dance (default: idle) |
| Frame duration in ms (default: 100) |
| Output sprite size in px (default: 128) |
| Generation resolution: 1K or 2K (default: 1K) |
| Save the raw sprite sheet |
| Save individual frame PNGs |
| Verbose output |
How It Works
- Creates a labeled 4x4 grid template (16 cells)
- Sends the template + source image to Gemini in ONE request
- AI fills each cell with a pixel art frame following the animation sequence
- Frames are extracted from the sheet and assembled into a looping GIF
Single-request generation ensures consistent style across all frames.