NitroFusion2 / workflows /nitrofusion2_1step.json
ChenDY's picture
Add model card, inference script, assets and workflows
5d0a7f5 verified
Raw History Blame Contribute Delete
22.9 kB
{
"id": "22b4f6e9a2c0-d3b8-e5f4-c1a7-f2e6b9d3",
"revision": 0,
"last_node_id": 60,
"last_link_id": 62,
"nodes": [
{
"id": 35,
"type": "MarkdownNote",
"pos": [
-420,
200
],
"size": [
510,
780
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model link",
"properties": {},
"widgets_values": [
"## Report workflow issue\n\nIf you found any issues when running this workflow, [report them here](https://github.com/ChenDarYen/NitroFusion2/issues)\n\n## Model links\n\n- [Hugging Face:ChenDY/NitroFusion2](https://huggingface.co/ChenDY/NitroFusion2)\n\n**text_encoders**\n\n- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors) (7.49 GB)\n\n**diffusion_models**\n\n- [nf2-bf16.safetensors](https://huggingface.co/ChenDY/NitroFusion2/resolve/main/nf2-bf16.safetensors) (12.3 GB)\n\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors) (319.8 MB)\n\nOne step (euler, simple). Keep cfg = 1.\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_4b.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── nf2-bf16.safetensors\n│ └── 📂 vae/\n│ └── ae.safetensors\n```\n"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 57,
"type": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f4b22",
"pos": [
130,
200
],
"size": [
400,
470
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"label": "prompt",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
62
]
}
],
"properties": {
"proxyWidgets": [
[
"6",
"text"
],
[
"9",
"width"
],
[
"9",
"height"
],
[
"10",
"seed"
],
[
"10",
"steps"
],
[
"1",
"unet_name"
],
[
"5",
"clip_name"
],
[
"8",
"vae_name"
],
[
"10",
"control_after_generate"
]
],
"cnr_id": "comfy-core"
},
"widgets_values": []
},
{
"id": 60,
"type": "SaveImage",
"pos": [
570,
200
],
"size": [
780,
660
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 62
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core"
},
"widgets_values": [
"NitroFusion2"
]
}
],
"links": [
[
62,
57,
0,
60,
0,
"IMAGE"
]
],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f4b22",
"version": 1,
"state": {
"lastGroupId": 3,
"lastNodeId": 40,
"lastLinkId": 118,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Text to Image (NitroFusion2, 1 step)",
"inputNode": {
"id": -10,
"bounding": [
-560,
480,
120,
220
]
},
"outputNode": {
"id": -20,
"bounding": [
1625,
320,
120,
60
]
},
"inputs": [
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f0000",
"name": "text",
"type": "STRING",
"linkIds": [
110
],
"pos": [
-460,
500
],
"label": "prompt"
},
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f0001",
"name": "width",
"type": "INT",
"linkIds": [
111
],
"pos": [
-460,
520
]
},
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f0002",
"name": "height",
"type": "INT",
"linkIds": [
112
],
"pos": [
-460,
540
]
},
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f0003",
"name": "seed",
"type": "INT",
"linkIds": [
113
],
"pos": [
-460,
560
]
},
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f0004",
"name": "steps",
"type": "INT",
"linkIds": [
114
],
"pos": [
-460,
580
]
},
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f0005",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
115
],
"pos": [
-460,
600
]
},
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f0006",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
116
],
"pos": [
-460,
620
]
},
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6f0007",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
117
],
"pos": [
-460,
640
]
}
],
"outputs": [
{
"id": "3d9b6e2f-7a1c-4f5e-8b3d-0c2a9e6fffff",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
118
],
"localized_name": "IMAGE",
"pos": [
0,
0
]
}
],
"widgets": [],
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [
30,
230
],
"size": [
270,
110
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 115
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
101
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core"
},
"widgets_values": [
"nf2-bf16.safetensors",
"default"
]
},
{
"id": 3,
"type": "ModelSamplingAuraFlow",
"pos": [
950,
230
],
"size": [
310,
104
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 101
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
104
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ModelSamplingAuraFlow",
"cnr_id": "comfy-core"
},
"widgets_values": [
3
]
},
{
"id": 5,
"type": "CLIPLoader",
"pos": [
30,
520
],
"size": [
270,
140
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": 116
}
],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
102
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core"
},
"widgets_values": [
"qwen_3_4b.safetensors",
"lumina2",
"default"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
400,
230
],
"size": [
450,
650
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 102
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 110
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
103,
105
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core"
},
"widgets_values": [
"Latina female with thick wavy hair, harbor boats and pastel houses behind. Breezy seaside light, warm tones, cinematic close-up."
]
},
{
"id": 7,
"type": "ConditioningZeroOut",
"pos": [
630,
960
],
"size": [
225,
72
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 103
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
106
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"cnr_id": "comfy-core"
},
"widgets_values": []
},
{
"id": 8,
"type": "VAELoader",
"pos": [
30,
700
],
"size": [
270,
110
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": 117
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
109
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 9,
"type": "EmptySD3LatentImage",
"pos": [
40,
890
],
"size": [
260,
170
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 111
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 112
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
107
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage",
"cnr_id": "comfy-core"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 10,
"type": "KSampler",
"pos": [
950,
400
],
"size": [
320,
340
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 104
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 105
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 106
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 107
},
{
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": 113
},
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": 114
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
108
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core"
},
"widgets_values": [
0,
"randomize",
1,
1,
"euler",
"simple",
1.0
]
},
{
"id": 12,
"type": "VAEDecode",
"pos": [
1320,
230
],
"size": [
225,
96
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 108
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 109
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
118
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core"
},
"widgets_values": []
}
],
"groups": [
{
"id": 1,
"title": "Step2 - Image size",
"bounding": [
10,
820,
320,
280
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Step3 - Prompt",
"bounding": [
360,
130,
530,
970
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Step1 - Load models",
"bounding": [
0,
130,
330,
690
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 101,
"origin_id": 1,
"origin_slot": 0,
"target_id": 3,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 102,
"origin_id": 5,
"origin_slot": 0,
"target_id": 6,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 103,
"origin_id": 6,
"origin_slot": 0,
"target_id": 7,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 104,
"origin_id": 3,
"origin_slot": 0,
"target_id": 10,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 105,
"origin_id": 6,
"origin_slot": 0,
"target_id": 10,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 106,
"origin_id": 7,
"origin_slot": 0,
"target_id": 10,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 107,
"origin_id": 9,
"origin_slot": 0,
"target_id": 10,
"target_slot": 3,
"type": "LATENT"
},
{
"id": 108,
"origin_id": 10,
"origin_slot": 0,
"target_id": 12,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 109,
"origin_id": 8,
"origin_slot": 0,
"target_id": 12,
"target_slot": 1,
"type": "VAE"
},
{
"id": 110,
"origin_id": -10,
"origin_slot": 0,
"target_id": 6,
"target_slot": 1,
"type": "STRING"
},
{
"id": 111,
"origin_id": -10,
"origin_slot": 1,
"target_id": 9,
"target_slot": 0,
"type": "INT"
},
{
"id": 112,
"origin_id": -10,
"origin_slot": 2,
"target_id": 9,
"target_slot": 1,
"type": "INT"
},
{
"id": 113,
"origin_id": -10,
"origin_slot": 3,
"target_id": 10,
"target_slot": 4,
"type": "INT"
},
{
"id": 114,
"origin_id": -10,
"origin_slot": 4,
"target_id": 10,
"target_slot": 5,
"type": "INT"
},
{
"id": 115,
"origin_id": -10,
"origin_slot": 5,
"target_id": 1,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 116,
"origin_id": -10,
"origin_slot": 6,
"target_id": 5,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 117,
"origin_id": -10,
"origin_slot": 7,
"target_id": 8,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 118,
"origin_id": 12,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.67,
"offset": [
840,
310
]
},
"workflowRendererVersion": "LG"
},
"version": 0.4
}