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
- Ben Bajarin: Frontier AI is becoming the enterprise cyber-defense stack — BenBajarin · 2026-10-26
- Building AI bots on raw APIs? Devs say models are 'dumb without the harness' — madeofAjala · 2026-10-26
- HarnessMM cuts agent tokens per task by up to 88% while raising success rates — omarsar0 · 2026-10-26
- The CLI is no longer the ideal interface for AI agents, argues AI communicator Elvis Omarsar — omarsar0 · 2026-10-26
- Microsoft demos intent-classifying agents built with Copilot App and Foundry, deployable across Teams and Outlook — marlene_zw · 2026-10-26
- Looking for a wearable mic with best battery life that feeds recordings to personal agents via MCP — altryne · 2026-10-26