spritecook-animate-assets
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSpriteCook Animate Assets
SpriteCook 资产动画制作
Use this skill for animation workflows. Pair it with for credits, manifests, safe downloads, and shared defaults.
spritecook-workflow-essentialsRequires: SpriteCook MCP server connected to your editor. Set up with or see spritecook.ai.
npx spritecook-mcp setup本技能用于动画工作流。可搭配使用,获得积分、清单、安全下载和共享默认配置功能。
spritecook-workflow-essentials要求: 你的编辑器已连接SpriteCook MCP服务器。可通过完成配置,或访问spritecook.ai查看详情。
npx spritecook-mcp setupTool
工具
animate_game_art
animate_game_artanimate_game_art
animate_game_artAnimate an existing SpriteCook asset into a short pixel-art or detailed animation.
| Parameter | Type | Default | Description |
|---|---|---|---|
| string (required) | - | Existing SpriteCook asset ID to animate |
| string (required) | - | Describe the exact motion over time. If |
| bool | true | Inspect the source asset and expand short prompts into a fuller animation prompt |
| int | 6 | Adds spacing on all sides before animation framing |
| bool | null | Optional mode override. If omitted, SpriteCook infers the mode from the asset |
| int | 8 | Even frame count. Pixel supports 2-16, detailed supports 2-24 |
| string | "webp" | "webp", "gif", or "spritesheet" |
| string | null | Optional motion/content exclusions |
| string | "#808080" | Hex matte color used before processing transparency |
| string | "Basic" | "None", "Basic", or "Pro" |
| int | 24 | Pixel palette size. Only valid when |
将现有SpriteCook资产制作为短像素艺术动画或精细动画。
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| 字符串(必填) | - | 待制作动画的现有SpriteCook资产ID |
| 字符串(必填) | - | 精确描述随时间变化的动作。如果 |
| 布尔值 | true | 检测源资产内容,将简短提示词扩展为更完整的动画提示词 |
| 整数 | 6 | 动画构图前在所有边缘添加留白 |
| 布尔值 | 空 | 可选模式强制切换参数。如果省略,SpriteCook会根据资产自动推断模式 |
| 整数 | 8 | 偶数帧数。像素模式支持2-16帧,精细模式支持2-24帧 |
| 字符串 | "webp" | 可选值:"webp"、"gif" 或 "spritesheet" |
| 字符串 | 空 | 可选,指定要排除的动作/内容 |
| 字符串 | "#808080" | 处理透明度前使用的十六进制遮罩色 |
| 字符串 | "Basic" | 可选值:"None"、"Basic" 或 "Pro" |
| 整数 | 24 | 像素模式调色板大小。仅当 |
Workflow
工作流
- If the user already has a SpriteCook asset, pass its directly to
asset_id.animate_game_art - If the user only has a local image file or data URL, import it through an authenticated helper that returns an .
asset_id - Use the returned in
asset_id.animate_game_art - Keep omitted unless you need to force a mode.
pixel
The import step is where the source image enters SpriteCook. It is not the animation call itself.
- 如果用户已有SpriteCook资产,直接将其传给
asset_id即可。animate_game_art - 如果用户只有本地图片文件或数据URL,需通过已认证的辅助工具导入,返回。
asset_id - 将返回的传入
asset_id使用。animate_game_art - 除非需要强制指定模式,否则请省略参数。
pixel
导入步骤是源图像进入SpriteCook的环节,它本身不是动画调用步骤。
Source Rules
源文件规则
- Pixel animation is the correct choice for assets up to .
256x256 - Detailed animation is the correct choice for assets between and
256x256.2048x2048 - Do not force a sub-256 source into detailed mode.
- Keep by default. It helps prevent pixel art from crowding the canvas edge.
edge_margin=6
- 尺寸不超过的资产适合选择像素动画模式。
256x256 - 尺寸在到
256x256之间的资产适合选择精细动画模式。2048x2048 - 不要强制将尺寸小于256的源文件使用精细模式。
- 默认保持,可避免像素艺术内容太贴近画布边缘。
edge_margin=6
Prompt Writing
提示词编写
- Inspect the actual source character before writing the prompt.
- For pixel art, upscale the source with nearest-neighbor to about for inspection only.
1024x1024 - Identify visible character details first: silhouette, armor, visor, weapon, shield, pose, and facing.
- Only mention details that are actually visible in the source image.
- Write one short paragraph in plain prose, not a label or keyword list.
- Describe what moves, how it moves, what stays stable, and how visible props or weapons are used.
- Keep the motion grounded in the existing character rather than inventing new equipment or effects.
- Avoid generic prompts like unless
idle animation.auto_enhance_prompt=true
Example idle prompt:
The armored soldier in purple tactical gear stands in a steady combat stance, subtly bobbing up and down in a rhythmic breathing idle. His yellow visor catches the light while his rifle shifts slightly in his grip, maintaining a high state of readiness.Example attack prompt:
The armored soldier in purple tactical gear raises his rifle and fires several shots, with yellow muzzle flashes appearing at the tip of the barrel. His body recoils with each shot while his head and visor remain focused forward, maintaining a steady combat stance throughout the firing sequence.If , simple prompts like , , or are valid because SpriteCook can inspect the source asset and expand them automatically.
auto_enhance_prompt=trueIdleAttackWalk- 编写提示词前先观察源角色的实际内容。
- 对于像素艺术,仅在预览时用最近邻插值法将源文件放大到约方便观察。
1024x1024 - 首先识别角色的可见细节:轮廓、盔甲、面罩、武器、盾牌、姿势和朝向。
- 仅提及源图像中实际存在的可见细节。
- 用平实的散文写一段简短的描述,不要用标签或关键词列表。
- 描述哪些部分会动、如何动、哪些部分保持静止,以及可见的道具或武器的使用方式。
- 动作要基于现有角色设计,不要凭空添加不存在的装备或特效。
- 除非,否则避免使用
auto_enhance_prompt=true这类泛化提示词。idle animation
示例待机提示词:
The armored soldier in purple tactical gear stands in a steady combat stance, subtly bobbing up and down in a rhythmic breathing idle. His yellow visor catches the light while his rifle shifts slightly in his grip, maintaining a high state of readiness.示例攻击提示词:
The armored soldier in purple tactical gear raises his rifle and fires several shots, with yellow muzzle flashes appearing at the tip of the barrel. His body recoils with each shot while his head and visor remain focused forward, maintaining a steady combat stance throughout the firing sequence.如果,那么、、这类简单提示词也有效,因为SpriteCook会检测源资产内容并自动扩展提示词。
auto_enhance_prompt=trueIdleAttackWalkcheck_job_status
check_job_statuscheck_job_status
check_job_statusUse for long-running animations instead of blocking when the client can continue work in the background.
check_job_status(job_id=...)对于耗时较长的动画任务,使用查询状态,避免客户端阻塞,可在后台继续处理其他工作。
check_job_status(job_id=...)