sprite-animator
by awlevin
Image & Video GenerationBrief
Generate animated pixel art sprites from any image using AI.
Description
What This Skill Does
Takes any image and generates a 16-frame animated pixel art GIF using Google Gemini. Supports four animation types: idle, wave, bounce, and dance. A single AI request fills all frames at once, keeping pixel art style consistent across the animation.
Single-request generation keeps pixel art style consistent across all 16 frames, avoiding the visual drift that occurs when frames are generated separately.
When to Use It
- Turning a profile photo into an animated pixel art avatar
- Creating idle or walking sprites for an indie game character
- Animating a pet photo as a looping bounce GIF
- Generating dance animations from hand-drawn character art
- Making wave or idle stickers from any reference image
Example Workflow
User asks: 'Animate avatar.png as a wave animation and save it as wave.gif'
- 1
Runs sprite-animator with -i avatar.png -o wave.gif -a wave
- 2
Creates a labeled 4x4 grid template for 16 animation frames
- 3
Sends the template and source image to Gemini in one request
- 4
Extracts individual frames from the returned sprite sheet
- 5
Assembles frames into a looping animated GIF
wave.gif, a 16-frame pixel art animation of the avatar raising and lowering its arm
Requirements
- GEMINI_API_KEY from Google AI Studio
- uv installed (astral.sh/uv)
Installation
clawhub install awlevin/sprite-animatorRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.