Files
smthemex-ComfyUI_Stable_Makeup/example/workflow.json
T
2024-07-17 22:08:32 +08:00

277 lines
4.6 KiB
JSON

{
"last_node_id": 6,
"last_link_id": 7,
"nodes": [
{
"id": 3,
"type": "LoadImage",
"pos": [
387,
-88
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
3
],
"shape": 3,
"label": "IMAGE"
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"4.jpg",
"image"
]
},
{
"id": 4,
"type": "LoadImage",
"pos": [
373,
336
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
4
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"3.jpg",
"image"
]
},
{
"id": 2,
"type": "StableMakeup_Sampler",
"pos": [
1155,
243
],
"size": {
"0": 315,
"1": 238
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "id_image",
"type": "IMAGE",
"link": 3,
"label": "id_image",
"slot_index": 0
},
{
"name": "makeup_image",
"type": "IMAGE",
"link": 4,
"label": "makeup_image"
},
{
"name": "pipe",
"type": "MODEL",
"link": 6,
"label": "pipe"
},
{
"name": "makeup_encoder",
"type": "MODEL",
"link": 7,
"label": "makeup_encoder"
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
5
],
"shape": 3,
"label": "image",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "StableMakeup_Sampler"
},
"widgets_values": [
"mobilenet",
"300wpublic",
1.6,
30,
512,
512
]
},
{
"id": 5,
"type": "PreviewImage",
"pos": [
1694.305931040478,
298.5606795362958
],
"size": {
"0": 210,
"1": 246
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 5,
"label": "images"
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 6,
"type": "StableMakeup_LoadModel",
"pos": [
753,
406
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "model",
"type": "MODEL",
"links": [
6
],
"shape": 3,
"label": "model",
"slot_index": 0
},
{
"name": "makeup_encoder",
"type": "MODEL",
"links": [
7
],
"shape": 3,
"label": "makeup_encoder",
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "StableMakeup_LoadModel"
},
"widgets_values": [
"1SD1.5\\v1-5-pruned-emaonly.safetensors",
"openai/clip-vit-large-patch14",
"DDIM"
]
}
],
"links": [
[
3,
3,
0,
2,
0,
"IMAGE"
],
[
4,
4,
0,
2,
1,
"IMAGE"
],
[
5,
2,
0,
5,
0,
"IMAGE"
],
[
6,
6,
0,
2,
2,
"MODEL"
],
[
7,
6,
1,
2,
3,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.1,
"offset": [
-189.23121945108608,
255.34173155624978
]
}
},
"version": 0.4
}