Turns an oblique 3D map render of Brasília into the isometric pixel-art look of the MiniDF map, which Codex paints frame by frame. Image-to-image LoRA; winner of the first training round (7 Nov 2026). Training log: marceloeduardo.com/pixel-lora-training.html.
import torch
from diffusers import QwenImage21Pipeline
from PIL import Image
pipe = QwenImage21Pipeline.from_pretrained("Qwen/Qwen-Image-2.1", torch_dtype=torch.bfloat16).to("cuda")
pipe.load_lora_weights("handful/mndf-pixel-qwen-image-2.1")
render = Image.open("render.jpg").convert("RGB") # 1024x1024 oblique 3D render
out = pipe(image=render, prompt="Repaint this 3D map render as mndfstyle isometric pixel-art map of Brasília, keeping every road, building and tree in place",
width=1024, height=1024, num_inference_steps=28).images[0] # no guidance (pipeline default)
diffusers train_dreambooth_lora_qwenimage21_img2img.py · rank 16 · alpha 16 · lr 1e-4 constant · random flip · 1024 px · batch 1 · 3,750 steps (~100 min on one RTX PRO 6000) · 188 Brasília pairs.
Round-1 judge (32 held-out Brasília frames): LPIPS 0.416. On the later five-group test set: 0.410 (Brasília 0.401, landmarks 0.409, São Paulo 0.396, Rio 0.412, world 0.429).
Qwen/Qwen-Image-2.1