{"full_name":"0x0funky/agent-sprite-forge","owner":"0x0funky","name":"agent-sprite-forge","shard":"1","url":"https://github.com/0x0funky/agent-sprite-forge","description":"Agent Skill for generating 2D sprite sheets and map, transparent PNG frames, and animated GIFs from prompts.","homepage":"","topics":["agent-skills","codex","pixel-art","sprite-generator","claude-code","grok-build"],"tag_pages":["agent-skills","claude-code","codex","pixel-art"],"language":"Python","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/148287731?u=5a8cb617d33ba74cbd278295ca2cce0c63a62ca8&v=4","created_at":"2026-04-23T20:52:52Z","pushed_at":"2026-11-13T01:41:03Z","metrics":{"stars":5755,"forks":560,"watchers":18,"issues":8,"prs":9,"releases":2,"issues_open":7,"issues_closed":1,"prs_open":7,"prs_closed":1,"prs_merged":1,"discussions":0},"growth":{"day":{"stars":14,"forks":1,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-15","2026-11-16"],"stars":[5741,5755],"forks":[559,560],"watchers":[18,18],"issues_open":[7,7],"prs_open":[7,7]},"boards":{},"same_owner":[],"issues":[{"number":3,"title":"我使用的时候发现有透明通道的部分老是有紫色残留，是不是目前只能处理像素图像","comments":5,"created_at":"2026-05-03T01:16:52Z"},{"number":1,"title":"大佬我想提交一个demo项目的pr","comments":4,"created_at":"2026-04-29T08:02:28Z"},{"number":9,"title":"Optional quick try for generate2dsprite","comments":1,"created_at":"2026-07-10T04:19:07Z"},{"number":4,"title":"generate2dsprite 生成图片时 Codex 的 image_gen 工具没有把生成图落到可读的本地 PNG 路径","comments":1,"created_at":"2026-06-18T08:00:49Z"},{"number":12,"title":"lots of bugs,how long update version？","comments":0,"created_at":"2026-07-28T13:27:22Z"},{"number":11,"title":"$video2dsprite fails","comments":0,"created_at":"2026-07-28T11:02:04Z"},{"number":8,"title":"how long update this project version?","comments":0,"created_at":"2026-07-05T15:24:26Z"}],"discussions":[],"latest_release":{"name":"v0.6.0 — Real AI pixel game sprites: pixel looks and hibit","tag":"v0.6.0","published_at":"2026-11-13T01:48:57Z","body":"## Real AI pixel game sprites: pixel looks and hibit\n\nAsk an image model for pixel art and it paints a picture of pixels: blocks of uneven size, 88,410 colours in one small figure, soft edges. This release gives your agent two ways to real pixel art, in **Claude Code**, **Codex** and **Grok**:\n\n- **Pixel looks** (new in 0.6.0): classic small sprites that follow a reference. The picture the model paints is read back onto a real grid.\n- **Hibit** (0.5.0, announced here for the first time): high-bit pixel art. The model paints only a flat, lineless master and the Forge computes every pixel.\n\n▶ **Watch the update video** (attached below: `asf-v0.6.0-real-pixels.mp4`; Chinese subtitles: `asf-v0.6.0-real-pixels-zh.mp4`)\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/0x0funky/agent-sprite-forge/main/src/pixel-looks/battle.gif\" alt=\"A fight on a 384x216 plate between a swordsman, a mage, a skeleton knight and a frost dragon, all 1x pixel sprites\" width=\"768\" />\n</p>\n\nThe fighters above are real output from the 2026-11-12 run: four characters of our own and 14 sets with 168 drawings read back from image-to-video clips, rendered at 1x and shown at 2x. The plate behind them is a generated painting brought down to 384x216 and 40 colours.\n\n## Pixel looks: 1x sprites that follow a reference\n\nYou show your agent one sprite whose look you like; it draws your own character in that look, finds the picture's own grid, takes one flat colour from every block and closes the outline by rule. What comes out can be counted: 33x55 pixels, 48 colours, alpha 0 or 255.\n\n- **`pixel_look.py`** (generate2dsprite), the stills:\n  - `ask-master` and `master` draw the figure again, alone and large, and read it as the 1x master: the picture's own grid, one colour a block, the figure's proportions kept, a palette, the outline closed by rule;\n  - `ask-cast` and `cast` draw every further character beside the master, so the cast keeps one pixel size and one look;\n  - `ask-pose`, `pose`, `ask-view` and `view` make poses and side or back views from the master (the sword pose changes 217 cells and keeps 91% of the master);\n  - `lineup` puts every sprite and every drawing on one ground line and reports the heights.\n- **`pixel_motion.py`** (video2dsprite), the motion: `prepare`, `frames`, `finish`, `measure`, `breath`. The frames of an image-to-video clip are read back on the sprite's lattice and palette; a loop or an action is picked from them and packaged as `animation.json` 3.0 with nearest sampling. Every drawing of the 14 sets has only its sprite's own colours and no soft pixel.\n- **Only on request.** Nothing else changes: the HD, pixel and hibit finishes and their defaults are untouched.\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/0x0funky/agent-sprite-forge/main/src/pixel-looks/kael-picture.png\" alt=\"The picture an image model painted\" width=\"300\" />\n  <img src=\"https://raw.githubusercontent.com/0x0funky/agent-sprite-forge/main/src/pixel-looks/kael-plain-resize.png\" alt=\"The same picture resized plainly to 33x55, shown at 7x\" width=\"259\" />\n  <img src=\"https://raw.githubusercontent.com/0x0funky/agent-sprite-forge/main/src/pixel-looks/kael-master.png\" alt=\"The 1x sprite pixel_look.py master made of it, shown at 7x\" width=\"259\" />\n</p>\n\n| Measured in the 2026-11-12 run | |\n|---|---:|\n| The generated picture (the figure) | 1254x1254, 88,410 colours, blocks 15-30 px |\n| The same picture resized to 33x55 (nearest / bilinear) | 1,033 colours / 1,275 colours, 413 soft pixels |\n| `pixel_look.py master` | 33x55, 48 colours, 0 soft pixels, 2.5 KB |\n| The cast (mage / skeleton knight / frost dragon) | 45x56 / 50x55 / 87x86, 48 colours each |\n| The attack set from one clip | 21 drawings from 145 video frames |\n| The fight | 14 sets, 168 drawings |\n\n## Hibit: real pixel art from flat AI art\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/0x0funky/agent-sprite-forge/main/src/hibit/hibit-gameplay.gif\" alt=\"Pip's Star Grov","is_prerelease":false},"readme":true,"readme_zh":true,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}