Organize optimized workflows by reusable type
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Flux.2 Klein — four-view character sheet
|
||||
|
||||
Uses any supplied reference image as the authoritative source and produces a landscape sheet with front, left-profile, right-profile, and back views. The prompt is generic and does not assume gender, clothing, subject style, or rendering medium.
|
||||
|
||||
- Reference input: `photoreal_character_reference.png`
|
||||
- Resolution: 1920×1080
|
||||
- Sampler: Euler
|
||||
- Steps: 4
|
||||
- CFG: 1.0
|
||||
- Seed: `20260923`
|
||||
- Tested runtime: approximately 99 seconds on the RTX 3070
|
||||
|
||||
`workflow.json` is the API prompt; `ui-workflow.json` is the native ComfyUI web workflow.
|
||||
@@ -0,0 +1,908 @@
|
||||
{
|
||||
"id": "flux2klein-character-sheet-4view-ui",
|
||||
"revision": 0,
|
||||
"last_node_id": 125,
|
||||
"last_link_id": 24,
|
||||
"nodes": [
|
||||
{
|
||||
"id": 1,
|
||||
"type": "LoadImage",
|
||||
"pos": [
|
||||
-900,
|
||||
500
|
||||
],
|
||||
"size": [
|
||||
320,
|
||||
420
|
||||
],
|
||||
"flags": {},
|
||||
"order": 0,
|
||||
"mode": 0,
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [
|
||||
1
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "LoadImage"
|
||||
},
|
||||
"widgets_values": [
|
||||
"photoreal_character_reference.png",
|
||||
"image"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 70,
|
||||
"type": "UNETLoader",
|
||||
"pos": [
|
||||
-500,
|
||||
100
|
||||
],
|
||||
"size": [
|
||||
370,
|
||||
110
|
||||
],
|
||||
"flags": {},
|
||||
"order": 1,
|
||||
"mode": 0,
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "MODEL",
|
||||
"type": "MODEL",
|
||||
"links": [
|
||||
2
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "UNETLoader"
|
||||
},
|
||||
"widgets_values": [
|
||||
"flux-2-klein-9b-fp8mixed.safetensors",
|
||||
"default"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 71,
|
||||
"type": "CLIPLoader",
|
||||
"pos": [
|
||||
-500,
|
||||
280
|
||||
],
|
||||
"size": [
|
||||
370,
|
||||
150
|
||||
],
|
||||
"flags": {},
|
||||
"order": 2,
|
||||
"mode": 0,
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "CLIP",
|
||||
"type": "CLIP",
|
||||
"links": [
|
||||
3
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPLoader"
|
||||
},
|
||||
"widgets_values": [
|
||||
"qwen_3_8b_fp8mixed.safetensors",
|
||||
"flux2",
|
||||
"default"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 72,
|
||||
"type": "VAELoader",
|
||||
"pos": [
|
||||
-500,
|
||||
500
|
||||
],
|
||||
"size": [
|
||||
370,
|
||||
110
|
||||
],
|
||||
"flags": {},
|
||||
"order": 3,
|
||||
"mode": 0,
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "VAE",
|
||||
"type": "VAE",
|
||||
"links": [
|
||||
4,
|
||||
5
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "VAELoader"
|
||||
},
|
||||
"widgets_values": [
|
||||
"full_encoder_small_decoder.safetensors"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 80,
|
||||
"type": "ImageScaleToTotalPixels",
|
||||
"pos": [
|
||||
-500,
|
||||
720
|
||||
],
|
||||
"size": [
|
||||
270,
|
||||
140
|
||||
],
|
||||
"flags": {},
|
||||
"order": 4,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "image",
|
||||
"type": "IMAGE",
|
||||
"link": 1
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [
|
||||
6,
|
||||
7
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "ImageScaleToTotalPixels"
|
||||
},
|
||||
"widgets_values": [
|
||||
"nearest-exact",
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 99,
|
||||
"type": "GetImageSize",
|
||||
"pos": [
|
||||
-100,
|
||||
720
|
||||
],
|
||||
"size": [
|
||||
230,
|
||||
120
|
||||
],
|
||||
"flags": {},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "image",
|
||||
"type": "IMAGE",
|
||||
"link": 7
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "width",
|
||||
"type": "INT",
|
||||
"links": []
|
||||
},
|
||||
{
|
||||
"name": "height",
|
||||
"type": "INT",
|
||||
"links": []
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "GetImageSize"
|
||||
},
|
||||
"widgets_values": []
|
||||
},
|
||||
{
|
||||
"id": 124,
|
||||
"type": "VAEEncode",
|
||||
"pos": [
|
||||
-100,
|
||||
500
|
||||
],
|
||||
"size": [
|
||||
230,
|
||||
100
|
||||
],
|
||||
"flags": {},
|
||||
"order": 6,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "pixels",
|
||||
"type": "IMAGE",
|
||||
"link": 6
|
||||
},
|
||||
{
|
||||
"name": "vae",
|
||||
"type": "VAE",
|
||||
"link": 4
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "LATENT",
|
||||
"type": "LATENT",
|
||||
"links": [
|
||||
12,
|
||||
13
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "VAEEncode"
|
||||
},
|
||||
"widgets_values": []
|
||||
},
|
||||
{
|
||||
"id": 74,
|
||||
"type": "CLIPTextEncode",
|
||||
"pos": [
|
||||
0,
|
||||
40
|
||||
],
|
||||
"size": [
|
||||
650,
|
||||
400
|
||||
],
|
||||
"flags": {},
|
||||
"order": 7,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "clip",
|
||||
"type": "CLIP",
|
||||
"link": 3
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "CONDITIONING",
|
||||
"type": "CONDITIONING",
|
||||
"links": [
|
||||
14
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "CLIPTextEncode"
|
||||
},
|
||||
"widgets_values": [
|
||||
|
||||
|
||||
"Use the provided reference image as the authoritative visual source. Create a professional multi-view reference sheet of the same subject. Infer the subject's identity, presentation, anatomy, proportions, facial features, hair, clothing or surface design, accessories, colors, materials, markings, pose, and every important visible detail directly from the reference image, regardless of the source image's gender, style, medium, or level of realism. Preserve those inferred attributes consistently across all views. Arrange exactly four equally sized full-subject views horizontally in this exact order: panel 1 front view; panel 2 side view with the subject's nose and face pointing toward the RIGHT edge of the image; panel 3 side view with the subject's nose and face pointing toward the LEFT edge of the image; panel 4 back view. Panels 2 and 3 must face away from each other in opposite horizontal directions and must not be duplicates or the same profile mirrored incorrectly. Use a neutral studio background, even soft lighting, consistent scale and alignment, realistic coherent anatomy or structure, natural hands when applicable, no extra subjects, no borders, no labels, no logos, no readable text, and no watermark. Do not redesign, simplify, gender-swap, restyle, or add or remove important features."
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 82,
|
||||
"type": "ConditioningZeroOut",
|
||||
"pos": [
|
||||
720,
|
||||
500
|
||||
],
|
||||
"size": [
|
||||
220,
|
||||
80
|
||||
],
|
||||
"flags": {},
|
||||
"order": 8,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "conditioning",
|
||||
"type": "CONDITIONING",
|
||||
"link": 14
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "CONDITIONING",
|
||||
"type": "CONDITIONING",
|
||||
"links": [
|
||||
15
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "ConditioningZeroOut"
|
||||
},
|
||||
"widgets_values": []
|
||||
},
|
||||
{
|
||||
"id": 125,
|
||||
"type": "ReferenceLatent",
|
||||
"pos": [
|
||||
720,
|
||||
100
|
||||
],
|
||||
"size": [
|
||||
230,
|
||||
100
|
||||
],
|
||||
"flags": {},
|
||||
"order": 9,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "conditioning",
|
||||
"type": "CONDITIONING",
|
||||
"link": 14
|
||||
},
|
||||
{
|
||||
"name": "latent",
|
||||
"type": "LATENT",
|
||||
"link": 12
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "CONDITIONING",
|
||||
"type": "CONDITIONING",
|
||||
"links": [
|
||||
16
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "ReferenceLatent"
|
||||
},
|
||||
"widgets_values": []
|
||||
},
|
||||
{
|
||||
"id": 123,
|
||||
"type": "ReferenceLatent",
|
||||
"pos": [
|
||||
720,
|
||||
650
|
||||
],
|
||||
"size": [
|
||||
230,
|
||||
100
|
||||
],
|
||||
"flags": {},
|
||||
"order": 10,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "conditioning",
|
||||
"type": "CONDITIONING",
|
||||
"link": 15
|
||||
},
|
||||
{
|
||||
"name": "latent",
|
||||
"type": "LATENT",
|
||||
"link": 13
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "CONDITIONING",
|
||||
"type": "CONDITIONING",
|
||||
"links": [
|
||||
17
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "ReferenceLatent"
|
||||
},
|
||||
"widgets_values": []
|
||||
},
|
||||
{
|
||||
"id": 63,
|
||||
"type": "CFGGuider",
|
||||
"pos": [
|
||||
1020,
|
||||
300
|
||||
],
|
||||
"size": [
|
||||
270,
|
||||
160
|
||||
],
|
||||
"flags": {},
|
||||
"order": 11,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "model",
|
||||
"type": "MODEL",
|
||||
"link": 2
|
||||
},
|
||||
{
|
||||
"name": "positive",
|
||||
"type": "CONDITIONING",
|
||||
"link": 16
|
||||
},
|
||||
{
|
||||
"name": "negative",
|
||||
"type": "CONDITIONING",
|
||||
"link": 17
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "GUIDER",
|
||||
"type": "GUIDER",
|
||||
"links": [
|
||||
18
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "CFGGuider"
|
||||
},
|
||||
"widgets_values": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 61,
|
||||
"type": "KSamplerSelect",
|
||||
"pos": [
|
||||
1020,
|
||||
520
|
||||
],
|
||||
"size": [
|
||||
270,
|
||||
80
|
||||
],
|
||||
"flags": {},
|
||||
"order": 12,
|
||||
"mode": 0,
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "SAMPLER",
|
||||
"type": "SAMPLER",
|
||||
"links": [
|
||||
19
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "KSamplerSelect"
|
||||
},
|
||||
"widgets_values": [
|
||||
"euler"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 62,
|
||||
"type": "Flux2Scheduler",
|
||||
"pos": [
|
||||
1020,
|
||||
650
|
||||
],
|
||||
"size": [
|
||||
270,
|
||||
130
|
||||
],
|
||||
"flags": {},
|
||||
"order": 13,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "width",
|
||||
"type": "INT",
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"name": "height",
|
||||
"type": "INT",
|
||||
"link": null
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "SIGMAS",
|
||||
"type": "SIGMAS",
|
||||
"links": [
|
||||
20
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "Flux2Scheduler"
|
||||
},
|
||||
"widgets_values": [
|
||||
4,
|
||||
1920,
|
||||
1080
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 66,
|
||||
"type": "EmptyFlux2LatentImage",
|
||||
"pos": [
|
||||
1320,
|
||||
650
|
||||
],
|
||||
"size": [
|
||||
270,
|
||||
130
|
||||
],
|
||||
"flags": {},
|
||||
"order": 14,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "width",
|
||||
"type": "INT",
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"name": "height",
|
||||
"type": "INT",
|
||||
"link": null
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "LATENT",
|
||||
"type": "LATENT",
|
||||
"links": [
|
||||
21
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "EmptyFlux2LatentImage"
|
||||
},
|
||||
"widgets_values": [
|
||||
1920,
|
||||
1080,
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 73,
|
||||
"type": "RandomNoise",
|
||||
"pos": [
|
||||
1320,
|
||||
260
|
||||
],
|
||||
"size": [
|
||||
270,
|
||||
100
|
||||
],
|
||||
"flags": {},
|
||||
"order": 15,
|
||||
"mode": 0,
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "NOISE",
|
||||
"type": "NOISE",
|
||||
"links": [
|
||||
22
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "RandomNoise"
|
||||
},
|
||||
"widgets_values": [
|
||||
20260923,
|
||||
"fixed"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 64,
|
||||
"type": "SamplerCustomAdvanced",
|
||||
"pos": [
|
||||
1640,
|
||||
360
|
||||
],
|
||||
"size": [
|
||||
270,
|
||||
190
|
||||
],
|
||||
"flags": {},
|
||||
"order": 16,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "noise",
|
||||
"type": "NOISE",
|
||||
"link": 22
|
||||
},
|
||||
{
|
||||
"name": "guider",
|
||||
"type": "GUIDER",
|
||||
"link": 18
|
||||
},
|
||||
{
|
||||
"name": "sampler",
|
||||
"type": "SAMPLER",
|
||||
"link": 19
|
||||
},
|
||||
{
|
||||
"name": "sigmas",
|
||||
"type": "SIGMAS",
|
||||
"link": 20
|
||||
},
|
||||
{
|
||||
"name": "latent_image",
|
||||
"type": "LATENT",
|
||||
"link": 21
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "output",
|
||||
"type": "LATENT",
|
||||
"links": [
|
||||
23
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "denoised_output",
|
||||
"type": "LATENT",
|
||||
"links": null
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "SamplerCustomAdvanced"
|
||||
},
|
||||
"widgets_values": []
|
||||
},
|
||||
{
|
||||
"id": 65,
|
||||
"type": "VAEDecode",
|
||||
"pos": [
|
||||
1960,
|
||||
380
|
||||
],
|
||||
"size": [
|
||||
230,
|
||||
100
|
||||
],
|
||||
"flags": {},
|
||||
"order": 17,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "samples",
|
||||
"type": "LATENT",
|
||||
"link": 23
|
||||
},
|
||||
{
|
||||
"name": "vae",
|
||||
"type": "VAE",
|
||||
"link": 5
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [
|
||||
24
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"Node name for S&R": "VAEDecode"
|
||||
},
|
||||
"widgets_values": []
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"type": "SaveImage",
|
||||
"pos": [
|
||||
2250,
|
||||
380
|
||||
],
|
||||
"size": [
|
||||
320,
|
||||
270
|
||||
],
|
||||
"flags": {},
|
||||
"order": 18,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "images",
|
||||
"type": "IMAGE",
|
||||
"link": 24
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"properties": {
|
||||
"Node name for S&R": "SaveImage"
|
||||
},
|
||||
"widgets_values": [
|
||||
"fluxExperiments/imageEdit/character_sheet_4view_seed20260923"
|
||||
]
|
||||
}
|
||||
],
|
||||
"links": [
|
||||
[
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
80,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
[
|
||||
2,
|
||||
70,
|
||||
0,
|
||||
63,
|
||||
0,
|
||||
"MODEL"
|
||||
],
|
||||
[
|
||||
3,
|
||||
71,
|
||||
0,
|
||||
74,
|
||||
0,
|
||||
"CLIP"
|
||||
],
|
||||
[
|
||||
4,
|
||||
72,
|
||||
0,
|
||||
124,
|
||||
1,
|
||||
"VAE"
|
||||
],
|
||||
[
|
||||
5,
|
||||
72,
|
||||
0,
|
||||
65,
|
||||
1,
|
||||
"VAE"
|
||||
],
|
||||
[
|
||||
6,
|
||||
80,
|
||||
0,
|
||||
124,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
[
|
||||
7,
|
||||
80,
|
||||
0,
|
||||
99,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
[
|
||||
12,
|
||||
124,
|
||||
0,
|
||||
125,
|
||||
1,
|
||||
"LATENT"
|
||||
],
|
||||
[
|
||||
13,
|
||||
124,
|
||||
0,
|
||||
123,
|
||||
1,
|
||||
"LATENT"
|
||||
],
|
||||
[
|
||||
14,
|
||||
74,
|
||||
0,
|
||||
82,
|
||||
0,
|
||||
"CONDITIONING"
|
||||
],
|
||||
[
|
||||
15,
|
||||
82,
|
||||
0,
|
||||
123,
|
||||
0,
|
||||
"CONDITIONING"
|
||||
],
|
||||
[
|
||||
16,
|
||||
125,
|
||||
0,
|
||||
63,
|
||||
1,
|
||||
"CONDITIONING"
|
||||
],
|
||||
[
|
||||
17,
|
||||
123,
|
||||
0,
|
||||
63,
|
||||
2,
|
||||
"CONDITIONING"
|
||||
],
|
||||
[
|
||||
18,
|
||||
63,
|
||||
0,
|
||||
64,
|
||||
1,
|
||||
"GUIDER"
|
||||
],
|
||||
[
|
||||
19,
|
||||
61,
|
||||
0,
|
||||
64,
|
||||
2,
|
||||
"SAMPLER"
|
||||
],
|
||||
[
|
||||
20,
|
||||
62,
|
||||
0,
|
||||
64,
|
||||
3,
|
||||
"SIGMAS"
|
||||
],
|
||||
[
|
||||
21,
|
||||
66,
|
||||
0,
|
||||
64,
|
||||
4,
|
||||
"LATENT"
|
||||
],
|
||||
[
|
||||
22,
|
||||
73,
|
||||
0,
|
||||
64,
|
||||
0,
|
||||
"NOISE"
|
||||
],
|
||||
[
|
||||
23,
|
||||
64,
|
||||
0,
|
||||
65,
|
||||
0,
|
||||
"LATENT"
|
||||
],
|
||||
[
|
||||
24,
|
||||
65,
|
||||
0,
|
||||
9,
|
||||
0,
|
||||
"IMAGE"
|
||||
]
|
||||
],
|
||||
"groups": [],
|
||||
"definitions": {
|
||||
"config": {}
|
||||
},
|
||||
"config": {},
|
||||
"extra": {
|
||||
"note": "Flux.2 Klein photorealistic character edit; Euler 4 steps CFG 1.0; seed 20260921"
|
||||
},
|
||||
"version": 0.4
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
{
|
||||
"1": {
|
||||
"class_type": "LoadImage",
|
||||
"inputs": {
|
||||
"image": "photoreal_character_reference.png"
|
||||
}
|
||||
},
|
||||
"9": {
|
||||
"class_type": "SaveImage",
|
||||
"inputs": {
|
||||
"images": [
|
||||
"65",
|
||||
0
|
||||
],
|
||||
"filename_prefix": "fluxExperiments/imageEdit/character_sheet_4view_seed20260923"
|
||||
}
|
||||
},
|
||||
"61": {
|
||||
"class_type": "KSamplerSelect",
|
||||
"inputs": {
|
||||
"sampler_name": "euler"
|
||||
}
|
||||
},
|
||||
"62": {
|
||||
"class_type": "Flux2Scheduler",
|
||||
"inputs": {
|
||||
"steps": 4,
|
||||
"width": 1920,
|
||||
"height": 1080
|
||||
}
|
||||
},
|
||||
"63": {
|
||||
"class_type": "CFGGuider",
|
||||
"inputs": {
|
||||
"cfg": 1,
|
||||
"model": [
|
||||
"70",
|
||||
0
|
||||
],
|
||||
"positive": [
|
||||
"125",
|
||||
0
|
||||
],
|
||||
"negative": [
|
||||
"123",
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"64": {
|
||||
"class_type": "SamplerCustomAdvanced",
|
||||
"inputs": {
|
||||
"noise": [
|
||||
"73",
|
||||
0
|
||||
],
|
||||
"guider": [
|
||||
"63",
|
||||
0
|
||||
],
|
||||
"sampler": [
|
||||
"61",
|
||||
0
|
||||
],
|
||||
"sigmas": [
|
||||
"62",
|
||||
0
|
||||
],
|
||||
"latent_image": [
|
||||
"66",
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"65": {
|
||||
"class_type": "VAEDecode",
|
||||
"inputs": {
|
||||
"samples": [
|
||||
"64",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"72",
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"66": {
|
||||
"class_type": "EmptyFlux2LatentImage",
|
||||
"inputs": {
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"batch_size": 1
|
||||
}
|
||||
},
|
||||
"70": {
|
||||
"class_type": "UNETLoader",
|
||||
"inputs": {
|
||||
"unet_name": "flux-2-klein-9b-fp8mixed.safetensors",
|
||||
"weight_dtype": "default"
|
||||
}
|
||||
},
|
||||
"71": {
|
||||
"class_type": "CLIPLoader",
|
||||
"inputs": {
|
||||
"clip_name": "qwen_3_8b_fp8mixed.safetensors",
|
||||
"type": "flux2",
|
||||
"device": "default"
|
||||
}
|
||||
},
|
||||
"72": {
|
||||
"class_type": "VAELoader",
|
||||
"inputs": {
|
||||
"vae_name": "full_encoder_small_decoder.safetensors"
|
||||
}
|
||||
},
|
||||
"73": {
|
||||
"class_type": "RandomNoise",
|
||||
"inputs": {
|
||||
"noise_seed": 20260923
|
||||
}
|
||||
},
|
||||
"74": {
|
||||
"class_type": "CLIPTextEncode",
|
||||
"inputs": {
|
||||
"text": "Use the provided reference image as the authoritative visual source. Create a professional multi-view reference sheet of the same subject. Infer the subject's identity, presentation, anatomy, proportions, facial features, hair, clothing or surface design, accessories, colors, materials, markings, pose, and every important visible detail directly from the reference image, regardless of the source image's gender, style, medium, or level of realism. Preserve those inferred attributes consistently across all views. Arrange exactly four equally sized full-subject views horizontally in this exact order: panel 1 front view; panel 2 side view with the subject's nose and face pointing toward the RIGHT edge of the image; panel 3 side view with the subject's nose and face pointing toward the LEFT edge of the image; panel 4 back view. Panels 2 and 3 must face away from each other in opposite horizontal directions and must not be duplicates or the same profile mirrored incorrectly. Use a neutral studio background, even soft lighting, consistent scale and alignment, realistic coherent anatomy or structure, natural hands when applicable, no extra subjects, no borders, no labels, no logos, no readable text, and no watermark. Do not redesign, simplify, gender-swap, restyle, or add or remove important features.",
|
||||
"clip": [
|
||||
"71",
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"80": {
|
||||
"class_type": "ImageScaleToTotalPixels",
|
||||
"inputs": {
|
||||
"image": [
|
||||
"1",
|
||||
0
|
||||
],
|
||||
"upscale_method": "nearest-exact",
|
||||
"megapixels": 1,
|
||||
"resolution_steps": 1
|
||||
}
|
||||
},
|
||||
"82": {
|
||||
"class_type": "ConditioningZeroOut",
|
||||
"inputs": {
|
||||
"conditioning": [
|
||||
"74",
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"99": {
|
||||
"class_type": "GetImageSize",
|
||||
"inputs": {
|
||||
"image": [
|
||||
"80",
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"123": {
|
||||
"class_type": "ReferenceLatent",
|
||||
"inputs": {
|
||||
"conditioning": [
|
||||
"82",
|
||||
0
|
||||
],
|
||||
"latent": [
|
||||
"124",
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"124": {
|
||||
"class_type": "VAEEncode",
|
||||
"inputs": {
|
||||
"pixels": [
|
||||
"80",
|
||||
0
|
||||
],
|
||||
"vae": [
|
||||
"72",
|
||||
0
|
||||
]
|
||||
}
|
||||
},
|
||||
"125": {
|
||||
"class_type": "ReferenceLatent",
|
||||
"inputs": {
|
||||
"conditioning": [
|
||||
"74",
|
||||
0
|
||||
],
|
||||
"latent": [
|
||||
"124",
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
# Flux.2 Klein 9B portrait
|
||||
|
||||
Portrait-oriented Flux.2 Klein text-to-image workflow for person-focused generations.
|
||||
|
||||
- Canvas: 1080×1920
|
||||
- Intended use: full-body people and portrait compositions
|
||||
- Server: ComfyUI Flux.2 Klein 9B
|
||||
|
||||
Edit node `4` with the subject prompt while retaining the portrait framing and negative constraints.
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"1":{"class_type":"UNETLoader","inputs":{"unet_name":"flux-2-klein-9b-fp8mixed.safetensors","weight_dtype":"default"}},
|
||||
"2":{"class_type":"CLIPLoader","inputs":{"clip_name":"qwen_3_8b_fp8mixed.safetensors","type":"flux2","device":"default"}},
|
||||
"3":{"class_type":"VAELoader","inputs":{"vae_name":"flux2-vae.safetensors"}},
|
||||
"4":{"class_type":"CLIPTextEncode","inputs":{"text":"Hyper-realistic full-body portrait photograph of the subject described by the prompt, natural anatomy, realistic skin and hair, believable clothing and materials, hands and feet fully visible, balanced portrait composition, cinematic motivated lighting, realistic shadows, high dynamic range, sharp subject detail, premium editorial photography, 50mm lens, photorealistic, no text, no logo, no watermark","clip":["2",0]}},
|
||||
"5":{"class_type":"CLIPTextEncode","inputs":{"text":"cartoon, illustration, anime, CGI look, plastic skin, waxy face, duplicate person, extra limbs, missing limbs, malformed hands, fused fingers, bad anatomy, cropped head, cropped hands, cropped feet, low resolution, watermark, caption, logo, illegible text","clip":["2",0]}},
|
||||
"6":{"class_type":"CFGGuider","inputs":{"cfg":1.3,"model":["1",0],"positive":["4",0],"negative":["5",0]}},
|
||||
"7":{"class_type":"KSamplerSelect","inputs":{"sampler_name":"euler_cfg_pp"}},
|
||||
"8":{"class_type":"Flux2Scheduler","inputs":{"steps":6,"width":1080,"height":1920}},
|
||||
"9":{"class_type":"RandomNoise","inputs":{"noise_seed":20260920}},
|
||||
"10":{"class_type":"EmptyFlux2LatentImage","inputs":{"width":1080,"height":1920,"batch_size":1}},
|
||||
"11":{"class_type":"SamplerCustomAdvanced","inputs":{"noise":["9",0],"guider":["6",0],"sampler":["7",0],"sigmas":["8",0],"latent_image":["10",0]}},
|
||||
"12":{"class_type":"VAEDecode","inputs":{"samples":["11",0],"vae":["3",0]}},
|
||||
"13":{"class_type":"SaveImage","inputs":{"filename_prefix":"fluxExperiments/portrait/flux2klein_portrait","images":["12",0]}}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
# Qwen Image 2.1 — nine-panel character sheet
|
||||
|
||||
Creates one square character reference sheet with full-body front, three-quarter, left-profile, right-profile and back views, plus three close-up head-and-shoulders views.
|
||||
|
||||
## Server-validated model stack
|
||||
|
||||
- Diffusion model: `qwen_image_2.1_int8_convrot.safetensors`
|
||||
- Text encoder: `qwen3vl_8b_w4a8.safetensors` with CLIP type `qwen_image`
|
||||
- VAE: `qwen_image_2.1_vae_bf16.safetensors`
|
||||
- Native nodes: `TextEncodeQwenImage21`, `QwenImage21Cache`
|
||||
|
||||
## Use
|
||||
|
||||
Replace `[REPLACE WITH A DETAILED CHARACTER DESCRIPTION]` in the `Text Encode Qwen Image 2.1` prompt with the subject description. Describe identity, age, face, hair, body proportions, clothing, accessories, colors, materials, and distinguishing marks. Keep the panel/layout instructions intact.
|
||||
|
||||
`workflow.json` is the API prompt format. `ui-workflow.json` is the native ComfyUI web-UI format.
|
||||
|
||||
## Starting settings
|
||||
|
||||
- Canvas: 1024×1024 square, nine panels
|
||||
- Steps: 24
|
||||
- CFG: 4.0
|
||||
- Sampler: Euler
|
||||
- Scheduler: simple
|
||||
- KV cache: automatic device, int8 cache
|
||||
- Seed: `20260922`
|
||||
|
||||
## Prompting notes
|
||||
|
||||
Qwen Image 2.1 supports long descriptive prompts and explicit layout instructions. State the grid structure and panel order directly, repeat identity-preservation requirements, and explicitly forbid labels/text if a clean sheet is wanted. The model supports reference images through the same text-encoder node; this workflow is text-only so it can serve as a reusable baseline for any character.
|
||||
|
||||
## Sources consulted
|
||||
|
||||
- Qwen Image 2.1 model card: https://huggingface.co/Qwen/Qwen-Image-2.1
|
||||
- Qwen Image repository and release notes: https://github.com/QwenLM/Qwen-Image
|
||||
- ComfyUI native Qwen node implementation: https://github.com/comfyanonymous/ComfyUI/blob/master/comfy_extras/nodes_qwen.py
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"id": "qwen-image-2.1-character-sheet-ui",
|
||||
"revision": 0,
|
||||
"last_node_id": 13,
|
||||
"last_link_id": 17,
|
||||
"nodes": [
|
||||
{"id":1,"type":"UNETLoader","pos":[-760,0],"size":[360,110],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[1]}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["qwen_image_2.1_int8_convrot.safetensors","default"]},
|
||||
{"id":2,"type":"CLIPLoader","pos":[-760,180],"size":[360,150],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[2]}],"properties":{"Node name for S&R":"CLIPLoader"},"widgets_values":["qwen3vl_8b_w4a8.safetensors","qwen_image","default"]},
|
||||
{"id":3,"type":"VAELoader","pos":[-760,390],"size":[360,110],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[3,4]}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["qwen_image_2.1_vae_bf16.safetensors"]},
|
||||
{"id":4,"type":"QwenImage21Cache","pos":[-320,0],"size":[300,130],"flags":{},"order":3,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":1}],"outputs":[{"name":"MODEL","type":"MODEL","links":[5,6]}],"properties":{"Node name for S&R":"QwenImage21Cache"},"widgets_values":["auto","int8"]},
|
||||
{"id":5,"type":"TextEncodeQwenImage21","pos":[-320,220],"size":[520,420],"flags":{},"order":4,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":2},{"name":"vae","type":"VAE","link":3}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[7]},{"name":"negative","type":"CONDITIONING","links":[8]},{"name":"latent","type":"LATENT","links":[9]}],"properties":{"Node name for S&R":"TextEncodeQwenImage21"},"widgets_values":["Create a professional character reference sheet for: [REPLACE WITH A DETAILED CHARACTER DESCRIPTION]. Use a clean 3 by 3 grid on one single page with exactly nine clearly separated panels and the same subject in every panel. Top row: full-body front view, full-body three-quarter front view, full-body left profile. Middle row: full-body right profile, full-body back view, full-body three-quarter back view with normal visible colors and details, never a silhouette. Bottom row: close-up head-and-shoulders front portrait, close-up head-and-shoulders three-quarter left portrait, close-up head-and-shoulders three-quarter right portrait. Preserve one consistent identity, face, hairstyle, body proportions, clothing, accessories, colors, materials, markings, and age across all nine panels. Use a neutral studio background, even soft studio lighting, consistent scale within each row, clear unobstructed silhouettes, natural anatomy and hands, professional concept-art reference-sheet presentation, subtle spacing between panels. No extra people, no duplicate heads, no merged panels, no cropped full bodies, no invented costume changes, no borders, no labels, no captions, no logos, no readable text, no watermark.","low quality, blurry, distorted anatomy, inconsistent identity, different face, different hairstyle, different clothing, different colors, duplicate person, extra person, extra head, extra limbs, missing limbs, fused fingers, malformed hands, cropped feet, cropped head, panels bleeding into each other, overlapping views, inconsistent scale, random costume changes, silhouette, black cutout, solid black figure, text, labels, captions, logo, watermark",1024]},
|
||||
{"id":6,"type":"KSamplerSelect","pos":[270,0],"size":[280,90],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[10]}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},
|
||||
{"id":7,"type":"BasicScheduler","pos":[270,150],"size":[300,150],"flags":{},"order":6,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":5}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[11]}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",24,1]},
|
||||
{"id":8,"type":"RandomNoise","pos":[270,360],"size":[280,90],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[12]}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[20260922]},
|
||||
{"id":9,"type":"CFGGuider","pos":[650,120],"size":[300,150],"flags":{},"order":8,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":6},{"name":"positive","type":"CONDITIONING","link":7},{"name":"negative","type":"CONDITIONING","link":8}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[13]}],"properties":{"Node name for S&R":"CFGGuider"},"widgets_values":[4]},
|
||||
{"id":10,"type":"SamplerCustomAdvanced","pos":[1020,120],"size":[320,220],"flags":{},"order":9,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":12},{"name":"guider","type":"GUIDER","link":13},{"name":"sampler","type":"SAMPLER","link":10},{"name":"sigmas","type":"SIGMAS","link":11},{"name":"latent_image","type":"LATENT","link":9}],"outputs":[{"name":"output","type":"LATENT","links":[14]}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]},
|
||||
{"id":11,"type":"VAEDecode","pos":[1410,120],"size":[260,110],"flags":{},"order":10,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":14},{"name":"vae","type":"VAE","link":4}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[15]}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},
|
||||
{"id":12,"type":"SaveImage","pos":[2140,120],"size":[300,110],"flags":{},"order":12,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":17}],"outputs":[{"name":"images","type":"IMAGE","links":[]}],"properties":{"Node name for S&R":"SaveImage"},"widgets_values":["fluxExperiments/qwenImage21/character_sheet"]},
|
||||
{"id":13,"type":"ResizeAndPadImage","pos":[1740,120],"size":[320,190],"flags":{},"order":11,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":15}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[17]}],"properties":{"Node name for S&R":"ResizeAndPadImage"},"widgets_values":[1920,1088,"white","lanczos"]}
|
||||
],
|
||||
"links": [
|
||||
[1,1,0,4,0,"MODEL"],[2,2,0,5,0,"CLIP"],[3,3,0,5,1,"VAE"],[4,3,0,11,1,"VAE"],[5,4,0,7,0,"MODEL"],[6,4,0,9,0,"MODEL"],[7,5,0,9,1,"CONDITIONING"],[8,5,1,9,2,"CONDITIONING"],[9,5,2,10,4,"LATENT"],[10,6,0,10,2,"SAMPLER"],[11,7,0,10,3,"SIGMAS"],[12,8,0,10,0,"NOISE"],[13,9,0,10,1,"GUIDER"],[14,10,0,11,0,"LATENT"],[15,11,0,13,0,"IMAGE"],[17,13,0,12,0,"IMAGE"]
|
||||
],
|
||||
"groups": [],
|
||||
"config": {},
|
||||
"extra": {"note":"Qwen Image 2.1 nine-panel character sheet with full-body views and close-up head shots"},
|
||||
"version": 0.4
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"1": {
|
||||
"class_type": "UNETLoader",
|
||||
"inputs": {
|
||||
"unet_name": "qwen_image_2.1_int8_convrot.safetensors",
|
||||
"weight_dtype": "default"
|
||||
}
|
||||
},
|
||||
"2": {
|
||||
"class_type": "CLIPLoader",
|
||||
"inputs": {
|
||||
"clip_name": "qwen3vl_8b_w4a8.safetensors",
|
||||
"type": "qwen_image",
|
||||
"device": "default"
|
||||
}
|
||||
},
|
||||
"3": {
|
||||
"class_type": "VAELoader",
|
||||
"inputs": {
|
||||
"vae_name": "qwen_image_2.1_vae_bf16.safetensors"
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"class_type": "QwenImage21Cache",
|
||||
"inputs": {
|
||||
"model": ["1", 0],
|
||||
"device": "auto",
|
||||
"dtype": "int8"
|
||||
}
|
||||
},
|
||||
"5": {
|
||||
"class_type": "TextEncodeQwenImage21",
|
||||
"inputs": {
|
||||
"clip": ["2", 0],
|
||||
"prompt": "Create a professional character reference sheet for: [REPLACE WITH A DETAILED CHARACTER DESCRIPTION]. Use a clean 3 by 3 grid on one single page with exactly nine clearly separated panels and the same subject in every panel. Top row: full-body front view, full-body three-quarter front view, full-body left profile. Middle row: full-body right profile, full-body back view, full-body three-quarter back view with normal visible colors and details, never a silhouette. Bottom row: close-up head-and-shoulders front portrait, close-up head-and-shoulders three-quarter left portrait, close-up head-and-shoulders three-quarter right portrait. Preserve one consistent identity, face, hairstyle, body proportions, clothing, accessories, colors, materials, markings, and age across all nine panels. Use a neutral studio background, even soft studio lighting, consistent scale within each row, clear unobstructed silhouettes, natural anatomy and hands, professional concept-art reference-sheet presentation, subtle spacing between panels. No extra people, no duplicate heads, no merged panels, no cropped full bodies, no invented costume changes, no borders, no labels, no captions, no logos, no readable text, no watermark.",
|
||||
"negative_prompt": "low quality, blurry, distorted anatomy, inconsistent identity, different face, different hairstyle, different clothing, different colors, duplicate person, extra person, extra head, extra limbs, missing limbs, fused fingers, malformed hands, cropped feet, cropped head, panels bleeding into each other, overlapping views, inconsistent scale, random costume changes, silhouette, black cutout, solid black figure, text, labels, captions, logo, watermark",
|
||||
"resolution": 1024,
|
||||
"vae": ["3", 0]
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"class_type": "KSamplerSelect",
|
||||
"inputs": {
|
||||
"sampler_name": "euler"
|
||||
}
|
||||
},
|
||||
"7": {
|
||||
"class_type": "BasicScheduler",
|
||||
"inputs": {
|
||||
"model": ["4", 0],
|
||||
"scheduler": "simple",
|
||||
"steps": 24,
|
||||
"denoise": 1
|
||||
}
|
||||
},
|
||||
"8": {
|
||||
"class_type": "RandomNoise",
|
||||
"inputs": {
|
||||
"noise_seed": 20260922
|
||||
}
|
||||
},
|
||||
"9": {
|
||||
"class_type": "CFGGuider",
|
||||
"inputs": {
|
||||
"model": ["4", 0],
|
||||
"positive": ["5", 0],
|
||||
"negative": ["5", 1],
|
||||
"cfg": 4
|
||||
}
|
||||
},
|
||||
"10": {
|
||||
"class_type": "SamplerCustomAdvanced",
|
||||
"inputs": {
|
||||
"noise": ["8", 0],
|
||||
"guider": ["9", 0],
|
||||
"sampler": ["6", 0],
|
||||
"sigmas": ["7", 0],
|
||||
"latent_image": ["5", 2]
|
||||
}
|
||||
},
|
||||
"11": {
|
||||
"class_type": "VAEDecode",
|
||||
"inputs": {
|
||||
"samples": ["10", 0],
|
||||
"vae": ["3", 0]
|
||||
}
|
||||
},
|
||||
"12": {
|
||||
"class_type": "SaveImage",
|
||||
"inputs": {
|
||||
"images": ["13", 0],
|
||||
"filename_prefix": "fluxExperiments/qwenImage21/character_sheet"
|
||||
}
|
||||
},
|
||||
"13": {
|
||||
"class_type": "ResizeAndPadImage",
|
||||
"inputs": {
|
||||
"image": ["11", 0],
|
||||
"target_width": 1920,
|
||||
"target_height": 1088,
|
||||
"padding_color": "white",
|
||||
"interpolation": "lanczos"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
# Qwen Image 2.1 — character-sheet edit workflow
|
||||
|
||||
Accepts any character image as `character_reference.png` and produces a nine-panel sheet at exactly 1920×1088: full-body front, three-quarter, left/right profiles, back, three-quarter back, and three close-up head shots.
|
||||
|
||||
The input is resized and padded to a 1024×576 16:9 generation canvas before it is passed as a Qwen Image 2.1 reference image. The finished result is resized to 1920×1088 before saving to fit the available GPU memory. The prompt treats the input as authoritative, so it can be an illustration, render, photograph, or existing character sheet and does not assume gender, clothing, or visual style.
|
||||
|
||||
- API workflow: `workflow.json`
|
||||
- WebUI version: `ui-workflow.json`
|
||||
- Input filename: `character_reference.png`
|
||||
- Output: `fluxExperiments/qwenImage21/edit_character_sheet_*.png`
|
||||
- Canvas: 1920×1088
|
||||
- Steps: 24
|
||||
- CFG: 4.0
|
||||
- Sampler/scheduler: Euler / simple
|
||||
|
||||
The API workflow uses ComfyUI’s flattened dynamic input key `images.image_1`, which is required when queueing the reference image through `/prompt`.
|
||||
|
||||
The server’s exact installed stack is the same as the text-to-image workflow: `qwen_image_2.1_int8_convrot.safetensors`, `qwen3vl_8b_w4a8.safetensors`, and `qwen_image_2.1_vae_bf16.safetensors`.
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"id": "qwen-image-2.1-character-sheet-edit-ui",
|
||||
"revision": 0,
|
||||
"last_node_id": 15,
|
||||
"last_link_id": 18,
|
||||
"nodes": [
|
||||
{"id":1,"type":"UNETLoader","pos":[-900,0],"size":[360,110],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[1]}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["qwen_image_2.1_int8_convrot.safetensors","default"]},
|
||||
{"id":2,"type":"CLIPLoader","pos":[-900,180],"size":[360,150],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[2]}],"properties":{"Node name for S&R":"CLIPLoader"},"widgets_values":["qwen3vl_8b_w4a8.safetensors","qwen_image","default"]},
|
||||
{"id":3,"type":"VAELoader","pos":[-900,390],"size":[360,110],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[3,4]}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["qwen_image_2.1_vae_bf16.safetensors"]},
|
||||
{"id":4,"type":"LoadImage","pos":[-900,600],"size":[360,420],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[5]}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["character_reference.png"]},
|
||||
{"id":5,"type":"ResizeAndPadImage","pos":[-420,620],"size":[320,190],"flags":{},"order":4,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":5}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[6]}],"properties":{"Node name for S&R":"ResizeAndPadImage"},"widgets_values":[1024,576,"white","lanczos"]},
|
||||
{"id":6,"type":"QwenImage21Cache","pos":[-420,0],"size":[300,130],"flags":{},"order":5,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":1}],"outputs":[{"name":"MODEL","type":"MODEL","links":[7,8]}],"properties":{"Node name for S&R":"QwenImage21Cache"},"widgets_values":["auto","int8"]},
|
||||
{"id":7,"type":"TextEncodeQwenImage21","pos":[0,220],"size":[560,440],"flags":{},"order":6,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":2},{"name":"vae","type":"VAE","link":3},{"name":"image_1","type":"IMAGE","link":6}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[9]},{"name":"negative","type":"CONDITIONING","links":[10]},{"name":"latent","type":"LATENT","links":[11]}],"properties":{"Node name for S&R":"TextEncodeQwenImage21"},"widgets_values":["Use the supplied character image as the authoritative identity reference. Create a professional 3 by 3 character reference sheet for the exact same subject. Preserve identity, face, hairstyle, proportions, age, clothing, accessories, colors, materials, markings and design. Exactly nine panels: full-body front, three-quarter front, left profile; right profile, back, three-quarter back with normal visible colors; close-up head-and-shoulders front, three-quarter left, three-quarter right. Neutral studio background, soft lighting, natural anatomy, no extra people, no duplicate heads, no silhouette, no black cutout, no labels, no text, no logo, no watermark.","low quality, blurry, distorted anatomy, different identity, different face, different clothing, duplicate person, extra limbs, malformed hands, silhouette, black cutout, text, logo, watermark",0]},
|
||||
{"id":8,"type":"KSamplerSelect","pos":[650,0],"size":[280,90],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[12]}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},
|
||||
{"id":9,"type":"BasicScheduler","pos":[650,150],"size":[300,150],"flags":{},"order":8,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":7}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[13]}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",24,1]},
|
||||
{"id":10,"type":"RandomNoise","pos":[650,360],"size":[280,90],"flags":{},"order":9,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[14]}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[20260922]},
|
||||
{"id":11,"type":"CFGGuider","pos":[1010,120],"size":[300,150],"flags":{},"order":10,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":8},{"name":"positive","type":"CONDITIONING","link":9},{"name":"negative","type":"CONDITIONING","link":10}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[15]}],"properties":{"Node name for S&R":"CFGGuider"},"widgets_values":[4]},
|
||||
{"id":12,"type":"SamplerCustomAdvanced","pos":[1370,120],"size":[320,220],"flags":{},"order":11,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":14},{"name":"guider","type":"GUIDER","link":15},{"name":"sampler","type":"SAMPLER","link":12},{"name":"sigmas","type":"SIGMAS","link":13},{"name":"latent_image","type":"LATENT","link":11}],"outputs":[{"name":"output","type":"LATENT","links":[16]}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]},
|
||||
{"id":13,"type":"VAEDecode","pos":[1740,120],"size":[260,110],"flags":{},"order":12,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":16},{"name":"vae","type":"VAE","link":4}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[17]}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},
|
||||
{"id":14,"type":"ResizeAndPadImage","pos":[2050,120],"size":[320,190],"flags":{},"order":13,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":17}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[18]}],"properties":{"Node name for S&R":"ResizeAndPadImage"},"widgets_values":[1920,1088,"white","lanczos"]},
|
||||
{"id":15,"type":"SaveImage","pos":[2430,120],"size":[320,110],"flags":{},"order":14,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":18}],"outputs":[{"name":"images","type":"IMAGE","links":[]}],"properties":{"Node name for S&R":"SaveImage"},"widgets_values":["fluxExperiments/qwenImage21/edit_character_sheet"]}
|
||||
],
|
||||
"links": [[1,1,0,6,0,"MODEL"],[2,2,0,7,0,"CLIP"],[3,3,0,7,1,"VAE"],[4,3,0,13,1,"VAE"],[5,4,0,5,0,"IMAGE"],[6,5,0,7,2,"IMAGE"],[7,6,0,9,0,"MODEL"],[8,6,0,11,0,"MODEL"],[9,7,0,11,1,"CONDITIONING"],[10,7,1,11,2,"CONDITIONING"],[11,7,2,12,4,"LATENT"],[12,8,0,12,2,"SAMPLER"],[13,9,0,12,3,"SIGMAS"],[14,10,0,12,0,"NOISE"],[15,11,0,12,1,"GUIDER"],[16,12,0,13,0,"LATENT"],[17,13,0,14,0,"IMAGE"],[18,14,0,15,0,"IMAGE"]],
|
||||
"groups": [],
|
||||
"config": {},
|
||||
"extra": {"note":"Qwen Image 2.1 character-sheet edit workflow; any input image; 1024x576 generation upscaled to 1920x1088 output"},
|
||||
"version": 0.4
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
{
|
||||
"1": {
|
||||
"class_type": "UNETLoader",
|
||||
"inputs": {
|
||||
"unet_name": "qwen_image_2.1_int8_convrot.safetensors",
|
||||
"weight_dtype": "default"
|
||||
}
|
||||
},
|
||||
"2": {
|
||||
"class_type": "CLIPLoader",
|
||||
"inputs": {
|
||||
"clip_name": "qwen3vl_8b_w4a8.safetensors",
|
||||
"type": "qwen_image",
|
||||
"device": "default"
|
||||
}
|
||||
},
|
||||
"3": {
|
||||
"class_type": "VAELoader",
|
||||
"inputs": {
|
||||
"vae_name": "qwen_image_2.1_vae_bf16.safetensors"
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"class_type": "LoadImage",
|
||||
"inputs": {
|
||||
"image": "character_reference.png"
|
||||
}
|
||||
},
|
||||
"5": {
|
||||
"class_type": "ResizeAndPadImage",
|
||||
"inputs": {
|
||||
"image": ["4", 0],
|
||||
"target_width": 1024,
|
||||
"target_height": 576,
|
||||
"padding_color": "white",
|
||||
"interpolation": "lanczos"
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"class_type": "QwenImage21Cache",
|
||||
"inputs": {
|
||||
"model": ["1", 0],
|
||||
"device": "auto",
|
||||
"dtype": "int8"
|
||||
}
|
||||
},
|
||||
"7": {
|
||||
"class_type": "TextEncodeQwenImage21",
|
||||
"inputs": {
|
||||
"clip": ["2", 0],
|
||||
"prompt": "Use the supplied character image as the authoritative identity reference. Create a professional 3 by 3 character reference sheet for the exact same subject. Preserve the subject's identity, face, hairstyle, body proportions, age, clothing, accessories, colors, materials, markings, and overall design directly from the input regardless of its original gender, style, medium, pose, or realism. Use exactly nine separated panels: top row full-body front, full-body three-quarter front, full-body left profile; middle row full-body right profile, full-body back, full-body three-quarter back with normal visible colors and details, never a silhouette; bottom row close-up head-and-shoulders front, close-up head-and-shoulders three-quarter left, close-up head-and-shoulders three-quarter right. Keep one consistent subject in every panel, with clear complete silhouettes and natural anatomy. Use a neutral studio background and even soft lighting. No redesign, no costume changes, no extra subjects, no duplicate heads, no merged panels, no cropped full bodies, no silhouette, no black cutout, no borders, no labels, no captions, no logos, no readable text, no watermark.",
|
||||
"negative_prompt": "low quality, blurry, distorted anatomy, different identity, different face, different hairstyle, different clothing, different colors, duplicate person, extra person, extra head, extra limbs, missing limbs, fused fingers, malformed hands, cropped feet, cropped head, panels bleeding into each other, overlapping views, inconsistent scale, random costume changes, silhouette, black cutout, solid black figure, text, labels, captions, logo, watermark",
|
||||
"resolution": 0,
|
||||
"images.image_1": ["5", 0],
|
||||
"vae": ["3", 0]
|
||||
}
|
||||
},
|
||||
"8": {
|
||||
"class_type": "KSamplerSelect",
|
||||
"inputs": {
|
||||
"sampler_name": "euler"
|
||||
}
|
||||
},
|
||||
"9": {
|
||||
"class_type": "BasicScheduler",
|
||||
"inputs": {
|
||||
"model": ["6", 0],
|
||||
"scheduler": "simple",
|
||||
"steps": 24,
|
||||
"denoise": 1
|
||||
}
|
||||
},
|
||||
"10": {
|
||||
"class_type": "RandomNoise",
|
||||
"inputs": {
|
||||
"noise_seed": 20260922
|
||||
}
|
||||
},
|
||||
"11": {
|
||||
"class_type": "CFGGuider",
|
||||
"inputs": {
|
||||
"model": ["6", 0],
|
||||
"positive": ["7", 0],
|
||||
"negative": ["7", 1],
|
||||
"cfg": 4
|
||||
}
|
||||
},
|
||||
"12": {
|
||||
"class_type": "SamplerCustomAdvanced",
|
||||
"inputs": {
|
||||
"noise": ["10", 0],
|
||||
"guider": ["11", 0],
|
||||
"sampler": ["8", 0],
|
||||
"sigmas": ["9", 0],
|
||||
"latent_image": ["7", 2]
|
||||
}
|
||||
},
|
||||
"13": {
|
||||
"class_type": "VAEDecode",
|
||||
"inputs": {
|
||||
"samples": ["12", 0],
|
||||
"vae": ["3", 0]
|
||||
}
|
||||
},
|
||||
"14": {
|
||||
"class_type": "ResizeAndPadImage",
|
||||
"inputs": {
|
||||
"image": ["13", 0],
|
||||
"target_width": 1920,
|
||||
"target_height": 1088,
|
||||
"padding_color": "white",
|
||||
"interpolation": "lanczos"
|
||||
}
|
||||
},
|
||||
"15": {
|
||||
"class_type": "SaveImage",
|
||||
"inputs": {
|
||||
"images": ["14", 0],
|
||||
"filename_prefix": "fluxExperiments/qwenImage21/edit_character_sheet"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user