跳到正文
CuteGuy☣️· 来源· @cutetoxicguy · X·· 5 天前精选AI 评分82
推荐理由

原生像素架构避免模糊,提供本地部署方案与ComfyUI节点,适合游戏资产制作。

正文 · 原文

This 271M-parameter AI model generates REAL pixel art, not blurry images pretending to be pixel art. 🎮

Meet RD Flow 64, a new image generation model from Retro Diffusion, built entirely from scratch for one specific task: creating clean 64×64 pixel-art sprites.

No VAE. No upscaling. No downscaling.

Every pixel is generated directly on the final grid, using exact palette colors and genuine transparency.

And the model itself is just 542 MB.

🎨 What makes RD Flow 64 different?

Most image generators create large images in a compressed latent space, then decode and resize them.

That often produces blurry edges, inconsistent pixel sizes, unwanted colors, and fake transparency.

RD Flow 64 takes a different approach.

▪️ Native 64×64 generation: Every pixel is placed directly on the target grid.

▪️ Exact palettes: The model can generate its own palette or use your predefined colors.

▪️ Binary transparency: Each pixel is either fully transparent or completely opaque. No blurry halos.

▪️ Pixel-native architecture: An hourglass flow Transformer processes the actual image grid instead of compressed VAE latents.

▪️ 16 sampling steps: Fast generation using flow matching.

🧠 The architecture is surprisingly compact.

▪️ 270.9M parameters for the image generator.

▪️ Qwen3-VL-4B-Instruct handles text understanding, using a frozen 3.1B-parameter subset.

▪️ 525,430 training images, including synthetic and human-created pixel art.

▪️ Training focused on characters, creatures, items, props, and small environments.

The text encoder is separate and adds approximately 6.2GB of weights, so the complete system is larger than the 542MB drawing model.

⚡ How fast is it?

According to the developers' benchmarks:

▪️ RTX PRO 4500: 0.28 seconds for one image, or 0.50 seconds for four.

▪️ RTX 4090: Four sprites in 0.7 seconds.

▪️ 2GB GPU: Four sprites in 0.8 seconds using just 0.8GB VRAM for generation, with text encoding handled separately on the CPU.

▪️ Mac mini M2, 8GB: Four sprites in 25 seconds using its integrated GPU.

The 2GB GPU configuration also requires approximately 19 seconds for CPU-based prompt encoding, so generation speed isn't the same as total request latency.

🛠️ Local generation and ComfyUI

RD Flow 64 supports Windows, Linux, and macOS.

The GitHub repository includes inference code, a Python API, and ready-to-use ComfyUI custom nodes.

You can generate transparent sprites, retrieve their palettes, and save the results as PNG files.

⚠️ Limitations

▪️ Only 64×64 resolution.
▪️ Long, detailed prompts work better than short ones.
▪️ Limited variation between seeds.
▪️ Opaque scenes are weaker than transparent sprites.
▪️ Cannot reliably generate text or logos.
💰 Licensing
The inference code is MIT-licensed, but the model weights have a custom non-commercial license.
Interestingly, you can use the generated images commercially, including as game assets. You just can't commercially redistribute, host, or embed the model itself.
The bigger idea?

Instead of forcing massive general-purpose image models to imitate pixel art, RD Flow 64 demonstrates what happens when the architecture is designed around the medium itself.

Actual pixels. Exact colors. Real transparency. And a model small enough to run on everyday hardware.

Try it free, no account required:
https://retrodiffusion.ai/rd-flow

GitHub:
https://github.com/Retro-Diffusion/rd-flow-64

Model weights:
https://huggingface.co/Retro-Diffusion/rd-flow-64

Technical report:
https://retrodiffusion.ai/blog/rd-flow-64-technical-report

#PixelArt #GameDev #LocalAI #OpenSource

来源:CuteGuy☣️ · x.com