Image generation
unfake.js
Clean up AI-generated images into usable pixel art or vector graphics
★ 896
July 2026
MIT
Image generation
What it does
AI images that look like pixel art usually are not: the palette is too large and the grid is misaligned, which makes them unusable as game assets. This tool re-quantises and re-aligns them into genuine pixel art, or converts images into vectors that stay sharp when scaled. There is a browser tool as well as a library. Settings need tuning per image, and it cannot rescue an image whose underlying structure is too far gone.
Summary based on the project's own description. The Japanese page has a fuller beginner guide: setup difficulty, what to prepare, and a step-by-step start.
Screenshots & visuals

Before you start
- Setup difficultySome setup needed
- Command lineNot required
- API keyNot required
- Sends data onlineNo
Judged automatically from the project's own metadata. Always confirm on the official page.
unfake.js FAQ
- Is unfake.js free?
- Yes. It runs on your own machine, so there is no usage-based cost either.
- Do I need to install anything or write code to use unfake.js?
- You install it like a normal desktop app. No command line involved.
- Does unfake.js work on a phone?
- No. It needs a computer.
- Can I use unfake.js commercially?
- The licence is MIT, which permits commercial use. Conditions such as keeping the copyright notice still apply, so read the licence text before shipping it inside something.
How it compares
The conditions that decide whether you can actually use it, side by side.
| Tool | Command line | API key | Sends data out | Phone | Commercial use |
|---|---|---|---|---|---|
| unfake.js (this page) | Not needed | Not needed | No | No | Yes |
| stable-diffusion-xl-inpainting | Not needed | Not needed | Yes | Yes | With conditions |
| ComfyUI | Not needed | Not needed | No | No | Yes |
| Upscayl | Not needed | Not needed | No | No | Yes |
"Sends data out" means your input is uploaded to someone's server. Pick "No" when the material cannot leave your organisation.