Files
HelloVision-ComfyUI_HelloMeme/workflows/hellomeme_image_workflow.json
T
2024-11-14 18:49:23 +08:00

567 lines
9.3 KiB
JSON

{
"last_node_id": 61,
"last_link_id": 127,
"nodes": [
{
"id": 8,
"type": "LoadImage",
"pos": {
"0": 24,
"1": 133
},
"size": {
"0": 426.5283508300781,
"1": 476.4518127441406
},
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
56
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"majicmix2.jpg",
"image"
]
},
{
"id": 39,
"type": "CropPortrait",
"pos": {
"0": 516,
"1": 537
},
"size": {
"0": 241.79998779296875,
"1": 46
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 56
},
{
"name": "face_toolkits",
"type": "FACE_TOOLKITS",
"link": 57
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
118
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CropPortrait"
},
"widgets_values": []
},
{
"id": 44,
"type": "GetDrivePose",
"pos": {
"0": 852,
"1": 661
},
"size": {
"0": 304.79998779296875,
"1": 66
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "face_toolkits",
"type": "FACE_TOOLKITS",
"link": 65
},
{
"name": "images",
"type": "IMAGE",
"link": 116
},
{
"name": "landmarks",
"type": "FACELANDMARKS222",
"link": 64
}
],
"outputs": [
{
"name": "drive_pose",
"type": "DRIVE_POSE",
"links": [
120
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GetDrivePose"
},
"widgets_values": []
},
{
"id": 58,
"type": "HMPipelineImage",
"pos": {
"0": 1274,
"1": 584
},
"size": {
"0": 315,
"1": 302
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "hm_image_pipeline",
"type": "HMIMAGEPIPELINE",
"link": 123
},
{
"name": "face_toolkits",
"type": "FACE_TOOLKITS",
"link": 119
},
{
"name": "ref_image",
"type": "IMAGE",
"link": 118
},
{
"name": "drive_pose",
"type": "DRIVE_POSE",
"link": 120
},
{
"name": "drive_exp",
"type": "DRIVE_EXPRESSION",
"link": 124,
"shape": 7
},
{
"name": "drive_exp2",
"type": "DRIVE_EXPRESSION2",
"link": null,
"shape": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
122
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "HMPipelineImage"
},
"widgets_values": [
0,
"(best quality), highly detailed, ultra-detailed, headshot, person, well-placed five sense organs, looking at the viewer, centered composition, sharp focus, realistic skin texture",
"",
25,
63934,
"randomize",
2
]
},
{
"id": 60,
"type": "HMImagePipelineLoader",
"pos": {
"0": 815,
"1": 390
},
"size": {
"0": 352.79998779296875,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "hm_image_pipeline",
"type": "HMIMAGEPIPELINE",
"links": [
123
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "HMImagePipelineLoader"
},
"widgets_values": [
"SD1.5",
"None",
0
]
},
{
"id": 59,
"type": "PreviewImage",
"pos": {
"0": 1688,
"1": 584
},
"size": [
210,
246
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 122
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 57,
"type": "LoadImage",
"pos": {
"0": 45,
"1": 867
},
"size": [
315,
314
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
115,
116,
125
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"yao.jpg",
"image"
]
},
{
"id": 43,
"type": "GetFaceLandmarks",
"pos": {
"0": 465,
"1": 771
},
"size": {
"0": 292.20001220703125,
"1": 46
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "face_toolkits",
"type": "FACE_TOOLKITS",
"link": 62
},
{
"name": "images",
"type": "IMAGE",
"link": 115
}
],
"outputs": [
{
"name": "landmarks",
"type": "FACELANDMARKS222",
"links": [
64,
126
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GetFaceLandmarks"
},
"widgets_values": []
},
{
"id": 2,
"type": "HMFaceToolkitsLoader",
"pos": {
"0": 43,
"1": 699
},
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "face_toolkits",
"type": "FACE_TOOLKITS",
"links": [
57,
62,
65,
119,
127
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "HMFaceToolkitsLoader"
},
"widgets_values": [
0
]
},
{
"id": 61,
"type": "GetDriveExpression",
"pos": {
"0": 857,
"1": 823
},
"size": {
"0": 292.20001220703125,
"1": 66
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "face_toolkits",
"type": "FACE_TOOLKITS",
"link": 127
},
{
"name": "images",
"type": "IMAGE",
"link": 125
},
{
"name": "landmarks",
"type": "FACELANDMARKS222",
"link": 126
}
],
"outputs": [
{
"name": "drive_exp",
"type": "DRIVE_EXPRESSION",
"links": [
124
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GetDriveExpression"
}
}
],
"links": [
[
56,
8,
0,
39,
0,
"IMAGE"
],
[
57,
2,
0,
39,
1,
"FACE_TOOLKITS"
],
[
62,
2,
0,
43,
0,
"FACE_TOOLKITS"
],
[
64,
43,
0,
44,
2,
"FACELANDMARKS222"
],
[
65,
2,
0,
44,
0,
"FACE_TOOLKITS"
],
[
115,
57,
0,
43,
1,
"IMAGE"
],
[
116,
57,
0,
44,
1,
"IMAGE"
],
[
118,
39,
0,
58,
2,
"IMAGE"
],
[
119,
2,
0,
58,
1,
"FACE_TOOLKITS"
],
[
120,
44,
0,
58,
3,
"DRIVE_POSE"
],
[
122,
58,
0,
59,
0,
"IMAGE"
],
[
123,
60,
0,
58,
0,
"HMIMAGEPIPELINE"
],
[
124,
61,
0,
58,
4,
"DRIVE_EXPRESSION"
],
[
125,
57,
0,
61,
1,
"IMAGE"
],
[
126,
43,
0,
61,
2,
"FACELANDMARKS222"
],
[
127,
2,
0,
61,
0,
"FACE_TOOLKITS"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
328.1068082440709,
3.5829604274896685
]
}
},
"version": 0.4
}