SAVRN
Search Contact SAVRN

Open-weight model · Text to image

Qwen-Image-Lightning

by Lightx2v lightx2v/Qwen-Image-Lightning

Please refer to Qwen-Image-Lightning github to learn how to use the models. make sure to install diffusers from main (pip install git+https://github.com/huggingface/diffusers.git)

Parameters
Context
Weights65.5 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads430.4k

Model Card

By Lightx2v, published under apache-2.0, revision e74da8d4e71a.

Please refer to Qwen-Image-Lightning github to learn how to use the models. make sure to install diffusers from main (pip install git+https://github.com/huggingface/diffusers.git)

Read Lightx2v's full model card

Please refer to Qwen-Image-Lightning github to learn how to use the models.

use with diffusers:

make sure to install diffusers from main (pip install git+https://github.com/huggingface/diffusers.git)

from diffusers import DiffusionPipeline, FlowMatchEulerDiscreteScheduler
import torch 
import math

# From https://github.com/ModelTC/Qwen-Image-Lightning/blob/342260e8f5468d2f24d084ce04f55e101007118b/generate_with_diffusers.py#L82C9-L97C10
scheduler_config = {
    "base_image_seq_len": 256,
    "base_shift": math.log(3),  # We use shift=3 in distillation
    "invert_sigmas": False,
    "max_image_seq_len": 8192,
    "max_shift": math.log(3),  # We use shift=3 in distillation
    "num_train_timesteps": 1000,
    "shift": 1.0,
    "shift_terminal": None,  # set shift_terminal to None
    "stochastic_sampling": False,
    "time_shift_type": "exponential",
    "use_beta_sigmas": False,
    "use_dynamic_shifting": True,
    "use_exponential_sigmas": False,
    "use_karras_sigmas": False,
}
scheduler = FlowMatchEulerDiscreteScheduler.from_config(scheduler_config)
pipe = DiffusionPipeline.from_pretrained(
    "Qwen/Qwen-Image", scheduler=scheduler, torch_dtype=torch.bfloat16
).to("cuda")
pipe.load_lora_weights(
    "lightx2v/Qwen-Image-Lightning", weight_name="Qwen-Image-Lightning-8steps-V1.0.safetensors"
)

prompt = "a tiny astronaut hatching from an egg on the moon, Ultra HD, 4K, cinematic composition."
negative_prompt = " "
image = pipe(
    prompt=prompt,
    negative_prompt=negative_prompt,
    width=1024,
    height=1024,
    num_inference_steps=8,
    true_cfg_scale=1.0,
    generator=torch.manual_seed(0),
).images[0]
image.save("qwen_fewsteps.png")

Identity and Version

Repository
lightx2v/Qwen-Image-Lightning
Publisher
Lightx2v
Task
Text to image
Modality
Image
Library
diffusers
Parameters
Not stated by the source
Languages
en, zh
Revision
e74da8d4e71a54b341de86aa9f8d2509165aa513
First published
2025-08-09
Last updated
2025-11-03

Files and Weights

24 files, 65.5 GB in total. The weights are 21 files totalling 65.5 GB in safetensors.

Weights21 files · 65.5 GB
Configuration1 file · 339 B
Documentation1 file · 1.9 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensorsWeights849.6 MB 2a32ce938ec7
Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-fp32.safetensorsWeights1.7 GB 6065f62669c9
Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-8steps-V1.0-bf16.safetensorsWeights849.6 MB b5c48ba90d22
Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-8steps-V1.0-fp32.safetensorsWeights1.7 GB eece790fc6ac
Qwen-Image-Edit-2509/qwen_image_edit_2509_fp8_e4m3fn_scaled.safetensorsWeights20.4 GB cc7a73527bd4
Qwen-Image-Edit-Lightning-4steps-V1.0-bf16.safetensorsWeights849.6 MB d8132c32e7df
Qwen-Image-Edit-Lightning-4steps-V1.0.safetensorsWeights1.7 GB e752ea1553f0
Qwen-Image-Edit-Lightning-8steps-V1.0-bf16.safetensorsWeights849.6 MB 36ee4ff86085
Qwen-Image-Edit-Lightning-8steps-V1.0.safetensorsWeights1.7 GB 5910104f8922
Qwen-Image-Lightning-4steps-V1.0-bf16.safetensorsWeights849.6 MB 3ac242b4ff22
Qwen-Image-Lightning-4steps-V1.0.safetensorsWeights1.7 GB 9526e90d71c4
Qwen-Image-Lightning-4steps-V2.0-bf16.safetensorsWeights849.6 MB 3e43b9796143
Qwen-Image-Lightning-4steps-V2.0.safetensorsWeights1.7 GB 878c519b75aa
Qwen-Image-Lightning-8steps-V1.0.safetensorsWeights1.7 GB 07b5a9998814
Qwen-Image-Lightning-8steps-V1.1-bf16.safetensorsWeights849.6 MB fe04c3ec1dd4
Qwen-Image-Lightning-8steps-V1.1.safetensorsWeights1.7 GB c5f33b60c0e3
Qwen-Image-Lightning-8steps-V2.0-bf16.safetensorsWeights849.6 MB 5bdbf6991228
Qwen-Image-Lightning-8steps-V2.0.safetensorsWeights1.7 GB f4f5b6607939
Qwen-Image-fp8-e4m3fn-Lightning-4steps-V1.0-bf16.safetensorsWeights849.6 MB 11704ff6034a
Qwen-Image-fp8-e4m3fn-Lightning-4steps-V1.0-fp32.safetensorsWeights1.7 GB a74d58821ed0
Qwen-Image/qwen_image_fp8_e4m3fn_scaled.safetensorsWeights20.4 GB 0b4ecbb63b40
Qwen-Image-Edit-2509/config.jsonConfiguration339 B
README.mdDocumentation1.9 KB
.gitattributesRepository1.5 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
65.5 GB
Download from Lightx2v

Released by Lightx2v through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published65.5 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Qwen-Image-Lightning

Can I use Qwen-Image-Lightning commercially?

Yes. Qwen-Image-Lightning is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Text to image

Juggernaut-XL-v9

RunDiffusion

The SDXL ecosystem is the single most mature corner of open image generation, and v9 is its most refined photorealism checkpoint. Choose Juggernaut XL v9 when you want: - Photorealism that holds up under scrutiny — skin texture, micro-contrast, and natural lighting that translates from concept to print. - Reasonable hardware — runs comfortably on 8 GB of VRAM, unlike newer DiT-based models that demand 16+ GB. - The full SDXL toolbox — drop-in compatibility with the thousands of SDXL ControlNets, IP-Adapter variants, AnimateDiff, regional prompting tools, and LoRAs already in your workflow. - Battle-tested reliability — 26+ months in production, used in agencies, studios, and shipping…

Open weights creativeml-openrail-m diffusers

Model · Text to image

Z-Image-Lora

nphSi

+ Always use full LoRa name with "vrtlxxxx" trigger in prompt like "Alba Baptista (vrtlalbabaptista) in a swimming pool". "Woman" or "1girl" will NOT work due to my way i do captions. + Add the gender to the prompt for confusing names like "Alex Jones". + Remove the name when internal model knowledge is bad or censored or is confusing to model like "Sandy Cheeks" or "Kate Middleton". + When using a Lora with multiple triggers (vrtlxx,vrtlyy) do not use the real character name but only trigger or a combination of it. "vrtlMain" always combines all trigger-words. Angourie Rice, January Jones, Julianna Guill, Ursula Corbero, Judith Rakers, Alina Merkau, Kiernan Shipka, Leslie Bibb, Marie…

Open weights apache-2.0 diffusers

Model · Text to image

Flux2-Klein-9B-True-V2

Wikee Yang

Recommend smthemex/ComfyUIUniBlockSwap plugin for LOW VRAM users, it only requires 4-6GB of VRAM to run the full bf16 model. 您可以尝试一下全新的 ComfyUI GGUF 模型加载插件 smthemex/ComfyUIDifGGUF,它能适配更多的 GGUF 文件格式,并且将很快集成低显存(4-8GB)显卡的 GGUF 模型块卸载管理能力。 Recommend to try the new GGUF ComfyUI loader plugin, smthemex/ComfyUIDifGGUF, it compatible with more GGUF format, and will add low VRAM (4-8GB) management for GGUF soon. 1. 图像的真实感和质感进一步改善,基本接近香蕉(Nano Banana)的水平。 2. 提示词遵循和还原能力,参数适配性和LoRA兼容性进一步改善,。 The V2 version of this model has undergone a full fine-tuning based on FLUX.2-Klein-9B-True-V1. Compared to the V1 version, it has some improvements and enhancements as below: 1. The realism and texture of images…

Open weights other diffusers

Model · Text to image

Z-Image-Turbo-GGUF

Unsloth AI

Welcome to the official repository for the Z-Image(造相)project! Z-Image is a powerful and highly efficient image generation model with 6B parameters. Currently there are three variants: - Z-Image-Turbo – A distilled version of Z-Image that matches or exceeds leading competitors with only 8 NFEs (Number of Function Evaluations). It offers sub-second inference latency on enterprise-grade H800 GPUs and fits comfortably within 16G VRAM consumer devices. It excels in photorealistic image generation, bilingual text rendering (English & Chinese), and robust instruction adherence. - Z-Image-Base – The non-distilled foundation model. By releasing this checkpoint, we aim to unlock the full potential…

Open weights apache-2.0 ggml

Model · Text to image

FLUX.1-dev-gguf

City

This is a direct GGUF conversion of black-forest-labs/FLUX.1-dev As this is a quantized model not a finetune, all the same restrictions/original license terms still apply. The model files can be used with the ComfyUI-GGUF custom node. Place model files in ComfyUI/models/unet - see the GitHub readme for further install instructions. Please refer to this chart for a basic overview of quantization types.

Open weights other gguf

Model · Text to image

Pony_Diffusion_V6_XL

Narontaka

Pony Diffusion V6 is a versatile SDXL finetune capable of producing stunning SFW and NSFW visuals of various anthro, feral, or humanoids species and their interactions based on simple natural language prompts. CHECK "ABOUT THIS VERSION" ON THE RIGHT IF YOU ARE NOT ON "V6" FOR IMPORTANT INFORMATION. Please join our Discord Server to support development of new versions of this model and get access to free SD bot and check out more examples of this model capabilities on our prompt sharing website or follow the author on Twitter. Important information Make sure you load this model with clip skip 2 (or -2 in some software), otherwise you will be getting low quality blobs. This model supports a…

Open weights cdla-permissive-2.0 diffusers