跳到正文
TakoAPI
返回技能列表

sprite-animator

由 awlevin 提供

Image & Video Generation
741下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Runs sprite-animator with -i avatar.png -o wave.gif -a wave

  2. 2

    Creates a labeled 4x4 grid template for 16 animation frames

  3. 3

    Sends the template and source image to Gemini in one request

  4. 4

    Extracts individual frames from the returned sprite sheet

  5. 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 或你在用的任意编程智能体里。

链接