{"id":"7c32e4ad-4542-4e3c-b9e8-aaa30fdc38a5","extra":{"ds":{"scale":0.32349184307612777,"offset":[10196.217621100443,-3737.7974805353365]},"ue_links":[],"groupNodes":{},"node_versions":{"comfy-core":"0.3.26","ComfyUI-WanVideoWrapper":"5a2383621a05825d0d0437781afcb8552d9590fd","ComfyUI-VideoHelperSuite":"0a75c7958fe320efcb052f1d9f8451fd20c730a8"},"frontendVersion":"1.23.4","VHS_MetadataImage":true,"VHS_latentpreview":false,"VHS_KeepIntermediate":true,"VHS_latentpreviewrate":0},"links":[[2068,302,0,309,1,"STRING"],[3034,1059,0,575,0,"*"],[5514,2202,0,2200,0,"IMAGE"],[5516,2205,0,2203,0,"*"],[5517,2204,0,2205,0,"*"],[5519,2206,0,2207,0,"IMAGE"],[5520,2209,0,2207,1,"COLOR"],[5523,2211,0,2212,0,"IMAGE"],[5524,2214,0,2212,1,"COLOR"],[5525,2212,0,2215,0,"*"],[5555,2207,0,2242,0,"*"],[5561,581,0,2206,1,"INT"],[5562,582,0,2206,2,"INT"],[5600,2245,0,2100,0,"*"],[5666,2213,0,2254,0,"IMAGE"],[5667,2254,0,2211,0,"IMAGE"],[5668,2208,0,2255,0,"IMAGE"],[5669,2255,0,2206,0,"IMAGE"],[5766,581,0,2280,0,"*"],[5767,582,0,2281,0,"*"],[5931,2264,0,2245,0,"STRING"],[5932,533,0,2245,1,"STRING"],[5934,2245,0,2204,4,"STRING"],[5935,2203,4,2099,0,"STRING"],[5936,2203,4,996,0,"*"],[5955,2349,0,2358,0,"LATENT"],[5956,2348,0,2358,1,"VAE"],[5957,2358,0,2359,0,"IMAGE"],[5958,2352,0,2360,0,"CLIP"],[5960,2352,0,2361,0,"CLIP"],[5970,2367,0,2363,0,"IMAGE"],[5974,2367,0,2369,0,"IMAGE"],[5975,2348,0,2369,1,"VAE"],[5999,996,0,2360,1,"STRING"],[6008,2211,0,2086,0,"IMAGE"],[6009,2206,0,2086,1,"IMAGE"],[6017,2086,0,2204,1,"IMAGE"],[6019,2381,0,581,0,"*"],[6020,2381,1,582,0,"*"],[6021,581,0,2357,0,"INT"],[6022,582,0,2357,1,"INT"],[6023,581,0,2346,1,"INT"],[6024,582,0,2346,2,"INT"],[6026,2211,0,2202,0,"IMAGE"],[6027,2206,0,2202,1,"IMAGE"],[6028,2202,0,2367,0,"IMAGE"],[6029,2367,0,2383,0,"IMAGE"],[6038,2369,0,2385,1,"LATENT"],[6042,2386,0,2361,1,"STRING"],[6065,2361,0,2402,0,"CONDITIONING"],[6066,2402,0,2354,2,"CONDITIONING"],[6069,2354,0,2349,1,"GUIDER"],[6074,2405,0,2349,2,"SAMPLER"],[6075,2406,0,2349,3,"SIGMAS"],[6080,2346,0,2406,0,"MODEL"],[6081,2346,0,2354,0,"MODEL"],[6082,2356,0,2346,0,"MODEL"],[6083,2358,0,2408,0,"IMAGE"],[6084,2211,0,2408,1,"IMAGE"],[6112,2348,0,2421,1,"VAE"],[6114,2367,0,2423,0,"IMAGE"],[6117,2423,2,2422,2,"INT"],[6122,581,0,2211,1,"INT"],[6123,582,0,2211,2,"INT"],[6127,581,0,2422,1,"INT"],[6129,2360,0,2385,0,"CONDITIONING"],[6130,2385,0,2404,0,"CONDITIONING"],[6131,2404,0,2354,1,"CONDITIONING"],[6137,2421,0,2349,4,"LATENT"],[6140,2211,0,2426,0,"*"],[6141,2426,0,2422,0,"IMAGE"],[6142,2422,0,2420,0,"IMAGE"],[6143,2422,0,2421,0,"IMAGE"],[6146,2428,0,2349,0,"NOISE"],[6147,575,0,2428,0,"INT"]],"nodes":[{"id":1127,"pos":[-8048.61865234375,5514.3369140625],"mode":0,"size":[400,214],"type":"ComfyUIDeployExternalEnum","color":"#223","flags":{},"order":0,"inputs":[],"bgcolor":"#335","outputs":[{"name":"text","type":"*","links":[]}],"properties":{"ver":"ceb53bcb228176b854c7d72140a0dbedaa212eea","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalEnum","widget_ue_connectable":{}},"widgets_values":["aspect_ratio_dreamo","1:1","[\"original\",\"custom\",\"1:1\",\"3:2\",\"4:3\",\"16:9\",\"2:3\",\"3:4\",\"9:16\"]","",""]},{"id":1059,"pos":[-8063.31787109375,4994.7568359375],"mode":0,"size":[400,208],"type":"ComfyUIDeployExternalSeed","color":"#223","flags":{},"order":1,"inputs":[],"bgcolor":"#335","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":309,"pos":[-7961.20654296875,4871.79296875],"mode":0,"size":[283.5269470214844,58],"type":"OpenAIProviderNode","color":"#223","flags":{},"order":26,"inputs":[{"link":null,"name":"context","type":"*","shape":7},{"link":2068,"name":"llm_model","type":"STRING","widget":{"name":"llm_model"}}],"bgcolor":"#335","outputs":[{"name":"context","type":"*","links":[]}],"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":787,"pos":[-8054.30029296875,5261.8828125],"mode":0,"size":[400,208],"type":"ComfyUIDeployExternalNumberSlider","color":"#223","flags":{},"order":2,"inputs":[],"bgcolor":"#335","outputs":[{"name":"value","type":"FLOAT","links":[]}],"properties":{"ver":"ceb53bcb228176b854c7d72140a0dbedaa212eea","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalNumberSlider","widget_ue_connectable":{}},"widgets_values":["FPS",16.000000000000004,0,1,"","15 if using WAN VACE 24 if Phantom\n"]},{"id":2100,"pos":[-7396.47998046875,4312.44921875],"mode":0,"size":[314.9275817871094,220.27334594726562],"type":"Display Any (rgthree)","color":"#223","flags":{},"order":41,"inputs":[{"dir":3,"link":5600,"name":"source","type":"*"}],"bgcolor":"#335","outputs":[],"properties":{"ver":"84a146fee39f7b3a8c6631dcac29bc13b077eb49","cnr_id":"rgthree-comfy","Node name for S&R":"Display Any (rgthree)"},"widgets_values":[""]},{"id":2080,"pos":[-7573.36181640625,5801.3486328125],"mode":4,"size":[394.4351501464844,88],"type":"Note","color":"#223","flags":{},"order":3,"inputs":[],"bgcolor":"#335","outputs":[],"properties":{},"widgets_values":["CREATE AUTOMATIC PROMPTS FROM YOUR REFERENCE \nYOU NEED TO SET THE SECRETS ON THE MACHINE OR YOUR ENVS ON THE pc"]},{"id":2099,"pos":[-7384.46240234375,4578.2109375],"mode":0,"size":[270,106],"type":"ComfyDeployOutputText","color":"#223","flags":{},"order":60,"inputs":[{"link":5935,"name":"text","type":"STRING"}],"bgcolor":"#335","outputs":[],"properties":{"ver":"089bad55605392860e59476a4c2765bfc772750b","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyDeployOutputText"},"widgets_values":["ComfyUI","txt","output_text"]},{"id":341,"pos":[-8497.15234375,5529.697265625],"mode":0,"size":[400,200],"type":"ComfyUIDeployExternalNumberInt","color":"#223","flags":{},"order":4,"inputs":[],"bgcolor":"#335","outputs":[{"name":"value","type":"INT","links":[]}],"properties":{"ver":"b889f79baf9e099d5e54bd20bab4aa1e7c3296c0","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalNumberInt","widget_ue_connectable":{}},"widgets_values":["FRAMES",121,"",""]},{"id":2209,"pos":[-6361.83251953125,5494.794921875],"mode":0,"size":[320,82],"type":"AILab_ColorInput","color":"#223","flags":{"collapsed":true},"order":5,"inputs":[],"bgcolor":"#335","outputs":[{"name":"COLOR","type":"COLOR","links":[5520]}],"properties":{"ver":"8577848f31ed7dcf19b920451e7e90fad17cbc3b","cnr_id":"comfyui-rmbg","Node name for S&R":"AILab_ColorInput"},"widgets_values":["white",""]},{"id":2212,"pos":[-6359.18212890625,5238.337890625],"mode":0,"size":[320,254],"type":"BiRefNetRMBG","color":"#223","flags":{"collapsed":false},"order":43,"inputs":[{"link":5523,"name":"image","type":"IMAGE"},{"link":5524,"name":"background_color","type":"COLOR","shape":7,"widget":{"name":"background_color"}}],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5525]},{"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","#222222"]},{"id":2214,"pos":[-6222.79248046875,5183.0107421875],"mode":0,"size":[320,82],"type":"AILab_ColorInput","color":"#223","flags":{"collapsed":true},"order":6,"inputs":[],"bgcolor":"#335","outputs":[{"name":"COLOR","type":"COLOR","links":[5524]}],"properties":{"ver":"8577848f31ed7dcf19b920451e7e90fad17cbc3b","cnr_id":"comfyui-rmbg","Node name for S&R":"AILab_ColorInput"},"widgets_values":["white",""]},{"id":2207,"pos":[-6362.03466796875,5655.318359375],"mode":0,"size":[320,254],"type":"BiRefNetRMBG","color":"#223","flags":{"collapsed":false},"order":45,"inputs":[{"link":5519,"name":"image","type":"IMAGE"},{"link":5520,"name":"background_color","type":"COLOR","shape":7,"widget":{"name":"background_color"}}],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5555]},{"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","#222222"]},{"id":1855,"pos":[-8618.849609375,4254.7373046875],"mode":0,"size":[770.458984375,50],"type":"Label (rgthree)","color":"#223","flags":{"allow_interaction":true},"order":7,"title":"www.youtube.com/@impactframes","inputs":[],"bgcolor":"#335","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":2081,"pos":[-7832.23779296875,4664.5224609375],"mode":4,"size":[394.4351501464844,88],"type":"Note","color":"#223","flags":{},"order":8,"title":"EXTERNAL NODES","inputs":[],"bgcolor":"#335","outputs":[],"properties":{},"widgets_values":["COMFY-DEPLOY HAS A PLAYFGROUND FEATURE YOU CAN USE EXTERNAL NODES TO SERVE THE WORKFLOWS ON PLAYGROUND OR WEB APPS WITHOUT EVER HAVING TO SEE THE NODES OR DEAL WITH ANY OF THE WORKFLOW YOU JUST SEE INPUTS AND OUTPUTS"]},{"id":2280,"pos":[-6674.06494140625,4858.7607421875],"mode":0,"size":[210,88],"type":"Display Any (rgthree)","flags":{},"order":35,"inputs":[{"dir":3,"link":5766,"name":"source","type":"*"}],"outputs":[],"properties":{"ver":"84a146fee39f7b3a8c6631dcac29bc13b077eb49","cnr_id":"rgthree-comfy","Node name for S&R":"Display Any (rgthree)"},"widgets_values":[""]},{"id":2281,"pos":[-6677.63037109375,4997.455078125],"mode":0,"size":[210,88],"type":"Display Any (rgthree)","flags":{},"order":36,"inputs":[{"dir":3,"link":5767,"name":"source","type":"*"}],"outputs":[],"properties":{"ver":"84a146fee39f7b3a8c6631dcac29bc13b077eb49","cnr_id":"rgthree-comfy","Node name for S&R":"Display Any (rgthree)"},"widgets_values":[""]},{"id":996,"pos":[-6071.18505859375,4861.20361328125],"mode":0,"size":[75,26],"type":"Reroute","color":"#223","flags":{},"order":61,"inputs":[{"link":5936,"name":"","type":"*","widget":{"name":"value"}}],"bgcolor":"#335","outputs":[{"name":"","type":"STRING","links":[5999]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":2230,"pos":[-6437.96875,4783.060546875],"mode":0,"size":[336,288],"type":"Note","color":"#432","flags":{},"order":9,"inputs":[],"bgcolor":"#653","outputs":[],"properties":{"text":""},"widgets_values":["If you get an error in any of the nodes above make sure the files are in the correct directories.\n\nSee the examples page for the links : https://comfyanonymous.github.io/ComfyUI_examples/flux/\n\nflux1-kontext-dev.safetensors goes in: ComfyUI/models/unet/\n\nt5xxl_fp16.safetensors and clip_l.safetensors go in: ComfyUI/models/clip/\n\nae.safetensors goes in: ComfyUI/models/vae/\n\n\nTip: You can set the weight_dtype above to one of the fp8 types if you have memory issues."]},{"id":302,"pos":[-8495.3828125,4900.916015625],"mode":0,"size":[400,200],"type":"ComfyUIDeployExternalText","color":"#223","flags":{},"order":10,"inputs":[],"bgcolor":"#335","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","","03-mini, \ngpt-4.1-mini,\ngpt-4.5-preview-2025-02-27,"]},{"id":2254,"pos":[-8905.388671875,4944.318359375],"mode":0,"size":[309.1890563964844,154],"type":"ComfyUIDeployExternalImage","flags":{},"order":30,"inputs":[{"link":5666,"name":"default_value","type":"IMAGE","shape":7}],"outputs":[{"name":"image","type":"IMAGE","links":[5667]}],"properties":{"ver":"089bad55605392860e59476a4c2765bfc772750b","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalImage"},"widgets_values":["input_image1","","","",""]},{"id":2255,"pos":[-8908.2197265625,5189.296875],"mode":0,"size":[309.1890563964844,154],"type":"ComfyUIDeployExternalImage","flags":{},"order":31,"inputs":[{"link":5668,"name":"default_value","type":"IMAGE","shape":7}],"outputs":[{"name":"image","type":"IMAGE","links":[5669]}],"properties":{"ver":"089bad55605392860e59476a4c2765bfc772750b","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalImage"},"widgets_values":["input_image2","","","",""]},{"id":2205,"pos":[-7547.52490234375,5177.556640625],"mode":0,"size":[420,210],"type":"LLMToolkitTextGeneratorStream","color":"#222","flags":{},"order":53,"inputs":[{"link":5517,"name":"context","type":"*","shape":7}],"bgcolor":"#000","outputs":[{"name":"context","type":"*","links":[5516]}],"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.","Change the swimsuit in Image 1 to incorporate the logo from Image 2, ensuring it looks seamlessly integrated with the fabric of the swimsuit. The logo should wrap naturally around the body of the model, maintaining the same pose, facial features, and overall composition. Adjust the colors and textures to ensure the logo appears as part of the swimsuit rather than an overlay, creating a cohesive and stylish look for the model."]},{"id":2204,"pos":[-7546.70751953125,4830.87744140625],"mode":0,"size":[429.72283935546875,293.3409423828125],"type":"PromptManager","color":"#222","flags":{},"order":50,"inputs":[{"link":null,"name":"context","type":"*","shape":7},{"link":6017,"name":"image","type":"IMAGE","shape":7},{"link":null,"name":"mask","type":"MASK","shape":7},{"link":null,"name":"video","type":"IMAGE","shape":7},{"link":5934,"name":"text_prompt","type":"STRING","shape":7,"widget":{"name":"text_prompt"}}],"bgcolor":"#000","outputs":[{"name":"context","type":"*","links":[5517]}],"properties":{"ver":"3d82dbfe091d84868212e5f275deb5447fa4e659","cnr_id":"llm-toolkit","Node name for S&R":"PromptManager","widget_ue_connectable":{}},"widgets_values":["You are a master artist crafting precise visual narratives for text-to-image generation. When given an image or visual description, create a flowing 70 word paragraph following this base on the TASK\n\n**TASK:**\nWe need to create a prompt that will replicate a live action representation of the character in the first image as the person in the second image would play the real life role for a cinematic film production.\nDo not give instructions to the model rather describe the image on how it should look directly.\nTransform the first image to Transform the character into a realistic, high-quality live-action cosplay portrayal featuring the provided Person with slithly stylized pushed proportions to match the body proportions and charcter likeness Acurately describe the facial structure features and characteristics, haistyle, costume, accessories and props and pose of each character from the original picture in order to replace it with the matching actress provided. Keep the composition, poses and costumes of the characters. Transforming the image into the live action representation of the character. Make sure all the visual characteristic from the character in the original image are an accurately LIFELIKE portrayal of the character by the Person. Make sure to mention the type of shot from the reference image to create something similar mostly will be either full body shot or above the knee ","","",""]},{"id":2356,"pos":[-5914.7880859375,5125.99462890625],"mode":0,"size":[315,82],"type":"UNETLoader","color":"#223","flags":{},"order":11,"inputs":[],"bgcolor":"#335","outputs":[{"name":"MODEL","type":"MODEL","links":[6082],"slot_index":0}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"UNETLoader"},"widgets_values":["flux1-kontext-dev.safetensors","default"]},{"id":2086,"pos":[-7034.98291015625,4912.68603515625],"mode":0,"size":[270,142],"type":"ImageBatchMulti","color":"#223","flags":{"collapsed":false},"order":46,"inputs":[{"link":6008,"name":"image_1","type":"IMAGE"},{"link":6009,"name":"image_2","type":"IMAGE"}],"bgcolor":"#335","outputs":[{"name":"images","type":"IMAGE","links":[6017]}],"properties":{"ver":"f9118e0bbb39347ea7becb84ec03e397dfb4f644","cnr_id":"comfyui-kjnodes"},"widgets_values":[2,null]},{"id":2242,"pos":[-6346.27978515625,5578.3984375],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":49,"inputs":[{"link":5555,"name":"","type":"*"}],"outputs":[{"name":"","type":"IMAGE","links":[]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":2203,"pos":[-7557.98046875,5459.8857421875],"mode":0,"size":[418.9125061035156,263.6280517578125],"type":"Display_Text","color":"#222","flags":{"collapsed":false},"order":58,"inputs":[{"link":5516,"name":"context","type":"*"}],"bgcolor":"#000","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":[]},{"name":"text_full","type":"STRING","links":[5935,5936]}],"properties":{"ver":"3d82dbfe091d84868212e5f275deb5447fa4e659","cnr_id":"llm-toolkit","Node name for S&R":"Display_Text","widget_ue_connectable":{}},"widgets_values":["0","Change the swimsuit in Image 1 to incorporate the logo from Image 2, ensuring it looks seamlessly integrated with the fabric of the swimsuit. The logo should wrap naturally around the body of the model, maintaining the same pose, facial features, and overall composition. Adjust the colors and textures to ensure the logo appears as part of the swimsuit rather than an overlay, creating a cohesive and stylish look for the model."]},{"id":2215,"pos":[-6335.78857421875,5163.7041015625],"mode":0,"size":[75,26],"type":"Reroute","color":"#223","flags":{},"order":48,"inputs":[{"link":5525,"name":"","type":"*"}],"bgcolor":"#335","outputs":[{"name":"","type":"IMAGE","links":[]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":2264,"pos":[-9329.36328125,4876.41748046875],"mode":0,"size":[360.76214599609375,775.0985107421875],"type":"ComfyUIDeployExternalText","flags":{},"order":12,"inputs":[],"outputs":[{"name":"text","type":"STRING","links":[5931]}],"properties":{"ver":"089bad55605392860e59476a4c2765bfc772750b","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalText"},"widgets_values":["AI_SYSTEM_PROMPT","You are Kontext, a master artist who converts editing requests into a single, flowing paragraph of exactly 70 words. Every user request arrives with two images:\n\nImage 1 – Subject. This is the frame that must be edited.\n\nImage 2 – Reference. Provide background, style, texture, palette, or any other visual attribute the task demands.\n\nTask-Resolution Logic\n• change/replace background → substitute Image 1’s backdrop; keep Image 1’s subject unchanged; set new backdrop from Image 2\n• restyle / apply style / transfer style → style-transfer onto Image 1; extract colours, brushwork, medium, lighting cues from Image 2\n• simple/object modification → edit only the named object in Image 1; ignore Image 2 unless explicitly referenced\n• text editing → replace characters or words in Image 1; copy fonts and formatting from Image 1; Image 2 unused unless asked\n\nIf multiple actions are needed, narrate them step-by-step within the 70-word limit.\n\nWriting Rules\n\nBe specific and clear – name objects, colours, styles precisely.\n\nExplicit preservation – state what remains unchanged (pose, facial features, composition).\n\nSequential editing – describe edits in logical order (background, then attire, then lighting).\n\nApproved verbs – change, replace, convert, adjust; avoid vague verbs like transform unless paired with detail.\n\nCharacter consistency – use clear identifiers (“the woman with short black hair”) and preserve features.\n\nQuotes for text edits – put new and old text in quotes; keep font and layout intact.\n\nBest-Practice Templates\nBackground replacement: “Change the background to [new setting] from Image 2, keep the subject in the exact same position and pose.”\nStyle transfer: “Convert Image 1 to [specific style from Image 2] while maintaining composition, proportions, and lighting.”\nObject modification: “Change [object] in Image 1 to [new state], keep all else unchanged.”\nText editing: “Replace ‘[original]’ with ‘[new]’, preserve original font and placement.”\n\nRemember: Produce exactly 70 words describing the final image edits. If the user’s request is ambiguous, ask a clarifying question once before proceeding.\n","","FOR OTHER GENERAL TASKS COPY THIS plus write the task at the end after **TASK:**\n\n\nYou are a master artist crafting precise visual narratives for text-to-image generation. When given an image or visual description, create a flowing 70 word paragraph following this base on the TASK\n\n### 1. Basic Modifications\n- Simple and direct: \"Change the car color to red\"\n- Maintain style: \"Change to daytime while maintaining the same style of the painting\"\n\n### 2. Style Transfer\n**Principles:**\n- Clearly name style: \"Transform to Bauhaus art style\"\n- Describe characteristics: \"Transform to oil painting with visible brushstrokes, thick paint texture\"\n- Preserve composition: \"Change to Bauhaus style while maintaining the original composition\"\n\n### 3. Character Consistency\n**Framework:**\n- Specific description: \"The woman with short black hair\" instead of \"she\"\n- Preserve features: \"while maintaining the same facial features, hairstyle, and expression\"\n- Step-by-step modifications: Change background first, then actions\n\n### 4. Text Editing\n- Use quotes: \"Replace 'joy' with 'BFL'\"\n- Maintain format: \"Replace text while maintaining the same font style\"\n\n## Common Problem Solutions\n\n### Character Changes Too Much\n❌ Wrong: \"Transform the person into a Viking\"\n✅ Correct: \"Change the clothes to be a viking warrior while preserving facial features\"\n\n### Composition Position Changes\n❌ Wrong: \"Put him on a beach\"\n✅ Correct: \"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"\n\n### Style Application Inaccuracy\n❌ Wrong: \"Make it a sketch\"\n✅ Correct: \"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"\n\n## Core Principles\n\n1. **Be Specific and Clear** - Use precise descriptions, avoid vague terms\n2. **Step-by-step Editing** - Break complex modifications into multiple simple steps\n3. **Explicit Preservation** - State what should remain unchanged\n4. **Verb Selection** - Use \"change\", \"replace\" rather than \"transform\"\n\n## Best Practice Templates\n\n**Object Modification:**\n\"Change [object] to [new state], keep [content to preserve] unchanged\"\n\n**Style Transfer:**\n\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"\n\n**Background Replacement:**\n\"Change the background to [new background], keep the subject in the exact same position and pose\"\n\n**Text Editing:**\n\"Replace '[original text]' with '[new text]', maintain the same font style\"\n\n> **Remember:** The more specific, the better. Kontext excels at understanding detailed instructions and maintaining consistency. \n\n**TASK:**"]},{"id":2386,"pos":[-8512.02734375,4566.49560546875],"mode":0,"size":[400,200],"type":"ComfyUIDeployExternalText","flags":{},"order":13,"inputs":[],"outputs":[{"name":"text","type":"STRING","links":[6042]}],"properties":{"Node name for S&R":"ComfyUIDeployExternalText"},"widgets_values":["Negative_prompt","toddler, dark, darkness, low quality, sketch, cartoon, comic, anime, illustration, painting, toy, (hands), text, error, cropped","",""]},{"id":2348,"pos":[-5914.7880859375,5445.99462890625],"mode":0,"size":[311.81634521484375,60.429901123046875],"type":"VAELoader","color":"#223","flags":{},"order":14,"inputs":[],"bgcolor":"#335","outputs":[{"name":"VAE","type":"VAE","links":[5956,5975,6112],"slot_index":0}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"VAELoader"},"widgets_values":["ae.sft"]},{"id":2352,"pos":[-5914.7880859375,5265.99462890625],"mode":0,"size":[315,130],"type":"DualCLIPLoader","color":"#223","flags":{},"order":15,"inputs":[],"bgcolor":"#335","outputs":[{"name":"CLIP","type":"CLIP","links":[5958,5960],"slot_index":0}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"DualCLIPLoader"},"widgets_values":["flux/t5xxl_fp8_e4m3fn.safetensors","clip_l.safetensors","flux","default"]},{"id":2363,"pos":[-5863.9794921875,5978.748046875],"mode":4,"size":[210,82],"type":"ImageScaleBy","color":"#223","flags":{},"order":54,"inputs":[{"link":5970,"name":"image","type":"IMAGE"}],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","links":[]}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"ImageScaleBy"},"widgets_values":["area",0.5000000000000001]},{"id":2346,"pos":[-5915.79541015625,5561.68603515625],"mode":4,"size":[315,130],"type":"ModelSamplingFlux","color":"#223","flags":{},"order":38,"inputs":[{"link":6082,"name":"model","type":"MODEL"},{"link":6023,"name":"width","type":"INT","widget":{"name":"width"}},{"link":6024,"name":"height","type":"INT","widget":{"name":"height"}}],"bgcolor":"#335","outputs":[{"name":"MODEL","type":"MODEL","links":[6080,6081],"slot_index":0}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"ModelSamplingFlux"},"widgets_values":[1.15,0.5,1024,1024]},{"id":2361,"pos":[-5431.96044921875,5068.8212890625],"mode":0,"size":[210,88],"type":"CLIPTextEncode","color":"#223","flags":{"collapsed":false},"order":27,"title":"-","inputs":[{"link":5960,"name":"clip","type":"CLIP","label":"clip"},{"link":6042,"name":"text","type":"STRING","widget":{"name":"text"}}],"bgcolor":"#335","outputs":[{"name":"CONDITIONING","type":"CONDITIONING","label":"CONDITIONING","links":[6065],"slot_index":0}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"CLIPTextEncode"},"widgets_values":["toddler, dark, darkness, low quality, sketch, cartoon, comic, anime, illustration, painting, toy, (hands), text, error, cropped"]},{"id":2407,"pos":[-5548.46630859375,5241.41162109375],"mode":0,"size":[343.5623779296875,426.12640380859375],"type":"MarkdownNote","color":"#432","flags":{},"order":16,"inputs":[],"bgcolor":"#653","outputs":[],"properties":{},"widgets_values":["\n## Flux Kontext Prompt Techniques\n\n### 1. Basic Modifications\n- Simple and direct: `\"Change the car color to red\"`\n- Maintain style: `\"Change to daytime while maintaining the same style of the painting\"`\n\n### 2. Style Transfer\n**Principles:**\n- Clearly name style: `\"Transform to Bauhaus art style\"`\n- Describe characteristics: `\"Transform to oil painting with visible brushstrokes, thick paint texture\"`\n- Preserve composition: `\"Change to Bauhaus style while maintaining the original composition\"`\n\n### 3. Character Consistency\n**Framework:**\n- Specific description: `\"The woman with short black hair\"` instead of \"she\"\n- Preserve features: `\"while maintaining the same facial features, hairstyle, and expression\"`\n- Step-by-step modifications: Change background first, then actions\n\n### 4. Text Editing\n- Use quotes: `\"Replace 'joy' with 'BFL'\"`\n- Maintain format: `\"Replace text while maintaining the same font style\"`\n\n## Common Problem Solutions\n\n### Character Changes Too Much\n❌ Wrong: `\"Transform the person into a Viking\"`\n✅ Correct: `\"Change the clothes to be a viking warrior while preserving facial features\"`\n\n### Composition Position Changes\n❌ Wrong: `\"Put him on a beach\"`\n✅ Correct: `\"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"`\n\n### Style Application Inaccuracy\n❌ Wrong: `\"Make it a sketch\"`\n✅ Correct: `\"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"`\n\n## Core Principles\n\n1. **Be Specific and Clear** - Use precise descriptions, avoid vague terms\n2. **Step-by-step Editing** - Break complex modifications into multiple simple steps\n3. **Explicit Preservation** - State what should remain unchanged\n4. **Verb Selection** - Use \"change\", \"replace\" rather than \"transform\"\n\n## Best Practice Templates\n\n**Object Modification:**\n`\"Change [object] to [new state], keep [content to preserve] unchanged\"`\n\n**Style Transfer:**\n`\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"`\n\n**Background Replacement:**\n`\"Change the background to [new background], keep the subject in the exact same position and pose\"`\n\n**Text Editing:**\n`\"Replace '[original text]' with '[new text]', maintain the same font style\"`\n\n> **Remember:** The more specific, the better. Kontext excels at understanding detailed instructions and maintaining consistency. "]},{"id":2359,"pos":[-4798.208984375,4792.12890625],"mode":0,"size":[412.97845458984375,627.7481689453125],"type":"SaveImage","flags":{},"order":70,"inputs":[{"link":5957,"name":"images","type":"IMAGE"}],"outputs":[],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"SaveImage"},"widgets_values":["ComfyUI"]},{"id":2358,"pos":[-5124.0400390625,5689.86767578125],"mode":0,"size":[210,46],"type":"VAEDecode","color":"#223","flags":{},"order":69,"inputs":[{"link":5955,"name":"samples","type":"LATENT"},{"link":5956,"name":"vae","type":"VAE"}],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5957,6083],"slot_index":0}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":1856,"pos":[-9781.1162109375,6125.03759765625],"mode":0,"size":[5776.11328125,120],"type":"Label (rgthree)","color":"#fff0","flags":{"allow_interaction":true},"order":17,"title":"::: tip 💡To fire off **Automatic prompts**, make sure your  `OPENAI_API_KEY` is set in **Machine Secrets**.","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":1854,"pos":[-9230.494140625,4335.080078125],"mode":4,"size":[1764.7265625,120],"type":"Label (rgthree)","color":"#223","flags":{"allow_interaction":true},"order":18,"title":"RUN it in COMFYDEPLOY.COM ","inputs":[],"bgcolor":"#335","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":2408,"pos":[-4777.81396484375,5465.95654296875],"mode":0,"size":[395.9153747558594,550.0856323242188],"type":"Image Comparer (rgthree)","flags":{},"order":71,"inputs":[{"dir":3,"link":6083,"name":"image_a","type":"IMAGE"},{"dir":3,"link":6084,"name":"image_b","type":"IMAGE"}],"outputs":[],"properties":{"comparer_mode":"Slide"},"widgets_values":[[{"url":"/api/view?filename=rgthree.compare._temp_vnqdp_00057_.png&type=temp&subfolder=&rand=0.6590828902657455","name":"A","selected":true},{"url":"/api/view?filename=rgthree.compare._temp_vnqdp_00058_.png&type=temp&subfolder=&rand=0.22748728288020548","name":"B","selected":true}]]},{"id":2381,"pos":[-7038.818359375,4654.31884765625],"mode":0,"size":[282.8775329589844,126],"type":"VideoResolutionSelector","flags":{},"order":19,"inputs":[],"outputs":[{"name":"width","type":"INT","links":[6019]},{"name":"height","type":"INT","links":[6020]}],"properties":{"Node name for S&R":"VideoResolutionSelector"},"widgets_values":["T2V14B","Vertical","HQ"]},{"id":2369,"pos":[-5686.47265625,4800.59326171875],"mode":0,"size":[140,46],"type":"VAEEncode","flags":{},"order":55,"inputs":[{"link":5974,"name":"pixels","type":"IMAGE"},{"link":5975,"name":"vae","type":"VAE"}],"outputs":[{"name":"LATENT","type":"LATENT","links":[6038]}],"properties":{"Node name for S&R":"VAEEncode"},"widgets_values":[]},{"id":2202,"pos":[-6354.3564453125,4591.21435546875],"mode":0,"size":[210,78],"type":"AILab_ImageStitch","color":"#222","flags":{},"order":47,"inputs":[{"link":6026,"name":"image1","type":"IMAGE"},{"link":6027,"name":"image2","type":"IMAGE"}],"bgcolor":"#000","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5514,6028]}],"properties":{"ver":"daf0b01deb1c529dfb543093bba2ed586aad7886","cnr_id":"comfyui-rmbg","Node name for S&R":"AILab_ImageStitch","widget_ue_connectable":{}},"widgets_values":["right"]},{"id":2213,"pos":[-6995.43505859375,5189.958984375],"mode":0,"size":[274.080078125,314.00006103515625],"type":"LoadImage","color":"#223","flags":{},"order":20,"inputs":[],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5666]},{"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":["7898b660257502a35f9cd43e4bf17372 (1).jpg","image"]},{"id":582,"pos":[-6801.52685546875,4500.64306640625],"mode":0,"size":[75,26],"type":"Reroute","color":"#223","flags":{},"order":29,"inputs":[{"link":6020,"name":"","type":"*","widget":{"name":"value"}}],"bgcolor":"#335","outputs":[{"name":"","type":"INT","links":[5562,5767,6022,6024,6123]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":2245,"pos":[-8855.923828125,5847.79541015625],"mode":0,"size":[270,150],"type":"JoinStringMulti","color":"#223","flags":{},"order":32,"inputs":[{"link":5931,"name":"string_1","type":"STRING"},{"link":5932,"name":"string_2","type":"STRING"}],"bgcolor":"#335","outputs":[{"name":"string","type":"STRING","links":[5600,5934]}],"properties":{"ver":"f9118e0bbb39347ea7becb84ec03e397dfb4f644","cnr_id":"comfyui-kjnodes","Node name for S&R":"JoinStringMulti"},"widgets_values":[2," ",false,null]},{"id":2360,"pos":[-5951.0078125,5006.6640625],"mode":0,"size":[422.84503173828125,164.31304931640625],"type":"CLIPTextEncode","color":"#223","flags":{"collapsed":false},"order":64,"title":"+","inputs":[{"link":5958,"name":"clip","type":"CLIP"},{"link":5999,"name":"text","type":"STRING","widget":{"name":"text"}}],"bgcolor":"#335","outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[6129],"slot_index":0}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"CLIPTextEncode"},"widgets_values":["the anime girl with massive fennec ears is wearing cargo pants while sitting on a log in the woods biting into a sandwitch beside a beautiful alpine lake"]},{"id":2402,"pos":[-5425.4970703125,4992.09716796875],"mode":0,"size":[197.712890625,26],"type":"FluxDisableGuidance","color":"#223","flags":{},"order":34,"inputs":[{"link":6065,"name":"conditioning","type":"CONDITIONING"}],"bgcolor":"#335","outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[6066]}],"properties":{"Node name for S&R":"FluxDisableGuidance"},"widgets_values":[]},{"id":2385,"pos":[-5411.6904296875,4810.35107421875],"mode":0,"size":[197.712890625,46],"type":"ReferenceLatent","color":"#223","flags":{},"order":65,"inputs":[{"link":6129,"name":"conditioning","type":"CONDITIONING"},{"link":6038,"name":"latent","type":"LATENT","shape":7}],"bgcolor":"#335","outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[6130]}],"properties":{"Node name for S&R":"ReferenceLatent"},"widgets_values":[]},{"id":2200,"pos":[-6111.673828125,4440.13623046875],"mode":0,"size":[270,270.000244140625],"type":"SaveImage","color":"#222","flags":{},"order":51,"inputs":[{"link":5514,"name":"images","type":"IMAGE"}],"bgcolor":"#000","outputs":[],"properties":{"ver":"0.3.38","cnr_id":"comfy-core","Node name for S&R":"SaveImage","widget_ue_connectable":{}},"widgets_values":["ConceptsStitched"]},{"id":2367,"pos":[-6344.52392578125,4493.80322265625],"mode":0,"size":[187.75448608398438,26],"type":"FluxKontextImageScale","flags":{},"order":52,"inputs":[{"link":6028,"name":"image","type":"IMAGE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[5970,5974,6029,6114]}],"properties":{"Node name for S&R":"FluxKontextImageScale"},"widgets_values":[]},{"id":2421,"pos":[-5287.29833984375,4641.76904296875],"mode":0,"size":[140,46],"type":"VAEEncode","flags":{},"order":63,"inputs":[{"link":6143,"name":"pixels","type":"IMAGE"},{"link":6112,"name":"vae","type":"VAE"}],"outputs":[{"name":"LATENT","type":"LATENT","links":[6137]}],"properties":{"Node name for S&R":"VAEEncode"}},{"id":2211,"pos":[-6674.89599609375,5216.564453125],"mode":0,"size":[270,266],"type":"ImageResizeKJv2","color":"#223","flags":{"collapsed":false},"order":39,"inputs":[{"link":5667,"name":"image","type":"IMAGE"},{"link":6122,"name":"width","type":"INT","widget":{"name":"width"}},{"link":6123,"name":"height","type":"INT","widget":{"name":"height"}}],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5523,6008,6026,6084,6140]},{"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":[768,1024,"lanczos","pad","255,255,255","center",16,"cpu"]},{"id":2426,"pos":[-6346.1826171875,4403.568359375],"mode":0,"size":[75,26],"type":"Reroute","flags":{},"order":44,"inputs":[{"link":6140,"name":"","type":"*"}],"outputs":[{"name":"","type":"IMAGE","links":[6141]}],"properties":{"horizontal":false,"showOutputText":false}},{"id":2383,"pos":[-5738.19873046875,4451.16943359375],"mode":0,"size":[140,246.000244140625],"type":"PreviewImage","flags":{},"order":56,"inputs":[{"link":6029,"name":"images","type":"IMAGE"}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":581,"pos":[-6796.4853515625,4460.16748046875],"mode":0,"size":[75,26],"type":"Reroute","color":"#223","flags":{},"order":28,"inputs":[{"link":6019,"name":"","type":"*","widget":{"name":"value"}}],"bgcolor":"#335","outputs":[{"name":"","type":"INT","links":[5561,5766,6021,6023,6122,6127]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":2423,"pos":[-5926.52734375,4356.60888671875],"mode":0,"size":[190.86483764648438,86],"type":"GetImageSizeAndCount","flags":{},"order":57,"inputs":[{"link":6114,"name":"image","type":"IMAGE"}],"outputs":[{"name":"image","type":"IMAGE","links":[]},{"name":"width","type":"INT","label":"1104 width","links":[]},{"name":"height","type":"INT","label":"944 height","links":[6117]},{"name":"count","type":"INT","label":"1 count","links":null}],"properties":{"Node name for S&R":"GetImageSizeAndCount"}},{"id":2422,"pos":[-5568.94580078125,4401.27685546875],"mode":0,"size":[270,266],"type":"ImageResizeKJv2","color":"#223","flags":{"collapsed":false},"order":59,"inputs":[{"link":6141,"name":"image","type":"IMAGE"},{"link":6127,"name":"width","type":"INT","widget":{"name":"width"}},{"link":6117,"name":"height","type":"INT","widget":{"name":"height"}}],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","links":[6142,6143]},{"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":[768,1024,"lanczos","resize","255,255,255","center",16,"cpu"]},{"id":2420,"pos":[-5242.2978515625,4408.52099609375],"mode":0,"size":[140,246],"type":"PreviewImage","flags":{},"order":62,"inputs":[{"link":6142,"name":"images","type":"IMAGE"}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":2349,"pos":[-5124.56396484375,5303.0302734375],"mode":0,"size":[272.3617858886719,326],"type":"SamplerCustomAdvanced","color":"#223","flags":{},"order":68,"inputs":[{"link":6146,"name":"noise","type":"NOISE"},{"link":6069,"name":"guider","type":"GUIDER"},{"link":6074,"name":"sampler","type":"SAMPLER"},{"link":6075,"name":"sigmas","type":"SIGMAS"},{"link":6137,"name":"latent_image","type":"LATENT"}],"bgcolor":"#335","outputs":[{"name":"output","type":"LATENT","links":[5955],"slot_index":0},{"name":"denoised_output","type":"LATENT","links":[]}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]},{"id":2428,"pos":[-5479.94873046875,5732.8359375],"mode":0,"size":[270,82],"type":"RandomNoise","flags":{},"order":33,"inputs":[{"link":6147,"name":"noise_seed","type":"INT","widget":{"name":"noise_seed"}}],"outputs":[{"name":"NOISE","type":"NOISE","links":[6146]}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[566818015038566,"randomize"]},{"id":575,"pos":[-6084.45556640625,5014.21435546875],"mode":0,"size":[75,26],"type":"Reroute","color":"#223","flags":{},"order":25,"inputs":[{"link":3034,"name":"","type":"*","widget":{"name":"value"}}],"bgcolor":"#335","outputs":[{"name":"","type":"INT","links":[6147]}],"properties":{"horizontal":false,"showOutputText":false,"widget_ue_connectable":{}}},{"id":2357,"pos":[-5934.44775390625,4881.70947265625],"mode":0,"size":[262.55999755859375,106],"type":"EmptySD3LatentImage","color":"#223","flags":{},"order":37,"inputs":[{"link":6021,"name":"width","type":"INT","widget":{"name":"width"}},{"link":6022,"name":"height","type":"INT","widget":{"name":"height"}}],"bgcolor":"#335","outputs":[{"name":"LATENT","type":"LATENT","links":[],"slot_index":0}],"properties":{"ver":"0.3.40","cnr_id":"comfy-core","Node name for S&R":"EmptySD3LatentImage"},"widgets_values":[1024,1024,1]},{"id":2208,"pos":[-6999.14404296875,5601.79541015625],"mode":0,"size":[274.080078125,314.00006103515625],"type":"LoadImage","color":"#223","flags":{},"order":21,"inputs":[],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5668]},{"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":["White-7 (1).png","image"]},{"id":533,"pos":[-8493.87109375,5162.5205078125],"mode":0,"size":[404.58721923828125,321.0223388671875],"type":"ComfyUIDeployExternalText","color":"#223","flags":{},"order":22,"inputs":[],"bgcolor":"#335","outputs":[{"name":"text","type":"STRING","links":[5932]}],"properties":{"ver":"b889f79baf9e099d5e54bd20bab4aa1e7c3296c0","cnr_id":"comfyui-deploy","Node name for S&R":"ComfyUIDeployExternalText","widget_ue_connectable":{}},"widgets_values":["ACTION_MANUAL_PROMPT","she is wearing the same clothes but it has the logo on the swimsuit make sure it looks well integrated and part of the same material with the fabric and not just an overlay the logo should wrap with the swinsuit to the body of the model","MANUA_PROMPT ","IF there is no OPENAI_API_KEY on the machine secrets. You will need to enter your full prompt and delete the AI_SYSTEM_PROMPT  \n\nOtherwise you can use this to add a The Task to be preform by the model for example \"replace the cat from image1 with the dog on image2\"  "]},{"id":2387,"pos":[-5100.60107421875,5798.12255859375],"mode":0,"size":[218.1356964111328,106.1471939086914],"type":"Note","color":"#432","flags":{},"order":23,"inputs":[],"bgcolor":"#653","outputs":[],"properties":{},"widgets_values":["dpm_adaptive+kl_optimal 18 steps 1.9cfg"]},{"id":2206,"pos":[-6677.74853515625,5633.544921875],"mode":0,"size":[270,266],"type":"ImageResizeKJv2","color":"#223","flags":{"collapsed":false},"order":40,"inputs":[{"link":5669,"name":"image","type":"IMAGE"},{"link":5561,"name":"width","type":"INT","widget":{"name":"width"}},{"link":5562,"name":"height","type":"INT","widget":{"name":"height"}}],"bgcolor":"#335","outputs":[{"name":"IMAGE","type":"IMAGE","links":[5519,6009,6027]},{"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":2405,"pos":[-5119.43701171875,4952.66748046875],"mode":0,"size":[270,58],"type":"KSamplerSelect","color":"#223","flags":{},"order":24,"inputs":[],"bgcolor":"#335","outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[6074]}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":2354,"pos":[-5127.3544921875,5056.27099609375],"mode":0,"size":[270,146],"type":"ScheduledCFGGuidance","color":"#223","flags":{},"order":67,"inputs":[{"link":6081,"name":"model","type":"MODEL"},{"link":6131,"name":"positive","type":"CONDITIONING"},{"link":6066,"name":"negative","type":"CONDITIONING"}],"bgcolor":"#335","outputs":[{"name":"GUIDER","type":"GUIDER","links":[6069]}],"properties":{"ver":"f9118e0bbb39347ea7becb84ec03e397dfb4f644","cnr_id":"comfyui-kjnodes","Node name for S&R":"ScheduledCFGGuidance"},"widgets_values":[1.0000000000000002,0.030000000000000006,1]},{"id":2404,"pos":[-5460.88525390625,4896.935546875],"mode":0,"size":[270,58],"type":"FluxGuidance","color":"#223","flags":{},"order":66,"inputs":[{"link":6130,"name":"conditioning","type":"CONDITIONING"}],"bgcolor":"#335","outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[6131]}],"properties":{"Node name for S&R":"FluxGuidance"},"widgets_values":[1.7000000000000002]},{"id":2406,"pos":[-5121.7275390625,4807.009765625],"mode":0,"size":[270,106],"type":"BasicScheduler","color":"#223","flags":{},"order":42,"inputs":[{"link":6080,"name":"model","type":"MODEL"}],"bgcolor":"#335","outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[6075]}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",14,1]}],"config":{},"groups":[{"id":46,"color":"#88A","flags":{},"title":"SIZE","bounding":[-6813.02587890625,4409.42724609375,99.70211791992188,125.5982894897461],"font_size":24},{"id":47,"color":"#88A","flags":{},"title":"SEED","bounding":[-6086.75439453125,4985.78564453125,95,79.5999984741211],"font_size":24},{"id":66,"color":"#88A","flags":{},"title":"EXTERNAL_NODES","bounding":[-8507.15234375,4799.5009765625,868.53125,940.1956787109375],"font_size":24},{"id":67,"color":"#88A","flags":{},"title":"BATCH_IMAGES_REFs","bounding":[-7048.24462890625,4814.9658203125,290,272.4183654785156],"font_size":24},{"id":123,"color":"#88A","flags":{},"title":"Prompt_RUN","bounding":[-6081.18505859375,4824.55615234375,95,79.5999984741211],"font_size":24},{"id":197,"color":"#88A","flags":{},"title":"TEXT","bounding":[-7406.47998046875,4242.2421875,334.927734375,523.0836181640625],"font_size":24},{"id":203,"color":"#444","flags":{},"title":"STITCH_IMAGES_FOR_SHOWCASE","bounding":[-6517.3671875,4318.03662109375,1494.078857421875,395.7764587402344],"font_size":24},{"id":204,"color":"#444","flags":{},"title":"RESTYLE_PROMPT_ACTRESS","bounding":[-7584.45751953125,4798.375,489.11566162109375,947.2745361328125],"font_size":24},{"id":205,"color":"#88A","flags":{},"title":"Concept2","bounding":[-7028.07568359375,5526.4794921875,1053.3349609375,397.6000061035156],"font_size":24},{"id":206,"color":"#88A","flags":{},"title":"Concept1","bounding":[-7025.22314453125,5109.4990234375,1053.3349609375,397.6000061035156],"font_size":24},{"id":208,"color":"#3f789e","flags":{},"title":"Group","bounding":[-7556.70751953125,4757.27734375,449.72265625,376.9408264160156],"font_size":24},{"id":210,"color":"#88A","flags":{},"title":"MODELER","bounding":[-5925.79541015625,5052.39453125,336.00732421875,649.2913818359375],"font_size":24},{"id":211,"color":"#88A","flags":{},"title":"SAMPLER","bounding":[-5137.3544921875,4733.40966796875,297.91748046875,1012.4578857421875],"font_size":24},{"id":212,"color":"#88A","flags":{},"title":"ENCODER","bounding":[-5479.7685546875,4739.57861328125,306.8134765625,434.1776428222656],"font_size":24}],"version":0.4,"revision":0,"environment":{"gpu":"L40S","extra_args":null,"run_timeout":300,"machine_hash":"72d795be441922ea7d0c3d4a12aa42da1514068ca216e4a9d2662ad294c7134e","max_containers":1,"min_containers":0,"python_version":"3.11","comfyui_version":"6493709d6aa3db3fa0179b4d8da003145a750ded","disable_metadata":true,"prestart_command":null,"scaledown_window":60,"base_docker_image":null,"docker_command_steps":{"steps":[{"id":"b087c67a-1","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":"30ad3221-9","data":{"url":"https://github.com/rgthree/rgthree-comfy","hash":"f754c4765849aa748abb35a1f030a5ed6474a69b","meta":{"message":"Power Puter: Add for loop, and augassign capabilities.","committer":{"date":"2025-06-23T04:15:18.000Z","name":"rgthree","email":"regis.gaughan@gmail.com"},"commit_url":"https://github.com/rgthree/rgthree-comfy/commit/f754c4765849aa748abb35a1f030a5ed6474a69b","latest_hash":"f754c4765849aa748abb35a1f030a5ed6474a69b","stargazers_count":2003},"name":"rgthree's ComfyUI Nodes","files":["https://github.com/rgthree/rgthree-comfy"],"install_type":"git-clone"},"type":"custom-node"},{"id":"88d3ce55-d","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":1481},"name":"KJNodes for ComfyUI","files":["https://github.com/kijai/ComfyUI-KJNodes"],"install_type":"git-clone"},"type":"custom-node"},{"id":"9fe1edb4-6","data":{"url":"https://github.com/807502278/ComfyUI-WJNodes","hash":"f950a3ffceca450491fcd1d603e1dd5b582922e2","meta":{"message":"Merge pull request #2 from ComfyNodePRs/publish\n\nAdd Github Action for Publishing to Comfy Registry","committer":{"date":"2025-06-16T03:44:19.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/807502278/ComfyUI-WJNodes/commit/f950a3ffceca450491fcd1d603e1dd5b582922e2","latest_hash":"f950a3ffceca450491fcd1d603e1dd5b582922e2","stargazers_count":11},"name":"ComfyUI-WJNodes","files":["https://github.com/807502278/ComfyUI-WJNodes"],"install_type":"git-clone"},"type":"custom-node"},{"id":"25d94b53-c","data":{"url":"https://github.com/Lightricks/ComfyUI-LTXVideo","hash":"e87087e95af3c9e0a9d48e75c97ea471ad9284dc","meta":{"message":"Merge pull request #243 from Lightricks/pr-2025-06-20\n\nUpdate ComfyUI-LTXVideo - 2025-06-20","committer":{"date":"2025-06-20T14:01:32.000Z","name":"GitHub","email":"noreply@github.com"},"commit_url":"https://github.com/Lightricks/ComfyUI-LTXVideo/commit/e87087e95af3c9e0a9d48e75c97ea471ad9284dc","latest_hash":"e87087e95af3c9e0a9d48e75c97ea471ad9284dc","stargazers_count":2095},"name":"ComfyUI-LTXVideo","files":["https://github.com/Lightricks/ComfyUI-LTXVideo"],"install_type":"git-clone"},"type":"custom-node"},{"id":"129ab72d-0","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":1090},"name":"ComfyUI-RMBG","files":["https://github.com/1038lab/ComfyUI-RMBG"],"install_type":"git-clone"},"type":"custom-node"},{"id":"264e1b21-3","data":{"url":"https://github.com/LAOGOU-666/Comfyui_LG_Tools","hash":"c0efd16fcec289d2f2c93f2c3526b225c922410b","meta":{"message":"更新桥接预览V2遮罩反转问题","committer":{"date":"2025-06-12T09:20:27.000Z","name":"LAOGOU-666","email":"441059767@qq.com"},"commit_url":"https://github.com/LAOGOU-666/Comfyui_LG_Tools/commit/c0efd16fcec289d2f2c93f2c3526b225c922410b","latest_hash":"c0efd16fcec289d2f2c93f2c3526b225c922410b","stargazers_count":142},"name":"Comfyui_LG_Tools","files":["https://github.com/LAOGOU-666/Comfyui_LG_Tools"],"install_type":"git-clone"},"type":"custom-node"},{"id":"0845e856-4","data":"WORKDIR /comfyui/custom_nodes\n\n# 1) Clone & install the ReActor node\nRUN git clone --recursive https://github.com/if-ai/ComfyUI-ReActor.git && \\\n    cd ComfyUI-ReActor && \\\n    if [ -f install.py ]; then \\\n      python install.py || echo 'install script failed'; \\\n    fi\n","type":"commands"},{"id":"5ac784e7-6","data":{"url":"https://github.com/BennyKok/comfyui-deploy","hash":"089bad55605392860e59476a4c2765bfc772750b","name":"ComfyUI Deploy","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"51288182-6","data":{"url":"https://github.com/niknah/quick-connections","hash":"a1377f2b06cea688226353660f0264163dcc1e72","meta":{"message":"Merge pull request #21 from ComfyNodePRs/update-publish-yaml\n\nUpdate Github Action for Publishing to Comfy Registry","committer":{"date":"2025-03-27T22:16:29.000Z","name":"GitHub","email":"noreply@github.com"},"latest_hash":"a1377f2b06cea688226353660f0264163dcc1e72"},"name":"quick-connections","files":["https://github.com/niknah/quick-connections"],"install_type":"git-clone"},"type":"custom-node"},{"id":"2c9c73ac-c","data":{"url":"https://github.com/Fannovel16/comfyui_controlnet_aux","hash":"59b027e088c1c8facf7258f6e392d16d204b4d27","meta":{"message":"Push to registry","committer":{"date":"2025-06-20T08:57:29.000Z","name":"GitHub","email":"noreply@github.com"},"latest_hash":"59b027e088c1c8facf7258f6e392d16d204b4d27"},"name":"comfyui_controlnet_aux","files":["https://github.com/Fannovel16/comfyui_controlnet_aux"],"install_type":"git-clone"},"type":"custom-node"},{"id":"1e8c80b2-0","data":{"url":"https://github.com/if-ai/ComfyUI-WanResolutionSelector.git","hash":"a2fe6fa45ce2087d5cda40dae36e5fb895fff01e","meta":{"message":"fix readme","committer":{"date":"2025-06-20T19:40:30.000Z","name":"ImpactFrames","email":"impactframes@outlook.com"},"latest_hash":"a2fe6fa45ce2087d5cda40dae36e5fb895fff01e"},"name":"ComfyUI-WanResolutionSelector.git","files":["https://github.com/if-ai/ComfyUI-WanResolutionSelector.git"],"install_type":"git-clone"},"type":"custom-node"},{"id":"fc03412f-f","data":{"url":"https://github.com/ClownsharkBatwing/RES4LYF","hash":"34ef8214b84abbd365e05d473c747f37fbb4d677","meta":{"message":"Add files via upload","committer":{"date":"2025-06-26T14:03:38.000Z","name":"GitHub","email":"noreply@github.com"},"latest_hash":"34ef8214b84abbd365e05d473c747f37fbb4d677"},"name":"RES4LYF","files":["https://github.com/ClownsharkBatwing/RES4LYF"],"install_type":"git-clone"},"type":"custom-node"},{"id":"4858519f-c","data":{"url":"https://github.com/kaibioinfo/ComfyUI_AdvancedRefluxControl","hash":"2b95c2c866399ca1914b4da486fe52808f7a9c60","meta":{"message":"fix mask bug","committer":{"date":"2025-04-19T08:47:58.000Z","name":"kaidu","email":"git@k-du.de"},"latest_hash":"2b95c2c866399ca1914b4da486fe52808f7a9c60"},"name":"Advanced Reflux control","files":["https://github.com/kaibioinfo/ComfyUI_AdvancedRefluxControl"],"install_type":"git-clone"},"type":"custom-node"},{"id":"9901bc52-d","data":{"url":"https://github.com/chflame163/ComfyUI_LayerStyle","hash":"3bfe8e435d167b4a5bf08716729f89802dbbaa6f","meta":{"message":"remove LUT Apply node debug info","committer":{"date":"2025-06-20T00:44:58.000Z","name":"chflame163","email":"chflame@163.com"},"commit_url":"https://github.com/chflame163/ComfyUI_LayerStyle/commit/3bfe8e435d167b4a5bf08716729f89802dbbaa6f","latest_hash":"3bfe8e435d167b4a5bf08716729f89802dbbaa6f","stargazers_count":2358},"name":"ComfyUI Layer Style","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"0b85cd6c-a","data":{"url":"https://github.com/kijai/ComfyUI-DepthAnythingV2","hash":"d505cbca99803fc63327b8305618a23e59a18b42","meta":{"message":"Add giant model\n\nhttps://huggingface.co/Nap/depth_anything_v2_vitg","committer":{"date":"2025-06-16T13:16:50.000Z","name":"kijai","email":"40791699+kijai@users.noreply.github.com"},"commit_url":"https://github.com/kijai/ComfyUI-DepthAnythingV2/commit/d505cbca99803fc63327b8305618a23e59a18b42","latest_hash":"d505cbca99803fc63327b8305618a23e59a18b42","stargazers_count":329},"name":"ComfyUI-DepthAnythingV2","files":[],"install_type":"git-clone"},"type":"custom-node"},{"id":"afa31aa1-7","data":{"url":"https://github.com/SeanScripts/ComfyUI-Unload-Model","hash":"ac5ffb4ed05546545ce7cf38e7b69b5152714eed","meta":{"message":"Fix #6","committer":{"date":"2025-06-13T04:22:11.000Z","name":"SeanScripts","email":"64337075+SeanScripts@users.noreply.github.com"},"commit_url":"https://github.com/SeanScripts/ComfyUI-Unload-Model/commit/ac5ffb4ed05546545ce7cf38e7b69b5152714eed","latest_hash":"ac5ffb4ed05546545ce7cf38e7b69b5152714eed","stargazers_count":50},"name":"ComfyUI-Unload-Model","files":[],"install_type":"git-clone"},"type":"custom-node"}]},"extra_docker_commands":[],"install_custom_node_with_gpu":false},"last_link_id":6147,"last_node_id":2428,"workflow_api":{"302":{"_meta":{"title":"External Text (ComfyUI Deploy)"},"inputs":{"input_id":"llm_model","description":"03-mini, \ngpt-4.1-mini,\ngpt-4.5-preview-2025-02-27,","display_name":"","default_value":"gpt-4.1"},"class_type":"ComfyUIDeployExternalText"},"309":{"_meta":{"title":"OpenAI Provider (LLMToolkit)"},"inputs":{"llm_model":["302",0]},"class_type":"OpenAIProviderNode"},"341":{"_meta":{"title":"External Number Int (ComfyUI Deploy)"},"inputs":{"input_id":"FRAMES","description":"","display_name":"","default_value":121},"class_type":"ComfyUIDeployExternalNumberInt"},"533":{"_meta":{"title":"External Text (ComfyUI Deploy)"},"inputs":{"input_id":"ACTION_MANUAL_PROMPT","description":"IF there is no OPENAI_API_KEY on the machine secrets. You will need to enter your full prompt and delete the AI_SYSTEM_PROMPT  \n\nOtherwise you can use this to add a The Task to be preform by the model for example \"replace the cat from image1 with the dog on image2\"  ","display_name":"MANUA_PROMPT ","default_value":"she is wearing the same clothes but it has the logo on the swimsuit make sure it looks well integrated and part of the same material with the fabric and not just an overlay the logo should wrap with the swinsuit to the body of the model"},"class_type":"ComfyUIDeployExternalText"},"787":{"_meta":{"title":"External Number Slider (ComfyUI Deploy)"},"inputs":{"input_id":"FPS","max_value":1,"min_value":0,"description":"15 if using WAN VACE 24 if Phantom\n","display_name":"","default_value":16.000000000000004},"class_type":"ComfyUIDeployExternalNumberSlider"},"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"},"1127":{"_meta":{"title":"External Enum"},"inputs":{"options":"[\"original\",\"custom\",\"1:1\",\"3:2\",\"4:3\",\"16:9\",\"2:3\",\"3:4\",\"9:16\"]","input_id":"aspect_ratio_dreamo","description":"","display_name":"","default_value":"1:1"},"class_type":"ComfyUIDeployExternalEnum"},"2086":{"_meta":{"title":"Image Batch Multi"},"inputs":{"image_1":["2211",0],"image_2":["2206",0],"inputcount":2,"Update inputs":null},"class_type":"ImageBatchMulti"},"2099":{"_meta":{"title":"Text Output (ComfyDeploy)"},"inputs":{"text":["2203",4],"file_type":"txt","output_id":"output_text","filename_prefix":"ComfyUI"},"class_type":"ComfyDeployOutputText"},"2100":{"_meta":{"title":"Display Any (rgthree)"},"inputs":{"output":"","source":["2245",0]},"class_type":"Display Any (rgthree)"},"2200":{"_meta":{"title":"Save Image"},"inputs":{"images":["2202",0],"filename_prefix":"ConceptsStitched"},"class_type":"SaveImage"},"2202":{"_meta":{"title":"Image Stitch (RMBG) 🖼️"},"inputs":{"image1":["2211",0],"image2":["2206",0],"concat_direction":"right"},"class_type":"AILab_ImageStitch"},"2203":{"_meta":{"title":"Display Text (LLMToolkit)"},"inputs":{"select":"0","context":["2205",0],"Display_Text_0":"Change the swimsuit in Image 1 to incorporate the logo from Image 2, ensuring it looks seamlessly integrated with the fabric of the swimsuit. The logo should wrap naturally around the body of the model, maintaining the same pose, facial features, and overall composition. Adjust the colors and textures to ensure the logo appears as part of the swimsuit rather than an overlay, creating a cohesive and stylish look for the model."},"class_type":"Display_Text"},"2204":{"_meta":{"title":"Prompt Manager (LLMToolkit)"},"inputs":{"url":"","image":["2086",0],"file_path":"","audio_path":"","text_prompt":["2245",0]},"class_type":"PromptManager"},"2205":{"_meta":{"title":"Generate Text Stream (LLMToolkit)"},"inputs":{"prompt":"Write a detailed description of a futuristic city.","context":["2204",0],"llm_model":"gpt-4o-mini","LLMToolkitTextGeneratorStream_response":"Change the swimsuit in Image 1 to incorporate the logo from Image 2, ensuring it looks seamlessly integrated with the fabric of the swimsuit. The logo should wrap naturally around the body of the model, maintaining the same pose, facial features, and overall composition. Adjust the colors and textures to ensure the logo appears as part of the swimsuit rather than an overlay, creating a cohesive and stylish look for the model."},"class_type":"LLMToolkitTextGeneratorStream"},"2206":{"_meta":{"title":"Resize Image v2"},"inputs":{"image":["2255",0],"width":["2381",0],"device":"cpu","height":["2381",1],"pad_color":"255,255,255","divisible_by":16,"crop_position":"center","upscale_method":"lanczos","keep_proportion":"pad"},"class_type":"ImageResizeKJv2"},"2207":{"_meta":{"title":"BiRefNet Remove Background (RMBG)"},"inputs":{"image":["2206",0],"model":"BiRefNet-general","mask_blur":1,"background":"Color","mask_offset":0,"invert_output":false,"background_color":["2209",0],"refine_foreground":false},"class_type":"BiRefNetRMBG"},"2208":{"_meta":{"title":"Load Image"},"inputs":{"image":"White-7 (1).png"},"class_type":"LoadImage"},"2209":{"_meta":{"title":"Color Input (RMBG) 🎨"},"inputs":{"color":"","preset":"white"},"class_type":"AILab_ColorInput"},"2211":{"_meta":{"title":"Resize Image v2"},"inputs":{"image":["2254",0],"width":["2381",0],"device":"cpu","height":["2381",1],"pad_color":"255,255,255","divisible_by":16,"crop_position":"center","upscale_method":"lanczos","keep_proportion":"pad"},"class_type":"ImageResizeKJv2"},"2212":{"_meta":{"title":"BiRefNet Remove Background (RMBG)"},"inputs":{"image":["2211",0],"model":"BiRefNet-general","mask_blur":1,"background":"Color","mask_offset":0,"invert_output":false,"background_color":["2214",0],"refine_foreground":false},"class_type":"BiRefNetRMBG"},"2213":{"_meta":{"title":"Load Image"},"inputs":{"image":"7898b660257502a35f9cd43e4bf17372 (1).jpg"},"class_type":"LoadImage"},"2214":{"_meta":{"title":"Color Input (RMBG) 🎨"},"inputs":{"color":"","preset":"white"},"class_type":"AILab_ColorInput"},"2245":{"_meta":{"title":"Join String Multi"},"inputs":{"string_1":["2264",0],"string_2":["533",0],"delimiter":" ","inputcount":2,"return_list":false,"Update inputs":null},"class_type":"JoinStringMulti"},"2254":{"_meta":{"title":"External Image (ComfyUI Deploy)"},"inputs":{"input_id":"input_image1","description":"","display_name":"","default_value":["2213",0],"default_value_url":""},"class_type":"ComfyUIDeployExternalImage"},"2255":{"_meta":{"title":"External Image (ComfyUI Deploy)"},"inputs":{"input_id":"input_image2","description":"","display_name":"","default_value":["2208",0],"default_value_url":""},"class_type":"ComfyUIDeployExternalImage"},"2264":{"_meta":{"title":"External Text (ComfyUI Deploy)"},"inputs":{"input_id":"AI_SYSTEM_PROMPT","description":"FOR OTHER GENERAL TASKS COPY THIS plus write the task at the end after **TASK:**\n\n\nYou are a master artist crafting precise visual narratives for text-to-image generation. When given an image or visual description, create a flowing 70 word paragraph following this base on the TASK\n\n### 1. Basic Modifications\n- Simple and direct: \"Change the car color to red\"\n- Maintain style: \"Change to daytime while maintaining the same style of the painting\"\n\n### 2. Style Transfer\n**Principles:**\n- Clearly name style: \"Transform to Bauhaus art style\"\n- Describe characteristics: \"Transform to oil painting with visible brushstrokes, thick paint texture\"\n- Preserve composition: \"Change to Bauhaus style while maintaining the original composition\"\n\n### 3. Character Consistency\n**Framework:**\n- Specific description: \"The woman with short black hair\" instead of \"she\"\n- Preserve features: \"while maintaining the same facial features, hairstyle, and expression\"\n- Step-by-step modifications: Change background first, then actions\n\n### 4. Text Editing\n- Use quotes: \"Replace 'joy' with 'BFL'\"\n- Maintain format: \"Replace text while maintaining the same font style\"\n\n## Common Problem Solutions\n\n### Character Changes Too Much\n❌ Wrong: \"Transform the person into a Viking\"\n✅ Correct: \"Change the clothes to be a viking warrior while preserving facial features\"\n\n### Composition Position Changes\n❌ Wrong: \"Put him on a beach\"\n✅ Correct: \"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"\n\n### Style Application Inaccuracy\n❌ Wrong: \"Make it a sketch\"\n✅ Correct: \"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"\n\n## Core Principles\n\n1. **Be Specific and Clear** - Use precise descriptions, avoid vague terms\n2. **Step-by-step Editing** - Break complex modifications into multiple simple steps\n3. **Explicit Preservation** - State what should remain unchanged\n4. **Verb Selection** - Use \"change\", \"replace\" rather than \"transform\"\n\n## Best Practice Templates\n\n**Object Modification:**\n\"Change [object] to [new state], keep [content to preserve] unchanged\"\n\n**Style Transfer:**\n\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"\n\n**Background Replacement:**\n\"Change the background to [new background], keep the subject in the exact same position and pose\"\n\n**Text Editing:**\n\"Replace '[original text]' with '[new text]', maintain the same font style\"\n\n> **Remember:** The more specific, the better. Kontext excels at understanding detailed instructions and maintaining consistency. \n\n**TASK:**","display_name":"","default_value":"You are Kontext, a master artist who converts editing requests into a single, flowing paragraph of exactly 70 words. Every user request arrives with two images:\n\nImage 1 – Subject. This is the frame that must be edited.\n\nImage 2 – Reference. Provide background, style, texture, palette, or any other visual attribute the task demands.\n\nTask-Resolution Logic\n• change/replace background → substitute Image 1’s backdrop; keep Image 1’s subject unchanged; set new backdrop from Image 2\n• restyle / apply style / transfer style → style-transfer onto Image 1; extract colours, brushwork, medium, lighting cues from Image 2\n• simple/object modification → edit only the named object in Image 1; ignore Image 2 unless explicitly referenced\n• text editing → replace characters or words in Image 1; copy fonts and formatting from Image 1; Image 2 unused unless asked\n\nIf multiple actions are needed, narrate them step-by-step within the 70-word limit.\n\nWriting Rules\n\nBe specific and clear – name objects, colours, styles precisely.\n\nExplicit preservation – state what remains unchanged (pose, facial features, composition).\n\nSequential editing – describe edits in logical order (background, then attire, then lighting).\n\nApproved verbs – change, replace, convert, adjust; avoid vague verbs like transform unless paired with detail.\n\nCharacter consistency – use clear identifiers (“the woman with short black hair”) and preserve features.\n\nQuotes for text edits – put new and old text in quotes; keep font and layout intact.\n\nBest-Practice Templates\nBackground replacement: “Change the background to [new setting] from Image 2, keep the subject in the exact same position and pose.”\nStyle transfer: “Convert Image 1 to [specific style from Image 2] while maintaining composition, proportions, and lighting.”\nObject modification: “Change [object] in Image 1 to [new state], keep all else unchanged.”\nText editing: “Replace ‘[original]’ with ‘[new]’, preserve original font and placement.”\n\nRemember: Produce exactly 70 words describing the final image edits. If the user’s request is ambiguous, ask a clarifying question once before proceeding.\n"},"class_type":"ComfyUIDeployExternalText"},"2280":{"_meta":{"title":"Display Any (rgthree)"},"inputs":{"output":"","source":["2381",0]},"class_type":"Display Any (rgthree)"},"2281":{"_meta":{"title":"Display Any (rgthree)"},"inputs":{"output":"","source":["2381",1]},"class_type":"Display Any (rgthree)"},"2348":{"_meta":{"title":"Load VAE"},"inputs":{"vae_name":"ae.sft"},"class_type":"VAELoader"},"2349":{"_meta":{"title":"SamplerCustomAdvanced"},"inputs":{"noise":["2428",0],"guider":["2354",0],"sigmas":["2406",0],"sampler":["2405",0],"latent_image":["2421",0]},"class_type":"SamplerCustomAdvanced"},"2352":{"_meta":{"title":"DualCLIPLoader"},"inputs":{"type":"flux","device":"default","clip_name1":"flux/t5xxl_fp8_e4m3fn.safetensors","clip_name2":"clip_l.safetensors"},"class_type":"DualCLIPLoader"},"2354":{"_meta":{"title":"Scheduled CFG Guidance"},"inputs":{"cfg":1.0000000000000002,"model":["2356",0],"negative":["2402",0],"positive":["2404",0],"end_percent":1,"start_percent":0.030000000000000006},"class_type":"ScheduledCFGGuidance"},"2356":{"_meta":{"title":"Load Diffusion Model"},"inputs":{"unet_name":"flux1-kontext-dev.safetensors","weight_dtype":"default"},"class_type":"UNETLoader"},"2357":{"_meta":{"title":"EmptySD3LatentImage"},"inputs":{"width":["2381",0],"height":["2381",1],"batch_size":1},"class_type":"EmptySD3LatentImage"},"2358":{"_meta":{"title":"VAE Decode"},"inputs":{"vae":["2348",0],"samples":["2349",0]},"class_type":"VAEDecode"},"2359":{"_meta":{"title":"Save Image"},"inputs":{"images":["2358",0],"filename_prefix":"ComfyUI"},"class_type":"SaveImage"},"2360":{"_meta":{"title":"+"},"inputs":{"clip":["2352",0],"text":["2203",4]},"class_type":"CLIPTextEncode"},"2361":{"_meta":{"title":"-"},"inputs":{"clip":["2352",0],"text":["2386",0]},"class_type":"CLIPTextEncode"},"2367":{"_meta":{"title":"FluxKontextImageScale"},"inputs":{"image":["2202",0]},"class_type":"FluxKontextImageScale"},"2369":{"_meta":{"title":"VAE Encode"},"inputs":{"vae":["2348",0],"pixels":["2367",0]},"class_type":"VAEEncode"},"2381":{"_meta":{"title":"Video Resolution Selector 🎬"},"inputs":{"mode":"T2V14B","quality":"HQ","aspect_ratio":"Vertical"},"class_type":"VideoResolutionSelector"},"2383":{"_meta":{"title":"Preview Image"},"inputs":{"images":["2367",0]},"class_type":"PreviewImage"},"2385":{"_meta":{"title":"ReferenceLatent"},"inputs":{"latent":["2369",0],"conditioning":["2360",0]},"class_type":"ReferenceLatent"},"2386":{"_meta":{"title":"External Text (ComfyUI Deploy)"},"inputs":{"input_id":"Negative_prompt","description":"","display_name":"","default_value":"toddler, dark, darkness, low quality, sketch, cartoon, comic, anime, illustration, painting, toy, (hands), text, error, cropped"},"class_type":"ComfyUIDeployExternalText"},"2402":{"_meta":{"title":"FluxDisableGuidance"},"inputs":{"conditioning":["2361",0]},"class_type":"FluxDisableGuidance"},"2404":{"_meta":{"title":"FluxGuidance"},"inputs":{"guidance":1.7000000000000002,"conditioning":["2385",0]},"class_type":"FluxGuidance"},"2405":{"_meta":{"title":"KSamplerSelect"},"inputs":{"sampler_name":"euler"},"class_type":"KSamplerSelect"},"2406":{"_meta":{"title":"BasicScheduler"},"inputs":{"model":["2356",0],"steps":14,"denoise":1,"scheduler":"simple"},"class_type":"BasicScheduler"},"2408":{"_meta":{"title":"Image Comparer (rgthree)"},"inputs":{"image_a":["2358",0],"image_b":["2211",0],"rgthree_comparer":{"images":[{"url":"/api/view?filename=rgthree.compare._temp_vnqdp_00057_.png&type=temp&subfolder=&rand=0.6590828902657455","name":"A","selected":true},{"url":"/api/view?filename=rgthree.compare._temp_vnqdp_00058_.png&type=temp&subfolder=&rand=0.22748728288020548","name":"B","selected":true}]}},"class_type":"Image Comparer (rgthree)"},"2420":{"_meta":{"title":"Preview Image"},"inputs":{"images":["2422",0]},"class_type":"PreviewImage"},"2421":{"_meta":{"title":"VAE Encode"},"inputs":{"vae":["2348",0],"pixels":["2422",0]},"class_type":"VAEEncode"},"2422":{"_meta":{"title":"Resize Image v2"},"inputs":{"image":["2211",0],"width":["2381",0],"device":"cpu","height":["2423",2],"pad_color":"255,255,255","divisible_by":16,"crop_position":"center","upscale_method":"lanczos","keep_proportion":"resize"},"class_type":"ImageResizeKJv2"},"2423":{"_meta":{"title":"Get Image Size & Count"},"inputs":{"image":["2367",0]},"class_type":"GetImageSizeAndCount"},"2428":{"_meta":{"title":"RandomNoise"},"inputs":{"noise_seed":["1059",0]},"class_type":"RandomNoise"}}}