TTPlanet commited on
Commit
cc82209
1 Parent(s): 19bf7ff

Upload workflow_hunyuan_lineart.json

Browse files
Files changed (1) hide show
  1. workflow_hunyuan_lineart.json +1 -0
workflow_hunyuan_lineart.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"last_node_id": 34, "last_link_id": 73, "nodes": [{"id": 8, "type": "VAEDecode", "pos": [2584, 146], "size": {"0": 210, "1": 46}, "flags": {}, "order": 24, "mode": 0, "inputs": [{"name": "samples", "type": "LATENT", "link": 24, "slot_index": 0}, {"name": "vae", "type": "VAE", "link": 7}], "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [23], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "VAEDecode"}}, {"id": 3, "type": "CheckpointLoaderSimple", "pos": [324, 140], "size": {"0": 315, "1": 98}, "flags": {}, "order": 0, "mode": 0, "outputs": [{"name": "MODEL", "type": "MODEL", "links": [4], "shape": 3, "slot_index": 0}, {"name": "CLIP", "type": "CLIP", "links": [1, 2], "shape": 3, "slot_index": 1}, {"name": "VAE", "type": "VAE", "links": [7, 8, 11, 57], "shape": 3, "slot_index": 2}], "properties": {"Node name for S&R": "CheckpointLoaderSimple"}, "widgets_values": ["hunyuan_dit_1.2.safetensors"]}, {"id": 4, "type": "CLIPTextEncodeHunyuanDiT", "pos": [1091, 141], "size": {"0": 394.5294494628906, "1": 122.16705322265625}, "flags": {}, "order": 20, "mode": 0, "inputs": [{"name": "clip", "type": "CLIP", "link": 1}, {"name": "mt5xl", "type": "STRING", "link": 43, "widget": {"name": "mt5xl"}}, {"name": "bert", "type": "STRING", "link": 40, "widget": {"name": "bert"}}], "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [67], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "CLIPTextEncodeHunyuanDiT"}, "widgets_values": ["", ""], "color": "#232", "bgcolor": "#353"}, {"id": 21, "type": "Text Concatenate", "pos": [689, -75], "size": {"0": 315, "1": 178}, "flags": {}, "order": 7, "mode": 0, "inputs": [{"name": "text_a", "type": "STRING", "link": 34, "widget": {"name": "text_a"}}, {"name": "text_b", "type": "STRING", "link": null, "widget": {"name": "text_b"}}, {"name": "text_c", "type": "STRING", "link": null, "widget": {"name": "text_c"}}, {"name": "text_d", "type": "STRING", "link": null, "widget": {"name": "text_d"}}], "outputs": [{"name": "STRING", "type": "STRING", "links": [40], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "Text Concatenate"}, "widgets_values": [", ", "true", "", "", "", ""]}, {"id": 16, "type": "GoogleTranslateTextNode", "pos": [1547, -234], "size": {"0": 218.39999389648438, "1": 192}, "flags": {}, "order": 12, "mode": 0, "inputs": [{"name": "text", "type": "STRING", "link": 19, "widget": {"name": "text"}, "slot_index": 0}], "outputs": [{"name": "text", "type": "STRING", "links": [20], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "GoogleTranslateTextNode"}, "widgets_values": ["auto", "en", false, "Manual Trasnlate", ""]}, {"id": 30, "type": "ImageInvert", "pos": [3164.542223565149, 1085.6402278961257], "size": {"0": 210, "1": 26}, "flags": {}, "order": 10, "mode": 0, "inputs": [{"name": "image", "type": "IMAGE", "link": 52}], "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [53], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "ImageInvert"}}, {"id": 31, "type": "PreviewImage", "pos": [3485, 1263], "size": {"0": 210, "1": 246}, "flags": {}, "order": 14, "mode": 0, "inputs": [{"name": "images", "type": "IMAGE", "link": 53}], "properties": {"Node name for S&R": "PreviewImage"}}, {"id": 25, "type": "Text Concatenate", "pos": [663, -375], "size": {"0": 315, "1": 178}, "flags": {}, "order": 18, "mode": 0, "inputs": [{"name": "text_a", "type": "STRING", "link": 41, "widget": {"name": "text_a"}}, {"name": "text_b", "type": "STRING", "link": 42, "widget": {"name": "text_b"}}, {"name": "text_c", "type": "STRING", "link": null, "widget": {"name": "text_c"}}, {"name": "text_d", "type": "STRING", "link": null, "widget": {"name": "text_d"}}], "outputs": [{"name": "STRING", "type": "STRING", "links": [43], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "Text Concatenate"}, "widgets_values": [", ", "true", "", "", "", ""]}, {"id": 17, "type": "SaveImage", "pos": [3470, 163], "size": {"0": 791.6597900390625, "1": 839.9299926757812}, "flags": {}, "order": 25, "mode": 0, "inputs": [{"name": "images", "type": "IMAGE", "link": 23}], "properties": {"Node name for S&R": "SaveImage"}, "widgets_values": ["ComfyUI"]}, {"id": 33, "type": "ControlNetLoader", "pos": [1640, 890], "size": {"0": 320, "1": 60}, "flags": {}, "order": 1, "mode": 0, "outputs": [{"name": "CONTROL_NET", "type": "CONTROL_NET", "links": [56], "shape": 3}], "properties": {"Node name for S&R": "ControlNetLoader"}, "widgets_values": ["pytorch_model_lineart_ema_module_only.pt"]}, {"id": 5, "type": "CLIPTextEncodeHunyuanDiT", "pos": [1130, 635], "size": {"0": 400, "1": 200}, "flags": {}, "order": 6, "mode": 0, "inputs": [{"name": "clip", "type": "CLIP", "link": 2}], "outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [68], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "CLIPTextEncodeHunyuanDiT"}, "widgets_values": ["\u9519\u8bef\u7684\u773c\u775b\uff0c\u7cdf\u7cd5\u7684\u4eba\u8138\uff0c\u6bc1\u5bb9\uff0c\u7cdf\u7cd5\u7684\u827a\u672f\uff0c\u53d8\u5f62\uff0c\u591a\u4f59\u7684\u80a2\u4f53\uff0c\u6a21\u7cca\u7684\u989c\u8272\uff0c\u6a21\u7cca\uff0c\u91cd\u590d\uff0c\u75c5\u6001\uff0c\u6b8b\u7f3a, \u52a8\u6f2b\uff0c\u52a8\u753b", "\u9519\u8bef\u7684\u773c\u775b\uff0c\u7cdf\u7cd5\u7684\u4eba\u8138\uff0c\u6bc1\u5bb9\uff0c\u7cdf\u7cd5\u7684\u827a\u672f\uff0c\u53d8\u5f62\uff0c\u591a\u4f59\u7684\u80a2\u4f53\uff0c\u6a21\u7cca\u7684\u989c\u8272\uff0c\u6a21\u7cca\uff0c\u91cd\u590d\uff0c\u75c5\u6001\uff0c\u6b8b\u7f3a, \u52a8\u6f2b\uff0c\u52a8\u753b"], "color": "#322", "bgcolor": "#533"}, {"id": 32, "type": "ControlNetApplySD3", "pos": [1677, 558], "size": {"0": 320, "1": 190}, "flags": {}, "order": 22, "mode": 0, "inputs": [{"name": "positive", "type": "CONDITIONING", "link": 67}, {"name": "negative", "type": "CONDITIONING", "link": 68}, {"name": "control_net", "type": "CONTROL_NET", "link": 56, "slot_index": 2}, {"name": "vae", "type": "VAE", "link": 57}, {"name": "image", "type": "IMAGE", "link": 58}], "outputs": [{"name": "positive", "type": "CONDITIONING", "links": [61], "shape": 3, "slot_index": 0}, {"name": "negative", "type": "CONDITIONING", "links": [62], "shape": 3, "slot_index": 1}], "properties": {"Node name for S&R": "ControlNetApplySD3"}, "widgets_values": [0.8, 0, 1]}, {"id": 9, "type": "VAEEncode", "pos": [1743, 281], "size": {"0": 210, "1": 46}, "flags": {}, "order": 15, "mode": 0, "inputs": [{"name": "pixels", "type": "IMAGE", "link": 71, "slot_index": 0}, {"name": "vae", "type": "VAE", "link": 8}], "outputs": [{"name": "LATENT", "type": "LATENT", "links": [10], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "VAEEncode"}}, {"id": 34, "type": "ImageScaleToTotalPixels", "pos": [1677, 107], "size": {"0": 315, "1": 82}, "flags": {}, "order": 11, "mode": 0, "inputs": [{"name": "image", "type": "IMAGE", "link": 70}], "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [71], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "ImageScaleToTotalPixels"}, "widgets_values": ["bilinear", 1.2]}, {"id": 18, "type": "ImageScaleToTotalPixels", "pos": [827, 435], "size": {"0": 315, "1": 82}, "flags": {}, "order": 19, "mode": 0, "inputs": [{"name": "image", "type": "IMAGE", "link": 73}], "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [58, 72], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "ImageScaleToTotalPixels"}, "widgets_values": ["bilinear", 1.2]}, {"id": 29, "type": "ImageInvert", "pos": [349, 597], "size": {"0": 210, "1": 26}, "flags": {}, "order": 13, "mode": 4, "inputs": [{"name": "image", "type": "IMAGE", "link": 50}], "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [65], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "ImageInvert"}}, {"id": 23, "type": "AnyLinePreprocessor", "pos": [361, 475], "size": {"0": 210, "1": 26}, "flags": {}, "order": 9, "mode": 0, "inputs": [{"name": "image", "type": "IMAGE", "link": 44}], "outputs": [{"name": "image", "type": "IMAGE", "links": [50], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "AnyLinePreprocessor"}}, {"id": 24, "type": "CannyEdgePreprocessor", "pos": [290, 733], "size": {"0": 315, "1": 106}, "flags": {}, "order": 17, "mode": 4, "inputs": [{"name": "image", "type": "IMAGE", "link": 65, "slot_index": 0}], "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [73], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "CannyEdgePreprocessor"}, "widgets_values": [100, 200, 1024]}, {"id": 20, "type": "PreviewImage", "pos": [762, 591], "size": {"0": 294.8090515136719, "1": 276.0145568847656}, "flags": {}, "order": 21, "mode": 0, "inputs": [{"name": "images", "type": "IMAGE", "link": 72}], "properties": {"Node name for S&R": "PreviewImage"}}, {"id": 7, "type": "KSampler (Efficient)", "pos": [2142, 135], "size": {"0": 504.3053894042969, "1": 843.3325805664062}, "flags": {}, "order": 23, "mode": 0, "inputs": [{"name": "model", "type": "MODEL", "link": 4}, {"name": "positive", "type": "CONDITIONING", "link": 61}, {"name": "negative", "type": "CONDITIONING", "link": 62}, {"name": "latent_image", "type": "LATENT", "link": 10}, {"name": "optional_vae", "type": "VAE", "link": 11}, {"name": "script", "type": "SCRIPT", "link": null}], "outputs": [{"name": "MODEL", "type": "MODEL", "links": null, "shape": 3}, {"name": "CONDITIONING+", "type": "CONDITIONING", "links": null, "shape": 3}, {"name": "CONDITIONING-", "type": "CONDITIONING", "links": null, "shape": 3}, {"name": "LATENT", "type": "LATENT", "links": [24], "shape": 3}, {"name": "VAE", "type": "VAE", "links": null, "shape": 3}, {"name": "IMAGE", "type": "IMAGE", "links": null, "shape": 3}], "properties": {"Node name for S&R": "KSampler (Efficient)"}, "widgets_values": [775622542838310, null, 50, 6, "dpmpp_2m", "simple", 1, "auto", "true"], "color": "#332222", "bgcolor": "#553333", "shape": 1}, {"id": 26, "type": "easy prompt", "pos": [230, -480], "size": {"0": 400, "1": 200}, "flags": {}, "order": 2, "mode": 0, "outputs": [{"name": "prompt", "type": "STRING", "links": [41], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "easy prompt"}, "widgets_values": ["", "none", "none"]}, {"id": 22, "type": "easy prompt", "pos": [212, -174], "size": {"0": 400, "1": 200}, "flags": {}, "order": 3, "mode": 0, "outputs": [{"name": "prompt", "type": "STRING", "links": [34], "shape": 3, "slot_index": 0}], "properties": {"Node name for S&R": "easy prompt"}, "widgets_values": ["", "none", "none"]}, {"id": 14, "type": "DownloadAndLoadFlorence2Model", "pos": [1127, -480], "size": {"0": 315, "1": 106}, "flags": {}, "order": 4, "mode": 0, "outputs": [{"name": "florence2_model", "type": "FL2MODEL", "links": [17], "shape": 3}], "properties": {"Node name for S&R": "DownloadAndLoadFlorence2Model"}, "widgets_values": ["microsoft/Florence-2-large", "fp16", "flash_attention_2"]}, {"id": 13, "type": "Florence2Run", "pos": [1077, -327], "size": {"0": 400, "1": 260}, "flags": {}, "order": 8, "mode": 0, "inputs": [{"name": "image", "type": "IMAGE", "link": 31}, {"name": "florence2_model", "type": "FL2MODEL", "link": 17, "slot_index": 1}], "outputs": [{"name": "image", "type": "IMAGE", "links": null, "shape": 3}, {"name": "mask", "type": "MASK", "links": null, "shape": 3}, {"name": "caption", "type": "STRING", "links": [19], "shape": 3, "slot_index": 2}], "properties": {"Node name for S&R": "Florence2Run"}, "widgets_values": ["", "detailed_caption", true, false, 1024, 3, false]}, {"id": 15, "type": "ShowText|pysssss", "pos": [1119, -20], "size": {"0": 321.3382263183594, "1": 103.11417388916016}, "flags": {}, "order": 16, "mode": 0, "inputs": [{"name": "text", "type": "STRING", "link": 20, "widget": {"name": "text"}}], "outputs": [{"name": "STRING", "type": "STRING", "links": [42], "shape": 6, "slot_index": 0}], "properties": {"Node name for S&R": "ShowText|pysssss"}, "widgets_values": ["", "The image shows Chris Hemsworth as Thor from the movie Thor: The Dark World, wearing a costume and holding an axe in his hand. In the background, there are a few other people and a wall."]}, {"id": 10, "type": "LoadImage", "pos": [2749, 132], "size": {"0": 698.10791015625, "1": 862.6223754882812}, "flags": {}, "order": 5, "mode": 0, "outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [31, 44, 52, 70], "shape": 3, "slot_index": 0}, {"name": "MASK", "type": "MASK", "links": null, "shape": 3}], "properties": {"Node name for S&R": "LoadImage"}, "widgets_values": ["ComfyUI_05133_.jpg", "image"]}], "links": [[1, 3, 1, 4, 0, "CLIP"], [2, 3, 1, 5, 0, "CLIP"], [4, 3, 0, 7, 0, "MODEL"], [7, 3, 2, 8, 1, "VAE"], [8, 3, 2, 9, 1, "VAE"], [10, 9, 0, 7, 3, "LATENT"], [11, 3, 2, 7, 4, "VAE"], [17, 14, 0, 13, 1, "FL2MODEL"], [19, 13, 2, 16, 0, "STRING"], [20, 16, 0, 15, 0, "STRING"], [23, 8, 0, 17, 0, "IMAGE"], [24, 7, 3, 8, 0, "LATENT"], [31, 10, 0, 13, 0, "IMAGE"], [34, 22, 0, 21, 0, "STRING"], [40, 21, 0, 4, 2, "STRING"], [41, 26, 0, 25, 0, "STRING"], [42, 15, 0, 25, 1, "STRING"], [43, 25, 0, 4, 1, "STRING"], [44, 10, 0, 23, 0, "IMAGE"], [50, 23, 0, 29, 0, "IMAGE"], [52, 10, 0, 30, 0, "IMAGE"], [53, 30, 0, 31, 0, "IMAGE"], [56, 33, 0, 32, 2, "CONTROL_NET"], [57, 3, 2, 32, 3, "VAE"], [58, 18, 0, 32, 4, "IMAGE"], [61, 32, 0, 7, 1, "CONDITIONING"], [62, 32, 1, 7, 2, "CONDITIONING"], [65, 29, 0, 24, 0, "IMAGE"], [67, 4, 0, 32, 0, "CONDITIONING"], [68, 5, 0, 32, 1, "CONDITIONING"], [70, 10, 0, 34, 0, "IMAGE"], [71, 34, 0, 9, 0, "IMAGE"], [72, 18, 0, 20, 0, "IMAGE"], [73, 24, 0, 18, 0, "IMAGE"]], "groups": [], "config": {}, "extra": {"ds": {"scale": 0.5445000000000008, "offset": [206.78725045550357, 996.1000835504385]}}, "version": 0.4}