Add Qwen Image 2.1 character sheet workflow

This commit is contained in:
Morpheus
2026-09-22 15:35:54 +00:00
parent b23ff33607
commit 317597449a
3 changed files with 158 additions and 0 deletions
@@ -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,27 @@
{
"id": "qwen-image-2.1-character-sheet-ui",
"revision": 0,
"last_node_id": 12,
"last_link_id": 15,
"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":[1740,120],"size":[300,110],"flags":{},"order":11,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":15}],"outputs":[{"name":"images","type":"IMAGE","links":[]}],"properties":{"Node name for S&R":"SaveImage"},"widgets_values":["fluxExperiments/qwenImage21/character_sheet"]}
],
"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,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,95 @@
{
"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": ["11", 0],
"filename_prefix": "fluxExperiments/qwenImage21/character_sheet"
}
}
}