RD Flow 64: The Free AI Pixel Art Model That Draws on the Real Grid, With Your Palette
Ask the biggest image models for a 64 x 64 pixel art potion and you get something that looks right in the thumbnail and wrong the moment you zoom in. The edges are soft. One "red" turns out to be forty slightly different reds. The transparent background is a pale checkerboard painted into the picture. Shrink it to the real size and the bottle dissolves into speckle.
Pixel artists have known this for years, and the usual fix is a cleanup pass that takes longer than drawing the sprite would have. So it is worth noticing when a model shows up that does not need one. RD Flow 64, released by Retro Diffusion on November 24, draws only at 64 x 64, puts every pixel on the grid, picks every color from one small palette, and makes the background truly transparent. Its drawing model is a 542 MB file. It runs on a laptop.
My position after going through the repo, the prompting guide and the technical report: this is the most useful thing to happen to AI pixel art in a long time, and the license means most people who make games for money should treat it as a sketchbook, not a production tool. Both halves matter.
Why the giant models get pixel art wrong
The big image models do not draw pixels. They work on a compressed, blurry sketch of the picture and then a separate step turns that sketch into a full image. That is a great approach for photos and paintings, where soft gradients are the point. Pixel art is the opposite. It is a hard grid, a short list of colors, and transparency that is either on or off. A process built around blur keeps producing near-misses: colors that drift, edges that smear, grids that do not line up.
Retro Diffusion tested this in its own report. At 64 x 64, FLUX.1 [dev], Qwen-Image 2.1, Nano Banana 2 and GPT Image 2 produced roughly 1,550 to 2,000 colors per image, and the three graded for grid alignment scored 0%. To compare fairly, the authors shrank each output by taking one pixel from the center of each block, with no smoothing, and got speckled noise. That is the company's own test on a small sample (8 subjects, 2 images each), so read it as a demonstration, not a ranking. It matches what anyone who has tried this already knows.
What RD Flow 64 does differently
RD Flow 64 was trained from scratch for this one size. It works directly on the 64 x 64 grid, and it builds its palette while it draws. Near the end of each image, every pixel is assigned to exactly one entry in that palette. There are no in-between colors to clean up because the model is never allowed to make them. The README says images average about 37 colors.
The part I expect game artists to care about most is the palette lock. Pass your own colors, either as a list of hex codes or as a .hex, .gpl, .pal or .txt file, and every pixel is limited to them. Because the palette is part of the drawing rather than a filter applied afterward, the model plans the shading with the colors you gave it. A sprite set for a game with a fixed palette lands in that palette.
It has two pieces. A prompt reader (part of Qwen's 4-billion-parameter vision model) reads your description once, and a small drawing model makes the images. The prompt reader is the big one, about 6.2 GB, and the whole download is about 6.8 GB. The drawing model is tiny. That split is why it runs on modest hardware: the reader can sit on your computer's main processor, which is slower but has plenty of memory, while the drawing model uses whatever graphics card you have.
The repo's own timings, for four images:
- An RTX 4090: under a second to draw.
- A graphics card limited to 2 GB of memory: about 19 seconds to read the prompt, then under 2 seconds to draw.
- An 8 GB Mac mini M2 with no graphics card help at all: about 20 seconds to read the prompt and 67 seconds to draw.
The prompt is read once, so asking for more variations of the same description only costs the drawing time. On almost any machine, that makes it a tool you can iterate with rather than wait on.
What it is good at, and the prompt habit that matters
Retro Diffusion lists its range plainly: single subjects and small scenes. Items, characters, creatures, props, buildings, icons and little landscapes, either as transparent sprites or full-frame pictures.
The habit that makes the biggest difference is caption length. The model was trained on long, plain descriptions of each picture, 120 to 200 words. "Red potion" works. A full paragraph describing the flask shape, the cork, the liquid, the highlight and the view angle works much better. If you do not want to write that much, the repo includes an option called --expand that has another AI model write the long caption from your short idea. It works with a free local model through Ollama or a hosted one through OpenRouter. The repo also includes a prompting guide, PROMPTING.md, with worked examples. Read it before you judge the output.
Put this into practice
You can try it in a browser before installing anything. The free demo needs no account. It queues requests when it is busy.
To run it yourself:
- Clone the RD Flow 64 repo and follow the install block for Windows, Linux or Mac. You need Python 3.10 to 3.13 and about 8 GB of free disk space. The first run downloads the model files from Hugging Face.
- Write one long caption for a sprite you actually need. Run
python generate.py "<your caption>". You get four 64 x 64 PNGs, an 8x enlarged copy of each for viewing, and the caption saved as a text file. - Add your palette with
--palette yourcolors.hexand run the same caption again. Compare the two sets side by side. - For a full background instead of a cut-out sprite, add
--opaque. - Lock a seed with
--seedwhen you find something close, so you can make small caption changes and see their effect alone.
If you already work in ComfyUI, the repo doubles as a node pack. Clone it into custom_nodes, install its requirements, restart, and drag workflows/rd-flow-64.json onto the canvas. One tip from the README: set scale to 1 on the Generate node before you save sprites. The default of 8 is only for looking at them.
A good first test is a set you would otherwise draw by hand: six inventory icons, in your game's palette, with the same caption structure. That tells you quickly whether the style holds across a set, which is the real question for any game asset tool.
Where it breaks
The license is the big one. The code is MIT, but the model weights are CC BY-NC 4.0: non-commercial use, with attribution. Sprites you make with the free local model are for personal projects, game jams without a commercial release, prototypes and study. If you plan to sell the game, the free model is not your production tool. Retro Diffusion's hosted models are pay as you go, from $0.03 an image for its cheapest model (RD Mini) up to $0.18 for its priciest (RD Pro), per its pricing page, and its report says those models come with commercial rights to the outputs. New accounts get $0.50 of free balance. That is the business model, and it is a fair one, but know it before you build a pipeline around the free weights.
64 x 64 only. No 32, no 128, no tilesets. Anything bigger is a different product.
No lettering. Text on signs, labels and logos is out of reach, and the README says so.
Crowded scenes lose detail. At 4,096 pixels, a busy scene has nowhere to put it. Single subjects are the sweet spot. Full-frame pictures are weaker than sprites, by the report's own account.
It knows less than the big models. A model this small has seen fewer things. Obscure creatures and specific references may come back generic. This is a fair trade for clean pixels, but it is a trade.
Short prompts disappoint. If your first test is "a sword," you will undersell it to yourself. Use the long caption or the --expand option.
Small and specific is the point
The interesting thing here is less the pixel art than the argument. For two years the answer to every image problem has been a bigger general model. RD Flow 64 is a 542 MB drawing model trained on 525,430 images, about two thirds of them pixel art from Retro Diffusion's own models, and at its one job it produces the thing the giants keep missing. When the rules of a medium are hard, a model built around those rules can be smaller and still be better at them.
So try the demo with a sprite you know how you would draw yourself. Then lock it to your own palette and see how much cleanup you did not have to do. Whether that becomes part of how you work depends on what you plan to do with the result, and the license gives you that answer before you start.