ComfyUI/user/default/workflows/create image with LoRA flux_schnell.json
2025-01-15 15:24:05 +09:00

682 lines
11 KiB
JSON

{
"last_node_id": 14,
"last_link_id": 22,
"nodes": [
{
"id": 4,
"type": "BasicGuider",
"pos": [
715,
228
],
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 21
},
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 4
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
5
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicGuider"
}
},
{
"id": 6,
"type": "SamplerCustomAdvanced",
"pos": [
873,
491
],
"size": {
"0": 355.20001220703125,
"1": 106
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 8
},
{
"name": "guider",
"type": "GUIDER",
"link": 5
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 7
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 9
},
{
"name": "latent_image",
"type": "LATENT",
"link": 6
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
10
],
"slot_index": 0,
"shape": 3
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced"
}
},
{
"id": 12,
"type": "VAEDecode",
"pos": [
1317,
489
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 10
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 13,
"type": "PreviewImage",
"pos": [
1576,
497
],
"size": {
"0": 524.1080322265625,
"1": 628.9539184570312
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 13
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 2,
"type": "DualCLIPLoader",
"pos": [
-363,
473
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
17
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "DualCLIPLoader"
},
"widgets_values": [
"t5xxl_fp16.safetensors",
"clip_l.safetensors",
"flux"
]
},
{
"id": 9,
"type": "KSamplerSelect",
"pos": [
422,
1014
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
7
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSamplerSelect"
},
"widgets_values": [
"euler"
]
},
{
"id": 11,
"type": "EmptyLatentImage",
"pos": [
419,
737
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
6
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
2
]
},
{
"id": 10,
"type": "RandomNoise",
"pos": [
423,
886
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
8
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "RandomNoise"
},
"widgets_values": [
347949543961580,
"randomize"
]
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [
396,
485
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 20
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
3
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A cartoon animal. Animal is owl. Do clothes shopping at the store."
]
},
{
"id": 1,
"type": "UNETLoader",
"pos": [
-364,
316
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
16
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"flux/flux1-schnell.safetensors",
"default"
]
},
{
"id": 14,
"type": "LoraLoader",
"pos": [
13,
378
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 16
},
{
"name": "clip",
"type": "CLIP",
"link": 17
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
21,
22
],
"slot_index": 0,
"shape": 3
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
20
],
"slot_index": 1,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"flux_schnell/codingowl_schnell_lora_v1.safetensors",
1,
1
]
},
{
"id": 7,
"type": "VAELoader",
"pos": [
882,
649
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
12
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"flux_schnell/ae.safetensors"
]
},
{
"id": 8,
"type": "BasicScheduler",
"pos": [
423,
1130
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 22
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
9
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "BasicScheduler"
},
"widgets_values": [
"normal",
4,
1
]
},
{
"id": 5,
"type": "FluxGuidance",
"pos": [
366,
218
],
"size": {
"0": 317.4000244140625,
"1": 58
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
4
],
"slot_index": 0,
"shape": 3
}
],
"properties": {
"Node name for S&R": "FluxGuidance"
},
"widgets_values": [
1
]
}
],
"links": [
[
3,
3,
0,
5,
0,
"CONDITIONING"
],
[
4,
5,
0,
4,
1,
"CONDITIONING"
],
[
5,
4,
0,
6,
1,
"GUIDER"
],
[
6,
11,
0,
6,
4,
"LATENT"
],
[
7,
9,
0,
6,
2,
"SAMPLER"
],
[
8,
10,
0,
6,
0,
"NOISE"
],
[
9,
8,
0,
6,
3,
"SIGMAS"
],
[
10,
6,
0,
12,
0,
"LATENT"
],
[
12,
7,
0,
12,
1,
"VAE"
],
[
13,
12,
0,
13,
0,
"IMAGE"
],
[
16,
1,
0,
14,
0,
"MODEL"
],
[
17,
2,
0,
14,
1,
"CLIP"
],
[
20,
14,
1,
3,
0,
"CLIP"
],
[
21,
14,
0,
4,
0,
"MODEL"
],
[
22,
14,
0,
8,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
-36.58838259870646,
-446.6436503087973
]
}
},
"version": 0.4
}