RD Flow 64: Tiny free model draws real pixel art, but the license has a catch

Retro Diffusion has released a 271-million-parameter image model that draws 64×64 sprites pixel by pixel straight from a color palette, with real transparency. It runs on a 2 GB graphics card or an 8 GB Mac mini. You can sell the images, but you can't build the model itself into your game.

Analysis Try it yourself Nov 27, 2026 11 min read Original analysis by our editors
Illustrative image, AI-generated

What's going on

Ask an AI image generator for “pixel art” and you usually get a fake. From a distance, the image looks like a retro game. Zoom in and it falls apart: the “pixels” come in different sizes, the edges are blurry, there are hundreds or thousands of shades in the image, and instead of a transparent background there's often a gray checkerboard painted in. If your game needs clean sprites (small graphics for characters, items and icons), you can only use this after tedious cleanup.

On November 24, 2026, Retro Diffusion, the company run by pixel artist Astropulse, quietly released an alternative: RD Flow 64. It has 271 million parameters, was trained from scratch and does exactly one thing: 64×64 pixel art. Every pixel is exactly one color from a palette or fully transparent. The code is on GitHub (MIT license, just over 40 stars at the time of writing), and the weights are on Hugging Face. There's a free web demo, no account needed, at retrodiffusion.ai/rd-flow. Hardly anyone has covered it so far. We went through the maker's claims, the technical report and the license, and compared it with the usual alternatives. We didn't run our own benchmarks, so all speed and quality figures come from the maker.

Real pixels instead of a pixel look: how the model draws

Large image models like Flux or Stable Diffusion work in what's called latent space. A VAE, a kind of compressor, packs the image into a condensed intermediate form and unpacks it again at the end. That creates soft transitions, which are exactly what pixel art doesn't want. According to the technical report, RD Flow 64 skips this detour entirely and works directly on the 64×64 grid. Each pixel carries four values: a color in the OKLab color space (a color system in which equal numerical distances roughly match equal perceived color differences) and a transparency value.

The trick is a second output, the pointer head. Instead of computing its own color for each pixel, it points to a palette entry or to “transparent.” That makes semi-transparent edges and in-between colors impossible. If you supply a palette, it's locked in from the first step. Otherwise, the model extracts its own palette from its half-finished image at 60 percent of the way through.

More of the tech in brief:

  • Backbone: an hourglass transformer, a network that gradually shrinks the image and then enlarges it again, like an hourglass. At 64×64 and 32×32 it only looks at 8×8 windows, and the 16×16 core runs 16 transformer blocks at width 1,024.
  • Training: flow matching, a method in which the model learns to turn noise into an image step by step. The default is 16 steps at guidance 4.
  • Prompt reader: Qwen3-VL-4B, frozen and cut off after layer 27 of 36, plus two trainable adapters. At 3.1 billion parameters and 6.2 GB, this part is far larger than the actual drawing model (542 MB). That means just over 90 percent of the roughly 6.8 GB download is the text component.

The model was trained on 525,430 images at 64×64. 67 percent of them (349,544) are synthetic, generated by Retro Diffusion's own production models. The report describes the remaining 175,886 only as “hand-made pixel art plus illustrations and landscapes, downscaled to 64×64.” It says nowhere where they come from or whether there are licenses or consent. The report also doesn't say how much compute the training took.

The comparison table and its limits

The table from the report is the real headline:

Model True pixel grid True transparency Colors per image
RD Flow 64 100 % 100 %, no semi-transparent pixels approx. 40
FLUX.1 [dev] 0 % 0 % (white background) approx. 1,700
Qwen-Image 2.1 0 % 0 % (white background) approx. 1,550
Nano Banana 2 0 % 0 % (checkerboard painted into the image) approx. 1,670
GPT Image 2 0 % 92 %, but not binary (subject at alpha 252–254) approx. 2,000

Do the math and the big models use 40 to 50 times as many colors. According to the report, they effectively draw with about 45 to 200 “pixels” of width instead of a clean 64. And RD Flow 64 is 44 to 74 times smaller than FLUX.1 [dev] (12 billion parameters) and Qwen-Image (20 billion).

How meaningful this is depends heavily on how it was measured. Each model got only eight subjects with two images each, so 16 images. The big models got a short prompt (“…, 64x64 pixel art sprite, transparent background”), while RD Flow 64 got its own prompt enhancer. The competitors' 1024×1024 images were downscaled by simply taking the center pixel of each block, without color reduction or cleanup. The report doesn't define what “true pixel grid” means exactly. Our take: The 0 percent proves that raw output from big models isn't pixel art. But people who make pixel art rarely use it raw. The maker doesn't provide the really interesting comparison, against a well-tuned post-processing pipeline. There's also a small inconsistency: the GitHub README gives an average of 37 colors, the report about 40.

The report is candid about weaknesses. It lists a single resolution (64×64), a weaker mode for images with backgrounds, lost small details like an eye patch or a ring, little variety between seeds, looser prompt adherence than big models and no text or logos at all. The company's own paid models, RD Lite and RD Core, are said to follow prompts more closely, use 66 to 74 colors per image and handle 16 to 512 pixels.

What you need to try it

The easiest route is the official demo in your browser. There you can also pick palettes like PICO-8, Game Boy, Sweetie 16 or Endesga 32, or upload your own. Heads-up: images you generate there are stored and may be shown publicly. A community port by linoyts (RD-Flow-64-ONNX) runs directly in your browser via WebGPU (demo Space). For that, the prompt reader was shrunk to int8. According to the port description, the text features deviate by about 1.2 to 1.5 percent, so results aren't pixel-identical to the original with the same seed.

To run it locally, you need Python 3.10 to 3.13 and about 8 GB of free disk space. On NVIDIA, pick the right PyTorch index: CUDA 12.8 for RTX 20 and newer, CUDA 12.6 for GTX 10. The maker's figures for four images each:

Machine Split Read prompt Draw 4 images Peak memory
RTX 4090 all GPU 0.03 s 0.7 s 6.6 GB VRAM
2 GB GPU (RTX 20+, bf16) prompt CPU, drawing GPU 19 s 0.8 s 0.8 GB VRAM, 7 GB RAM
2 GB GPU (GTX 10, fp32) prompt CPU, drawing GPU 19 s 1.4 s 1.5 GB VRAM, 7 GB RAM
Mac mini M2, 8 GB prompt CPU, drawing Apple GPU 20 s 25 s 3.3 GB RAM
Mac mini M2, 8 GB all CPU 21 s 67 s 5.0 GB RAM
Xeon Gold 6342, no GPU all CPU 19 s 95 s 7.6 GB RAM

On small cards, then, the bottleneck is the prompt reader on the CPU, not the drawing. It only moves to the GPU if the card has at least 10 GB of VRAM. For ComfyUI there's a node package with a ready-made workflow. The output value scale defaults to 8 there (for viewing). For true 64×64 files, set it to 1. The Windows app Dotsmith also integrates RD Flow 64.

Palette lock and prompt enhancer

Two options make the model interesting for game devs. With --palette you fix the colors, either as a hex list or as a .hex, .gpl, .pal or .txt file, the kind you'd get from Lospec. Thanks to the pointer head, the image is technically guaranteed to stay within these colors. Whether it still looks good with a four-color Game Boy palette is another question, and only your own experiments will answer it. --opaque generates full scenes instead of cut-out sprites.

The second option is --expand. The model was trained on long, matter-of-fact descriptions of 120 to 200 words, and according to the prompting guide, short prompts like “a frog” deliver visibly weaker results. So --expand has a language model write the long image description. That works locally via Ollama (example in the README: qwen3:8b, set via RDFLOW_LLM_MODEL) or via OpenRouter, where DeepSeek V4.1 Flash runs by default. The guide advises against words like “pixel art,” “sprite” or “64x64.” There's no negative prompt, so simply don't mention anything you don't want in the image. Guidance values above 4 bloat subjects and flatten the colors.

The DIY approach and the alternatives

Until now, the usual route looked like this: SDXL with a pixel art LoRA (a small add-on module for a specific style) such as Pixel Art XL. Then you downscale the image eightfold with nearest neighbor and repair it with a tool like Astropulse's own pixeldetector (MIT, with a -p option for a reduced palette). A hands-on write-up on DEV explains why simple downscaling often leaves dirty edges: the grid first has to be detected and aligned, the colors have to be reduced, and some of it still takes manual work.

RD Flow 64 LiliPixel V1 SDXL + Pixel Art XL + cleanup
Drawing model size 271M 191M SDXL (several billion) + LoRA
Resolutions 64×64 only 16, 32, 64 any, after downscaling
Palette guaranteed yes, incl. lock not stated only via post-processing
True transparency yes, binary at 16/32, adjustable threshold no
Model license non-commercial OpenMDW-1.1 CreativeML OpenRAIL-M

The most interesting one is LiliPixel V1 from Pinkstack, which also came out in November. It's similarly small, needs about 1 GB in BF16 according to its Model Card, and was trained on CC0, MIT and CC-BY datasets, among others. Its license, the Linux Foundation's OpenMDW-1.1, is considered permissive, including for commercial use. However, the Model Card doesn't describe a strict palette lock, and at 64×64 it produces opaque scenes.

The licensing trap for game developers

The license for the weights, the RD Flow 64 Model License, strictly separates the model from the images:

  • Images: Under §5 they belong to you. Commercial use is explicitly allowed too, as game assets, in advertising or for sale. The license leaves open whether the images are protected by copyright. That depends on the law where you live.
  • Model: Under §3 you may not sell it or make it available for a fee. You're also prohibited from “integrating, embedding or bundling” it “into a commercial product or service.” That rules out a game that generates sprites at runtime. The same applies to fine-tunes, merges and LoRAs.
  • Training: Under §4 you may not use the outputs to train, fine-tune or distill any model, or help anyone else do so. So building your own LoRA for another model from your RD Flow sprites is off the table.
  • Gray area: The license isn't clear on whether a free, ad-free game that embeds the model counts as “non-commercial.” Anything aimed “directly or indirectly” at an advantage already counts as commercial. When in doubt, ask Astropulse in writing.

Our assessment

RD Flow 64 solves a real problem, and it does so with architecture rather than cleanup. The palette is built in, and the transparency is real. On top of that, the model runs on hardware that would never have been enough for Flux. For hobby game devs, game jams and prototypes, it's useful right away, especially with your own palette.

We have three criticisms. First, the showcase comparison is methodologically thin: 16 images per model, and the competitors without any post-processing. Second, two-thirds of the training images are outputs from the company's own production models, which according to a Runware report from 2025 are based on Flux. Where the 175,886 real images come from remains unclear. That this particular model forbids others from training on its outputs seems lopsided, to say the least. Third, the 64×64 limit is also a business model. The report explicitly calls the free model a “research model,” while RD Lite (5 cents per image) and RD Core (10 cents) offer more sizes, styles and animations.

Our take: If you need sprites for your own game, give RD Flow 64 a try. Right now it's the most convenient way to generate palette-accurate 64×64 graphics locally. If you want to build the model into your own app or build on top of it, look at LiliPixel instead, or sort out the license first.

#pixel art#image generation#gamedev#open weights#comfyui#licensing

Try it yourself: RD Flow 64

Explained step by step, no prior knowledge needed – on your own computer or free in your browser.

What can I do with it?

RD Flow 64 turns a text description into real 64×64 pixel art: cut-out sprites with true transparency or small scenes with a background. Every pixel is exactly one palette color, and an image uses about 37 to 40 colors on average. If you want, you can force the model into your own palette, such as PICO-8 or Game Boy. It's best at single subjects like items, characters, creatures, props, buildings, icons and small landscapes. It can't do text, logos, full scenes or tiny details like rings or eye patches. It follows prompts less precisely than big models like Flux, and there's little variety between seeds. In return, it delivers clean files you can drop straight into a game without cleanup, and it runs on very weak hardware.

Who is it worth it for?

Ideal for hobby game developers, game jam teams, pixel art fans and anyone who needs placeholders or finished 64×64 assets fast. It's less suitable if you need larger resolutions, animations, tilesets or text in the image. If you want to build the model itself into a commercial app or game, or train on the images, the license doesn't allow it.

Ideas: What you can do with it

Item icons for an RPG

Describe potions, swords, keys and chests one by one and generate four variants each with a fixed palette. You get transparent 64×64 PNGs you can drag straight into the inventory in Godot, Unity or GameMaker.

Game jam placeholders

In a 48-hour jam, generate enemies, props and background cottages with a consistent look in minutes. Later you can touch them up in Aseprite or replace them with hand-drawn art.

Test a retro console look

Use the PICO-8 or Game Boy palette to see how your game concept looks in an old console's colors. Since every pixel is guaranteed to be a palette color, everything fits together.

Avatars and emojis for Discord or Twitch

Describe your pet or a mascot and generate small pixel portraits with a transparent background. The 8× enlarged copy in the outputs folder works directly as a profile picture.

Templates for learning pixel art

Generate a subject and redraw it in a pixel editor to study shading and outlines. The small number of colors shows you how color ramps work in pixel art.

Classes and workshops

At school or in a makerspace, the model runs even on older laptops without a graphics card, just more slowly. Participants see how text becomes an image and can use the results right away in simple games, for example in Scratch.

Size0.271 B parameters
Download6.8 GB (about 9 min at 100 Mbit/s)
Licensecustom license (see Model Card)
TypeImage generator

What your computer needs

Graphics card (NVIDIA) at least 6 GB VRAMalmost any graphics card with 4 GB or more (e.g. GTX 1650, RTX 3050)
Mac (Apple Silicon M1–M5) from 8 GB unified memoryruns via Metal (MPS), but much slower than with an NVIDIA card
CPU only (no graphics card) Possible, but very slowseveral minutes per image. Not recommended.
Storage approx. 8.8 GB freeModel download plus programs
Google Colab runs for freeThe free Tesla T4 GPU with 15 GB is enough

There's only one version. The drawing model is 542 MB (fp16), plus the 6.2 GB prompt reader based on Qwen3-VL-4B, for a total download of about 6.8 GB. On NVIDIA cards from RTX 20 up, drawing automatically runs in bf16 (0.8 GB VRAM for 4 images); on GTX 10 cards it runs in fp32 (1.5 GB). The prompt reader only goes on the GPU with at least 10 GB of VRAM; otherwise it runs on the CPU. If you don't have a GPU or only want to use your browser, go for the web demo at retrodiffusion.ai/rd-flow or the WebGPU port linoyts/RD-Flow-64-ONNX with an int8 prompt reader.

  • A 2 GB graphics card is enough: drawing needs 0.8 GB VRAM (bf16, RTX 20 and newer) or 1.5 GB (fp32, GTX 10). On top of that, you need about 7 GB of RAM for the prompt reader on the CPU.
  • With an RTX 4090, everything runs on the GPU: 6.6 GB VRAM, four images in 0.7 seconds.
  • Mac mini M2 with 8 GB: prompt on the CPU, drawing on the Apple GPU (MPS), about 20 s to read the prompt and 25 s for four images, with a 3.3 GB RAM peak.
  • It works without a GPU too: on a 10-core Xeon, 4 images take about 95 s plus 19 s to read the prompt (7.6 GB RAM); on an M2 using only the CPU, about 67 s.
  • You need about 8 GB of free disk space and Python 3.10 to 3.13.
  • --compile (torch.compile) only works on Linux with CUDA, and the first run is slow.
How do I find out what my computer has?
  • Windows: Press Ctrl + Shift + Esc → Task Manager → Performance tab → click GPU on the left. At the bottom you'll see Dedicated GPU memory (that's your VRAM). You'll find system memory under Memory.
  • Mac: Apple menu at the top left → About This Mac. You'll see your chip (e.g. M2) and memory (e.g. 16 GB). On Apple chips, graphics and processor share this memory.
  • Linux: Type nvidia-smi in the terminal (shows your graphics card and its memory) and free -h for system memory.

Guide

This model runs with its developers' own program (Retro-Diffusion/rd-flow-64 on GitHub). The commands below come from the Model Card and the developers' instructions.

Windows 10 / 11

Windows 10 / 11: supported. Windows is officially supported. With an NVIDIA card, the graphics card does the drawing and the processor (CPU) reads the text. Without an NVIDIA card, everything runs on the CPU, which takes about one to two minutes per batch of images. Alternatively, there's a free online demo at retrodiffusion.ai/rd-flow.

  1. Install the prerequisites. You need Python 3.10 to 3.13 and Git, a program for downloading code. Install both from their official websites. When installing Python, check the box “Add Python to PATH.” Plan for about 8 GB of free disk space. If you have an NVIDIA graphics card, install the latest NVIDIA driver first.
    python --version
    git --version
  2. Download the program. Open PowerShell (Start menu, type “PowerShell”). This command downloads the program code into a new folder called “rd-flow-64”. cd switches into that folder.
    git clone https://github.com/Retro-Diffusion/rd-flow-64
    cd rd-flow-64
  3. Create a dedicated Python environment. A virtual environment (venv) is a separate area just for this program, so nothing gets mixed up with other programs. Once it's activated, “(.venv)” appears at the start of the line. If you get an error about scripts, allow them once with the command on the second line and then activate again.
    python -m venv .venv
    Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
    .venv\Scripts\Activate.ps1
  4. Install PyTorch. PyTorch is the computing library the model runs on. Use only ONE of the three lines. The first is for NVIDIA cards from the RTX 20 series up. The second is for older GTX 10 cards. The third is for computers without an NVIDIA card.
    # NVIDIA RTX 20 or newer:
    pip install torch --index-url https://download.pytorch.org/whl/cu128
    # NVIDIA GTX 10:
    # pip install torch --index-url https://download.pytorch.org/whl/cu126
    # without an NVIDIA graphics card:
    # pip install torch
  5. Install the remaining packages. This command installs all the other components the program needs. It can take a few minutes. If there's no red error message at the end, it worked.
    pip install -r requirements.txt
  6. Generate your first image. Give the model a long, precise description, since that's what it works best with. This is the example from the Model Card: an orange cat dressed as a chef. On first launch, the program automatically downloads about 6.8 GB of model files, which can take a while depending on your internet connection.
    python generate.py "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."
  7. View the result. Open the “outputs” folder inside the rd-flow-64 folder. You'll find four real 64 × 64 pixel images there as PNGs. Each image comes with an 8× enlarged copy for viewing, and the description is saved as a .txt file.
  8. Result. The outputs folder contains four real 64 × 64 pixel art images with a transparent background, plus an 8× enlarged copy of each and the description as a text file.

macOS

macOS: supported. Macs with Apple silicon (M1, M2 …) are officially supported. Drawing automatically runs on the Apple GPU (MPS). A Mac mini M2 with 8 GB takes about 45 seconds for 4 images. There's no information for Intel Macs.

  1. Install the prerequisites. You need Python 3.10 to 3.13 and Git. Open the “Terminal” app. The first command installs Apple's developer tools (Xcode Command Line Tools), which include Git. You can get Python from the official Python website. Plan for about 8 GB of free disk space.
    xcode-select --install
    python3 --version
  2. Download the program. This command downloads the program code into a new folder called “rd-flow-64”. cd switches into that folder.
    git clone https://github.com/Retro-Diffusion/rd-flow-64
    cd rd-flow-64
  3. Create a dedicated Python environment. A virtual environment (venv) is a separate area just for this program. Once it's activated, “(.venv)” appears at the start of the line. If you open a new Terminal later, reactivate it with the second line.
    python3 -m venv .venv
    source .venv/bin/activate
  4. Install PyTorch and packages. PyTorch is the computing library the model runs on. The second command then installs all the other components. If there's no error message at the end, it worked.
    pip install torch
    pip install -r requirements.txt
  5. Generate your first image. Give the model a long, precise description, since that's what it works best with. This is the example from the Model Card: an orange cat dressed as a chef. On first launch, the program automatically downloads about 6.8 GB of model files. After that, a run takes about 45 seconds on an M2.
    python generate.py "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."
  6. View the result. In Finder, open the “outputs” folder inside the rd-flow-64 folder. You'll find four 64 × 64 PNG images with a transparent background. Each image comes with an 8× enlarged copy and the description as a .txt file.
  7. Result. The outputs folder contains four real 64 × 64 pixel art images with a transparent background, plus an 8× enlarged copy of each and the description as a text file.

Linux

Linux: supported. Linux is officially supported, with an NVIDIA card (CUDA) or CPU only. With 10 GB of VRAM or more, text reading automatically moves to the graphics card too.

  1. Install the prerequisites. You need Python 3.10 to 3.13 including the venv module, plus Git. On Ubuntu you can get both through the package manager. With an NVIDIA card, you also need a current NVIDIA driver. The nvidia-smi command shows you whether it's working. Plan for about 8 GB of free disk space.
    python3 --version
    git --version
    nvidia-smi
  2. Download the program. This command downloads the program code into a new folder called “rd-flow-64”. cd switches into that folder.
    git clone https://github.com/Retro-Diffusion/rd-flow-64
    cd rd-flow-64
  3. Create a dedicated Python environment. A virtual environment (venv) is a separate area just for this program. Once it's activated, “(.venv)” appears at the start of the line.
    python3 -m venv .venv
    source .venv/bin/activate
  4. Install PyTorch. PyTorch is the computing library the model runs on. Use only ONE line. The first is for NVIDIA cards from the RTX 20 series up, the second for GTX 10 cards and the third for computers without a graphics card.
    # NVIDIA RTX 20 or newer:
    pip install torch --index-url https://download.pytorch.org/whl/cu128
    # NVIDIA GTX 10:
    # pip install torch --index-url https://download.pytorch.org/whl/cu126
    # CPU only:
    # pip install torch --index-url https://download.pytorch.org/whl/cpu
  5. Install the remaining packages. This command installs all the other components the program needs. If there's no error message at the end, it worked.
    pip install -r requirements.txt
  6. Generate your first image. Give the model a long, precise description, since that's what it works best with. This is the example from the Model Card: an orange cat dressed as a chef. On first launch, the program automatically downloads about 6.8 GB of model files from Hugging Face.
    python generate.py "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."
  7. View the result. The “outputs” folder now contains four 64 × 64 PNG images. Each image comes with an 8× enlarged copy for viewing and the description as a .txt file.
  8. Result. The outputs folder contains four real 64 × 64 pixel art images with a transparent background, plus an 8× enlarged copy of each and the description as a text file.

What to do after your first result

  • Run “python generate.py” without a description. The model then loads only once and keeps asking you for new descriptions.
  • With “--expand”, a language model (LLM) can turn short ideas like “red potion” into a long description. You can do this locally with Ollama, for example: first run “ollama pull qwen3:8b”, then set the variable RDFLOW_LLM_MODEL=qwen3:8b. In PowerShell you type $env:RDFLOW_LLM_MODEL="qwen3:8b"; on Linux and macOS, export RDFLOW_LLM_MODEL=qwen3:8b.
  • Useful options: “--opaque” creates a full image instead of a cut-out figure. “--palette \"#1a1c2c,#5d275d,#b13e53\"” fixes the colors. “--seed 1” gives you reproducible results, and “--n 8” gives you more images.
  • You can also clone the repo into ComfyUI/custom_nodes and use the ready-made workflow workflows/rd-flow-64.json there. An important licensing note: you can't use the model itself commercially. You're free to use the images, but not to train other AI models.

Try it

A red healing potion in a small glass bottle with a cork, centered in the frame, light from the upper left, dark outline, transparent background
A small green frog with big yellow eyes sitting on a lily pad facing right, side view, soft shading in three shades of green
A knight in silver armor with a blue cape and a sword, standing facing forward, full body visible, space around the edges, with a fixed Game Boy palette of four greens
A tiny wooden cabin in a snowy clearing, smoke rising from the chimney, a starry night sky filling the background (with --opaque as a full scene)
A treasure chest made of dark wood with gold fittings, slightly open with coins glinting inside, three-quarter view from above, bold outlines, only colors from the PICO-8 palette

Tips for better results

  • Stick to guidance 3 to 4. Higher values bloat subjects and flatten the colors, and at 2 the image gets soft.
  • According to the prompting guide, avoid words like “pixel art,” “sprite,” “64x64” or “image” and describe only what's visible: subject, parts from top to bottom, pose, framing, background, outline and lighting.
  • There's no negative prompt, so don't mention anything you don't want in the image.
  • Use --opaque for scenes with a background and the default mode for cut-out sprites. According to the maker, the transparent mode is the stronger one.
  • For consistent game art, fix a Lospec palette as a .hex or .gpl file with --palette and use --n to generate several variants per prompt so you can pick the best.

If something goes wrong

According to the maker, the model understands long descriptions of 120 to 200 words best. Short prompts produce weaker images, so use --expand with a local Ollama model (example in the README: qwen3:8b via the RDFLOW_LLM_MODEL variable) or write detailed descriptions yourself.

Wrong PyTorch index: use cu128 for RTX 20 and newer, cu126 for GTX 10 cards and the CPU index for CPU-only Linux. On Windows and macOS, a plain pip install torch is enough.

In ComfyUI, the scale value defaults to 8 (enlarged preview). For true 64×64 PNGs, set it to 1 and save the rgba output so the transparency is preserved.

--expand won't work without Ollama or an OPENROUTER_API_KEY. Ollama has to be running at http://localhost:11434, and the model has to be downloaded beforehand.

Mind the license: you can use the images commercially, but you can't build the model into a commercial game or service, and you can't train any AI on the images.

Images from the official web demo are stored and may be shown publicly. For confidential projects, work locally instead.

“out of memory,” a crash, or your computer freezes

The model is too big for your VRAM (video memory). Pick a smaller variant from the table above and close other programs, especially games and browsers with lots of tabs.

It runs, but extremely slowly

Your CPU is probably doing the work instead of your graphics card. In Ollama, the PROCESSOR column of ollama ps shows how much runs on the GPU. If it says "100% CPU", update your graphics driver or pick a smaller variant that fits entirely into VRAM (video memory).

“ollama” or “python” is not found

Close the terminal window and open it again so it recognizes the newly installed program. For Python on Windows: reinstall it and check Add python.exe to PATH.

Windows: "Running scripts is disabled on this system"

Run the script with exactly the command above: powershell -ExecutionPolicy Bypass -File try_windows.ps1. This allows execution for this one time only.

Error message when loading the model (version, "trust_remote_code", unknown architecture)

Brand-new models often need the latest software version. With Ollama: update Ollama. With Python: pip install -U transformers in the activated environment. The Model Card usually lists the exact version.

Tokenstrom generates the scripts and notebook automatically. Please take a quick look before running them – they're plain, readable text. Mind the model's license: custom license (see Model Card).

Ask the AI assistant

Questions about this article, installation or background? Our assistant knows this page and runs on our own machine, not in someone else's cloud.

Connecting …

The Assistant is an AI (Gemma 4) and can make mistakes – please check important details against the source. Questions are used only to generate an answer and are deleted after one hour. Please don't enter any personal data.

Comments

What do you think? Already tried it? Write it here, no sign-up needed.

  1. Loading comments …

Comments are public. Links aren't allowed, and we delete abusive posts. You can delete your own comment at any time in this browser. Learn more in the Privacy Policy.