dgx-spark-playbooks/nvidia/station-comfyui/assets/workflows/flux-text-to-image.json
2026-05-26 18:25:53 +00:00

800 lines
13 KiB
JSON

{
"last_node_id": 30,
"last_link_id": 14,
"nodes": [
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
80,
40
],
"size": [
320,
120
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "*",
"link": null
},
{
"name": "clip",
"type": "*",
"link": 1
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
13
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A majestic snow leopard resting on a cliff at golden hour, photorealistic, 8k detail"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
500,
40
],
"size": [
320,
120
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "*",
"link": 2
},
{
"name": "vae",
"type": "*",
"link": 3
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
4
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 9,
"type": "SaveImage",
"pos": [
920,
40
],
"size": [
320,
120
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "*",
"link": 4
},
{
"name": "filename_prefix",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"flux_output"
]
},
{
"id": 10,
"type": "VAELoader",
"pos": [
1340,
40
],
"size": [
320,
120
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "vae_name",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
3
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 11,
"type": "DualCLIPLoader",
"pos": [
1760,
40
],
"size": [
320,
120
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip_name1",
"type": "*",
"link": null
},
{
"name": "clip_name2",
"type": "*",
"link": null
},
{
"name": "type",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
1
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
80,
260
],
"size": [
320,
120
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "unet_name",
"type": "*",
"link": null
},
{
"name": "weight_dtype",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
14
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux1-dev.safetensors",
"default"
]
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
500,
260
],
"size": [
320,
120
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "*",
"link": 5
},
{
"name": "guider",
"type": "*",
"link": 6
},
{
"name": "sampler",
"type": "*",
"link": 7
},
{
"name": "sigmas",
"type": "*",
"link": 8
},
{
"name": "latent_image",
"type": "*",
"link": 9
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
2
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "SamplerCustomAdvanced"
},
"widgets_values": []
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
920,
260
],
"size": [
320,
120
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "sampler_name",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
7
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 17,
"type": "BasicScheduler",
"pos": [
1340,
260
],
"size": [
320,
120
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "*",
"link": 10
},
{
"name": "scheduler",
"type": "*",
"link": null
},
{
"name": "steps",
"type": "*",
"link": null
},
{
"name": "denoise",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
8
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"simple",
20,
1.0
]
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
1760,
260
],
"size": [
320,
120
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "*",
"link": 11
},
{
"name": "conditioning",
"type": "*",
"link": 12
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
6
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "BasicGuider"
},
"widgets_values": []
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
80,
480
],
"size": [
320,
120
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "noise_seed",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
5
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
42
]
},
{
"id": 26,
"type": "FluxGuidance",
"pos": [
500,
480
],
"size": [
320,
120
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "*",
"link": 13
},
{
"name": "guidance",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
12
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
3.5
]
},
{
"id": 27,
"type": "EmptySD3LatentImage",
"pos": [
920,
480
],
"size": [
320,
120
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "*",
"link": null
},
{
"name": "height",
"type": "*",
"link": null
},
{
"name": "batch_size",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
9
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 30,
"type": "ModelSamplingFlux",
"pos": [
1340,
480
],
"size": [
320,
120
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "*",
"link": 14
},
{
"name": "max_shift",
"type": "*",
"link": null
},
{
"name": "base_shift",
"type": "*",
"link": null
},
{
"name": "width",
"type": "*",
"link": null
},
{
"name": "height",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "0",
"type": "*",
"links": [
10,
11
],
"slot_index": 0
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.0",
"Node name for S&R": "ModelSamplingFlux"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
]
}
],
"links": [
[
1,
11,
0,
6,
1,
"*"
],
[
2,
13,
0,
8,
0,
"*"
],
[
3,
10,
0,
8,
1,
"*"
],
[
4,
8,
0,
9,
0,
"*"
],
[
5,
25,
0,
13,
0,
"*"
],
[
6,
22,
0,
13,
1,
"*"
],
[
7,
16,
0,
13,
2,
"*"
],
[
8,
17,
0,
13,
3,
"*"
],
[
9,
27,
0,
13,
4,
"*"
],
[
10,
30,
0,
17,
0,
"*"
],
[
11,
30,
0,
22,
0,
"*"
],
[
12,
26,
0,
22,
1,
"*"
],
[
13,
6,
0,
26,
0,
"*"
],
[
14,
12,
0,
30,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
0,
0
]
}
},
"version": 0.4
}