Files
KonokoAz-ComfyUI-Krea2-Refe…/workflows/krea2_reference_character_pose.json

190 lines
5.6 KiB
JSON

{
"last_node_id": 11,
"last_link_id": 11,
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [40, 60],
"size": [340, 82],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [{"name": "MODEL", "type": "MODEL", "links": [1]}],
"properties": {"Node name for S&R": "UNETLoader"},
"widgets_values": ["turbo_fp8_scaled.safetensors", "default"]
},
{
"id": 2,
"type": "CLIPLoader",
"pos": [40, 200],
"size": [340, 106],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [{"name": "CLIP", "type": "CLIP", "links": [2, 3]}],
"properties": {"Node name for S&R": "CLIPLoader"},
"widgets_values": ["qwen3vl_4b_bf16.safetensors", "krea2", "default"]
},
{
"id": 10,
"type": "VAELoader",
"pos": [40, 360],
"size": [340, 58],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [{"name": "VAE", "type": "VAE", "links": [10]}],
"properties": {"Node name for S&R": "VAELoader"},
"widgets_values": ["qwen_image_vae.safetensors"]
},
{
"id": 3,
"type": "LoadImage",
"pos": [40, 470],
"size": [340, 314],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "links": [4]},
{"name": "MASK", "type": "MASK", "links": null}
],
"title": "Character reference (image1)",
"properties": {"Node name for S&R": "LoadImage"},
"widgets_values": ["character_reference.jpg", "image"]
},
{
"id": 4,
"type": "LoadImage",
"pos": [40, 830],
"size": [340, 314],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "links": [5]},
{"name": "MASK", "type": "MASK", "links": null}
],
"title": "Pose reference (image2)",
"properties": {"Node name for S&R": "LoadImage"},
"widgets_values": ["pose_reference1.jpg", "image"]
},
{
"id": 5,
"type": "TextEncodeKrea2Reference",
"pos": [440, 200],
"size": [400, 260],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{"name": "clip", "type": "CLIP", "link": 2},
{"name": "image1", "type": "IMAGE", "link": 4},
{"name": "image2", "type": "IMAGE", "link": 5},
{"name": "image3", "type": "IMAGE", "link": null},
{"name": "image4", "type": "IMAGE", "link": null}
],
"outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [6]}],
"properties": {"Node name for S&R": "TextEncodeKrea2Reference"},
"widgets_values": ["Redraw the character from image1 in the pose of image2, keeping the character's face, hairstyle, outfit and colors faithful to image1. Only one character in the image, no collage, no panels.", "high", "content", "low", "content", "high", "content", "high", "content", 0.0]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [440, 520],
"size": [400, 120],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [{"name": "clip", "type": "CLIP", "link": 3}],
"outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [7]}],
"title": "Negative (unused at CFG 1.0)",
"properties": {"Node name for S&R": "CLIPTextEncode"},
"widgets_values": [""]
},
{
"id": 7,
"type": "EmptySD3LatentImage",
"pos": [440, 700],
"size": [340, 106],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [{"name": "LATENT", "type": "LATENT", "links": [8]}],
"properties": {"Node name for S&R": "EmptySD3LatentImage"},
"widgets_values": [1024, 1024, 1]
},
{
"id": 8,
"type": "KSampler",
"pos": [900, 200],
"size": [340, 262],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{"name": "model", "type": "MODEL", "link": 1},
{"name": "positive", "type": "CONDITIONING", "link": 6},
{"name": "negative", "type": "CONDITIONING", "link": 7},
{"name": "latent_image", "type": "LATENT", "link": 8}
],
"outputs": [{"name": "LATENT", "type": "LATENT", "links": [9]}],
"properties": {"Node name for S&R": "KSampler"},
"widgets_values": [0, "randomize", 8, 1.0, "euler", "simple", 1.0]
},
{
"id": 9,
"type": "VAEDecode",
"pos": [1300, 200],
"size": [200, 46],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{"name": "samples", "type": "LATENT", "link": 9},
{"name": "vae", "type": "VAE", "link": 10}
],
"outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [11]}],
"properties": {"Node name for S&R": "VAEDecode"},
"widgets_values": []
},
{
"id": 11,
"type": "SaveImage",
"pos": [1300, 300],
"size": [400, 450],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [{"name": "images", "type": "IMAGE", "link": 11}],
"outputs": [],
"properties": {"Node name for S&R": "SaveImage"},
"widgets_values": ["krea2_ref"]
}
],
"links": [
[1, 1, 0, 8, 0, "MODEL"],
[2, 2, 0, 5, 0, "CLIP"],
[3, 2, 0, 6, 0, "CLIP"],
[4, 3, 0, 5, 1, "IMAGE"],
[5, 4, 0, 5, 2, "IMAGE"],
[6, 5, 0, 8, 1, "CONDITIONING"],
[7, 6, 0, 8, 2, "CONDITIONING"],
[8, 7, 0, 8, 3, "LATENT"],
[9, 8, 0, 9, 0, "LATENT"],
[10, 10, 0, 9, 1, "VAE"],
[11, 9, 0, 11, 0, "IMAGE"]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}