Added workflows for Flux2Klein9B
This commit is contained in:
parent
f53c3207c7
commit
6ef5815b38
3 changed files with 545 additions and 0 deletions
267
setup/Albedo Image with Flux2Klein9B.json
Normal file
267
setup/Albedo Image with Flux2Klein9B.json
Normal file
|
|
@ -0,0 +1,267 @@
|
|||
{
|
||||
"1": {
|
||||
"inputs": {
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "LoadImage",
|
||||
"_meta": {
|
||||
"title": "Position Image"
|
||||
}
|
||||
},
|
||||
"3": {
|
||||
"inputs": {
|
||||
"clip_name": "qwen_3_8b_fp8mixed.safetensors",
|
||||
"type": "flux2",
|
||||
"device": "default"
|
||||
},
|
||||
"class_type": "CLIPLoader",
|
||||
"_meta": {
|
||||
"title": "Load CLIP"
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"inputs": {
|
||||
"vae_name": "flux2-vae.safetensors"
|
||||
},
|
||||
"class_type": "VAELoader",
|
||||
"_meta": {
|
||||
"title": "Load VAE"
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"inputs": {
|
||||
"text": "",
|
||||
"clip": [
|
||||
"3",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CLIPTextEncode",
|
||||
"_meta": {
|
||||
"title": "CLIP Text Encode (Positive Prompt)"
|
||||
}
|
||||
},
|
||||
"7": {
|
||||
"inputs": {
|
||||
"noise_seed": 12345
|
||||
},
|
||||
"class_type": "RandomNoise",
|
||||
"_meta": {
|
||||
"title": "RandomNoise"
|
||||
}
|
||||
},
|
||||
"22": {
|
||||
"inputs": {
|
||||
"text": "",
|
||||
"clip": [
|
||||
"3",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CLIPTextEncode",
|
||||
"_meta": {
|
||||
"title": "CLIP Text Encode (Negative Prompt)"
|
||||
}
|
||||
},
|
||||
"61": {
|
||||
"inputs": {
|
||||
"lora_name": "flux2-klein9b-albedo-lora.safetensors",
|
||||
"strength_model": 1,
|
||||
"model": [
|
||||
"63",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"_meta": {
|
||||
"title": "Load LoRA"
|
||||
}
|
||||
},
|
||||
"63": {
|
||||
"inputs": {
|
||||
"unet_name": "{diffusion_model}"
|
||||
},
|
||||
"class_type": "UnetLoaderGGUF",
|
||||
"_meta": {
|
||||
"title": "Unet Loader (GGUF)"
|
||||
}
|
||||
},
|
||||
"66": {
|
||||
"inputs": {
|
||||
"value": 1024
|
||||
},
|
||||
"class_type": "PrimitiveInt",
|
||||
"_meta": {
|
||||
"title": "Image Resolution"
|
||||
}
|
||||
},
|
||||
"70": {
|
||||
"inputs": {
|
||||
"filename_prefix": "3DGenStudioFlux2Klein9B",
|
||||
"images": [
|
||||
"8:19",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SaveImage",
|
||||
"_meta": {
|
||||
"title": "Save Image"
|
||||
}
|
||||
},
|
||||
"8:16": {
|
||||
"inputs": {
|
||||
"sampler_name": "euler"
|
||||
},
|
||||
"class_type": "KSamplerSelect",
|
||||
"_meta": {
|
||||
"title": "KSamplerSelect"
|
||||
}
|
||||
},
|
||||
"8:17": {
|
||||
"inputs": {
|
||||
"steps": 4,
|
||||
"width": [
|
||||
"66",
|
||||
0
|
||||
],
|
||||
"height": [
|
||||
"66",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Flux2Scheduler",
|
||||
"_meta": {
|
||||
"title": "Flux2Scheduler"
|
||||
}
|
||||
},
|
||||
"8:18": {
|
||||
"inputs": {
|
||||
"width": [
|
||||
"66",
|
||||
0
|
||||
],
|
||||
"height": [
|
||||
"66",
|
||||
0
|
||||
],
|
||||
"batch_size": 1
|
||||
},
|
||||
"class_type": "EmptyFlux2LatentImage",
|
||||
"_meta": {
|
||||
"title": "Empty Flux 2 Latent"
|
||||
}
|
||||
},
|
||||
"20:12:78": {
|
||||
"inputs": {
|
||||
"pixels": [
|
||||
"1",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"4",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEEncode",
|
||||
"_meta": {
|
||||
"title": "VAE Encode"
|
||||
}
|
||||
},
|
||||
"20:12:76": {
|
||||
"inputs": {
|
||||
"conditioning": [
|
||||
"6",
|
||||
0
|
||||
],
|
||||
"latent": [
|
||||
"20:12:78",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ReferenceLatent",
|
||||
"_meta": {
|
||||
"title": "ReferenceLatent"
|
||||
}
|
||||
},
|
||||
"20:12:77": {
|
||||
"inputs": {
|
||||
"conditioning": [
|
||||
"22",
|
||||
0
|
||||
],
|
||||
"latent": [
|
||||
"20:12:78",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ReferenceLatent",
|
||||
"_meta": {
|
||||
"title": "ReferenceLatent"
|
||||
}
|
||||
},
|
||||
"8:15": {
|
||||
"inputs": {
|
||||
"cfg": 1,
|
||||
"model": [
|
||||
"61",
|
||||
0
|
||||
],
|
||||
"positive": [
|
||||
"20:12:76",
|
||||
0
|
||||
],
|
||||
"negative": [
|
||||
"20:12:77",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CFGGuider",
|
||||
"_meta": {
|
||||
"title": "CFGGuider"
|
||||
}
|
||||
},
|
||||
"8:20": {
|
||||
"inputs": {
|
||||
"noise": [
|
||||
"7",
|
||||
0
|
||||
],
|
||||
"guider": [
|
||||
"8:15",
|
||||
0
|
||||
],
|
||||
"sampler": [
|
||||
"8:16",
|
||||
0
|
||||
],
|
||||
"sigmas": [
|
||||
"8:17",
|
||||
0
|
||||
],
|
||||
"latent_image": [
|
||||
"8:18",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SamplerCustomAdvanced",
|
||||
"_meta": {
|
||||
"title": "SamplerCustomAdvanced"
|
||||
}
|
||||
},
|
||||
"8:19": {
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"8:20",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"4",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecode",
|
||||
"_meta": {
|
||||
"title": "VAE Decode"
|
||||
}
|
||||
}
|
||||
}
|
||||
253
setup/Edit Image with Flux2Klein9B.json
Normal file
253
setup/Edit Image with Flux2Klein9B.json
Normal file
|
|
@ -0,0 +1,253 @@
|
|||
{
|
||||
"1": {
|
||||
"inputs": {
|
||||
"image": ""
|
||||
},
|
||||
"class_type": "LoadImage",
|
||||
"_meta": {
|
||||
"title": "Input Image"
|
||||
}
|
||||
},
|
||||
"3": {
|
||||
"inputs": {
|
||||
"clip_name": "qwen_3_8b_fp8mixed.safetensors",
|
||||
"type": "flux2",
|
||||
"device": "default"
|
||||
},
|
||||
"class_type": "CLIPLoader",
|
||||
"_meta": {
|
||||
"title": "Load CLIP"
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"inputs": {
|
||||
"vae_name": "flux2-vae.safetensors"
|
||||
},
|
||||
"class_type": "VAELoader",
|
||||
"_meta": {
|
||||
"title": "Load VAE"
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"inputs": {
|
||||
"text": "",
|
||||
"clip": [
|
||||
"3",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CLIPTextEncode",
|
||||
"_meta": {
|
||||
"title": "CLIP Text Encode (Positive Prompt)"
|
||||
}
|
||||
},
|
||||
"7": {
|
||||
"inputs": {
|
||||
"noise_seed": 12345
|
||||
},
|
||||
"class_type": "RandomNoise",
|
||||
"_meta": {
|
||||
"title": "RandomNoise"
|
||||
}
|
||||
},
|
||||
"22": {
|
||||
"inputs": {
|
||||
"text": "",
|
||||
"clip": [
|
||||
"3",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CLIPTextEncode",
|
||||
"_meta": {
|
||||
"title": "CLIP Text Encode (Negative Prompt)"
|
||||
}
|
||||
},
|
||||
"63": {
|
||||
"inputs": {
|
||||
"unet_name": "{diffusion_model}"
|
||||
},
|
||||
"class_type": "UnetLoaderGGUF",
|
||||
"_meta": {
|
||||
"title": "Unet Loader (GGUF)"
|
||||
}
|
||||
},
|
||||
"66": {
|
||||
"inputs": {
|
||||
"value": 1024
|
||||
},
|
||||
"class_type": "PrimitiveInt",
|
||||
"_meta": {
|
||||
"title": "Image Resolution"
|
||||
}
|
||||
},
|
||||
"70": {
|
||||
"inputs": {
|
||||
"filename_prefix": "3DGenStudioFlux2Klein9B",
|
||||
"images": [
|
||||
"8:19",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SaveImage",
|
||||
"_meta": {
|
||||
"title": "Save Image"
|
||||
}
|
||||
},
|
||||
"8:16": {
|
||||
"inputs": {
|
||||
"sampler_name": "euler"
|
||||
},
|
||||
"class_type": "KSamplerSelect",
|
||||
"_meta": {
|
||||
"title": "KSamplerSelect"
|
||||
}
|
||||
},
|
||||
"8:17": {
|
||||
"inputs": {
|
||||
"steps": 4,
|
||||
"width": [
|
||||
"66",
|
||||
0
|
||||
],
|
||||
"height": [
|
||||
"66",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Flux2Scheduler",
|
||||
"_meta": {
|
||||
"title": "Flux2Scheduler"
|
||||
}
|
||||
},
|
||||
"8:18": {
|
||||
"inputs": {
|
||||
"width": [
|
||||
"66",
|
||||
0
|
||||
],
|
||||
"height": [
|
||||
"66",
|
||||
0
|
||||
],
|
||||
"batch_size": 1
|
||||
},
|
||||
"class_type": "EmptyFlux2LatentImage",
|
||||
"_meta": {
|
||||
"title": "Empty Flux 2 Latent"
|
||||
}
|
||||
},
|
||||
"20:12:78": {
|
||||
"inputs": {
|
||||
"pixels": [
|
||||
"1",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"4",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEEncode",
|
||||
"_meta": {
|
||||
"title": "VAE Encode"
|
||||
}
|
||||
},
|
||||
"20:12:76": {
|
||||
"inputs": {
|
||||
"conditioning": [
|
||||
"6",
|
||||
0
|
||||
],
|
||||
"latent": [
|
||||
"20:12:78",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ReferenceLatent",
|
||||
"_meta": {
|
||||
"title": "ReferenceLatent"
|
||||
}
|
||||
},
|
||||
"20:12:77": {
|
||||
"inputs": {
|
||||
"conditioning": [
|
||||
"22",
|
||||
0
|
||||
],
|
||||
"latent": [
|
||||
"20:12:78",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ReferenceLatent",
|
||||
"_meta": {
|
||||
"title": "ReferenceLatent"
|
||||
}
|
||||
},
|
||||
"8:15": {
|
||||
"inputs": {
|
||||
"cfg": 1,
|
||||
"model": [
|
||||
"63",
|
||||
0
|
||||
],
|
||||
"positive": [
|
||||
"20:12:76",
|
||||
0
|
||||
],
|
||||
"negative": [
|
||||
"20:12:77",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "CFGGuider",
|
||||
"_meta": {
|
||||
"title": "CFGGuider"
|
||||
}
|
||||
},
|
||||
"8:20": {
|
||||
"inputs": {
|
||||
"noise": [
|
||||
"7",
|
||||
0
|
||||
],
|
||||
"guider": [
|
||||
"8:15",
|
||||
0
|
||||
],
|
||||
"sampler": [
|
||||
"8:16",
|
||||
0
|
||||
],
|
||||
"sigmas": [
|
||||
"8:17",
|
||||
0
|
||||
],
|
||||
"latent_image": [
|
||||
"8:18",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "SamplerCustomAdvanced",
|
||||
"_meta": {
|
||||
"title": "SamplerCustomAdvanced"
|
||||
}
|
||||
},
|
||||
"8:19": {
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"8:20",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"4",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "VAEDecode",
|
||||
"_meta": {
|
||||
"title": "VAE Decode"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -259,6 +259,31 @@
|
|||
"Outputs": [
|
||||
{ "Node": "64", "Name": "Save Image", "Type": "Image" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Edit Image with Flux2Klein9B",
|
||||
"File": "setup/Edit Image with Flux2Klein9B.json",
|
||||
"Inputs": [
|
||||
{ "Node": "1", "Input": "image", "Name": "Input Image", "Type": "Image" },
|
||||
{ "Node": "6", "Input": "text", "Name": "Prompt", "Type": "String" },
|
||||
{ "Node": "7", "Input": "noise_seed", "Name": "Seed", "Type": "Number" },
|
||||
{ "Node": "66", "Input": "value", "Name": "Image Resolution", "Type": "Number" }
|
||||
],
|
||||
"Outputs": [
|
||||
{ "Node": "70", "Name": "Save Image", "Type": "Image" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Albedo Image with Flux2Klein9B",
|
||||
"File": "setup/Albedo Image with Flux2Klein9B.json",
|
||||
"Inputs": [
|
||||
{ "Node": "1", "Input": "image", "Name": "Input Image", "Type": "Image" },
|
||||
{ "Node": "7", "Input": "noise_seed", "Name": "Seed", "Type": "Number" },
|
||||
{ "Node": "66", "Input": "value", "Name": "Image Resolution", "Type": "Number" }
|
||||
],
|
||||
"Outputs": [
|
||||
{ "Node": "70", "Name": "Save Image", "Type": "Image" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue