320 lines
6.5 KiB
JSON
320 lines
6.5 KiB
JSON
{
|
|
"last_node_id": 10,
|
|
"last_link_id": 15,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "DiffusionModelLoader",
|
|
"pos": [50, 50],
|
|
"size": [400, 200],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [1],
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": [2],
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [3],
|
|
"slot_index": 2
|
|
},
|
|
{
|
|
"name": "MODEL_STRING",
|
|
"type": "STRING",
|
|
"links": [4],
|
|
"slot_index": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DiffusionModelLoader"
|
|
},
|
|
"widgets_values": [
|
|
"flux1-dev.safetensors",
|
|
"fp8_e4m3fn",
|
|
"ae.safetensors",
|
|
"t5xxl_fp16.safetensors",
|
|
"clip_l.safetensors"
|
|
],
|
|
"title": "🚀 FLUX Model Loader"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [500, 50],
|
|
"size": [400, 200],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 3
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [5],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"A beautiful landscape with mountains and a lake, highly detailed, photorealistic"
|
|
],
|
|
"title": "Positive Prompt"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [500, 300],
|
|
"size": [400, 200],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 3
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [6],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"blurry, low quality, distorted"
|
|
],
|
|
"title": "Negative Prompt"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "EmptyLatentImage",
|
|
"pos": [50, 300],
|
|
"size": [300, 100],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [7],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "EmptyLatentImage"
|
|
},
|
|
"widgets_values": [
|
|
1024,
|
|
1024,
|
|
1
|
|
],
|
|
"title": "Empty Latent Image"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "KSampler",
|
|
"pos": [950, 50],
|
|
"size": [400, 300],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 1
|
|
},
|
|
{
|
|
"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],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "KSampler"
|
|
},
|
|
"widgets_values": [
|
|
12345,
|
|
"randomize",
|
|
20,
|
|
1.0,
|
|
"euler",
|
|
"normal",
|
|
1.0
|
|
],
|
|
"title": "KSampler"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "VAEDecode",
|
|
"pos": [1400, 50],
|
|
"size": [200, 100],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 8
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [9],
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VAEDecode"
|
|
},
|
|
"title": "VAE Decode"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "SaveImage",
|
|
"pos": [1650, 50],
|
|
"size": [300, 300],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 9
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "SaveImage"
|
|
},
|
|
"widgets_values": [
|
|
"ComfyUI_JLoader"
|
|
],
|
|
"title": "Save Image"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "ShowText",
|
|
"pos": [50, 450],
|
|
"size": [400, 100],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "text",
|
|
"type": "STRING",
|
|
"link": 4
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "ShowText"
|
|
},
|
|
"title": "Model Info Display"
|
|
}
|
|
],
|
|
"links": [
|
|
[1, 1, 0, 5, 0, "MODEL"],
|
|
[2, 1, 1, 6, 1, "VAE"],
|
|
[3, 1, 2, 2, 0, "CLIP"],
|
|
[4, 1, 3, 8, 0, "STRING"],
|
|
[5, 2, 0, 5, 1, "CONDITIONING"],
|
|
[6, 3, 0, 5, 2, "CONDITIONING"],
|
|
[7, 4, 0, 5, 3, "LATENT"],
|
|
[8, 5, 0, 6, 0, "LATENT"],
|
|
[9, 6, 0, 7, 0, "IMAGE"]
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Model Loading",
|
|
"bounding": [25, 25, 450, 400],
|
|
"color": "#3f789e"
|
|
},
|
|
{
|
|
"title": "Text Encoding",
|
|
"bounding": [475, 25, 450, 500],
|
|
"color": "#a1309b"
|
|
},
|
|
{
|
|
"title": "Generation",
|
|
"bounding": [925, 25, 450, 350],
|
|
"color": "#b58b2a"
|
|
},
|
|
{
|
|
"title": "Output",
|
|
"bounding": [1375, 25, 600, 350],
|
|
"color": "#8a8a8a"
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.8,
|
|
"offset": [0, 0]
|
|
}
|
|
},
|
|
"version": 0.4,
|
|
"workflow_info": {
|
|
"name": "FLUX Model Loading Example - Bawk Nodes",
|
|
"description": "Example workflow showing how to use the Bawk Nodes Diffusion Model Loader with FLUX models, including separate VAE and dual CLIP text encoders.",
|
|
"author": "ComfyUI Bawk Nodes",
|
|
"version": "1.0.0",
|
|
"tags": ["flux", "model-loading", "advanced", "fp8", "bawk-nodes"]
|
|
}
|
|
} |