Files
CosmicLaca-ComfyUI_Primere_…/Workflow/Development/civitai-rewear-refiner.json
T

888 lines
15 KiB
JSON

{
"last_node_id": 142,
"last_link_id": 425,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
50,
65
],
"size": {
"0": 639.1292114257812,
"1": 960.4127197265625
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
392
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_00007hyperv_.png",
"image"
]
},
{
"id": 45,
"type": "PrimereVisualCKPT",
"pos": [
750,
95
],
"size": {
"0": 641.046875,
"1": 126
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL_NAME",
"type": "CHECKPOINT_NAME",
"links": [
384
],
"shape": 3
},
{
"name": "MODEL_VERSION",
"type": "STRING",
"links": [
390
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "PrimereVisualCKPT"
},
"widgets_values": [
"BestAll\\photon_v1.safetensors",
false,
true
]
},
{
"id": 48,
"type": "PrimereSeed",
"pos": [
751,
268
],
"size": {
"0": 402.27398681640625,
"1": 130
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "SEED",
"type": "INT",
"links": [
383,
405
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PrimereSeed"
},
"widgets_values": [
610421989093353,
null,
null,
null
]
},
{
"id": 134,
"type": "PrimereCKPTLoader",
"pos": [
1510,
95
],
"size": [
330,
210
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "ckpt_name",
"type": "CHECKPOINT_NAME",
"link": 384
},
{
"name": "concept_data",
"type": "TUPLE",
"link": null
},
{
"name": "loaded_model",
"type": "MODEL",
"link": null
},
{
"name": "loaded_clip",
"type": "CLIP",
"link": null
},
{
"name": "loaded_vae",
"type": "VAE",
"link": null
},
{
"name": "model_concept",
"type": "STRING",
"link": null,
"widget": {
"name": "model_concept"
}
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
387
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
388,
394
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
389
],
"shape": 3,
"slot_index": 2
},
{
"name": "MODEL_VERSION",
"type": "STRING",
"links": null,
"shape": 3,
"slot_index": 3
}
],
"properties": {
"Node name for S&R": "PrimereCKPTLoader"
},
"widgets_values": [
true,
1,
1,
"Normal"
]
},
{
"id": 135,
"type": "PrimereImageSegments",
"pos": [
1370,
350
],
"size": [
468.5999755859375,
642
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 392
},
{
"name": "segment_prompt_data",
"type": "TUPLE",
"link": 391
},
{
"name": "model_version",
"type": "STRING",
"link": 390,
"widget": {
"name": "model_version"
}
},
{
"name": "square_shape",
"type": "INT",
"link": null,
"widget": {
"name": "square_shape"
}
},
{
"name": "dino_search_prompt",
"type": "STRING",
"link": null,
"widget": {
"name": "dino_search_prompt"
}
},
{
"name": "dino_replace_prompt",
"type": "STRING",
"link": null,
"widget": {
"name": "dino_replace_prompt"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
393
],
"shape": 3,
"slot_index": 0
},
{
"name": "IMAGE_SEGS",
"type": "IMAGE",
"links": [
400
],
"shape": 6,
"slot_index": 1
},
{
"name": "DETECTOR",
"type": "DETECTOR",
"links": [
402
],
"shape": 3,
"slot_index": 2
},
{
"name": "SAM_MODEL",
"type": "SAM_MODEL",
"links": null,
"shape": 3,
"slot_index": 3
},
{
"name": "SEGS",
"type": "SEGS",
"links": [
403
],
"shape": 3,
"slot_index": 4
},
{
"name": "CROP_REGIONS",
"type": "TUPLE",
"links": null,
"shape": 3,
"slot_index": 5
},
{
"name": "IMAGE_MAX",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "IMAGE_MAX_PERCENT",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "SEGMENT_SETTINGS",
"type": "TUPLE",
"links": [
404
],
"shape": 3,
"slot_index": 8
},
{
"name": "COND+",
"type": "CONDITIONING",
"links": [
397
],
"shape": 3,
"slot_index": 9
},
{
"name": "COND-",
"type": "CONDITIONING",
"links": [
398
],
"shape": 3,
"slot_index": 10
}
],
"properties": {
"Node name for S&R": "PrimereImageSegments"
},
"widgets_values": [
true,
0,
0,
"segm/deepfashion2_yolov8s-seg.pt",
"sam_vit_b_01ec64.pth",
"AUTO",
"person",
"vest_dress",
"eye",
0.4,
11,
1.2000000000000002,
10,
"BaseModel_1024",
768,
"",
""
]
},
{
"id": 129,
"type": "PreviewImage",
"pos": [
1868,
647
],
"size": [
232,
315
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 400,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 136,
"type": "PrimereAnyDetailer",
"pos": [
1909,
54
],
"size": [
426,
530
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 393
},
{
"name": "model",
"type": "MODEL",
"link": 387
},
{
"name": "clip",
"type": "CLIP",
"link": 394
},
{
"name": "vae",
"type": "VAE",
"link": 389
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 397
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 398
},
{
"name": "segment_settings",
"type": "TUPLE",
"link": 404
},
{
"name": "segs",
"type": "SEGS",
"link": 403
},
{
"name": "detector",
"type": "DETECTOR",
"link": 402
},
{
"name": "model_concept",
"type": "STRING",
"link": null,
"widget": {
"name": "model_concept"
}
},
{
"name": "concept_sampler_name",
"type": "COMBO",
"link": null,
"widget": {
"name": "concept_sampler_name"
}
},
{
"name": "concept_scheduler_name",
"type": "COMBO",
"link": null,
"widget": {
"name": "concept_scheduler_name"
}
},
{
"name": "concept_steps",
"type": "INT",
"link": null,
"widget": {
"name": "concept_steps"
}
},
{
"name": "concept_cfg",
"type": "FLOAT",
"link": null,
"widget": {
"name": "concept_cfg"
}
},
{
"name": "seed",
"type": "INT",
"link": 405,
"widget": {
"name": "seed"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
399
],
"shape": 3,
"slot_index": 0
},
{
"name": "CROPPED_REFINED",
"type": "IMAGE",
"links": [
401
],
"shape": 6,
"slot_index": 1
},
{
"name": "WIDTH",
"type": "INT",
"links": null,
"shape": 3
},
{
"name": "HEIGHT",
"type": "INT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "PrimereAnyDetailer"
},
"widgets_values": [
1001075368110141,
"randomize",
"euler",
"simple",
30,
8,
0.72,
10,
true,
false,
1,
"Normal",
"euler",
"normal",
4,
1
]
},
{
"id": 58,
"type": "PreviewImage",
"pos": [
2390,
43
],
"size": [
852,
936
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 399,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 59,
"type": "PreviewImage",
"pos": [
2134,
654
],
"size": [
230,
304
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 401,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 133,
"type": "PrimereRefinerPrompt",
"pos": [
753,
448
],
"size": [
579,
485
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 388
},
{
"name": "seed",
"type": "INT",
"link": 383,
"widget": {
"name": "seed"
}
},
{
"name": "positive_original",
"type": "STRING",
"link": null,
"widget": {
"name": "positive_original"
}
},
{
"name": "negative_original",
"type": "STRING",
"link": null,
"widget": {
"name": "negative_original"
}
}
],
"outputs": [
{
"name": "PROMPT+",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "PROMPT-",
"type": "STRING",
"links": null,
"shape": 3
},
{
"name": "COND+",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "COND-",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "PROMPT_DATA",
"type": "TUPLE",
"links": [
391
],
"shape": 3,
"slot_index": 4
}
],
"properties": {
"Node name for S&R": "PrimereRefinerPrompt"
},
"widgets_values": [
"vest dress, (dark-{red and white|red|white|black|green|blue|yellow|blue and white|yellow and red|red and yellow}:1.3), (elegant red flower patterned silky party top vest-dress:1.3), photoreal detailed image",
"deformed face, deformed hands, deformed fingers, blurred, face, person, woman, body, necklace",
1,
1.2,
1,
1,
967302491110248,
"randomize",
"mean",
"comfy++",
"",
""
]
}
],
"links": [
[
383,
48,
0,
133,
1,
"INT"
],
[
384,
45,
0,
134,
0,
"CHECKPOINT_NAME"
],
[
387,
134,
0,
136,
1,
"MODEL"
],
[
388,
134,
1,
133,
0,
"CLIP"
],
[
389,
134,
2,
136,
3,
"VAE"
],
[
390,
45,
1,
135,
2,
"STRING"
],
[
391,
133,
4,
135,
1,
"TUPLE"
],
[
392,
1,
0,
135,
0,
"IMAGE"
],
[
393,
135,
0,
136,
0,
"IMAGE"
],
[
394,
134,
1,
136,
2,
"CLIP"
],
[
397,
135,
9,
136,
4,
"CONDITIONING"
],
[
398,
135,
10,
136,
5,
"CONDITIONING"
],
[
399,
136,
0,
58,
0,
"IMAGE"
],
[
400,
135,
1,
129,
0,
"IMAGE"
],
[
401,
136,
1,
59,
0,
"IMAGE"
],
[
402,
135,
2,
136,
8,
"DETECTOR"
],
[
403,
135,
4,
136,
7,
"SEGS"
],
[
404,
135,
8,
136,
6,
"TUPLE"
],
[
405,
48,
0,
136,
14,
"INT"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}