How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Jialuo21/Imago-6B", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Imago-6B

Imago-6B is a full-parameter RL post-trained DiT transformer from Imago: Maturing Visual Generation with RL, initialized from Tongyi-MAI/Z-Image.

Benchmark Results (Kimi-K2.6 Judge)

Model Mean T2I-CompBench TIIF-Bench SpatialGenEval T2I-CoReBench LPD-Bench Arena-T2I-Hard LongBench-T2I DrawBench PickScore
Imago-6B 85.3 4.14 88.8 83.0 94.5 93.6 82.4 3.61 23.0
Z-Image (Base) 81.2 3.98 85.7 77.9 90.8 91.1 78.0 3.26 22.4

Training Recipe

  • Reward: Zero-shot Qwen3.5-9B ProbScore
  • Curriculum: Two-stage sequential RL (Jialuo21/Imago-Short -> Jialuo21/Imago-Long)
  • Algorithm: DiffusionNFT with Branch Sampling, DAVE, and scalar velocity norm regularization (no CFG, no KL penalty)
  • Settings: LR 8e-6, 500 steps on Imago-Short -> 500 steps on Imago-Long, Branch Sampling (t in [0.5, 1.0]), DAVE (block 24/30), Norm Reg. (beta=0.10)

Usage

This repository contains the fine-tuned DiT transformer weights (config.json + diffusion_pytorch_model.safetensors). Load it into the base ZImagePipeline:

import torch
from diffusers import ZImagePipeline, ZImageTransformer2DModel

transformer = ZImageTransformer2DModel.from_pretrained(
    "Jialuo21/Imago-6B",
    torch_dtype=torch.bfloat16,
)
pipe = ZImagePipeline.from_pretrained(
    "Tongyi-MAI/Z-Image",
    transformer=transformer,
    torch_dtype=torch.bfloat16,
).to("cuda")

image = pipe(
    prompt="A weathered brass telescope resting on a wooden tripod next to an open leather-bound star atlas on a stone balcony overlooking a moonlit harbor.",
    height=1024,
    width=1024,
    num_inference_steps=50,
    guidance_scale=4.0,
    generator=torch.Generator("cuda").manual_seed(0),
).images[0]
image.save("imago-6b.png")
Downloads last month
10
Safetensors
Model size
6B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Jialuo21/Imago-6B

Finetuned
(73)
this model

Collection including Jialuo21/Imago-6B