ase-deliver
Enables AI to generate and compile Aseprite game art, producing sprite files, sheets, and engine JSON with tools for initialization, briefs, pixel painting, building, validation, and opening in Aseprite.
README
<p align="center"> <img src="docs/assets/hero.png" alt="AseDeliver — any AI to production Aseprite game art" width="100%"> </p>
<p align="center"> <strong>AseDeliver</strong> · 任意 AI 都能给用户交出一份能在 Aseprite 里打开、能进游戏的像素原画<br> <sub>CLI · MCP · ASCII pixels · Godot / Phaser / Unity</sub> </p>
<p align="center"> <a href="https://ylty1516.github.io/ase-deliver/"><img src="https://img.shields.io/badge/live%20page-ylty1516.github.io-6dc2ca?style=for-the-badge" alt="Live page"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-63c74d?style=for-the-badge" alt="MIT"></a> <a href="https://www.aseprite.org/"><img src="https://img.shields.io/badge/Aseprite-1.3-f77622?style=for-the-badge" alt="Aseprite"></a> </p>
没有 .aseprite 就不算交货。AseDeliver 是「AI 画了一张图」和「游戏能用」之间缺的那一层编译器。
图像模型可以换。交付合同不变。
展示
史莱姆示例是工具自己画的 32×32 成品(描边、四档明暗、idle / walk / jump),已用官方 Aseprite 1.3.18.2 打开验证。
<p align="center"> <img src="docs/assets/slime-sheet.png" alt="slime idle and walk sprite sheet" width="100%"> </p>
<p align="center"> <img src="docs/assets/slime-idle.gif" alt="slime idle" height="200"> <img src="docs/assets/slime-walk.gif" alt="slime walk" height="200"> <img src="docs/assets/slime-jump.gif" alt="slime jump" height="200"> </p>
<p align="center"> <img src="docs/assets/aseprite-mock.png" alt="Aseprite editor mock with layers tags and timeline" width="100%"> </p>
<p align="center"> <img src="docs/assets/pipeline.png" alt="spec pixels compile deliver" width="100%"> </p>
<p align="center"> <img src="docs/assets/props.png" alt="potion coin chest sword" width="100%"> </p>
看完整页面(大图 + 动图):ylty1516.github.io/ase-deliver
它产出什么
| 文件 | 作用 |
|---|---|
out/<name>.aseprite |
源文件:图层、帧、Tag、调色板、pivot |
out/<name>.png |
精灵表 |
out/<name>.gif |
预览 |
out/<name>.json |
引擎用 frame + frameTags |
任意 AI 怎么用
init一个模板项目brief— 按它列出的文件名画(任何模型,或 ASCII)- 文件放进
raw/ buildvalidate的deliverable必须为 trueopen到 Aseprite
完整合同见 AGENTS.md。Grok / Claude / Cursor / Codex 直接读这一份即可。
git clone https://github.com/ylty1516/ase-deliver.git
cd ase-deliver
py -3 -m venv .venv
.venv\Scripts\python.exe -m pip install -r requirements.txt
ase-deliver.bat demo --out examples\slime --open
ase-deliver.bat init hero --template character-platformer --desc "side-view fox knight"
ase-deliver.bat brief hero
ase-deliver.bat build hero
Linux / macOS:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
PYTHONPATH=. python -m ase_deliver demo --out examples/slime
模板
| id | 画布 | tags |
|---|---|---|
character-platformer |
32×32 | idle, walk, jump |
character-topdown |
16×16 | 四向走 |
character-turnaround |
64×64 | front / 3/4 / side / back |
portrait |
80×80 | bust |
prop |
32×32 | idle |
tileset-16 |
16×16 | grass, dirt, stone, water |
ui-button |
48×16 | normal, hover, pressed |
fx |
32×32 | burst |
MCP
任意 MCP 客户端:
{
"mcpServers": {
"ase-deliver": {
"command": "python",
"args": ["-m", "ase_deliver", "mcp"],
"env": { "PYTHONPATH": "/path/to/ase-deliver" }
}
}
}
工具:init_project · generation_brief · paint_cel · build · validate_sprite · open_in_aseprite
硬规则(给模型)
- 主体孤立,背景
#FF00FF或已透明,不要地面、投影、水印、文字 - 站立姿态脚踩画布底边
- 同一角色跨帧:比例、颜色、pivot 锁定
- 循环动画必须能 loop
- 不要发明文件名,以
brief为准
没有图像模型时:
{ "map": { ".": null, "#": "#63c74d" }, "rows": ["....", ".##.", ".##.", "...."] }
ase-deliver paint <project> --tag idle --frame 0 --file pixels.json
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。