Model reference · open weights
rd-flow-64 is an open-weight image model from Retro-Diffusion. rd-flow-64 (BF16) weighs 542 MB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the Retro-Diffusion/rd-flow-64 model card, 2026-11-28
What it is
| Released by | Retro-Diffusion |
|---|---|
| Released | 2026-11-24 |
| VRAM | 542 MB for the weights |
What it runs on
| Card | One image | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
A 271M-parameter text-to-image model that draws real 64 x 64 pixel art, made by Retro Diffusion.
Try it free in your browser · Inference code (Windows, Linux, macOS) · Prompting guide · Technical report
RD Flow 64 doesn't draw a big picture and shrink it. It works directly on the 64 x 64 pixel grid and chooses each pixel from a palette that it generates along with the image. The result is clean pixel art: every pixel is deliberate, colours are limited (about 37 per image on average), and sprites have real transparency.
Try RD Flow 64 directly in your browser, free and with no account: retrodiffusion.ai/rd-flow.
How many parameters each image model has, and how many times bigger it is than RD Flow 64:
| Image model | Parameters | Size compared with RD Flow 64 |
|---|---|---|
| RD Flow 64 | 0.27B (a 542 MB file) | 1x |
| Stable Diffusion 1.5 | 0.86B | 3x bigger |
| SDXL | 2.6B | 10x bigger |
| FLUX.1 | 12B | 44x bigger |
| Qwen-Image | 20B | 74x bigger |
These are the image models alone. Each also reads your prompt with a separate text model; RD Flow 64's is a 3.1B cut of Qwen3-VL-4B, included in this repo.
The drawing model fits on a 2 GB GPU, and the whole pipeline runs on an ordinary laptop's CPU. An RTX 4090 draws 4 images in 0.7 s. A PC whose GPU has only 2 GB draws them in under a second, with the prompt read on the CPU. An 8 GB Mac mini M2 draws them in 25 s on its built-in GPU.
The GitHub repository has the inference code and per-OS install steps. It downloads these weights automatically:
git clone https://github.com/Retro-Diffusion/rd-flow-64
cd rd-flow-64
pip install torch && pip install -r requirements.txt
python generate.py "a red health potion" --expand # an LLM writes the full caption
from rdflow import Pipeline
pipe = Pipeline.load()
images = pipe(caption, n=4, seed=1) # 64 x 64 RGBA PIL images
ComfyUI: the same repository is a ComfyUI node pack. Clone it into ComfyUI/custom_nodes, install its
requirements.txt, and load workflows/rd-flow-64.json.
The nodes are a loader, a generator (image, alpha mask, palette, and an RGBA image that saves as a transparent PNG)
and an LLM caption writer.
RD Flow 64 was trained on long, plain, careful descriptions (120-200 words): what the subject is, each part with its colours and position, the pose, the view and framing, the background, and the outline and shading. It draws best from a caption written the same way. Short prompts work, but much worse. The prompting guide has the structure, examples, and a system prompt that turns a short idea into a full caption with any LLM.
Example: the request "an orange cat dressed as a chef", expanded by Retro Diffusion's caption writer into (216 words):
An orange cat dressed as a chef. The cat's head sits at the top, round with two triangular ears pointing upward, the outer fur a deep orange and the inner ears a lighter peach. Two round green eyes sit above a small pink nose, with a white muzzle and thin white whiskers spreading to either side. A tall white chef's hat rests on top of the head, cylindrical with a puffed top and a narrow band around the base. Below the head, a white double-breasted chef's jacket covers the chest and shoulders, with a row of small dark buttons down the front and short sleeves ending at the elbows. Two orange forearms extend from the sleeves, ending in small paws with visible toes. Below the jacket, orange legs and a long orange tail curving to the right are visible. The cat stands upright on its hind legs, facing forward. It is centred in the frame as a full-body front view, filling most of the height with clear space around it. The whole subject is visible with a clear margin on every side and nothing cut off. The background is transparent. The art uses dark brown outlines, flat shading with soft highlights on the hat and jacket, and a warm palette of orange, white, pink and green.
| Output | 64 x 64 RGBA, with an exact palette (pixels point to palette entries) and binary transparency |
| Drawing model | 270.9M parameters, hourglass flow transformer, fp16 weights (542 MB); runs in bf16 or fp32 |
| Prompt reader | the embeddings, first 27 of 36 decoder layers and final norm of Qwen3-VL-4B-Instruct, frozen and unchanged, 3.1B parameters, bf16 (6.2 GB); included in text_encoder/ under Apache 2.0 |
| Sampling | flow matching, 16 Euler steps, classifier-free guidance 4 |
| Training data | 525,430 whole 64 x 64 images: 67% generated by Retro Diffusion's own models, 33% hand-made pixel art and illustrations reduced to 64 x 64; every image captioned in detail by a vision model |
Measured speed and memory, 4 images per prompt at 16 steps. The prompt is read once per caption; more images of the same caption cost only the drawing.
| Machine | Read the prompt | Draw 4 images | Peak memory |
|---|---|---|---|
| RTX 4090, everything on the GPU | 0.03 s | 0.7 s | 6.6 GB VRAM |
| 2 GB GPU (bf16), prompt on the CPU | 19 s | 0.8 s | 0.8 GB VRAM |
| 2 GB GPU (GTX 10 series, fp32), prompt on the CPU | 19 s | 1.4 s | 1.5 GB VRAM |
| Mac mini M2, 8 GB, Apple GPU | 20 s | 25 s | 3.3 GB RAM |
| Mac mini M2, 8 GB, CPU only | 21 s | 67 s | 5.0 GB RAM |
| File | |
|---|---|
rd-flow-64.safetensors | the drawing model, fp16, 270.9 |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
Running it yourself
Rent a machine by the hour. How to run this model is on its model card.