Description
unfake.js is a JavaScript library that cleans up AI-generated images and turns them into usable assets. It has two modes. The Pixel Art Processor fixes pixel art that AI tools produce, which often has uneven pixel sizes, color bleeding and other artifacts. It detects the true pixel size of an upscaled image, including fractional grids from models that resample their canvas, then downscales to the native size without adding new colors or blur. Grid snapping aligns the image to its pixel grid. The second mode, the Image Vectorizer, handles vector-style images. The library ships with a browser-based tool for interactive use, and an online demo on itch.io needs no install. There is a ComfyUI node for workflows, and a Python port called unfake.py with Rust-accelerated quantization, which the README says is 10 to 20 percent faster than the JavaScript version.…
Highlights
- Pixel Art Processor for AI-generated sprites
- Automatic scale detection and grid snapping
- Content-aware downscaling without new colors
- Image Vectorizer mode for vector-style images
- Browser tool and an itch.io demo
- ComfyUI node and a Python port
Ratings & Reviews
No ratings yet
Be the first to rate Unfake.js.
People also visit
Unfake.js FAQ
What does unfake.js do?
It fixes AI-generated pixel art and vector images, cleaning up uneven pixels and artifacts so they can be used as assets.
Can I try it without coding?
Yes. The library includes a browser-based tool, and there is an online demo on itch.io that needs no install.
How does it detect the pixel size?
It uses runs-based or edge-aware algorithms, and it can also accept a manual scale factor.
Is there a Python version?
Yes. unfake.py is a Python port with Rust-accelerated quantization, which the README says is 10 to 20 percent faster than the JavaScript version.
Where is the source?
The project is public on GitHub at jenissimo/unfake.js.
What are the best Unfake.js alternatives?
Popular alternatives to Unfake.js include Proper Pixel Art, Pixel Refiner and MonoPix. See all Unfake.js alternatives





