{"id":"a2c83d13-3adc-48d7-92cb-e2314cae7841","extra":{"ds":{"scale":0.2830502851823498,"offset":[10342.40004620596,-2210.5259695380055]},"ue_links":[],"groupNodes":{},"node_versions":{"comfy-core":"0.3.26","ComfyUI-WanVideoWrapper":"5a2383621a05825d0d0437781afcb8552d9590fd","ComfyUI-VideoHelperSuite":"0a75c7958fe320efcb052f1d9f8451fd20c730a8"},"frontendVersion":"1.21.7","VHS_MetadataImage":true,"VHS_latentpreview":false,"VHS_KeepIntermediate":true,"VHS_latentpreviewrate":0},"links":[[1177,361,0,581,0,"*"],[1178,360,0,582,0,"*"],[2068,302,0,309,1,"STRING"],[2231,882,0,883,0,"IMAGE"],[2494,533,0,989,0,"*"],[3034,1059,0,575,0,"*"],[5201,2051,0,2052,0,"IMAGE"],[5203,2054,0,2055,0,"IMAGE"],[5240,2052,0,2053,0,"IMAGE"],[5241,2055,0,2056,0,"IMAGE"],[5297,581,0,2052,1,"INT"],[5298,581,0,2055,1,"INT"],[5299,582,0,2052,2,"INT"],[5300,582,0,2055,2,"INT"],[5305,2092,1,2080,0,"IMAGE"],[5307,2087,0,2084,0,"CONDITIONING"],[5309,2090,1,2088,0,"IMAGE"],[5310,2083,0,2090,1,"VAE"],[5311,2082,0,2090,2,"DREAMO_PROCESSOR"],[5312,2095,0,2091,0,"MODEL"],[5313,2092,0,2091,1,"LATENT"],[5314,2090,0,2091,2,"LATENT"],[5315,2083,0,2092,1,"VAE"],[5316,2082,0,2092,2,"DREAMO_PROCESSOR"],[5317,2083,0,2094,1,"VAE"],[5318,2085,0,2095,0,"MODEL"],[5319,2086,0,2095,1,"CLIP"],[5320,2097,0,2096,0,"LATENT"],[5321,2083,0,2096,1,"VAE"],[5322,2091,0,2097,0,"MODEL"],[5323,2084,0,2097,1,"CONDITIONING"],[5324,2081,0,2097,2,"CONDITIONING"],[5326,2096,0,2098,0,"IMAGE"],[5327,2093,0,2099,0,"LATENT"],[5328,2094,0,2099,1,"LATENT"],[5336,2052,0,2076,0,"*"],[5337,2055,0,2077,0,"*"],[5338,2077,0,882,1,"IMAGE"],[5339,2076,0,882,0,"IMAGE"],[5341,575,0,2097,4,"INT"],[5342,2102,0,2100,0,"*"],[5343,2101,0,2102,0,"*"],[5355,882,0,2101,1,"IMAGE"],[5363,996,0,993,0,"*"],[5380,2053,0,2092,0,"IMAGE"],[5381,2119,0,2053,1,"COLOR"],[5382,2119,0,2056,1,"COLOR"],[5383,2056,0,2090,0,"IMAGE"],[5384,2053,0,2094,0,"IMAGE"],[5385,2102,0,2118,0,"*"],[5388,581,0,2093,0,"INT"],[5389,582,0,2093,1,"INT"],[5390,2093,0,2097,3,"LATENT"],[5391,2096,0,2123,0,"IMAGE"],[5392,2095,1,2087,0,"CLIP"],[5393,2095,1,2081,0,"CLIP"],[5401,993,0,2087,1,"STRING"],[5402,2124,0,2128,0,"*"],[5403,2126,0,2129,0,"*"],[5410,2102,0,2108,0,"*"],[5419,2100,3,996,0,"*"],[5423,2135,0,2137,0,"STRING"],[5424,2137,0,2136,0,"*"],[5425,2140,0,2139,0,"*"],[5426,2138,0,2140,0,"STRING"],[5427,2143,0,2142,0,"*"],[5428,2141,0,2143,0,"STRING"],[5433,2108,3,2138,0,"STRING"],[5435,2100,3,2135,0,"STRING"],[5437,2144,0,2127,0,"*"],[5439,2140,0,2145,0,"STRING"],[5440,2145,0,2125,0,"*"],[5442,2143,0,2144,0,"STRING"],[5443,2118,3,2141,0,"STRING"],[5446,2146,0,2092,3,"COMBO"],[5447,2147,0,2090,3,"COMBO"],[5448,2148,0,2149,0,"STRING"],[5449,2150,0,2149,1,"STRING"],[5450,2151,0,2150,0,"STRING"],[5451,2149,0,2101,4,"STRING"],[5452,309,0,2101,0,"*"],[5453,2128,0,2146,0,"*"],[5454,2129,0,2147,0,"*"],[5462,2157,0,2084,1,"FLOAT"]],"nodes":[{"id":359,"pos":[-6034.615234375,4403.00390625],"mode":0,"size":[210,58],"type":"INTConstant","color":"#1b4669","flags":{},"order":0,"title":"Width","inputs":[],"bgcolor":"#29699c","outputs":[{"name":"value","type":"INT","links":[]}],"properties":{"ver":"3e3a1a8aac61dc4515f6a7da74e026f05a80299f","cnr_id":"comfyui-kjnodes","Node name for S&R":"INTConstant","widget_ue_connectable":{}},"widgets_values":[1280]},{"id":358,"pos":[-6036.478515625,4518.21875],"mode":0,"size":[210,58],"type":"INTConstant","color":"#1b4669","flags":{},"order":1,"title":"Height","inputs":[],"bgcolor":"#29699c","outputs":[{"name":"value","type":"INT","links":[]}],"properties":{"ver":"3e3a1a8aac61dc4515f6a7da74e026f05a80299f","cnr_id":"comfyui-kjnodes","Node name for S&R":"INTConstant","widget_ue_connectable":{}},"widgets_values":[768]},{"id":883,"pos":[-6011.34912109375,3603.762939453125],"mode":0,"size":[140,246],"type":"PreviewImage","color":"#222","flags":{"collapsed":true},"order":52,"inputs":[{"link":2231,"name":"images","type":"IMAGE"}],"bgcolor":"#000","outputs":[],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"PreviewImage","widget_ue_connectable":{}},"widgets_values":[]},{"id":1059,"pos":[-8705.0458984375,3865.83837890625],"mode":0,"size":[400,208],"type":"ComfyUIDeployExternalSeed","flags":{},"order":2,"inputs":[],"outputs":[{"name":"seed","type":"INT","links":[3034]}],"properties":{"ver":"ceb53bcb228176b854c7d72140a0dbedaa212eea","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalSeed","widget_ue_connectable":{}},"widgets_values":["input_seed",-1,1,4294967295,"","For default value:\n\"-1\" (i.e. not in range): Randomize within the min and max value range. \nin range: Fixed, always the same value\n"]},{"id":989,"pos":[-6037.75390625,3886.0166015625],"mode":0,"size":[75,26],"type":"Reroute","color":"#223","flags":{},"order":29,"inputs":[{"link":2494,"name":"","type":"*"}],"bgcolor":"#335","outputs":[{"name":"","type":"STRING","links":[]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":302,"pos":[-9137.1181640625,3771.99755859375],"mode":0,"size":[400,200],"type":"ComfyUIDeployExternalText","flags":{},"order":3,"inputs":[],"outputs":[{"name":"text","type":"STRING","links":[2068]}],"properties":{"ver":"b889f79baf9e099d5e54bd20bab4aa1e7c3296c0","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalText","widget_ue_connectable":{}},"widgets_values":["llm_model","gpt-4.1-mini","","03-mini, \ngpt-4.5-preview-2025-02-27,"]},{"id":1855,"pos":[-8243.8603515625,3560.2646484375],"mode":4,"size":[770.458984375,50],"type":"Label (rgthree)","color":"#fff0","flags":{"allow_interaction":true},"order":4,"title":"www.youtube.com/@impactframes","inputs":[],"bgcolor":"#fff0","outputs":[],"properties":{"padding":0,"fontSize":50,"fontColor":"#999999","textAlign":"left","fontFamily":"Arial","borderRadius":0,"backgroundColor":"\n\n\n\n\n\n\n\n#e6ccff"}},{"id":361,"pos":[-6049.5693359375,4649.146484375],"mode":0,"size":[210,58],"type":"INTConstant","color":"#1b4669","flags":{},"order":5,"title":"Width","inputs":[],"bgcolor":"#29699c","outputs":[{"name":"value","type":"INT","links":[1177]}],"properties":{"ver":"3e3a1a8aac61dc4515f6a7da74e026f05a80299f","cnr_id":"comfyui-kjnodes","Node name for S&R":"INTConstant","widget_ue_connectable":{}},"widgets_values":[720]},{"id":360,"pos":[-6042.640625,4766.2783203125],"mode":0,"size":[210,58],"type":"INTConstant","color":"#1b4669","flags":{},"order":6,"title":"Height","inputs":[],"bgcolor":"#29699c","outputs":[{"name":"value","type":"INT","links":[1178]}],"properties":{"ver":"3e3a1a8aac61dc4515f6a7da74e026f05a80299f","cnr_id":"comfyui-kjnodes","Node name for S&R":"INTConstant","widget_ue_connectable":{}},"widgets_values":[1280]},{"id":2080,"pos":[-4949.9052734375,4428.50927734375],"mode":0,"size":[140,246.00003051757812],"type":"PreviewImage","color":"#222","flags":{},"order":48,"inputs":[{"link":5305,"name":"images","type":"IMAGE"}],"bgcolor":"#000","outputs":[],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"PreviewImage","widget_ue_connectable":{}},"widgets_values":[]},{"id":2088,"pos":[-4790.38720703125,4420.390625],"mode":0,"size":[140,246.00006103515625],"type":"PreviewImage","color":"#222","flags":{},"order":51,"inputs":[{"link":5309,"name":"images","type":"IMAGE"}],"bgcolor":"#000","outputs":[],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"PreviewImage","widget_ue_connectable":{}},"widgets_values":[]},{"id":2052,"pos":[-6779.4208984375,3697.68115234375],"mode":0,"size":[270,266],"type":"ImageResizeKJv2","color":"#222","flags":{"collapsed":false},"order":33,"inputs":[{"link":5201,"name":"image","type":"IMAGE"},{"link":5297,"name":"width","type":"INT","widget":{"name":"width"}},{"link":5299,"name":"height","type":"INT","widget":{"name":"height"}}],"bgcolor":"#000","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5240,5336]},{"name":"width","type":"INT","links":[]},{"name":"height","type":"INT","links":[]}],"properties":{"ver":"5dcda71011870278c35d92ff77a677ed2e538f2d","cnr_id":"comfyui-kjnodes","Node name for S&R":"ImageResizeKJv2","widget_ue_connectable":{"width":true,"height":true}},"widgets_values":[512,512,"lanczos","pad","255,255,255","center",16,"cpu"]},{"id":2055,"pos":[-6777.619140625,4132.84326171875],"mode":0,"size":[270,266],"type":"ImageResizeKJv2","color":"#222","flags":{"collapsed":false},"order":34,"inputs":[{"link":5203,"name":"image","type":"IMAGE"},{"link":5298,"name":"width","type":"INT","widget":{"name":"width"}},{"link":5300,"name":"height","type":"INT","widget":{"name":"height"}}],"bgcolor":"#000","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5241,5337]},{"name":"width","type":"INT","links":[]},{"name":"height","type":"INT","links":[]}],"properties":{"ver":"5dcda71011870278c35d92ff77a677ed2e538f2d","cnr_id":"comfyui-kjnodes","Node name for S&R":"ImageResizeKJv2","widget_ue_connectable":{"width":true,"height":true}},"widgets_values":[512,512,"lanczos","pad","255,255,255","center",16,"cpu"]},{"id":2077,"pos":[-6446.85400390625,4081.714111328125],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":43,"inputs":[{"link":5337,"name":"","type":"*"}],"outputs":[{"name":"","type":"IMAGE","links":[5338]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":2076,"pos":[-6440.3134765625,3644.8203125],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":41,"inputs":[{"link":5336,"name":"","type":"*"}],"outputs":[{"name":"","type":"IMAGE","links":[5339]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":575,"pos":[-5909.50732421875,4063.930908203125],"mode":0,"size":[75,26],"type":"Reroute","color":"#223","flags":{},"order":24,"inputs":[{"link":3034,"name":"","type":"*","widget":{"name":"value"}}],"bgcolor":"#335","outputs":[{"name":"","type":"INT","links":[5341]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":1854,"pos":[-8514.392578125,3407.364013671875],"mode":4,"size":[1764.7265625,120],"type":"Label (rgthree)","color":"#fff0","flags":{"allow_interaction":true},"order":7,"title":"RUN it in COMFYDEPLOY.COM ","inputs":[],"bgcolor":"#fff0","outputs":[],"properties":{"padding":0,"fontSize":120,"fontColor":"#999999","textAlign":"left","fontFamily":"Arial","borderRadius":0,"backgroundColor":"\n\n\n\n\n\n\n\n#e6ccff"}},{"id":2051,"pos":[-7119.74853515625,3664.216064453125],"mode":0,"size":[274.080078125,314.00006103515625],"type":"LoadImage","color":"#222","flags":{},"order":8,"inputs":[],"bgcolor":"#000","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5201]},{"name":"MASK","type":"MASK","links":null}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"LoadImage","widget_ue_connectable":{}},"widgets_values":["20b23c_d611d13ee0f54804a0468e8435d8ebab~mv2.webp","image"]},{"id":2054,"pos":[-7117.94677734375,4099.37744140625],"mode":0,"size":[274.080078125,314.000244140625],"type":"LoadImage","color":"#222","flags":{},"order":9,"inputs":[],"bgcolor":"#000","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5203]},{"name":"MASK","type":"MASK","links":null}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"LoadImage","widget_ue_connectable":{}},"widgets_values":["@mrslm_2020 Men's colorful shirt.jpg","image"]},{"id":882,"pos":[-6027.92333984375,3650.580810546875],"mode":0,"size":[270,142],"type":"ImageBatchMulti","color":"#222","flags":{"collapsed":false},"order":47,"inputs":[{"link":5339,"name":"image_1","type":"IMAGE"},{"link":5338,"name":"image_2","type":"IMAGE"}],"bgcolor":"#000","outputs":[{"name":"images","type":"IMAGE","links":[2231,5355]}],"properties":{"ver":"44565e9bffc89de454d06b4abe08137d1247652a","cnr_id":"comfyui-kjnodes","widget_ue_connectable":{}},"widgets_values":[2,null]},{"id":2103,"pos":[-5664.6162109375,4590.3857421875],"mode":0,"size":[495.93658447265625,236.10061645507812],"type":"MarkdownNote","color":"#432","flags":{},"order":10,"title":"DREAMO TASKS","inputs":[],"bgcolor":"#653","outputs":[],"properties":{},"widgets_values":["| Task       | What DreamO copies from the ref image                | Key quirks                                                                                                         |\n| ---------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| **IP**     | object / clothing / subject incl. background removal | Acts like IP-Adapter ([github.com][1], [huggingface.co][2])                                                        |\n| **ID**     | face only (PuLID-style)                              | Highest identity fidelity, slightly more model contamination ([arxiv.org][3], [comfydeploy.com][4])                |\n| **Style**  | global colour / brushwork / render style (keeps BG)  | Must prefix prompt with “*generate a same style image*”; can’t mix with other conditions yet ([huggingface.co][5]) |\n| **Try-On** | wearable item(s): tops, bottoms, hats, glasses       | Works even though multi-garment combos weren’t in training ([comfydeploy.com][4])                                  |\n| **Multi**  | any combo of IP ∕ ID ∕ Try-On                        | Feature-routing mitigates conflicts ([arxiv.org][3])                                                               |\n\n[1]: https://github.com/tencent-ailab/IP-Adapter?utm_source=chatgpt.com \"tencent-ailab/IP-Adapter: The image prompt adapter is ... - GitHub\"\n[2]: https://huggingface.co/docs/diffusers/v0.27.2/using-diffusers/ip_adapter?utm_source=chatgpt.com \"IP-Adapter - Hugging Face\"\n[3]: https://arxiv.org/html/2504.16915v1 \"DreamO: A Unified Framework for Image Customization\"\n[4]: https://www.comfydeploy.com/blog/dreamo-on-comfydeploy-unified-image-customization-with-ip-adapter-pullid-and-style-transfer \"DreamO on ComfyDeploy: Unified Image Customization with IP-Adapter, PullID, and Style Transfer - Comfy Deploy\"\n[5]: https://huggingface.co/spaces/ByteDance/DreamO/commit/92c3d7f5ca0d3a540731c4a1b4fb53104e714710 \"init · ByteDance/DreamO at 92c3d7f\"\n"]},{"id":996,"pos":[-6039.04443359375,3989.602783203125],"mode":0,"size":[75,26],"type":"Reroute","color":"#322","flags":{},"order":58,"inputs":[{"link":5419,"name":"","type":"*","widget":{"name":"value"}}],"bgcolor":"#533","outputs":[{"name":"","type":"STRING","links":[5363]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":2053,"pos":[-6406.41064453125,3720.5361328125],"mode":0,"size":[320,254],"type":"BiRefNetRMBG","color":"#222","flags":{"collapsed":false},"order":40,"inputs":[{"link":5240,"name":"image","type":"IMAGE"},{"link":5381,"name":"background_color","type":"COLOR","shape":7}],"bgcolor":"#000","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5380,5384]},{"name":"MASK","type":"MASK","links":null},{"name":"MASK_IMAGE","type":"IMAGE","links":[]}],"properties":{"ver":"daf0b01deb1c529dfb543093bba2ed586aad7886","cnr_id":"comfyui-rmbg","Node name for S&R":"BiRefNetRMBG","widget_ue_connectable":{}},"widgets_values":["BiRefNet-general",1,0,false,false,"Color"]},{"id":581,"pos":[-5903.30419921875,4171.34228515625],"mode":0,"size":[75,26],"type":"Reroute","color":"#223","flags":{},"order":26,"inputs":[{"link":1177,"name":"","type":"*","widget":{"name":"value"}}],"bgcolor":"#335","outputs":[{"name":"","type":"INT","links":[5297,5298,5388]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":582,"pos":[-5901.80517578125,4218.95654296875],"mode":0,"size":[75,26],"type":"Reroute","color":"#223","flags":{},"order":27,"inputs":[{"link":1178,"name":"","type":"*","widget":{"name":"value"}}],"bgcolor":"#335","outputs":[{"name":"","type":"INT","links":[5299,5300,5389]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":2056,"pos":[-6415.95947265625,4169.75244140625],"mode":0,"size":[320,254],"type":"BiRefNetRMBG","color":"#222","flags":{"collapsed":false},"order":42,"inputs":[{"link":5241,"name":"image","type":"IMAGE"},{"link":5382,"name":"background_color","type":"COLOR","shape":7}],"bgcolor":"#000","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5383]},{"name":"MASK","type":"MASK","links":null},{"name":"MASK_IMAGE","type":"IMAGE","links":[]}],"properties":{"ver":"daf0b01deb1c529dfb543093bba2ed586aad7886","cnr_id":"comfyui-rmbg","Node name for S&R":"BiRefNetRMBG","widget_ue_connectable":{}},"widgets_values":["BiRefNet-general",1,0,false,false,"Color"]},{"id":2096,"pos":[-4693.37060546875,4704.58203125],"mode":0,"size":[210,46],"type":"VAEDecode","color":"#222","flags":{},"order":76,"inputs":[{"link":5320,"name":"samples","type":"LATENT"},{"link":5321,"name":"vae","type":"VAE"}],"bgcolor":"#000","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5326,5391],"slot_index":0}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"VAEDecode","widget_ue_connectable":{}},"widgets_values":[]},{"id":2085,"pos":[-5707.8447265625,3738.013671875],"mode":0,"size":[315,82],"type":"UNETLoader","color":"#222","flags":{},"order":11,"inputs":[],"bgcolor":"#000","outputs":[{"name":"MODEL","type":"MODEL","links":[5318],"slot_index":0}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"UNETLoader","widget_ue_connectable":{}},"widgets_values":["flux1-dev-fp8.safetensors","fp8_e5m2"]},{"id":2091,"pos":[-4586.1015625,4022.00390625],"mode":0,"size":[183.11827087402344,99.11083221435547],"type":"ApplyDreamO","color":"#222","flags":{},"order":50,"inputs":[{"link":5312,"name":"model","type":"MODEL"},{"link":5313,"name":"ref1","type":"LATENT"},{"link":5314,"name":"ref2","type":"LATENT","shape":7},{"link":null,"name":"ref3","type":"LATENT","shape":7}],"bgcolor":"#000","outputs":[{"name":"MODEL","type":"MODEL","links":[5322]}],"properties":{"ver":"c72fefe2f58f545736eaf63394c21a7c4caaa7c1","aux_id":"ToTheBeginning/ComfyUI-DreamO","cnr_id":"dreamo","Node name for S&R":"ApplyDreamO","widget_ue_connectable":{}},"widgets_values":[]},{"id":2086,"pos":[-5699.0908203125,3873.033935546875],"mode":0,"size":[315,130],"type":"DualCLIPLoader","color":"#222","flags":{},"order":12,"inputs":[],"bgcolor":"#000","outputs":[{"name":"CLIP","type":"CLIP","links":[5319],"slot_index":0}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"DualCLIPLoader","widget_ue_connectable":{}},"widgets_values":["t5xxl_fp8_e4m3fn.safetensors","clip_l.safetensors","flux","default"]},{"id":2083,"pos":[-5703.95703125,4049.526123046875],"mode":0,"size":[311.81634521484375,60.429901123046875],"type":"VAELoader","color":"#222","flags":{},"order":13,"inputs":[],"bgcolor":"#000","outputs":[{"name":"VAE","type":"VAE","links":[5310,5315,5317,5321],"slot_index":0}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"VAELoader","widget_ue_connectable":{}},"widgets_values":["ae.safetensors"]},{"id":2098,"pos":[-5655.443359375,4213.42724609375],"mode":0,"size":[140,246],"type":"PreviewImage","flags":{},"order":77,"inputs":[{"link":5326,"name":"images","type":"IMAGE"}],"outputs":[],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"PreviewImage","widget_ue_connectable":{}},"widgets_values":[]},{"id":2081,"pos":[-4998.22509765625,3847.146484375],"mode":0,"size":[422.8500061035156,164.30999755859375],"type":"CLIPTextEncode","color":"#222","flags":{"collapsed":true},"order":36,"title":"-","inputs":[{"link":5393,"name":"clip","type":"CLIP"}],"bgcolor":"#000","outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[5324],"slot_index":0}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"CLIPTextEncode","widget_ue_connectable":{}},"widgets_values":[""]},{"id":2092,"pos":[-4977.3427734375,4119.7958984375],"mode":0,"size":[272.6441345214844,98],"type":"DreamORefEncode","color":"#222","flags":{},"order":44,"inputs":[{"link":5380,"name":"pixels","type":"IMAGE"},{"link":5315,"name":"vae","type":"VAE"},{"link":5316,"name":"dreamo_processor","type":"DREAMO_PROCESSOR"},{"link":5446,"name":"ref_task","type":"COMBO","widget":{"name":"ref_task"}}],"bgcolor":"#000","outputs":[{"name":"LATENT","type":"LATENT","links":[5313]},{"name":"IMAGE","type":"IMAGE","links":[5305]}],"properties":{"ver":"c72fefe2f58f545736eaf63394c21a7c4caaa7c1","aux_id":"ToTheBeginning/ComfyUI-DreamO","cnr_id":"dreamo","Node name for S&R":"DreamORefEncode","widget_ue_connectable":{}},"widgets_values":["id"]},{"id":2082,"pos":[-4951.7822265625,3936.337158203125],"mode":0,"size":[207.18905639648438,26],"type":"DreamOProcessorLoader","color":"#222","flags":{},"order":14,"inputs":[],"bgcolor":"#000","outputs":[{"name":"DREAMO_PROCESSOR","type":"DREAMO_PROCESSOR","links":[5311,5316]}],"properties":{"ver":"c72fefe2f58f545736eaf63394c21a7c4caaa7c1","aux_id":"ToTheBeginning/ComfyUI-DreamO","cnr_id":"dreamo","Node name for S&R":"DreamOProcessorLoader","widget_ue_connectable":{}},"widgets_values":[]},{"id":2084,"pos":[-4937.02099609375,4019.12353515625],"mode":0,"size":[211.60000610351562,58],"type":"FluxGuidance","color":"#222","flags":{},"order":72,"inputs":[{"link":5307,"name":"conditioning","type":"CONDITIONING"},{"link":5462,"name":"guidance","type":"FLOAT","widget":{"name":"guidance"}}],"bgcolor":"#000","outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[5323],"slot_index":0}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"FluxGuidance","widget_ue_connectable":{}},"widgets_values":[2.6]},{"id":993,"pos":[-5871.17138671875,3932.603271484375],"mode":0,"size":[75,26],"type":"Reroute","color":"#222","flags":{},"order":62,"inputs":[{"link":5363,"name":"","type":"*","widget":{"name":"value"}}],"bgcolor":"#000","outputs":[{"name":"","type":"STRING","links":[5401]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":2087,"pos":[-4991.12939453125,3805.84130859375],"mode":0,"size":[422.8500061035156,164.30999755859375],"type":"CLIPTextEncode","color":"#222","flags":{"collapsed":true},"order":66,"title":"+","inputs":[{"link":5392,"name":"clip","type":"CLIP"},{"link":5401,"name":"text","type":"STRING","widget":{"name":"text"}}],"bgcolor":"#000","outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[5307],"slot_index":0}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"CLIPTextEncode","widget_ue_connectable":{"text":true}},"widgets_values":["A cheerful man with a friendly smile, standing in a park, wearing a colorful shirt with yellow, blue, and orange panels over a white t-shirt"]},{"id":2099,"pos":[-4489.2685546875,3808.997802734375],"mode":4,"size":[270,78],"type":"LatentBlend","flags":{"collapsed":true},"order":49,"inputs":[{"link":5327,"name":"samples1","type":"LATENT"},{"link":5328,"name":"samples2","type":"LATENT"}],"outputs":[{"name":"LATENT","type":"LATENT","links":[]}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"LatentBlend","widget_ue_connectable":{}},"widgets_values":[0.10000000000000002]},{"id":2119,"pos":[-6304.3603515625,4090.939453125],"mode":0,"size":[320,82],"type":"AILab_ColorInput","color":"#2e3e57","flags":{"collapsed":true},"order":15,"inputs":[],"bgcolor":"#4b5b73","outputs":[{"name":"COLOR","type":"COLOR","links":[5381,5382]}],"properties":{"Node name for S&R":"AILab_ColorInput"},"widgets_values":["white",""]},{"id":2142,"pos":[-7700.6953125,4419.9052734375],"mode":4,"size":[502.4033508300781,118.88443756103516],"type":"Display Any (rgthree)","flags":{},"order":68,"inputs":[{"dir":3,"link":5427,"name":"source","type":"*"}],"outputs":[],"properties":{"Node name for S&R":"Display Any (rgthree)"},"widgets_values":["ip"]},{"id":2135,"pos":[-7440.7412109375,4169.36181640625],"mode":4,"size":[400,200],"type":"StringReplace","flags":{"collapsed":true},"order":59,"inputs":[{"link":5435,"name":"string","type":"STRING","widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[5423]}],"properties":{"Node name for S&R":"StringReplace"},"widgets_values":["","\"prompt\": ",""]},{"id":2094,"pos":[-4227.44384765625,3785.2255859375],"mode":4,"size":[140,46],"type":"VAEEncode","color":"#222","flags":{},"order":45,"inputs":[{"link":5384,"name":"pixels","type":"IMAGE"},{"link":5317,"name":"vae","type":"VAE"}],"bgcolor":"#000","outputs":[{"name":"LATENT","type":"LATENT","links":[5328]}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"VAEEncode","widget_ue_connectable":{}},"widgets_values":[]},{"id":2093,"pos":[-4882.14599609375,3780.373291015625],"mode":0,"size":[315,106],"type":"EmptySD3LatentImage","color":"#222","flags":{},"order":35,"inputs":[{"link":5388,"name":"width","type":"INT","widget":{"name":"width"}},{"link":5389,"name":"height","type":"INT","widget":{"name":"height"}}],"bgcolor":"#000","outputs":[{"name":"LATENT","type":"LATENT","links":[5327,5390],"slot_index":0}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"EmptySD3LatentImage","widget_ue_connectable":{"width":true,"height":true}},"widgets_values":[1024,1024,1]},{"id":2090,"pos":[-4964.96630859375,4269.21337890625],"mode":0,"size":[272.6441345214844,98],"type":"DreamORefEncode","color":"#222","flags":{},"order":46,"inputs":[{"link":5383,"name":"pixels","type":"IMAGE"},{"link":5310,"name":"vae","type":"VAE"},{"link":5311,"name":"dreamo_processor","type":"DREAMO_PROCESSOR"},{"link":5447,"name":"ref_task","type":"COMBO","widget":{"name":"ref_task"}}],"bgcolor":"#000","outputs":[{"name":"LATENT","type":"LATENT","links":[5314]},{"name":"IMAGE","type":"IMAGE","links":[5309]}],"properties":{"ver":"c72fefe2f58f545736eaf63394c21a7c4caaa7c1","aux_id":"ToTheBeginning/ComfyUI-DreamO","cnr_id":"dreamo","Node name for S&R":"DreamORefEncode","widget_ue_connectable":{}},"widgets_values":["ip"]},{"id":2145,"pos":[-7533.18408203125,4137.671875],"mode":4,"size":[400,214],"type":"ComfyUIDeployExternalEnum","flags":{"collapsed":true},"order":71,"inputs":[{"link":5439,"name":"options","type":"STRING","shape":7,"widget":{"name":"options"}}],"outputs":[{"name":"text","type":"*","links":[5440]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalEnum"},"widgets_values":["ref_task_1","id","[\"ip\",\"id\",\"style\"]","",""]},{"id":2143,"pos":[-7321.205078125,4376.31689453125],"mode":4,"size":[400,200],"type":"StringReplace","flags":{"collapsed":true},"order":64,"inputs":[{"link":5428,"name":"string","type":"STRING","widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[5427,5442]}],"properties":{"Node name for S&R":"StringReplace"},"widgets_values":["","\"",""]},{"id":2141,"pos":[-7463.02099609375,4380.59716796875],"mode":4,"size":[400,200],"type":"StringReplace","flags":{"collapsed":true},"order":60,"inputs":[{"link":5443,"name":"string","type":"STRING","widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[5428]}],"properties":{"Node name for S&R":"StringReplace"},"widgets_values":["","\"ref_task2\": ",""]},{"id":2138,"pos":[-7465.92041015625,3945.327392578125],"mode":4,"size":[401.63446044921875,206.53807067871094],"type":"StringReplace","flags":{"collapsed":true},"order":61,"inputs":[{"link":5433,"name":"string","type":"STRING","widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[5426]}],"properties":{"Node name for S&R":"StringReplace"},"widgets_values":["","\"ref_task1\": ",""]},{"id":2118,"pos":[-7674.7060546875,4377.01611328125],"mode":4,"size":[271.34014892578125,382.8075866699219],"type":"Display_Text","flags":{"collapsed":true},"order":56,"inputs":[{"link":5385,"name":"context","type":"*"}],"outputs":[{"name":"context","type":"*","links":[]},{"name":"text_list","type":"STRING","links":null,"shape":6},{"name":"count","type":"INT","links":null},{"name":"selected","type":"STRING","links":[5443]},{"name":"text_full","type":"STRING","links":null}],"properties":{"Node name for S&R":"Display_Text"},"widgets_values":["5","{\n  \"prompt\": \"a smiling man at the park wearing a color-block shirt with yellow, blue, and orange sections over a white inner shirt, casual and relaxed pose\",\n  \"seed\": -1,\n  \"guidance\": 3.5,\n  \"ref_task1\": \"id\",\n  \"ref_task2\": \"ip\"\n}"]},{"id":2108,"pos":[-7673.2431640625,3942.935791015625],"mode":4,"size":[271.34014892578125,382.8075866699219],"type":"Display_Text","flags":{"collapsed":true},"order":57,"inputs":[{"link":5410,"name":"context","type":"*"}],"outputs":[{"name":"context","type":"*","links":[]},{"name":"text_list","type":"STRING","links":null,"shape":6},{"name":"count","type":"INT","links":null},{"name":"selected","type":"STRING","links":[5433]},{"name":"text_full","type":"STRING","links":null}],"properties":{"Node name for S&R":"Display_Text"},"widgets_values":["4","{\n  \"prompt\": \"a smiling man at the park wearing a color-block shirt with yellow, blue, and orange sections over a white inner shirt, casual and relaxed pose\",\n  \"seed\": -1,\n  \"guidance\": 3.5,\n  \"ref_task1\": \"id\",\n  \"ref_task2\": \"ip\"\n}"]},{"id":2144,"pos":[-7349.83642578125,4582.134765625],"mode":4,"size":[400,214],"type":"ComfyUIDeployExternalEnum","flags":{"collapsed":true},"order":69,"inputs":[{"link":5442,"name":"options","type":"STRING","shape":7,"widget":{"name":"options"}}],"outputs":[{"name":"text","type":"*","links":[5437]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalEnum"},"widgets_values":["ref_task_2","ip","[\"ip\",\"id\",\"style\"]","",""]},{"id":2125,"pos":[-6167.71630859375,4633.376953125],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":74,"inputs":[{"link":5440,"name":"","type":"*"}],"outputs":[{"name":"","type":"*","links":[]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":2127,"pos":[-6162.83544921875,4677.22021484375],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":73,"inputs":[{"link":5437,"name":"","type":"*"}],"outputs":[{"name":"","type":"*","links":[]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":2146,"pos":[-6169.39892578125,4492.0390625],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":37,"inputs":[{"link":5453,"name":"","type":"*","widget":{"name":"value"}}],"outputs":[{"name":"","type":"*","links":[5446]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":2147,"pos":[-6166.5751953125,4533.455078125],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":38,"inputs":[{"link":5454,"name":"","type":"*","widget":{"name":"value"}}],"outputs":[{"name":"","type":"*","links":[5447]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":533,"pos":[-9135.6064453125,4033.6025390625],"mode":0,"size":[404.58721923828125,321.0223388671875],"type":"ComfyUIDeployExternalText","flags":{},"order":16,"inputs":[],"outputs":[{"name":"text","type":"STRING","links":[2494]}],"properties":{"ver":"b889f79baf9e099d5e54bd20bab4aa1e7c3296c0","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalText","widget_ue_connectable":{}},"widgets_values":["ACTION_MANUAL_PROMPT","\"prompt\": \"A man smiling at the park, wearing a colorful shirt with yellow, blue, and orange patches over a white t-shirt. He has short hair and a cheerful expression.\"","",""]},{"id":2101,"pos":[-8206.58203125,3728.13671875],"mode":4,"size":[429.72283935546875,293.3409423828125],"type":"PromptManager","color":"#222","flags":{},"order":53,"inputs":[{"link":5452,"name":"context","type":"*","shape":7},{"link":5355,"name":"image","type":"IMAGE","shape":7},{"link":null,"name":"mask","type":"MASK","shape":7},{"link":null,"name":"video","type":"IMAGE","shape":7},{"link":5451,"name":"text_prompt","type":"STRING","shape":7,"widget":{"name":"text_prompt"}}],"bgcolor":"#000","outputs":[{"name":"context","type":"*","links":[5343]}],"properties":{"ver":"3d82dbfe091d84868212e5f275deb5447fa4e659","cnr_id":"llm-toolkit","Node name for S&R":"PromptManager","widget_ue_connectable":{}},"widgets_values":["You are **DreamO-Prompt-Generator v1.2**\n\n════════════════════════════════════════\nInputs you will receive\n────────────────────────────────────────\n• ref_image1_caption  ← always (short description, e.g. “front-view selfie of a man”)\n• ref_image2_caption  ← optional\n• user_mode           ← one of:\n                       id_customization | ip_customization |\n                       style_customization | try-on\n• user_hint           ← one-line scene / motive description\n• seed                ← integer or –1 (optional)\n\nReturn **ONLY** this JSON  (no extra keys, no commentary):\n\n{\n  \"prompt\": \"<dreamo_prompt>\",\n  \"seed\": <int>,                   // use -1 if none given\n  \"guidance\": <float>,             // default 3.5, 2.8 if face looks glossy\n  \"ref_task1\": \"<id|ip|style>\",\n  \"ref_task2\": \"<id|ip|style>\"     // omit if only one image\n}\n\n════════════════════════════════════════\nPrompt-building rules\n────────────────────────────────────────\n1. **Normalise user mode**  \n   • id_customization     → global_mode = ID  \n   • ip_customization     → global_mode = IP  \n   • style_customization  → global_mode = STYLE  \n   • try-on               → global_mode = TRYON\n\n2. **Image-to-Task mapping**  \n   For each `ref_image#_caption`, choose `ref_task#` as follows  \n   ─ person / face words (man, woman, selfie, portrait …)     → id  \n   ─ garment words (shirt, jacket, dress, pants, hat …)        → ip  \n   ─ art-style words (painting, watercolor, pixel-art, brush …)→ style  \n   ─ otherwise fall back to:\n     • TRYON mode  → id for the *first* caption that contains a person, ip for all others  \n     • Other modes → the global_mode\n\n3. **Multi-condition ordering**  \n   When more than one task is present, order their concepts in the textual\n   prompt as **ID → IP → Style** to reduce feature conflict.\n\n4. **Style** tasks must start the prompt with  \n   “generate a same style image.” (DreamO requirement).\n\n5. **ID** tasks must describe only facial aspects (& pose), ignore clothes.\n\n6. **IP** tasks must mention the transferred object / garment, avoid style words.\n\n7. **Try-On** mode:\n   • If both id & ip are present, describe wearer (implicit) plus garment(s).  \n   • If two garment captions (ip + ip), describe both garments on an implicit model.  \n\n8. Never include the strings id, ip, style, try-on inside the “prompt” value.\n\n9. Vivid, concrete language only—no generic clichés like “masterpiece”.\n\n10. Seed passthrough; guidance default 3.5 (lower to 2.8 for glossy faces).\n\n11. Finish with *exactly* the JSON blob—no prose, no Markdown.\n\nuser_task:Try-On\nuser_hint:A man at the Park","","",""]},{"id":2148,"pos":[-8691.755859375,4118.12451171875],"mode":0,"size":[404.58721923828125,321.0223388671875],"type":"ComfyUIDeployExternalText","flags":{"collapsed":true},"order":17,"inputs":[],"outputs":[{"name":"text","type":"STRING","links":[5448]}],"properties":{"ver":"b889f79baf9e099d5e54bd20bab4aa1e7c3296c0","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalText","widget_ue_connectable":{}},"widgets_values":["SYS_PROMPT"," You are **DreamO-Prompt-Generator v1.2**\n\n════════════════════════════════════════\nInputs you will receive\n────────────────────────────────────────\n• ref_image1_caption  ← always (short description, e.g. “front-view selfie of a man”)\n• ref_image2_caption  ← optional\n• user_mode           ← one of:\n                       id_customization | ip_customization |\n                       style_customization | try-on\n• user_hint           ← one-line scene / motive description\n• seed                ← integer or –1 (optional)\n\nReturn **ONLY** this JSON  (no extra keys, no commentary):\n\n{\n  \"prompt\": \"<dreamo_prompt>\",\n  \"seed\": <int>,                   // use -1 if none given\n  \"guidance\": <float>,             // default 3.5, 2.8 if face looks glossy\n  \"ref_task1\": \"<id|ip|style>\",\n  \"ref_task2\": \"<id|ip|style>\"     // omit if only one image\n}\n\n════════════════════════════════════════\nPrompt-building rules\n────────────────────────────────────────\n1. **Normalise user mode**  \n   • id_customization     → global_mode = ID  \n   • ip_customization     → global_mode = IP  \n   • style_customization  → global_mode = STYLE  \n   • try-on               → global_mode = TRYON\n\n2. **Image-to-Task mapping**  \n   For each `ref_image#_caption`, choose `ref_task#` as follows  \n   ─ person / face words (man, woman, selfie, portrait …)     → id  \n   ─ garment words (shirt, jacket, dress, pants, hat …)        → ip  \n   ─ art-style words (painting, watercolor, pixel-art, brush …)→ style  \n   ─ otherwise fall back to:\n     • TRYON mode  → id for the *first* caption that contains a person, ip for all others  \n     • Other modes → the global_mode\n\n3. **Multi-condition ordering**  \n   When more than one task is present, order their concepts in the textual\n   prompt as **ID → IP → Style** to reduce feature conflict.\n\n4. **Style** tasks must start the prompt with  \n   “generate a same style image.” (DreamO requirement).\n\n5. **ID** tasks must describe only facial aspects (& pose), ignore clothes.\n\n6. **IP** tasks must mention the transferred object / garment, avoid style words.\n\n7. **Try-On** mode:\n   • If both id & ip are present, describe wearer (implicit) plus garment(s).  \n   • If two garment captions (ip + ip), describe both garments on an implicit model.  \n\n8. Never include the strings id, ip, style, try-on inside the “prompt” value.\n\n9. Vivid, concrete language only—no generic clichés like “masterpiece”.\n\n10. Seed passthrough; guidance default 3.5 (lower to 2.8 for glossy faces).\n\n11. Finish with *exactly* the JSON blob—no prose, no Markdown.\n\n","",""]},{"id":309,"pos":[-8606.6669921875,3748.685302734375],"mode":0,"size":[283.5269470214844,58],"type":"OpenAIProviderNode","flags":{},"order":25,"inputs":[{"link":null,"name":"context","type":"*","shape":7},{"link":2068,"name":"llm_model","type":"STRING","widget":{"name":"llm_model"}}],"outputs":[{"name":"context","type":"*","links":[5452]}],"properties":{"ver":"3d82dbfe091d84868212e5f275deb5447fa4e659","cnr_id":"llm-toolkit","llm_model":"omni-moderation-2024-09-26","Node name for S&R":"OpenAIProviderNode","widget_ue_connectable":{"llm_model":true}},"widgets_values":["omni-moderation-2024-09-26"]},{"id":2124,"pos":[-9135.0732421875,4400.9541015625],"mode":0,"size":[210,214],"type":"ComfyUIDeployExternalEnum","flags":{},"order":18,"inputs":[],"outputs":[{"name":"text","type":"*","links":[5402]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalEnum"},"widgets_values":["ref_task_1","id","[\"ip\",\"id\",\"style\"]","",""]},{"id":2126,"pos":[-8915.6015625,4400.9658203125],"mode":0,"size":[210,214],"type":"ComfyUIDeployExternalEnum","flags":{},"order":19,"inputs":[],"outputs":[{"name":"text","type":"*","links":[5403]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalEnum"},"widgets_values":["ref_task_2","ip","[\"ip\",\"id\",\"style\"]","",""]},{"id":2128,"pos":[-6166.56689453125,4763.84814453125],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":30,"inputs":[{"link":5402,"name":"","type":"*","widget":{"name":"value"}}],"outputs":[{"name":"","type":"*","links":[5453]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":2129,"pos":[-6163.7431640625,4805.26416015625],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":31,"inputs":[{"link":5403,"name":"","type":"*","widget":{"name":"value"}}],"outputs":[{"name":"","type":"*","links":[5454]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":2151,"pos":[-8699.916015625,4172.5029296875],"mode":0,"size":[396.9245910644531,269.33819580078125],"type":"ComfyUIDeployExternalText","color":"#223","flags":{},"order":20,"inputs":[],"bgcolor":"#335","outputs":[{"name":"text","type":"STRING","links":[5450]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalText"},"widgets_values":["TASK_PROMPT","\nuser_task:Try-On\nuser_hint:A man at the Park","","• user_mode           ← one of:\n                       id_customization | ip_customization |\n                       style_customization | try-on\n• user_hint           ← one-line scene / motive description\n\n"]},{"id":2137,"pos":[-7314.52490234375,4167.42236328125],"mode":4,"size":[400,200],"type":"StringReplace","flags":{"collapsed":true},"order":63,"inputs":[{"link":5423,"name":"string","type":"STRING","widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[5424]}],"properties":{"Node name for S&R":"StringReplace"},"widgets_values":["","\"",""]},{"id":2136,"pos":[-7698.0732421875,4211.06787109375],"mode":4,"size":[502.4033508300781,118.88443756103516],"type":"Display Any (rgthree)","flags":{},"order":67,"inputs":[{"dir":3,"link":5424,"name":"source","type":"*"}],"outputs":[],"properties":{"Node name for S&R":"Display Any (rgthree)"},"widgets_values":["a smiling man at the park wearing a color-block shirt with yellow, blue, and orange sections over a white inner shirt, casual and relaxed pose,"]},{"id":2139,"pos":[-7686.6669921875,3989.85791015625],"mode":4,"size":[502.4033508300781,118.88443756103516],"type":"Display Any (rgthree)","flags":{},"order":70,"inputs":[{"dir":3,"link":5425,"name":"source","type":"*"}],"outputs":[],"properties":{"Node name for S&R":"Display Any (rgthree)"},"widgets_values":["id,"]},{"id":2140,"pos":[-7307.86767578125,3944.786865234375],"mode":4,"size":[400,200],"type":"StringReplace","flags":{"collapsed":true},"order":65,"inputs":[{"link":5426,"name":"string","type":"STRING","widget":{"name":"string"}}],"outputs":[{"name":"STRING","type":"STRING","links":[5425,5439]}],"properties":{"Node name for S&R":"StringReplace"},"widgets_values":["","\"",""]},{"id":2150,"pos":[-7723.35498046875,3813.18408203125],"mode":0,"size":[270,58],"type":"PrimitiveString","flags":{},"order":32,"inputs":[{"link":5450,"name":"value","type":"STRING","widget":{"name":"value"}}],"outputs":[{"name":"STRING","type":"STRING","links":[5449]}],"properties":{"Node name for S&R":"PrimitiveString"},"widgets_values":[""]},{"id":2149,"pos":[-7443.93603515625,3735.07470703125],"mode":0,"size":[270,150],"type":"JoinStringMulti","flags":{},"order":39,"inputs":[{"link":5448,"name":"string_1","type":"STRING"},{"link":5449,"name":"string_2","type":"STRING"}],"outputs":[{"name":"string","type":"STRING","links":[5451]}],"properties":{"Node name for S&R":"JoinStringMulti"},"widgets_values":[2," ",false,null]},{"id":2102,"pos":[-8198.4951171875,4066.769775390625],"mode":4,"size":[427.4910583496094,238.13401794433594],"type":"LLMToolkitTextGeneratorStream","color":"#222","flags":{},"order":54,"inputs":[{"link":5343,"name":"context","type":"*","shape":7}],"bgcolor":"#000","outputs":[{"name":"context","type":"*","links":[5342,5385,5410]}],"properties":{"ver":"3d82dbfe091d84868212e5f275deb5447fa4e659","cnr_id":"llm-toolkit","Node name for S&R":"LLMToolkitTextGeneratorStream","widget_ue_connectable":{}},"widgets_values":["gpt-4o-mini","Write a detailed description of a futuristic city.","{\n  \"prompt\": \"a smiling man at the park wearing a color-block shirt with yellow, blue, and orange sections over a white inner shirt, casual and relaxed pose\",\n  \"seed\": -1,\n  \"guidance\": 3.5,\n  \"ref_task1\": \"id\",\n  \"ref_task2\": \"ip\"\n}"]},{"id":2100,"pos":[-8195.3046875,4301.896484375],"mode":4,"size":[418.9125061035156,263.6280517578125],"type":"Display_Text","color":"#222","flags":{"collapsed":false},"order":55,"inputs":[{"link":5342,"name":"context","type":"*"}],"bgcolor":"#000","outputs":[{"name":"context","type":"*","links":[]},{"name":"text_list","type":"STRING","links":null,"shape":6},{"name":"count","type":"INT","links":[]},{"name":"selected","type":"STRING","links":[5419,5435]},{"name":"text_full","type":"STRING","links":[]}],"properties":{"ver":"3d82dbfe091d84868212e5f275deb5447fa4e659","cnr_id":"llm-toolkit","Node name for S&R":"Display_Text","widget_ue_connectable":{}},"widgets_values":["1","{\n  \"prompt\": \"a smiling man at the park wearing a color-block shirt with yellow, blue, and orange sections over a white inner shirt, casual and relaxed pose\",\n  \"seed\": -1,\n  \"guidance\": 3.5,\n  \"ref_task1\": \"id\",\n  \"ref_task2\": \"ip\"\n}"]},{"id":2121,"pos":[-5503.44189453125,4323.20947265625],"mode":0,"size":[413.3069763183594,214.31890869140625],"type":"MarkdownNote","color":"#432","flags":{},"order":21,"inputs":[],"bgcolor":"#653","outputs":[],"properties":{},"widgets_values":["ID vs IP vs Style – These are the only three tags the DreamO Ref Image Encode node accepts – the higher-level user modes must therefore be converted first \ngithub.com\n.\n\nPerson → ID – DreamO leverages InstantID / PuLID for facial fidelity \n\n\n\nGarment → IP – Clothes or objects resemble the IP-Adapter pathway \n\n\nArt style → Style – Model copies stroke-level aesthetics, akin to Style-Adapter or HiCAST \n\n\nTry-On heuristic – Virtual try-on literature pairs ID (person) + IP (garment) for natural composites \n\n\nGlossy-face tip – Lower CFG mitigates the synthetic shine issue noted by DreamO devs and community users \ncomfydeploy.com\n"]},{"id":1856,"pos":[-9549.5859375,5142.56201171875],"mode":4,"size":[7257.12890625,120],"type":"Label (rgthree)","color":"#fff0","flags":{"allow_interaction":true},"order":22,"title":"::: tip 💡To fire off **Automatic prompts**, make sure your  `OPENAI_API_KEY` is set in **Machine Secrets** connect the bridges to auto.","inputs":[],"bgcolor":"#fff0","outputs":[],"properties":{"padding":0,"fontSize":120,"fontColor":"#999999","textAlign":"left","fontFamily":"Arial","borderRadius":0,"backgroundColor":"\n\n\n\n\n\n\n\n#e6ccff"}},{"id":2123,"pos":[-4264.4013671875,3844.966064453125],"mode":0,"size":[645.3040161132812,946.2944946289062],"type":"SaveImage","flags":{},"order":78,"inputs":[{"link":5391,"name":"images","type":"IMAGE"}],"outputs":[],"properties":{},"widgets_values":["ComfyUI"]},{"id":2157,"pos":[-8696.5009765625,4499.12353515625],"mode":0,"size":[400,208],"type":"ComfyUIDeployExternalNumberSlider","flags":{"collapsed":false},"order":23,"inputs":[],"outputs":[{"name":"value","type":"FLOAT","links":[5462]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalNumberSlider"},"widgets_values":["guidance",1.6000000000000003,0,10.000000000000002,"",""]},{"id":2097,"pos":[-4625.16455078125,4174.1962890625],"mode":0,"size":[315,474.00006103515625],"type":"KSampler","color":"#222","flags":{},"order":75,"inputs":[{"link":5322,"name":"model","type":"MODEL"},{"link":5323,"name":"positive","type":"CONDITIONING"},{"link":5324,"name":"negative","type":"CONDITIONING"},{"link":5390,"name":"latent_image","type":"LATENT"},{"link":5341,"name":"seed","type":"INT","widget":{"name":"seed"}}],"bgcolor":"#000","outputs":[{"name":"LATENT","type":"LATENT","links":[5320],"slot_index":0}],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"KSampler","widget_ue_connectable":{}},"widgets_values":[719041038292610,"randomize",10,1,"euler","simple",1]},{"id":2095,"pos":[-5366.03466796875,3745.346923828125],"mode":0,"size":[324.8211669921875,310],"type":"Power Lora Loader (rgthree)","color":"#222","flags":{},"order":28,"inputs":[{"dir":3,"link":5318,"name":"model","type":"MODEL"},{"dir":3,"link":5319,"name":"clip","type":"CLIP"}],"bgcolor":"#000","outputs":[{"dir":4,"name":"MODEL","type":"MODEL","links":[5312],"shape":3},{"dir":4,"name":"CLIP","type":"CLIP","links":[5392,5393],"shape":3}],"properties":{"ver":"84a146fee39f7b3a8c6631dcac29bc13b077eb49","cnr_id":"rgthree-comfy","Show Strengths":"Single Strength","widget_ue_connectable":{}},"widgets_values":[{},{"type":"PowerLoraLoaderHeaderWidget"},{"on":false,"lora":"flux1-depth-dev-lora.safetensors","strength":1,"strengthTwo":null},{"on":false,"lora":"flux1-canny-dev-lora.safetensors","strength":1,"strengthTwo":null},{"on":true,"lora":"DreamO/comfyui/dreamo_comfyui.safetensors","strength":1,"strengthTwo":null},{"on":true,"lora":"DreamO/comfyui/dreamo_cfg_distill_comfyui.safetensors","strength":1,"strengthTwo":null},{"on":true,"lora":"DreamO/dreamo_quality_lora_pos.safetensors","strength":0.33,"strengthTwo":null},{"on":true,"lora":"DreamO/comfyui/dreamo_quality_lora_neg_comfyui.safetensors","strength":-0.66,"strengthTwo":null},{"on":true,"lora":"FLUX.1-turbo-Alpha.safetensors","strength":1,"strengthTwo":null},{"on":false,"lora":"flux/flux_realism_lora.safetensors","strength":0.95,"strengthTwo":null},{},""]}],"config":{},"groups":[{"id":46,"color":"#88A","flags":{},"title":"SIZE","bounding":[-5924.5234375,4130.5439453125,99.70211791992188,125.5982894897461],"font_size":24},{"id":47,"color":"#88A","flags":{},"title":"SEED","bounding":[-5923.025390625,4038.3056640625,95,79.5999984741211],"font_size":24},{"id":49,"color":"#444","flags":{},"title":"SIZE_CONTR~OL","bounding":[-6056.8740234375,4304.1640625,239.81097412109375,531.699951171875],"font_size":24},{"id":66,"color":"#444","flags":{},"title":"EXTERNAL_NODES","bounding":[-9147.1181640625,3675.085205078125,860.6171875,1042.0382080078125],"font_size":24},{"id":67,"color":"#444","flags":{},"title":"BATCH_IMAGES_REFs","bounding":[-6037.49072265625,3538.631591796875,290,272.4183654785156],"font_size":24},{"id":121,"color":"#88A","flags":{},"title":"MANUAL_PROMPT","bounding":[-6047.75390625,3842.41650390625,95,79.5999984741211],"font_size":24},{"id":122,"color":"#444","flags":{},"title":"Prompt_bridge","bounding":[-5881.17138671875,3889.003173828125,95,79.5999984741211],"font_size":24},{"id":123,"color":"#A88","flags":{},"title":"AUTO_PROMPT","bounding":[-6049.04443359375,3952.95556640625,95,79.5999984741211],"font_size":24},{"id":190,"color":"#3f789e","flags":{},"title":"REF_IMAGE_1","bounding":[-7129.74853515625,3590.615966796875,1053.3349609375,397.6000061035156],"font_size":24},{"id":191,"color":"#3f789e","flags":{},"title":"REF_IMAGE_2","bounding":[-7127.94677734375,4025.777099609375,1053.3349609375,397.6000061035156],"font_size":24},{"id":196,"color":"#444","flags":{},"title":"DREAMO","bounding":[-5728.16748046875,3643.673828125,1452.1258544921875,1182.4351806640625],"font_size":24},{"id":195,"color":"#444","flags":{},"title":"CAST_ACTOR_ON_ROLE","bounding":[-5015.91650390625,3697.420166015625,729.529052734375,1117.18603515625],"font_size":24},{"id":197,"color":"#444","flags":{},"title":"PROMPT_AUTO","bounding":[-8216.58203125,3654.540283203125,1064.804443359375,990.492431640625],"font_size":24},{"id":198,"color":"#3f789e","flags":{},"title":"SIMILARiTY","bounding":[-4516.15869140625,3741.938720703125,191.58837890625,246.49649047851562],"font_size":24},{"id":199,"color":"#88A","flags":{},"title":"MANUAL_TASK","bounding":[-6176.56689453125,4720.24853515625,97.82373046875,121.0160140991211],"font_size":24},{"id":200,"color":"#A88","flags":{},"title":"AUTO_TASK","bounding":[-6177.71630859375,4589.77685546875,99.880859375,123.4427719116211],"font_size":24},{"id":201,"color":"#444","flags":{},"title":"TASK_BRIDGE","bounding":[-6179.39892578125,4448.43896484375,97.82373046875,121.0160140991211],"font_size":24}],"version":0.4,"revision":0,"environment":{"gpu":"A10G","extra_args":null,"run_timeout":300,"machine_hash":"210cb5ca86bf97f12a39fb6cc3c465ba1256e72fef01218fa2012e8b70302c3c","max_containers":1,"min_containers":0,"python_version":"3.11","comfyui_version":"483b3e62e00624fc52da8ad67e88f863abe975d2","disable_metadata":true,"prestart_command":null,"scaledown_window":60,"base_docker_image":null,"docker_command_steps":{"steps":[{"id":"9d8ed0a7-2","data":{"url":"https://github.com/kijai/ComfyUI-KJNodes","hash":"f7eb33abc80a2aded1b46dff0dd14d07856a7d50","meta":{"message":"I remembered\n\nShould keep the id or node title methods viable, though not recommended","committer":{"date":"2025-06-18T08:03:51.000Z","name":"kijai","email":"40791699+kijai@users.noreply.github.com"},"commit_url":"https://github.com/kijai/ComfyUI-KJNodes/commit/f7eb33abc80a2aded1b46dff0dd14d07856a7d50","latest_hash":"f7eb33abc80a2aded1b46dff0dd14d07856a7d50","stargazers_count":1462},"name":"KJNodes for ComfyUI","files":["https://github.com/kijai/ComfyUI-KJNodes"],"install_type":"git-clone"},"type":"custom-node"},{"id":"173561d5-4","data":{"url":"https://github.com/comfy-deploy/comfyui-llm-toolkit","hash":"d8b0243e94e935d846c3235a85e07c43cd17598a","meta":{"message":"Update pyproject.toml","committer":{"date":"2025-06-18T01:48:53.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/comfy-deploy/comfyui-llm-toolkit/commit/d8b0243e94e935d846c3235a85e07c43cd17598a","latest_hash":"d8b0243e94e935d846c3235a85e07c43cd17598a","stargazers_count":19},"name":"ComfyUI LLM Toolkit","files":["https://github.com/comfy-deploy/comfyui-llm-toolkit"],"install_type":"git-clone"},"type":"custom-node"},{"id":"fe2a7605-7","data":{"url":"https://github.com/1038lab/ComfyUI-RMBG","hash":"8577848f31ed7dcf19b920451e7e90fad17cbc3b","meta":{"message":"Add files via upload","committer":{"date":"2025-06-01T21:28:56.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/1038lab/ComfyUI-RMBG/commit/8577848f31ed7dcf19b920451e7e90fad17cbc3b","latest_hash":"8577848f31ed7dcf19b920451e7e90fad17cbc3b","stargazers_count":1073},"name":"ComfyUI-RMBG","files":["https://github.com/1038lab/ComfyUI-RMBG"],"install_type":"git-clone"},"type":"custom-node"},{"id":"a62f600b-2","data":{"url":"https://github.com/rgthree/rgthree-comfy","hash":"84a146fee39f7b3a8c6631dcac29bc13b077eb49","meta":{"message":"Inc version","committer":{"date":"2025-06-08T16:10:06.000Z","name":"rgthree","email":"regis.gaughan@gmail.com"},"commit_url":"https://github.com/rgthree/rgthree-comfy/commit/84a146fee39f7b3a8c6631dcac29bc13b077eb49","latest_hash":"84a146fee39f7b3a8c6631dcac29bc13b077eb49","stargazers_count":1975},"name":"rgthree's ComfyUI Nodes","files":["https://github.com/rgthree/rgthree-comfy"],"install_type":"git-clone"},"type":"custom-node"},{"id":"be7c5c57-c","data":{"url":"https://github.com/ToTheBeginning/ComfyUI-DreamO","hash":"f06ceed56a6689738c86cd85dc34d56f5f5cf15e","meta":{"message":"Merge pull request #18 from krapshsa/main\n\nfix(deps): add timm to requirements","committer":{"date":"2025-06-12T03:46:59.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/ToTheBeginning/ComfyUI-DreamO/commit/f06ceed56a6689738c86cd85dc34d56f5f5cf15e","latest_hash":"f06ceed56a6689738c86cd85dc34d56f5f5cf15e","stargazers_count":133},"name":"DreamO Comfyui","files":["https://github.com/ToTheBeginning/ComfyUI-DreamO"],"install_type":"git-clone"},"type":"custom-node"},{"id":"3e687e92-6","data":{"pip":[],"url":"https://github.com/BennyKok/comfyui-deploy","hash":"089bad55605392860e59476a4c2765bfc772750b","name":"ComfyUI Deploy","files":[],"install_type":"git-clone"},"type":"custom-node"}]},"extra_docker_commands":null,"install_custom_node_with_gpu":false},"last_link_id":5465,"last_node_id":2160,"workflow_api":{"302":{"_meta":{"title":"External Text (ComfyUI Deploy)"},"inputs":{"input_id":"llm_model","description":"03-mini, \ngpt-4.5-preview-2025-02-27,","display_name":"","default_value":"gpt-4.1-mini"},"class_type":"ComfyUIDeployExternalText"},"309":{"_meta":{"title":"OpenAI Provider (LLMToolkit)"},"inputs":{"llm_model":["302",0]},"class_type":"OpenAIProviderNode"},"358":{"_meta":{"title":"Height"},"inputs":{"value":768},"class_type":"INTConstant"},"359":{"_meta":{"title":"Width"},"inputs":{"value":1280},"class_type":"INTConstant"},"360":{"_meta":{"title":"Height"},"inputs":{"value":1280},"class_type":"INTConstant"},"361":{"_meta":{"title":"Width"},"inputs":{"value":720},"class_type":"INTConstant"},"533":{"_meta":{"title":"External Text (ComfyUI Deploy)"},"inputs":{"input_id":"ACTION_MANUAL_PROMPT","description":"","display_name":"","default_value":"\"prompt\": \"A man smiling at the park, wearing a colorful shirt with yellow, blue, and orange patches over a white t-shirt. He has short hair and a cheerful expression.\""},"class_type":"ComfyUIDeployExternalText"},"882":{"_meta":{"title":"Image Batch Multi"},"inputs":{"image_1":["2052",0],"image_2":["2055",0],"inputcount":2,"Update inputs":null},"class_type":"ImageBatchMulti"},"883":{"_meta":{"title":"Preview Image"},"inputs":{"images":["882",0]},"class_type":"PreviewImage"},"1059":{"_meta":{"title":"External Seed (ComfyUI Deploy)"},"inputs":{"input_id":"input_seed","max_value":4294967295,"min_value":1,"description":"For default value:\n\"-1\" (i.e. not in range): Randomize within the min and max value range. \nin range: Fixed, always the same value\n","display_name":"","default_value":-1},"class_type":"ComfyUIDeployExternalSeed"},"2051":{"_meta":{"title":"Load Image"},"inputs":{"image":"20b23c_d611d13ee0f54804a0468e8435d8ebab~mv2.webp"},"class_type":"LoadImage"},"2052":{"_meta":{"title":"Resize Image v2"},"inputs":{"image":["2051",0],"width":["361",0],"device":"cpu","height":["360",0],"pad_color":"255,255,255","divisible_by":16,"crop_position":"center","upscale_method":"lanczos","keep_proportion":"pad"},"class_type":"ImageResizeKJv2"},"2053":{"_meta":{"title":"BiRefNet Remove Background (RMBG)"},"inputs":{"image":["2052",0],"model":"BiRefNet-general","mask_blur":1,"background":"Color","mask_offset":0,"invert_output":false,"background_color":["2119",0],"refine_foreground":false},"class_type":"BiRefNetRMBG"},"2054":{"_meta":{"title":"Load Image"},"inputs":{"image":"@mrslm_2020 Men's colorful shirt.jpg"},"class_type":"LoadImage"},"2055":{"_meta":{"title":"Resize Image v2"},"inputs":{"image":["2054",0],"width":["361",0],"device":"cpu","height":["360",0],"pad_color":"255,255,255","divisible_by":16,"crop_position":"center","upscale_method":"lanczos","keep_proportion":"pad"},"class_type":"ImageResizeKJv2"},"2056":{"_meta":{"title":"BiRefNet Remove Background (RMBG)"},"inputs":{"image":["2055",0],"model":"BiRefNet-general","mask_blur":1,"background":"Color","mask_offset":0,"invert_output":false,"background_color":["2119",0],"refine_foreground":false},"class_type":"BiRefNetRMBG"},"2080":{"_meta":{"title":"Preview Image"},"inputs":{"images":["2092",1]},"class_type":"PreviewImage"},"2081":{"_meta":{"title":"-"},"inputs":{"clip":["2095",1],"text":""},"class_type":"CLIPTextEncode"},"2082":{"_meta":{"title":"DreamO Processor Loader"},"inputs":{},"class_type":"DreamOProcessorLoader"},"2083":{"_meta":{"title":"Load VAE"},"inputs":{"vae_name":"ae.safetensors"},"class_type":"VAELoader"},"2084":{"_meta":{"title":"FluxGuidance"},"inputs":{"guidance":["2157",0],"conditioning":["2087",0]},"class_type":"FluxGuidance"},"2085":{"_meta":{"title":"Load Diffusion Model"},"inputs":{"unet_name":"flux1-dev-fp8.safetensors","weight_dtype":"fp8_e5m2"},"class_type":"UNETLoader"},"2086":{"_meta":{"title":"DualCLIPLoader"},"inputs":{"type":"flux","device":"default","clip_name1":"t5xxl_fp8_e4m3fn.safetensors","clip_name2":"clip_l.safetensors"},"class_type":"DualCLIPLoader"},"2087":{"_meta":{"title":"+"},"inputs":{"clip":["2095",1],"text":"A cheerful man with a friendly smile, standing in a park, wearing a colorful shirt with yellow, blue, and orange panels over a white t-shirt"},"class_type":"CLIPTextEncode"},"2088":{"_meta":{"title":"Preview Image"},"inputs":{"images":["2090",1]},"class_type":"PreviewImage"},"2090":{"_meta":{"title":"DreamO Ref Image Encode"},"inputs":{"vae":["2083",0],"pixels":["2056",0],"ref_task":["2126",0],"dreamo_processor":["2082",0]},"class_type":"DreamORefEncode"},"2091":{"_meta":{"title":"Apply DreamO"},"inputs":{"ref1":["2092",0],"ref2":["2090",0],"model":["2095",0]},"class_type":"ApplyDreamO"},"2092":{"_meta":{"title":"DreamO Ref Image Encode"},"inputs":{"vae":["2083",0],"pixels":["2053",0],"ref_task":["2124",0],"dreamo_processor":["2082",0]},"class_type":"DreamORefEncode"},"2093":{"_meta":{"title":"EmptySD3LatentImage"},"inputs":{"width":["361",0],"height":["360",0],"batch_size":1},"class_type":"EmptySD3LatentImage"},"2095":{"_meta":{"title":"Power Lora Loader (rgthree)"},"inputs":{"clip":["2086",0],"model":["2085",0],"lora_1":{"on":false,"lora":"flux1-depth-dev-lora.safetensors","strength":1},"lora_2":{"on":false,"lora":"flux1-canny-dev-lora.safetensors","strength":1},"lora_3":{"on":true,"lora":"DreamO/comfyui/dreamo_comfyui.safetensors","strength":1},"lora_4":{"on":true,"lora":"DreamO/comfyui/dreamo_cfg_distill_comfyui.safetensors","strength":1},"lora_5":{"on":true,"lora":"DreamO/dreamo_quality_lora_pos.safetensors","strength":0.33},"lora_6":{"on":true,"lora":"DreamO/comfyui/dreamo_quality_lora_neg_comfyui.safetensors","strength":-0.66},"lora_7":{"on":true,"lora":"FLUX.1-turbo-Alpha.safetensors","strength":1},"lora_8":{"on":false,"lora":"flux/flux_realism_lora.safetensors","strength":0.95},"➕ Add Lora":"","PowerLoraLoaderHeaderWidget":{"type":"PowerLoraLoaderHeaderWidget"}},"class_type":"Power Lora Loader (rgthree)"},"2096":{"_meta":{"title":"VAE Decode"},"inputs":{"vae":["2083",0],"samples":["2097",0]},"class_type":"VAEDecode"},"2097":{"_meta":{"title":"KSampler"},"inputs":{"cfg":1,"seed":["1059",0],"model":["2091",0],"steps":10,"denoise":1,"negative":["2081",0],"positive":["2084",0],"scheduler":"simple","latent_image":["2093",0],"sampler_name":"euler"},"class_type":"KSampler"},"2098":{"_meta":{"title":"Preview Image"},"inputs":{"images":["2096",0]},"class_type":"PreviewImage"},"2119":{"_meta":{"title":"Color Input (RMBG) 🎨"},"inputs":{"color":"","preset":"white"},"class_type":"AILab_ColorInput"},"2123":{"_meta":{"title":"Save Image"},"inputs":{"images":["2096",0],"filename_prefix":"ComfyUI"},"class_type":"SaveImage"},"2124":{"_meta":{"title":"External Enum"},"inputs":{"options":"[\"ip\",\"id\",\"style\"]","input_id":"ref_task_1","description":"","display_name":"","default_value":"id"},"class_type":"ComfyUIDeployExternalEnum"},"2126":{"_meta":{"title":"External Enum"},"inputs":{"options":"[\"ip\",\"id\",\"style\"]","input_id":"ref_task_2","description":"","display_name":"","default_value":"ip"},"class_type":"ComfyUIDeployExternalEnum"},"2148":{"_meta":{"title":"External Text (ComfyUI Deploy)"},"inputs":{"input_id":"SYS_PROMPT","description":"","display_name":"","default_value":" You are **DreamO-Prompt-Generator v1.2**\n\n════════════════════════════════════════\nInputs you will receive\n────────────────────────────────────────\n• ref_image1_caption  ← always (short description, e.g. “front-view selfie of a man”)\n• ref_image2_caption  ← optional\n• user_mode           ← one of:\n                       id_customization | ip_customization |\n                       style_customization | try-on\n• user_hint           ← one-line scene / motive description\n• seed                ← integer or –1 (optional)\n\nReturn **ONLY** this JSON  (no extra keys, no commentary):\n\n{\n  \"prompt\": \"<dreamo_prompt>\",\n  \"seed\": <int>,                   // use -1 if none given\n  \"guidance\": <float>,             // default 3.5, 2.8 if face looks glossy\n  \"ref_task1\": \"<id|ip|style>\",\n  \"ref_task2\": \"<id|ip|style>\"     // omit if only one image\n}\n\n════════════════════════════════════════\nPrompt-building rules\n────────────────────────────────────────\n1. **Normalise user mode**  \n   • id_customization     → global_mode = ID  \n   • ip_customization     → global_mode = IP  \n   • style_customization  → global_mode = STYLE  \n   • try-on               → global_mode = TRYON\n\n2. **Image-to-Task mapping**  \n   For each `ref_image#_caption`, choose `ref_task#` as follows  \n   ─ person / face words (man, woman, selfie, portrait …)     → id  \n   ─ garment words (shirt, jacket, dress, pants, hat …)        → ip  \n   ─ art-style words (painting, watercolor, pixel-art, brush …)→ style  \n   ─ otherwise fall back to:\n     • TRYON mode  → id for the *first* caption that contains a person, ip for all others  \n     • Other modes → the global_mode\n\n3. **Multi-condition ordering**  \n   When more than one task is present, order their concepts in the textual\n   prompt as **ID → IP → Style** to reduce feature conflict.\n\n4. **Style** tasks must start the prompt with  \n   “generate a same style image.” (DreamO requirement).\n\n5. **ID** tasks must describe only facial aspects (& pose), ignore clothes.\n\n6. **IP** tasks must mention the transferred object / garment, avoid style words.\n\n7. **Try-On** mode:\n   • If both id & ip are present, describe wearer (implicit) plus garment(s).  \n   • If two garment captions (ip + ip), describe both garments on an implicit model.  \n\n8. Never include the strings id, ip, style, try-on inside the “prompt” value.\n\n9. Vivid, concrete language only—no generic clichés like “masterpiece”.\n\n10. Seed passthrough; guidance default 3.5 (lower to 2.8 for glossy faces).\n\n11. Finish with *exactly* the JSON blob—no prose, no Markdown.\n\n"},"class_type":"ComfyUIDeployExternalText"},"2149":{"_meta":{"title":"Join String Multi"},"inputs":{"string_1":["2148",0],"string_2":["2150",0],"delimiter":" ","inputcount":2,"return_list":false,"Update inputs":null},"class_type":"JoinStringMulti"},"2150":{"_meta":{"title":"String"},"inputs":{"value":["2151",0]},"class_type":"PrimitiveString"},"2151":{"_meta":{"title":"External Text (ComfyUI Deploy)"},"inputs":{"input_id":"TASK_PROMPT","description":"• user_mode           ← one of:\n                       id_customization | ip_customization |\n                       style_customization | try-on\n• user_hint           ← one-line scene / motive description\n\n","display_name":"","default_value":"\nuser_task:Try-On\nuser_hint:A man at the Park"},"class_type":"ComfyUIDeployExternalText"},"2157":{"_meta":{"title":"External Number Slider (ComfyUI Deploy)"},"inputs":{"input_id":"guidance","max_value":10.000000000000002,"min_value":0,"description":"","display_name":"","default_value":1.6000000000000003},"class_type":"ComfyUIDeployExternalNumberSlider"}}}