Full pipeline: niji + GPT Image + local MiniMax H3 + Codex for pixel-perfect animation
Hailuo_AI · x · 2026-09-10
Japanese developer @yuichisuzuki shared a complete workflow for creating "pixel-perfect" pixel-art animation using local MiniMax H3 and Codex, with open-sourced post-processing code.
Pipeline
- niji・journey generates the base art, GPT Image 2.5 converts it to pixel-art style
- Local MiniMax H3 in ComfyUI animates from that frame (fixed camera, one spin, fish swimming at different speeds)
- Codex converts the video to 344×192 at 12fps with the grid locked across frames
- A single 128-color palette reduces colors without dithering; temporal color flicker is suppressed using a 7-frame window; final palette is 111 colors after merging similar tones
- Nearest-neighbor 3x upscale, per-frame verification, output as GIF
The post-processing was custom-built with Python + OpenCV/Pillow/NumPy/SciPy; code is on GitHub. The author notes the result still can't match the skill of a trained pixel artist.
More from coding & agent
- Rethinking dependencies in the agent era: drop libs that save 20 lines of code — gethackteam · 2026-10-26
- RustGIS hits 2,000 GitHub stars in two weeks with agent-first architecture — giswqs · 2026-10-26
- Vercel Ships 12 New Products at Its 2026 Conference as It Races Rivals for the Agent Entry Point — FinanceYF5 · 2026-10-26
- Build an AI agent from scratch in under 50 lines of pure Python: ReAct loop tutorial — adnan_hashmi · 2026-10-26
- Dense instance segmentation via Muse Wonder + SAM 3.1 on Meta's Model API — nikhilaravi · 2026-10-26
- Security tip: use AI agents to build a NIST CSF knowledge base for incident response — prasanna_says · 2026-10-26