Text-to-Image
Diffusion Single File
qwen-image
qwen-image-2.1
nvfp4
comfyui
quantized
image-editing
rtx-5090
Instructions to use BennyDaBall/Qwen-Image-2.1-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use BennyDaBall/Qwen-Image-2.1-NVFP4 with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
| { | |
| "last_node_id": 10, | |
| "last_link_id": 10, | |
| "nodes": [ | |
| { | |
| "id": 1, | |
| "type": "UNETLoader", | |
| "pos": [ | |
| 20, | |
| 20 | |
| ], | |
| "size": [ | |
| 300, | |
| 330 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 4 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "UNETLoader" | |
| }, | |
| "widgets_values": [ | |
| "qwen_image_2.1_nvfp4.safetensors", | |
| "default" | |
| ] | |
| }, | |
| { | |
| "id": 2, | |
| "type": "CLIPLoader", | |
| "pos": [ | |
| 20, | |
| 220 | |
| ], | |
| "size": [ | |
| 300, | |
| 330 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "links": [ | |
| 1 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "CLIPLoader" | |
| }, | |
| "widgets_values": [ | |
| "qwen3vl_8b_nvfp4.safetensors", | |
| "qwen_image", | |
| "default" | |
| ] | |
| }, | |
| { | |
| "id": 3, | |
| "type": "VAELoader", | |
| "pos": [ | |
| 20, | |
| 420 | |
| ], | |
| "size": [ | |
| 300, | |
| 330 | |
| ], | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "VAE", | |
| "type": "VAE", | |
| "links": [ | |
| 3, | |
| 9 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "VAELoader" | |
| }, | |
| "widgets_values": [ | |
| "qwen_image_2.1_vae_bf16.safetensors" | |
| ] | |
| }, | |
| { | |
| "id": 4, | |
| "type": "TextEncodeQwenImage21", | |
| "pos": [ | |
| 430, | |
| 20 | |
| ], | |
| "size": [ | |
| 530, | |
| 530 | |
| ], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 1 | |
| }, | |
| { | |
| "name": "images.image_1", | |
| "type": "IMAGE", | |
| "link": 2 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 3 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 5 | |
| ] | |
| }, | |
| { | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 6 | |
| ] | |
| }, | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 7 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "TextEncodeQwenImage21" | |
| }, | |
| "widgets_values": [ | |
| "Edit this product photograph. Change the amber glass bottle to deep translucent cobalt-blue glass and change the brass cap to brushed silver. Replace the orange slice with a sliced lime and the rosemary with a sprig of lavender. Keep the exact bottle shape, cream label reading \"EMBER\", marble pedestal, camera angle, object placement, charcoal background and studio lighting. Preserve the composition and realistic product photography.", | |
| "", | |
| 1024 | |
| ] | |
| }, | |
| { | |
| "id": 6, | |
| "type": "KSampler", | |
| "pos": [ | |
| 1010, | |
| 20 | |
| ], | |
| "size": [ | |
| 300, | |
| 330 | |
| ], | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 4 | |
| }, | |
| { | |
| "name": "positive", | |
| "type": "CONDITIONING", | |
| "link": 5 | |
| }, | |
| { | |
| "name": "negative", | |
| "type": "CONDITIONING", | |
| "link": 6 | |
| }, | |
| { | |
| "name": "latent_image", | |
| "type": "LATENT", | |
| "link": 7 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 8 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "KSampler" | |
| }, | |
| "widgets_values": [ | |
| 20261010, | |
| "fixed", | |
| 40, | |
| 1.0, | |
| "euler", | |
| "simple", | |
| 1.0 | |
| ] | |
| }, | |
| { | |
| "id": 7, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 1340, | |
| 20 | |
| ], | |
| "size": [ | |
| 300, | |
| 330 | |
| ], | |
| "flags": {}, | |
| "order": 5, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 8 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 9 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 10 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "VAEDecode" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 8, | |
| "type": "SaveImage", | |
| "pos": [ | |
| 1670, | |
| 20 | |
| ], | |
| "size": [ | |
| 300, | |
| 330 | |
| ], | |
| "flags": {}, | |
| "order": 6, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 10 | |
| } | |
| ], | |
| "outputs": [], | |
| "properties": { | |
| "Node name for S&R": "SaveImage" | |
| }, | |
| "widgets_values": [ | |
| "Qwen21_NVFP4/02_Image_Editing" | |
| ] | |
| }, | |
| { | |
| "id": 10, | |
| "type": "LoadImage", | |
| "pos": [ | |
| 20, | |
| 660 | |
| ], | |
| "size": [ | |
| 300, | |
| 330 | |
| ], | |
| "flags": {}, | |
| "order": 7, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 2 | |
| ] | |
| }, | |
| { | |
| "name": "MASK", | |
| "type": "MASK", | |
| "links": [] | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "LoadImage" | |
| }, | |
| "widgets_values": [ | |
| "qwen_image_2.1_edit_reference.png" | |
| ] | |
| } | |
| ], | |
| "links": [ | |
| [ | |
| 1, | |
| 2, | |
| 0, | |
| 4, | |
| 0, | |
| "CLIP" | |
| ], | |
| [ | |
| 2, | |
| 10, | |
| 0, | |
| 4, | |
| 1, | |
| "IMAGE" | |
| ], | |
| [ | |
| 3, | |
| 3, | |
| 0, | |
| 4, | |
| 2, | |
| "VAE" | |
| ], | |
| [ | |
| 4, | |
| 1, | |
| 0, | |
| 6, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 5, | |
| 4, | |
| 0, | |
| 6, | |
| 1, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 6, | |
| 4, | |
| 1, | |
| 6, | |
| 2, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 7, | |
| 4, | |
| 2, | |
| 6, | |
| 3, | |
| "LATENT" | |
| ], | |
| [ | |
| 8, | |
| 6, | |
| 0, | |
| 7, | |
| 0, | |
| "LATENT" | |
| ], | |
| [ | |
| 9, | |
| 3, | |
| 0, | |
| 7, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 10, | |
| 7, | |
| 0, | |
| 8, | |
| 0, | |
| "IMAGE" | |
| ] | |
| ], | |
| "groups": [], | |
| "config": {}, | |
| "extra": { | |
| "ds": { | |
| "scale": 0.65, | |
| "offset": [ | |
| 40, | |
| 80 | |
| ] | |
| } | |
| }, | |
| "version": 0.4 | |
| } |