/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
Z-Image-Turbo
Библиотека
diffusion-single-file
Опубликована
27 окт 2026

NitroFusion2

Генерация изображенийТекст → изображение4 профессии

NitroFusion2 — основанная на Z-Image-Turbo модель для быстрой генерации изображений по тексту за один или несколько шагов.

24 136скачиваний за 30 дней53лайкавеса обновлены13 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

NitroFusion2 — модель генерации изображений по текстовому описанию, разработанная на основе Z-Image-Turbo. Она использует архитектуру MMDiT и адаптирует adversarial distillation, добавляя состязательную функцию потерь к потоку текстовых токенов. Модель рассчитана на генерацию за 1–2 шага; в README также описан запуск до 4 шагов. Заявлены чёткая типографика и мелкие детали уже при генерации за один шаг.

Модель подходит для быстрого создания изображений по промптам, в том числе с акцентом на текст в изображении, названные объекты или стиль. Для генерации за два шага авторы рекомендуют de-distillation LoRA, которая помогает уменьшить некоторые артефакты. Доступны варианты весов GGUF и рабочие процессы для ComfyUI и Diffusers. Лицензия — Apache-2.0.

Сценарии применения

  • быстро создавать изображения по текстовым промптам
  • генерировать изображения с читаемой типографикой
  • создавать иллюстрации с заданными объектами и стилем
  • генерировать изображения в ComfyUI или через Diffusers

Ограничения

При двухшаговой генерации могут появляться артефакты; авторы рекомендуют использовать de-distillation LoRA для их уменьшения. Для GGUF-версий доступны варианты с разной степенью квантизации.

Для каких профессий подходит4

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

NitroFusion2: Bringing Adversarial Loss to the Text Stream of Multimodal Diffusion Transformers

GitHub Demo Project Page arXiv

🔥 News

✨ NitroFusion2

NitroFusion2 is a 1–2 step text-to-image model built on Z-Image-Turbo. It moves the adversarial loss onto the text stream of the MMDiT. At one step it renders sharp text and fine detail.

ComfyUI

For two steps, we recommend our de-distillation LoRA, which takes NitroFusion2 back to Z-Image-Turbo, to eliminate some artifacts. The workflow applies it at scale 0.5 on the first step, then runs NitroFusion2 alone on the second step.

The 2-step workflows load the LoRA with ComfyUI-BypassLoRA. It applies the LoRA without merging it into the weights, which makes 2-step generation 1.5–3.5× faster. The node includes the fix from ComfyUI PR #17408 until ComfyUI ships it.

We also release GGUF tiers from nf2-Q2_K_4XS.gguf (2.0 GB) to nf2-Q8_0.gguf (7.2 GB).

GGUF workflows: 1 step, 2 steps.

Diffusers

Run inference.py (1–4 steps):

python inference.py --prompt "a cat holding a sign that says hello world" --steps 2 --out cat.png

Or in Python:

import torch
from diffusers import FlowMatchEulerDiscreteScheduler, ZImagePipeline, ZImageTransformer2DModel

transformer = ZImageTransformer2DModel.from_pretrained(
    "ChenDY/NitroFusion2",
    subfolder="transformer",
    torch_dtype=torch.bfloat16,
)
pipe = ZImagePipeline.from_pretrained(
    "Tongyi-MAI/Z-Image-Turbo",
    transformer=transformer,
    torch_dtype=torch.bfloat16,
)
pipe.load_lora_weights("ChenDY/NitroFusion2", weight_name="nf2-dedistill-lora.safetensors", adapter_name="dedistill")
pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_config(pipe.scheduler.config, shift=6.0)
pipe.enable_model_cpu_offload()

pipe.set_adapters("dedistill", 0.5)
def lora_off(pipe, step, timestep, callback_kwargs):
    pipe.set_adapters("dedistill", 0.0)
    return callback_kwargs

prompt = "Latina female with thick wavy hair, harbor boats and pastel houses behind. Breezy seaside light, warm tones, cinematic close-up."

image = pipe(
    prompt=prompt,
    height=1024,
    width=1024,
    num_inference_steps=2,
    sigmas=[1.0, 0.5],
    guidance_scale=0.0,
    generator=torch.Generator("cuda").manual_seed(42),
    callback_on_step_end=lora_off,
).images[0]

image.save("example.png")

ControlNet

NitroFusion2-Controlnet-Union is a Union ControlNet for NitroFusion2 (Canny, HED, Depth, Pose, Gray and inpainting). Weights and ComfyUI workflows are available.

Method

If this paper has one message, it is this: in an MMDiT, the text stream is no longer only conditioning. Once it reads the image, it becomes a discriminative representation, opening a new direction for adversarial diffusion distillation and allowing that discrimination to be steered toward specific aspects.

In an MMDiT, text and image tokens move through the same attention layers, so by the middle of the network the text tokens have already read the image. They hold a compact summary of what was generated, organised by what the prompt asked for. NitroFusion2 puts an adversarial loss there, on that summary, alongside the conventional one on the image features. Because the summary stays tied to the text condition, changing the condition changes what it reports — so one frozen discriminator can be asked a different question simply by swapping the cue. A typography cue makes it attend to rendered text, an object cue to the things named, a style cue to how the image looks. One backbone, many critics, at no extra cost.

Citation

If you find NitroFusion2 useful or relevant to your research, please kindly cite our paper:

@article{chen2026nitrofusion2,
    title={NitroFusion2: Bringing Adversarial Loss to the Text Stream of Multimodal Diffusion Transformers},
    author={Chen, Dar-Yen and Song, Yi-Zhe},
    journal={arXiv preprint arXiv:2611.05648},
    year={2026}
}

Please also consider citing NitroFusion:

@inproceedings{chen2025nitrofusion,
    title={NitroFusion: High-Fidelity Single-Step Diffusion through Dynamic Adversarial Training},
    author={Dar-Yen Chen and Hmrishav Bandyopadhyay and Kai Zou and Yi-Zhe Song},
    booktitle={CVPR},
    year={2025}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · diffusion-single-file

Нельзя запустить

Генеративная модель выложена не в формате diffusers: рантайм её не загрузит.

Ревизия весов
31614c6

0 моделей