diff --git a/PhotoMaker Workflows/PhotoMaker_lora_batch【Zho】.json b/PhotoMaker Workflows/PhotoMaker_lora_batch【Zho】.json new file mode 100644 index 0000000..6042838 --- /dev/null +++ b/PhotoMaker Workflows/PhotoMaker_lora_batch【Zho】.json @@ -0,0 +1,405 @@ +{ + "last_node_id": 25, + "last_link_id": 31, + "nodes": [ + { + "id": 4, + "type": "Ref_Image_Preprocessing", + "pos": [ + 610, + 420 + ], + "size": { + "0": 320, + "1": 82 + }, + "flags": {}, + "order": 4, + "mode": 0, + "inputs": [ + { + "name": "ref_image", + "type": "IMAGE", + "link": 4 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Ref_Image_Preprocessing" + }, + "widgets_values": [ + "path/to/images", + "direct_Input" + ] + }, + { + "id": 6, + "type": "PhotoMakerAdapter_Loader_fromhub", + "pos": [ + 610, + 290 + ], + "size": { + "0": 320, + "1": 82 + }, + "flags": {}, + "order": 3, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "MODEL", + "link": 6 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 14 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PhotoMakerAdapter_Loader_fromhub" + }, + "widgets_values": [ + "TencentARC/PhotoMaker", + "photomaker-v1.bin" + ] + }, + { + "id": 5, + "type": "BaseModel_Loader_fromhub", + "pos": [ + 270, + 290 + ], + "size": { + "0": 320, + "1": 60 + }, + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "pipe", + "type": "MODEL", + "links": [ + 6 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BaseModel_Loader_fromhub" + }, + "widgets_values": [ + "SG161222/RealVisXL_V3.0" + ] + }, + { + "id": 3, + "type": "LoadImage", + "pos": [ + 270, + 400 + ], + "size": { + "0": 320, + "1": 440 + }, + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 4 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "download.jpg", + "image" + ] + }, + { + "id": 10, + "type": "LoRALoader", + "pos": [ + 950, + 290 + ], + "size": { + "0": 315, + "1": 82 + }, + "flags": {}, + "order": 5, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "MODEL", + "link": 14 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 17 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LoRALoader" + }, + "widgets_values": [ + "xl_more_art-full.safetensors", + 0.7000000000000001 + ] + }, + { + "id": 1, + "type": "NEW_PhotoMaker_Generation", + "pos": [ + 950, + 420 + ], + "size": { + "0": 320, + "1": 420 + }, + "flags": {}, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "MODEL", + "link": 17 + }, + { + "name": "pil_image", + "type": "IMAGE", + "link": 5, + "slot_index": 1 + }, + { + "name": "positive", + "type": "STRING", + "link": 1, + "widget": { + "name": "positive" + } + }, + { + "name": "negative", + "type": "STRING", + "link": 2, + "widget": { + "name": "negative" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 31 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "NEW_PhotoMaker_Generation" + }, + "widgets_values": [ + "", + "", + 4, + 20, + 50, + 5, + 1024, + 1024, + 0, + "fixed" + ] + }, + { + "id": 25, + "type": "PreviewImage", + "pos": [ + 1295, + 290 + ], + "size": [ + 530, + 550 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 31 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + }, + { + "id": 2, + "type": "Prompt_Styler", + "pos": [ + 610, + 550 + ], + "size": [ + 320, + 290 + ], + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "positive_prompt", + "type": "STRING", + "links": [ + 1 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative_prompt", + "type": "STRING", + "links": [ + 2 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "Prompt_Styler" + }, + "widgets_values": [ + "a woman img, retro futurism, retro game", + "asymmetry, worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth", + "Photographic (Default)" + ] + } + ], + "links": [ + [ + 1, + 2, + 0, + 1, + 2, + "STRING" + ], + [ + 2, + 2, + 1, + 1, + 3, + "STRING" + ], + [ + 4, + 3, + 0, + 4, + 0, + "IMAGE" + ], + [ + 5, + 4, + 0, + 1, + 1, + "IMAGE" + ], + [ + 6, + 5, + 0, + 6, + 0, + "MODEL" + ], + [ + 14, + 6, + 0, + 10, + 0, + "MODEL" + ], + [ + 17, + 10, + 0, + 1, + 0, + "MODEL" + ], + [ + 31, + 1, + 0, + 25, + 0, + "IMAGE" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file diff --git a/PhotoMaker Workflows/PhotoMaker_lora_portrait_styler【Zho】.json b/PhotoMaker Workflows/PhotoMaker_lora_portrait_styler【Zho】.json new file mode 100644 index 0000000..676fe8e --- /dev/null +++ b/PhotoMaker Workflows/PhotoMaker_lora_portrait_styler【Zho】.json @@ -0,0 +1,913 @@ +{ + "last_node_id": 35, + "last_link_id": 44, + "nodes": [ + { + "id": 3, + "type": "LoadImage", + "pos": [ + 200, + 1080 + ], + "size": [ + 210, + 320 + ], + "flags": {}, + "order": 0, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 36 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "download.jpg", + "image" + ] + }, + { + "id": 28, + "type": "LoadImage", + "pos": [ + 200, + 1440 + ], + "size": [ + 210, + 300 + ], + "flags": {}, + "order": 1, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 37 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "u=1909748437,3206566783&fm=253&fmt=auto&app=120&f=JPEG.webp", + "image" + ] + }, + { + "id": 31, + "type": "ImageBatch", + "pos": [ + 420, + 1080 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": { + "collapsed": true + }, + "order": 6, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 36 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 37 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 38 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 32, + "type": "ImageBatch", + "pos": [ + 420, + 1120 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": { + "collapsed": true + }, + "order": 9, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 38 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 39 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 40 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 33, + "type": "ImageBatch", + "pos": [ + 420, + 1160 + ], + "size": { + "0": 210, + "1": 46 + }, + "flags": { + "collapsed": true + }, + "order": 13, + "mode": 0, + "inputs": [ + { + "name": "image1", + "type": "IMAGE", + "link": 40 + }, + { + "name": "image2", + "type": "IMAGE", + "link": 41 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 42 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "ImageBatch" + } + }, + { + "id": 4, + "type": "Ref_Image_Preprocessing", + "pos": [ + 420, + 1200 + ], + "size": { + "0": 320, + "1": 82 + }, + "flags": {}, + "order": 14, + "mode": 0, + "inputs": [ + { + "name": "ref_image", + "type": "IMAGE", + "link": 42 + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 5 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "Ref_Image_Preprocessing" + }, + "widgets_values": [ + "path/to/images", + "direct_Input" + ] + }, + { + "id": 27, + "type": "PortraitMaster_中文版", + "pos": [ + 420, + 1330 + ], + "size": [ + 320, + 1150 + ], + "flags": {}, + "order": 2, + "mode": 0, + "outputs": [ + { + "name": "positive", + "type": "STRING", + "links": [ + 32 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative", + "type": "STRING", + "links": [ + 33 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "PortraitMaster_中文版" + }, + "widgets_values": [ + "肩部以上肖像", + 1.5, + "女性", + 20, + "中国人", + "-", + 0.5, + "-", + 0, + "-", + "棕色", + "开心", + 1.5, + "椭圆形", + 1, + 0.2, + "法式波波头", + "黑色", + 1, + "-", + 0.5, + 0.3, + 0.41000000000000003, + 0, + 0, + 0, + 0, + 0, + 0, + 1.2, + 1.2, + 1.2, + 1.2, + "摄影棚灯光", + "从左侧", + 1.2, + "disable", + "img, raw photo, (realistic:1.5)", + "(white background:1.5)", + "", + "" + ] + }, + { + "id": 6, + "type": "PhotoMakerAdapter_Loader_fromhub", + "pos": [ + 760, + 1330 + ], + "size": [ + 320, + 80 + ], + "flags": {}, + "order": 8, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "MODEL", + "link": 6 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 14 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "PhotoMakerAdapter_Loader_fromhub" + }, + "widgets_values": [ + "TencentARC/PhotoMaker", + "photomaker-v1.bin" + ] + }, + { + "id": 5, + "type": "BaseModel_Loader_fromhub", + "pos": [ + 760, + 1200 + ], + "size": [ + 320, + 80 + ], + "flags": {}, + "order": 3, + "mode": 0, + "outputs": [ + { + "name": "pipe", + "type": "MODEL", + "links": [ + 6 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "BaseModel_Loader_fromhub" + }, + "widgets_values": [ + "SG161222/RealVisXL_V3.0" + ] + }, + { + "id": 10, + "type": "LoRALoader", + "pos": [ + 760, + 1460 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 12, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "MODEL", + "link": 14 + } + ], + "outputs": [ + { + "name": "MODEL", + "type": "MODEL", + "links": [ + 17 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "LoRALoader" + }, + "widgets_values": [ + "xl_more_art-full.safetensors", + 0.7000000000000001 + ] + }, + { + "id": 26, + "type": "SDXLPromptStyler", + "pos": [ + 760, + 1600 + ], + "size": [ + 320, + 133.9999656677246 + ], + "flags": {}, + "order": 7, + "mode": 0, + "inputs": [ + { + "name": "text_positive", + "type": "STRING", + "link": 32, + "widget": { + "name": "text_positive" + } + }, + { + "name": "text_negative", + "type": "STRING", + "link": 33, + "widget": { + "name": "text_negative" + } + } + ], + "outputs": [ + { + "name": "positive_prompt_text_g", + "type": "STRING", + "links": [ + 34, + 43 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "negative_prompt_text_g", + "type": "STRING", + "links": [ + 35, + 44 + ], + "shape": 3, + "slot_index": 1 + } + ], + "properties": { + "Node name for S&R": "SDXLPromptStyler" + }, + "widgets_values": [ + "", + "", + "广告-时尚编辑", + "No" + ] + }, + { + "id": 34, + "type": "DisplayText_Zho", + "pos": [ + 760, + 1780 + ], + "size": [ + 320, + 210 + ], + "flags": {}, + "order": 10, + "mode": 0, + "inputs": [ + { + "name": "text", + "type": "STRING", + "link": 43, + "widget": { + "name": "text" + } + } + ], + "outputs": [ + { + "name": "text", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "DisplayText_Zho" + }, + "widgets_values": [ + "", + "Fashion editorial style img, raw photo, (realistic:1.5), (head and shoulders portrait:1.5), (chinese woman 20-years-old:1.5), (brown eyes:1.25), (happy, happy expression:1.5), (oval shape face:1.0), (french bob hairstyle:1.25), (black hair:1.25), (disheveled:1.0), (white background:1.5), (skin details, skin texture:0.5), (skin pores:0.3), (dimples:0.41), (eyes details:1.2), (iris details:1.2), (circular iris:1.2), (circular pupil:1.2), (facial asymmetry, face asymmetry:0.2), (studio lighting from left:1.2) . High fashion, trendy, stylish, editorial, magazine style, professional, highly detailed" + ] + }, + { + "id": 1, + "type": "NEW_PhotoMaker_Generation", + "pos": [ + 760, + 2180 + ], + "size": [ + 320, + 300 + ], + "flags": {}, + "order": 15, + "mode": 0, + "inputs": [ + { + "name": "pipe", + "type": "MODEL", + "link": 17 + }, + { + "name": "pil_image", + "type": "IMAGE", + "link": 5, + "slot_index": 1 + }, + { + "name": "positive", + "type": "STRING", + "link": 34, + "widget": { + "name": "positive" + } + }, + { + "name": "negative", + "type": "STRING", + "link": 35, + "widget": { + "name": "negative" + } + } + ], + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 31 + ], + "shape": 3, + "slot_index": 0 + } + ], + "properties": { + "Node name for S&R": "NEW_PhotoMaker_Generation" + }, + "widgets_values": [ + "", + "", + 4, + 20, + 50, + 5, + 1024, + 1024, + 0, + "fixed" + ] + }, + { + "id": 35, + "type": "DisplayText_Zho", + "pos": [ + 760, + 2040 + ], + "size": [ + 320, + 90 + ], + "flags": {}, + "order": 11, + "mode": 0, + "inputs": [ + { + "name": "text", + "type": "STRING", + "link": 44, + "widget": { + "name": "text" + } + } + ], + "outputs": [ + { + "name": "text", + "type": "STRING", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "DisplayText_Zho" + }, + "widgets_values": [ + "", + "outdated, blurry, noisy, unattractive, sloppy" + ] + }, + { + "id": 30, + "type": "LoadImage", + "pos": [ + 190, + 2160 + ], + "size": [ + 220, + 310 + ], + "flags": {}, + "order": 4, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 41 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "u=1277628484,1988235544&fm=253&fmt=auto&app=138&f=JPEG.webp", + "image" + ] + }, + { + "id": 29, + "type": "LoadImage", + "pos": [ + 190, + 1780 + ], + "size": [ + 220, + 340 + ], + "flags": {}, + "order": 5, + "mode": 0, + "outputs": [ + { + "name": "IMAGE", + "type": "IMAGE", + "links": [ + 39 + ], + "shape": 3, + "slot_index": 0 + }, + { + "name": "MASK", + "type": "MASK", + "links": null, + "shape": 3 + } + ], + "properties": { + "Node name for S&R": "LoadImage" + }, + "widgets_values": [ + "u=425589426,3799949985&fm=253&fmt=auto&app=138&f=JPEG.webp", + "image" + ] + }, + { + "id": 25, + "type": "PreviewImage", + "pos": [ + 1100, + 1200 + ], + "size": [ + 1260, + 1280 + ], + "flags": {}, + "order": 16, + "mode": 0, + "inputs": [ + { + "name": "images", + "type": "IMAGE", + "link": 31 + } + ], + "properties": { + "Node name for S&R": "PreviewImage" + } + } + ], + "links": [ + [ + 5, + 4, + 0, + 1, + 1, + "IMAGE" + ], + [ + 6, + 5, + 0, + 6, + 0, + "MODEL" + ], + [ + 14, + 6, + 0, + 10, + 0, + "MODEL" + ], + [ + 17, + 10, + 0, + 1, + 0, + "MODEL" + ], + [ + 31, + 1, + 0, + 25, + 0, + "IMAGE" + ], + [ + 32, + 27, + 0, + 26, + 0, + "STRING" + ], + [ + 33, + 27, + 1, + 26, + 1, + "STRING" + ], + [ + 34, + 26, + 0, + 1, + 2, + "STRING" + ], + [ + 35, + 26, + 1, + 1, + 3, + "STRING" + ], + [ + 36, + 3, + 0, + 31, + 0, + "IMAGE" + ], + [ + 37, + 28, + 0, + 31, + 1, + "IMAGE" + ], + [ + 38, + 31, + 0, + 32, + 0, + "IMAGE" + ], + [ + 39, + 29, + 0, + 32, + 1, + "IMAGE" + ], + [ + 40, + 32, + 0, + 33, + 0, + "IMAGE" + ], + [ + 41, + 30, + 0, + 33, + 1, + "IMAGE" + ], + [ + 42, + 33, + 0, + 4, + 0, + "IMAGE" + ], + [ + 43, + 26, + 0, + 34, + 0, + "STRING" + ], + [ + 44, + 26, + 1, + 35, + 0, + "STRING" + ] + ], + "groups": [], + "config": {}, + "extra": {}, + "version": 0.4 +} \ No newline at end of file