sprite-animator
от awlevin
Image & Video GenerationКратко
Generate animated pixel art sprites from any image using AI.
Описание
Что делает этот навык
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.
Когда его использовать
- 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
Пример сценария
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
Требования
- GEMINI_API_KEY from Google AI Studio
- uv installed (astral.sh/uv)
Установка
clawhub install awlevin/sprite-animatorВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.