Anima Avatar - Interactive Video Generation Engine. Generates 16:9 videos with dynamic character sprites (Shutiao), synced audio (Fish Audio), and text overlay.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install anima或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install anima⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/anima/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- description: Anima Avatar - Interactive Video Generation Engine. Generates 16:9 videos with dynamic character sprites (Shutiao), synced audio (Fish Audio), and text overlay. ---
Generates high-quality interactive videos where Shutiao speaks the text with appropriate expressions, gestures, and voice.
src/director.js: The core engine. Generates frames (sharp + SVG), audio (Fish Audio), and video (FFmpeg).src/send_video_pro.js: Delivery script. Handles transcoding, duration calculation, and Feishu upload.src/batch_generator.js: Batch sprite generator. Uses Gemini image generation to produce sprite variants.assets/sprites/: The sprite library (1920x1080 PNG files).assets/production_plan.csv: The asset registry (25 sprites).assets/manifest.json: Sprite metadata for reference.output/: Generated videos.ClawHub only distributes text files. The sprite PNG images are not included in the published package.
After installing, follow the steps below in order to prepare your sprites before first use.
All image generation steps use Gemini API (Nano Banana) as the AI image generator. It works by "reference image + text prompt" — you give it an existing image and a text description of what to change, and it returns a new image with the changes applied. This is how both the base sprite (character + background fusion) and all expression variants are created.
You need a standalone character illustration (transparent background PNG recommended).
Save it somewhere accessible (e.g. avatars/my_character.png).
You need a background scene for the character to stand in.
Save it at: assets/backgrounds/ (e.g. assets/backgrounds/cherry_blossom_bg.png).
This step uses Gemini (Nano Banana) image generation to merge your character onto the background. The AI sees both images and creates a natural-looking composite — this is NOT a simple overlay/paste, but an AI-generated fusion that handles lighting, shadows, and blending.
How to do it:
Method A: Use Gemini directly (recommended) Use any Gemini-compatible image generation tool (like Nano Banana, Google AI Studio, or the Gemini API) with:
Save the output as: assets/sprites/shutiao_base.png
Method B: Use the built-in compose script (simple overlay) If you just want a quick mechanical overlay (no AI blending), src/compose_base.js can paste your character onto the background using sharp:
src/compose_base.js — update BG_PATH and AVATAR_PATH to point to your files.node src/compose_base.jsassets/sprites/shutiao_base.pngNote: Method B is a plain image composite. Method A (Gemini) produces much better results because it handles lighting and integration naturally.
Now that you have a base sprite, plan what expression/pose variants you want.
Open assets/production_plan.csv and customize it:
ID,Emotion,Variant,Description,Filename,Prompt,Status
001,Base,v1,Standard,shutiao_base.png,gentle smile looking at viewer,Done
003,Happy,v1,Smile,shutiao_happy.png,big happy smile eyes closed,Pending
007,Angry,v1,Pout,shutiao_angry.png,angry face pouting,Pending
...
Column meanings:
shutiao__.png format.Pending = will be generated. Done = already exists, skip.The default CSV has 25 entries. You can add, remove, or modify rows freely.
This step uses Gemini (Nano Banana) image generation again. For each Pending row, the batch generator sends your base sprite + the prompt to Gemini, asking: "Same image, change facial expression to [prompt]. Keep clothes and background exactly same."
skills/anima/.env:GEMINI_API_KEY=your_key_here
assets/sprites/shutiao_base.png (or shutiao_base_1k.png) exists from Step 3.node skills/anima/src/batch_generator.js
What happens:
production_plan.csvStatus=Pendingassets/sprites/Status=DoneCheck that assets/sprites/ now has a PNG file for every row in production_plan.csv:
ls assets/sprites/*.png | wc -l
Then do a quick test run:
node skills/anima/run.js --preview --script '[{"text":"Test","emotion":"Happy"}]'
Check the generated frame at temp/frame_0.png — you should see your character with the text overlay.
If a sprite is missing at runtime, the director will fall back to a white background with a warning in the console.
- macOS: brew install ffmpeg - Linux: sudo apt install ffmpeg - Windows: Download/Install FFmpeg and add to PATH.
Install inside the skill folder:
cd skills/anima
npm install
The only native dependency is sharp, which ships prebuilt binaries for all major platforms via N-API. It does not need recompilation when Node versions change — install once, run everywhere.
This skill depends on two external services. You need to provide your own API keys.
src/director.js (the generateAudio() function). - FISH_AUDIO_KEY — Your API key (starts with sk-... or a hex string). - FISH_AUDIO_REF_ID — The voice model reference ID. You can use Fish Audio's default models or clone your own voice.
src/batch_generator.js (only needed if you want to create new sprite variants).batch_generator.js calls the Gemini API directly via curl.GEMINI_API_KEY...
安装 Anima 后,可以对 AI 说这些话来触发它
Help me get started with Anima
Explains what Anima does, walks through the setup, and runs a quick demo based on your current project
Use Anima to anima Avatar - Interactive Video Generation Engine
Invokes Anima with the right parameters and returns the result directly in the conversation
What can I do with Anima in my design & creative workflow?
Lists the top use cases for Anima, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/anima/ 目录(个人级,所有项目可用),或 .claude/skills/anima/(项目级)。重启 AI 客户端后,用 /anima 主动调用,或让 AI 根据上下文自动发现并使用。
Anima 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Anima 可免费安装使用。请查阅仓库了解许可证信息。
Anima Avatar - Interactive Video Generation Engine. Generates 16:9 videos with dynamic character sprites (Shutiao), synced audio (Fish Audio), and text overlay.
Anima 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Anima
Identifies repetitive steps in your workflow and sets up Anima to handle them automatically