← 返回
内容创作 Key 中文

Sprite Animator

Generate animated pixel art sprites from any image using AI. Send a photo, get a 16-frame animated GIF.
利用AI将任意图片生成为动态像素画精灵。发送照片,即可获得16帧动态GIF。
awlevin
内容创作 clawhub v0.1.0 1 版本 99804.7 Key: 需要
★ 0
Stars
📥 1,533
下载
💾 102
安装
1
版本
#latest

概述

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

TypeDescription
-------------------
idleSubtle breathing + blinking loop
waveArm raises, waves back and forth, lowers
bounceCrouch → jump → land → recover
danceLean, spin, jump — fun and energetic

Options

FlagDescription
-------------------
-i, --inputInput image (photo, drawing, etc.)
-o, --outputOutput GIF path
-a, --animationAnimation type: idle, wave, bounce, dance (default: idle)
-d, --durationFrame duration in ms (default: 100)
-s, --sizeOutput sprite size in px (default: 128)
-r, --resolutionGeneration resolution: 1K or 2K (default: 1K)
--keep-sheetSave the raw sprite sheet
--keep-framesSave individual frame PNGs
-v, --verboseVerbose output

How It Works

  1. Creates a labeled 4x4 grid template (16 cells)
  2. Sends the template + source image to Gemini in ONE request
  3. AI fills each cell with a pixel art frame following the animation sequence
  4. Frames are extracted from the sheet and assembled into a looping GIF

Single-request generation ensures consistent style across all frames.

Source

https://github.com/Olafs-World/sprite-animator

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 01:39 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Airbnb Search

awlevin
通过Airbnb公共前端API搜索房源,包含价格、评分和直接链接,无需用户API密钥。用于搜索Airbnb住宿、度假租赁或查询住宿价格。
★ 2 📥 2,299
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,662
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,464