{ "id": "4be48bc0-f21c-45cb-b657-bb75df5d398c", "revision": 0, "last_node_id": 114, "last_link_id": 182, "nodes": [ { "id": 47, "type": "LoadImage", "pos": [ -738, -140 ], "size": [ 274.080078125, 314.00006103515625 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 178 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux1_dev_uso_reference_image_gen_input_image.png", "image" ] }, { "id": 9, "type": "SaveImage", "pos": [ 10.080078125, -140 ], "size": [ 590, 470 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 179 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "ComfyUI" ] }, { "id": 88, "type": "LoadImage", "pos": [ -740, 630 ], "size": [ 274.080078125, 314.00006103515625 ], "flags": {}, "order": 1, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 180 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux1_dev_uso_reference_image_gen_input_image.png", "image" ] }, { "id": 91, "type": "LoadImage", "pos": [ -740, 1010 ], "size": [ 274.080078125, 314.00006103515625 ], "flags": { "collapsed": false }, "order": 2, "mode": 4, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 181 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux1_dev_uso_reference_image_gen_input_image.png", "image" ] }, { "id": 102, "type": "MarkdownNote", "pos": [ -1380, -140 ], "size": [ 600, 610 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "title": "For Local User", "properties": {}, "widgets_values": [ "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n\n\n## Model links\n\n**checkpoints**\n\n- [flux1-dev-fp8.safetensors](https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev-fp8.safetensors)\n\n**clip_vision**\n\n- [sigclip_vision_patch14_384.safetensors](https://huggingface.co/Comfy-Org/sigclip_vision_384/resolve/main/sigclip_vision_patch14_384.safetensors)\n\n**loras**\n\n- [uso-flux1-dit-lora-v1.safetensors](https://huggingface.co/Comfy-Org/USO_1.0_Repackaged/resolve/main/split_files/loras/uso-flux1-dit-lora-v1.safetensors)\n\n**model_patches**\n\n- [uso-flux1-projector-v1.safetensors](https://huggingface.co/Comfy-Org/USO_1.0_Repackaged/resolve/main/split_files/model_patches/uso-flux1-projector-v1.safetensors)\n\n\nModel Storage Location\n\n```\nšŸ“‚ ComfyUI/\nā”œā”€ā”€ šŸ“‚ models/\n│ ā”œā”€ā”€ šŸ“‚ checkpoints/\n│ │ └── flux1-dev-fp8.safetensors\n│ ā”œā”€ā”€ šŸ“‚ clip_vision/\n│ │ └── sigclip_vision_patch14_384.safetensors\n│ ā”œā”€ā”€ šŸ“‚ loras/\n│ │ └── uso-flux1-dit-lora-v1.safetensors\n│ └── šŸ“‚ model_patches/\n│ └── uso-flux1-projector-v1.safetensors\n```\n" ], "color": "#432", "bgcolor": "#000" }, { "id": 73, "type": "SaveImage", "pos": [ 130, 620 ], "size": [ 985.2999877929688, 1060.3800048828125 ], "flags": {}, "order": 7, "mode": 4, "inputs": [ { "name": "images", "type": "IMAGE", "link": 182 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "ComfyUI" ] }, { "id": 112, "type": "db9e0685-d161-4026-b52c-d0cd40ff7381", "pos": [ -421.919921875, -140 ], "size": [ 390, 470 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "label": "reference_image", "name": "image", "type": "IMAGE", "link": 178 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 179 ] } ], "properties": { "proxyWidgets": [ [ "-1", "text" ], [ "-1", "width" ], [ "-1", "height" ], [ "31", "seed" ], [ "31", "control_after_generate" ] ], "cnr_id": "comfy-core", "ver": "0.4.0", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "A European girl with a heartfelt smile. She is immersed in a vast, endless field of blooming flowers under a perfect summer sky.", 1024, 1024 ] }, { "id": 113, "type": "ee9a1c5a-924e-4fbb-8aaf-f3153e83bb50", "pos": [ -410, 630 ], "size": [ 420, 500 ], "flags": {}, "order": 5, "mode": 4, "inputs": [ { "label": "reference_image1", "name": "image", "type": "IMAGE", "link": 180 }, { "label": "reference_image2", "name": "image_1", "type": "IMAGE", "link": 181 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 182 ] } ], "properties": { "proxyWidgets": [ [ "-1", "text" ], [ "-1", "width" ], [ "-1", "height" ], [ "78", "seed" ], [ "78", "control_after_generate" ] ], "cnr_id": "comfy-core", "ver": "0.4.0", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "A man dressed fashionably stands on the forest.", 1024, 1024 ] } ], "links": [ [ 178, 47, 0, 112, 0, "IMAGE" ], [ 179, 112, 0, 9, 0, "IMAGE" ], [ 180, 88, 0, 113, 0, "IMAGE" ], [ 181, 91, 0, 113, 1, "IMAGE" ], [ 182, 113, 0, 73, 0, "IMAGE" ] ], "groups": [], "definitions": { "subgraphs": [ { "id": "08624421-a41c-413b-9de7-d68b0b60b667", "version": 1, "state": { "lastGroupId": 0, "lastNodeId": 54, "lastLinkId": 91, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "USOStyleReference", "inputNode": { "id": -10, "bounding": [ -790, 608, 120, 140 ] }, "outputNode": { "id": -20, "bounding": [ 190, 638, 120, 60 ] }, "inputs": [ { "id": "7640a5a3-e2cf-4f74-acaf-45dedea514e3", "name": "clip_vision", "type": "CLIP_VISION", "linkIds": [ 85 ], "localized_name": "clip_vision", "pos": [ -690, 628 ] }, { "id": "4e819086-d02a-4b6c-8383-e7939729ba47", "name": "image", "type": "IMAGE", "linkIds": [ 86 ], "localized_name": "image", "pos": [ -690, 648 ] }, { "id": "2bea204b-da22-43d3-9591-9ef6e66a8169", "name": "model", "type": "MODEL", "linkIds": [ 88 ], "localized_name": "model", "pos": [ -690, 668 ] }, { "id": "4effe73e-9aa2-4cc5-acde-5df0cf566455", "name": "model_patch", "type": "MODEL_PATCH", "linkIds": [ 89 ], "localized_name": "model_patch", "pos": [ -690, 688 ] }, { "id": "d9a5affb-b212-4f50-8591-c3dc535a2e53", "name": "crop", "type": "COMBO", "linkIds": [ 91 ], "pos": [ -690, 708 ] } ], "outputs": [ { "id": "4f7b8185-680f-420c-8138-4138be1fda23", "name": "MODEL", "type": "MODEL", "linkIds": [ 90 ], "localized_name": "MODEL", "pos": [ 210, 658 ] } ], "widgets": [], "nodes": [ { "id": 52, "type": "CLIPVisionEncode", "pos": [ -610, 580 ], "size": [ 290.390625, 78 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "clip_vision", "name": "clip_vision", "type": "CLIP_VISION", "link": 85 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 86 }, { "localized_name": "crop", "name": "crop", "type": "COMBO", "widget": { "name": "crop" }, "link": 91 } ], "outputs": [ { "localized_name": "CLIP_VISION_OUTPUT", "name": "CLIP_VISION_OUTPUT", "type": "CLIP_VISION_OUTPUT", "links": [ 87 ] } ], "properties": { "Node name for S&R": "CLIPVisionEncode", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "center" ] }, { "id": 54, "type": "USOStyleReference", "pos": [ -610, 710 ], "size": [ 360, 70 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 88 }, { "localized_name": "model_patch", "name": "model_patch", "type": "MODEL_PATCH", "link": 89 }, { "localized_name": "clip_vision_output", "name": "clip_vision_output", "type": "CLIP_VISION_OUTPUT", "link": 87 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 90 ] } ], "properties": { "Node name for S&R": "USOStyleReference", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] } ], "groups": [], "links": [ { "id": 87, "origin_id": 52, "origin_slot": 0, "target_id": 54, "target_slot": 2, "type": "CLIP_VISION_OUTPUT" }, { "id": 85, "origin_id": -10, "origin_slot": 0, "target_id": 52, "target_slot": 0, "type": "CLIP_VISION" }, { "id": 86, "origin_id": -10, "origin_slot": 1, "target_id": 52, "target_slot": 1, "type": "IMAGE" }, { "id": 88, "origin_id": -10, "origin_slot": 2, "target_id": 54, "target_slot": 0, "type": "MODEL" }, { "id": 89, "origin_id": -10, "origin_slot": 3, "target_id": 54, "target_slot": 1, "type": "MODEL_PATCH" }, { "id": 90, "origin_id": 54, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "MODEL" }, { "id": 91, "origin_id": -10, "origin_slot": 4, "target_id": 52, "target_slot": 2, "type": "COMBO" } ], "extra": { "workflowRendererVersion": "LG" } }, { "id": "d31e1095-65ee-4ba3-b4d0-a21e493dd0bd", "version": 1, "state": { "lastGroupId": 0, "lastNodeId": 54, "lastLinkId": 91, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "USOStyleReference", "inputNode": { "id": -10, "bounding": [ -790, 608, 120, 140 ] }, "outputNode": { "id": -20, "bounding": [ 190, 638, 120, 60 ] }, "inputs": [ { "id": "7640a5a3-e2cf-4f74-acaf-45dedea514e3", "name": "clip_vision", "type": "CLIP_VISION", "linkIds": [ 85 ], "localized_name": "clip_vision", "pos": [ -690, 628 ] }, { "id": "4e819086-d02a-4b6c-8383-e7939729ba47", "name": "image", "type": "IMAGE", "linkIds": [ 86 ], "localized_name": "image", "pos": [ -690, 648 ] }, { "id": "2bea204b-da22-43d3-9591-9ef6e66a8169", "name": "model", "type": "MODEL", "linkIds": [ 88 ], "localized_name": "model", "pos": [ -690, 668 ] }, { "id": "4effe73e-9aa2-4cc5-acde-5df0cf566455", "name": "model_patch", "type": "MODEL_PATCH", "linkIds": [ 89 ], "localized_name": "model_patch", "pos": [ -690, 688 ] }, { "id": "d9a5affb-b212-4f50-8591-c3dc535a2e53", "name": "crop", "type": "COMBO", "linkIds": [ 91 ], "pos": [ -690, 708 ] } ], "outputs": [ { "id": "4f7b8185-680f-420c-8138-4138be1fda23", "name": "MODEL", "type": "MODEL", "linkIds": [ 90 ], "localized_name": "MODEL", "pos": [ 210, 658 ] } ], "widgets": [], "nodes": [ { "id": 52, "type": "CLIPVisionEncode", "pos": [ -610, 580 ], "size": [ 290.390625, 78 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "clip_vision", "name": "clip_vision", "type": "CLIP_VISION", "link": 85 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 86 }, { "localized_name": "crop", "name": "crop", "type": "COMBO", "widget": { "name": "crop" }, "link": 91 } ], "outputs": [ { "localized_name": "CLIP_VISION_OUTPUT", "name": "CLIP_VISION_OUTPUT", "type": "CLIP_VISION_OUTPUT", "links": [ 87 ] } ], "properties": { "Node name for S&R": "CLIPVisionEncode", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "center" ] }, { "id": 54, "type": "USOStyleReference", "pos": [ -610, 710 ], "size": [ 360, 70 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 88 }, { "localized_name": "model_patch", "name": "model_patch", "type": "MODEL_PATCH", "link": 89 }, { "localized_name": "clip_vision_output", "name": "clip_vision_output", "type": "CLIP_VISION_OUTPUT", "link": 87 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 90 ] } ], "properties": { "Node name for S&R": "USOStyleReference", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] } ], "groups": [], "links": [ { "id": 87, "origin_id": 52, "origin_slot": 0, "target_id": 54, "target_slot": 2, "type": "CLIP_VISION_OUTPUT" }, { "id": 85, "origin_id": -10, "origin_slot": 0, "target_id": 52, "target_slot": 0, "type": "CLIP_VISION" }, { "id": 86, "origin_id": -10, "origin_slot": 1, "target_id": 52, "target_slot": 1, "type": "IMAGE" }, { "id": 88, "origin_id": -10, "origin_slot": 2, "target_id": 54, "target_slot": 0, "type": "MODEL" }, { "id": 89, "origin_id": -10, "origin_slot": 3, "target_id": 54, "target_slot": 1, "type": "MODEL_PATCH" }, { "id": 90, "origin_id": 54, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "MODEL" }, { "id": 91, "origin_id": -10, "origin_slot": 4, "target_id": 52, "target_slot": 2, "type": "COMBO" } ], "extra": { "workflowRendererVersion": "LG" } }, { "id": "db9e0685-d161-4026-b52c-d0cd40ff7381", "version": 1, "state": { "lastGroupId": 10, "lastNodeId": 110, "lastLinkId": 179, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "USO Character Reference", "inputNode": { "id": -10, "bounding": [ -1430, 530, 135.044921875, 120 ] }, "outputNode": { "id": -20, "bounding": [ 990, 530, 120, 60 ] }, "inputs": [ { "id": "5ae9cee2-cd3d-4f0d-9cd1-ae758e057230", "name": "image", "type": "IMAGE", "linkIds": [ 171 ], "localized_name": "image", "label": "reference_image", "pos": [ -1314.955078125, 550 ] }, { "id": "a7475ffe-1aa6-44a5-a161-8a9eac72621f", "name": "text", "type": "STRING", "linkIds": [ 174 ], "pos": [ -1314.955078125, 570 ] }, { "id": "517a5788-f00b-4eca-8794-48b8439ec74a", "name": "width", "type": "INT", "linkIds": [ 175 ], "pos": [ -1314.955078125, 590 ] }, { "id": "2d96feb6-a24a-417a-b79a-8a615ddae59c", "name": "height", "type": "INT", "linkIds": [ 176 ], "pos": [ -1314.955078125, 610 ] } ], "outputs": [ { "id": "e4be4826-9c7d-4f82-9e3e-c8f3a57f683c", "name": "IMAGE", "type": "IMAGE", "linkIds": [ 9 ], "localized_name": "IMAGE", "pos": [ 1010, 550 ] } ], "widgets": [], "nodes": [ { "id": 46, "type": "LoadImage", "pos": [ 20, 720 ], "size": [ 274.080078125, 314.00006103515625 ], "flags": { "collapsed": false }, "order": 0, "mode": 4, "inputs": [], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 98 ] }, { "localized_name": "MASK", "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux1_dev_uso_reference_image_gen_input_image.png", "image" ] }, { "id": 100, "type": "MarkdownNote", "pos": [ 310, 860 ], "size": [ 230, 170 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "title": "About Style reference", "properties": {}, "widgets_values": [ "The output image will reference the style from the images you uploaded. \n\nYou can disable all reference image inputs and use this workflow as a subject-driven image generation workflow.\n" ], "color": "#432", "bgcolor": "#653" }, { "id": 97, "type": "MarkdownNote", "pos": [ -690, 1120 ], "size": [ 340, 240 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [], "title": "About ImageScaleToMaxDimension", "properties": {}, "widgets_values": [ "Different largest_size values affect how much the character features from the reference image are retained in the final output image.\n\n512px is the recommendation from the UXO team, as it preserves more character features.\n\nHowever, tests also show that if you only use images of the character's head as input, the final output image often has issues like the character taking up too much space. Setting it to 1024px gives much better results.\n\nSo please use different size settings based on the characteristics of your input image to get the best output." ], "color": "#432", "bgcolor": "#653" }, { "id": 57, "type": "a1f45003-135e-4aee-9ca6-864bacf3b418", "pos": [ -190, 130 ], "size": [ 280, 78 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 102 }, { "localized_name": "latent", "name": "latent", "type": "LATENT", "link": 103 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 104 ] } ], "properties": { "proxyWidgets": [ [ "-1", "guidance" ] ], "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 3.5 ] }, { "id": 30, "type": "CheckpointLoaderSimple", "pos": [ -690, -90 ], "size": [ 315, 98 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 62 ] }, { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "slot_index": 1, "links": [ 45 ] }, { "localized_name": "VAE", "name": "VAE", "type": "VAE", "slot_index": 2, "links": [ 46, 78 ] } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple", "cnr_id": "comfy-core", "ver": "0.3.56", "models": [ { "name": "flux1-dev-fp8.safetensors", "url": "https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev-fp8.safetensors", "directory": "checkpoints" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux1-dev-fp8.safetensors" ] }, { "id": 40, "type": "CLIPVisionLoader", "pos": [ -690, 310 ], "size": [ 315, 58 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "CLIP_VISION", "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [ 91, 97 ] } ], "properties": { "Node name for S&R": "CLIPVisionLoader", "cnr_id": "comfy-core", "ver": "0.3.56", "models": [ { "name": "sigclip_vision_patch14_384.safetensors", "url": "https://huggingface.co/Comfy-Org/sigclip_vision_384/resolve/main/sigclip_vision_patch14_384.safetensors", "directory": "clip_vision" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "sigclip_vision_patch14_384.safetensors" ] }, { "id": 39, "type": "ModelPatchLoader", "pos": [ -690, 200 ], "size": [ 315, 58 ], "flags": {}, "order": 5, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "MODEL_PATCH", "name": "MODEL_PATCH", "type": "MODEL_PATCH", "links": [ 94, 100 ] } ], "properties": { "Node name for S&R": "ModelPatchLoader", "cnr_id": "comfy-core", "ver": "0.3.56", "models": [ { "name": "uso-flux1-projector-v1.safetensors", "url": "https://huggingface.co/Comfy-Org/USO_1.0_Repackaged/resolve/main/split_files/model_patches/uso-flux1-projector-v1.safetensors", "directory": "model_patches" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "uso-flux1-projector-v1.safetensors" ] }, { "id": 43, "type": "LoraLoaderModelOnly", "pos": [ -690, 60 ], "size": [ 315, 82 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 62 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 99 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly", "cnr_id": "comfy-core", "ver": "0.3.56", "models": [ { "name": "uso-flux1-dit-lora-v1.safetensors", "url": "https://huggingface.co/Comfy-Org/USO_1.0_Repackaged/resolve/main/split_files/loras/uso-flux1-dit-lora-v1.safetensors", "directory": "loras" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "uso-flux1-dit-lora-v1.safetensors", 1 ] }, { "id": 51, "type": "VAEEncode", "pos": [ -330, 180 ], "size": [ 280, 46 ], "flags": { "collapsed": true }, "order": 15, "mode": 0, "inputs": [ { "localized_name": "pixels", "name": "pixels", "type": "IMAGE", "link": 172 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 78 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 103 ] } ], "properties": { "Node name for S&R": "VAEEncode", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 48, "type": "ConditioningZeroOut", "pos": [ -320, 90 ], "size": [ 280, 26 ], "flags": { "collapsed": true }, "order": 14, "mode": 0, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 72 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 73 ] } ], "properties": { "Node name for S&R": "ConditioningZeroOut", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 8, "type": "VAEDecode", "pos": [ 540, -30 ], "size": [ 210, 46 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 52 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 46 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 9 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 109, "type": "ImageScaleToMaxDimension", "pos": [ -670, 950 ], "size": [ 281.2027282714844, 82 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 171 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 172 ] } ], "properties": { "Node name for S&R": "ImageScaleToMaxDimension", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "area", 512 ] }, { "id": 96, "type": "MarkdownNote", "pos": [ 540, -210 ], "size": [ 390, 140 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [], "title": "About EasyCache", "properties": {}, "widgets_values": [ "The EasyCache node will maintain a `cumulative_change_rate`. When this value is lower than the `reuse_threshold`, it skips the current step and uses the cached result.\n\nThis node can reduce inference time, but it also sacrifices some quality and details. You can bypass it (Ctrl+B) if you don't need it.\n" ], "color": "#432", "bgcolor": "#653" }, { "id": 55, "type": "131a4c28-3179-4f76-9b76-9e166864e689", "pos": [ -320, 560 ], "size": [ 310, 120 ], "flags": {}, "order": 9, "mode": 4, "inputs": [ { "localized_name": "clip_vision", "name": "clip_vision", "type": "CLIP_VISION", "link": 91 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 92 }, { "localized_name": "model", "name": "model", "type": "MODEL", "link": 99 }, { "localized_name": "model_patch", "name": "model_patch", "type": "MODEL_PATCH", "link": 94 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 96 ] } ], "properties": { "proxyWidgets": [ [ "-1", "crop" ] ], "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "center" ] }, { "id": 56, "type": "64e7e94b-5beb-4fc4-b8fd-86038e2dba05", "pos": [ 20, 550 ], "size": [ 320, 120 ], "flags": {}, "order": 10, "mode": 4, "inputs": [ { "localized_name": "clip_vision", "name": "clip_vision", "type": "CLIP_VISION", "link": 97 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 98 }, { "localized_name": "model", "name": "model", "type": "MODEL", "link": 96 }, { "localized_name": "model_patch", "name": "model_patch", "type": "MODEL_PATCH", "link": 100 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 179 ] } ], "properties": { "proxyWidgets": [ [ "-1", "crop" ] ], "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "center" ] }, { "id": 53, "type": "LoadImage", "pos": [ -320, 720 ], "size": [ 274.080078125, 314.00006103515625 ], "flags": {}, "order": 7, "mode": 4, "inputs": [], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 92 ] }, { "localized_name": "MASK", "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux1_dev_uso_reference_image_gen_input_image.png", "image" ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ -330, -130 ], "size": [ 422.8500061035156, 164.30999755859375 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 45 }, { "localized_name": "text", "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 174 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 72, 102 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "A European girl with a heartfelt smile. She is immersed in a vast, endless field of blooming flowers under a perfect summer sky." ], "color": "#232", "bgcolor": "#353" }, { "id": 110, "type": "EmptySD3LatentImage", "pos": [ -250, 330 ], "size": [ 270, 106 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 175 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 176 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 173 ] } ], "properties": { "Node name for S&R": "EmptySD3LatentImage", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 31, "type": "KSampler", "pos": [ 180, -30 ], "size": [ 315, 474 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 179 }, { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 104 }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 73 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 173 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 52 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1058487910949722, "randomize", 20, 1, "euler", "simple", 1 ] } ], "groups": [ { "id": 1, "title": "Step 3 - Style Reference", "bounding": [ -340, 470, 890, 600 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Step 2 - Subject/Identity Image", "bounding": [ -700, 470, 340, 600 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Step 1 - Load Models", "bounding": [ -700, -200, 340, 650 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 9, "title": "Step 4 - Prompt", "bounding": [ -340, -200, 460, 430 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 10, "title": "Image Size", "bounding": [ -340, 250, 460, 200 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "links": [ { "id": 45, "origin_id": 30, "origin_slot": 1, "target_id": 6, "target_slot": 0, "type": "CLIP" }, { "id": 102, "origin_id": 6, "origin_slot": 0, "target_id": 57, "target_slot": 0, "type": "CONDITIONING" }, { "id": 103, "origin_id": 51, "origin_slot": 0, "target_id": 57, "target_slot": 1, "type": "LATENT" }, { "id": 62, "origin_id": 30, "origin_slot": 0, "target_id": 43, "target_slot": 0, "type": "MODEL" }, { "id": 172, "origin_id": 109, "origin_slot": 0, "target_id": 51, "target_slot": 0, "type": "IMAGE" }, { "id": 78, "origin_id": 30, "origin_slot": 2, "target_id": 51, "target_slot": 1, "type": "VAE" }, { "id": 72, "origin_id": 6, "origin_slot": 0, "target_id": 48, "target_slot": 0, "type": "CONDITIONING" }, { "id": 52, "origin_id": 31, "origin_slot": 0, "target_id": 8, "target_slot": 0, "type": "LATENT" }, { "id": 46, "origin_id": 30, "origin_slot": 2, "target_id": 8, "target_slot": 1, "type": "VAE" }, { "id": 104, "origin_id": 57, "origin_slot": 0, "target_id": 31, "target_slot": 1, "type": "CONDITIONING" }, { "id": 73, "origin_id": 48, "origin_slot": 0, "target_id": 31, "target_slot": 2, "type": "CONDITIONING" }, { "id": 173, "origin_id": 110, "origin_slot": 0, "target_id": 31, "target_slot": 3, "type": "LATENT" }, { "id": 91, "origin_id": 40, "origin_slot": 0, "target_id": 55, "target_slot": 0, "type": "CLIP_VISION" }, { "id": 92, "origin_id": 53, "origin_slot": 0, "target_id": 55, "target_slot": 1, "type": "IMAGE" }, { "id": 99, "origin_id": 43, "origin_slot": 0, "target_id": 55, "target_slot": 2, "type": "MODEL" }, { "id": 94, "origin_id": 39, "origin_slot": 0, "target_id": 55, "target_slot": 3, "type": "MODEL_PATCH" }, { "id": 97, "origin_id": 40, "origin_slot": 0, "target_id": 56, "target_slot": 0, "type": "CLIP_VISION" }, { "id": 98, "origin_id": 46, "origin_slot": 0, "target_id": 56, "target_slot": 1, "type": "IMAGE" }, { "id": 96, "origin_id": 55, "origin_slot": 0, "target_id": 56, "target_slot": 2, "type": "MODEL" }, { "id": 100, "origin_id": 39, "origin_slot": 0, "target_id": 56, "target_slot": 3, "type": "MODEL_PATCH" }, { "id": 171, "origin_id": -10, "origin_slot": 0, "target_id": 109, "target_slot": 0, "type": "IMAGE" }, { "id": 9, "origin_id": 8, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "IMAGE" }, { "id": 174, "origin_id": -10, "origin_slot": 1, "target_id": 6, "target_slot": 1, "type": "STRING" }, { "id": 175, "origin_id": -10, "origin_slot": 2, "target_id": 110, "target_slot": 0, "type": "INT" }, { "id": 176, "origin_id": -10, "origin_slot": 3, "target_id": 110, "target_slot": 1, "type": "INT" }, { "id": 179, "origin_id": 56, "origin_slot": 0, "target_id": 31, "target_slot": 0, "type": "MODEL" } ], "extra": { "workflowRendererVersion": "LG" } }, { "id": "a1f45003-135e-4aee-9ca6-864bacf3b418", "version": 1, "state": { "lastGroupId": 0, "lastNodeId": 56, "lastLinkId": 102, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "USO Reference Conditioning", "inputNode": { "id": -10, "bounding": [ -20, 283, 120, 100 ] }, "outputNode": { "id": -20, "bounding": [ 560, 293, 128.6640625, 60 ] }, "inputs": [ { "id": "d78373ce-7cdc-4e0f-a743-4d024e766376", "name": "conditioning", "type": "CONDITIONING", "linkIds": [ 66 ], "localized_name": "conditioning", "pos": [ 80, 303 ] }, { "id": "1eebe27a-c790-4a85-8aa2-3b9f4eeddd00", "name": "latent", "type": "LATENT", "linkIds": [ 79 ], "localized_name": "latent", "shape": 7, "pos": [ 80, 323 ] }, { "id": "09894330-3dcb-4fba-87a5-33c3fb9db843", "name": "guidance", "type": "FLOAT", "linkIds": [ 102 ], "pos": [ 80, 343 ] } ], "outputs": [ { "id": "194badf0-ae11-47cd-a825-d7edd7ca6cc4", "name": "CONDITIONING", "type": "CONDITIONING", "linkIds": [ 57 ], "localized_name": "CONDITIONING", "pos": [ 580, 313 ] } ], "widgets": [], "nodes": [ { "id": 44, "type": "ReferenceLatent", "pos": [ 190, 430 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 66 }, { "localized_name": "latent", "name": "latent", "shape": 7, "type": "LATENT", "link": 79 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 64 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 35, "type": "FluxGuidance", "pos": [ 160, 200 ], "size": [ 211.60000610351562, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 67 }, { "localized_name": "guidance", "name": "guidance", "type": "FLOAT", "widget": { "name": "guidance" }, "link": 102 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 57 ] } ], "properties": { "Node name for S&R": "FluxGuidance", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 3.5 ] }, { "id": 41, "type": "FluxKontextMultiReferenceLatentMethod", "pos": [ 170, 320 ], "size": [ 330, 60 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 64 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 67 ] } ], "properties": { "Node name for S&R": "FluxKontextMultiReferenceLatentMethod", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "uxo/uno" ] } ], "groups": [], "links": [ { "id": 67, "origin_id": 41, "origin_slot": 0, "target_id": 35, "target_slot": 0, "type": "CONDITIONING" }, { "id": 64, "origin_id": 44, "origin_slot": 0, "target_id": 41, "target_slot": 0, "type": "CONDITIONING" }, { "id": 66, "origin_id": -10, "origin_slot": 0, "target_id": 44, "target_slot": 0, "type": "CONDITIONING" }, { "id": 79, "origin_id": -10, "origin_slot": 1, "target_id": 44, "target_slot": 1, "type": "LATENT" }, { "id": 57, "origin_id": 35, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "CONDITIONING" }, { "id": 102, "origin_id": -10, "origin_slot": 2, "target_id": 35, "target_slot": 1, "type": "FLOAT" } ], "extra": { "workflowRendererVersion": "LG" } }, { "id": "131a4c28-3179-4f76-9b76-9e166864e689", "version": 1, "state": { "lastGroupId": 0, "lastNodeId": 54, "lastLinkId": 91, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "USOStyleReference(Subgraph)", "inputNode": { "id": -10, "bounding": [ -790, 608, 120, 140 ] }, "outputNode": { "id": -20, "bounding": [ 190, 638, 120, 60 ] }, "inputs": [ { "id": "7640a5a3-e2cf-4f74-acaf-45dedea514e3", "name": "clip_vision", "type": "CLIP_VISION", "linkIds": [ 85 ], "localized_name": "clip_vision", "pos": [ -690, 628 ] }, { "id": "4e819086-d02a-4b6c-8383-e7939729ba47", "name": "image", "type": "IMAGE", "linkIds": [ 86 ], "localized_name": "image", "pos": [ -690, 648 ] }, { "id": "2bea204b-da22-43d3-9591-9ef6e66a8169", "name": "model", "type": "MODEL", "linkIds": [ 88 ], "localized_name": "model", "pos": [ -690, 668 ] }, { "id": "4effe73e-9aa2-4cc5-acde-5df0cf566455", "name": "model_patch", "type": "MODEL_PATCH", "linkIds": [ 89 ], "localized_name": "model_patch", "pos": [ -690, 688 ] }, { "id": "d9a5affb-b212-4f50-8591-c3dc535a2e53", "name": "crop", "type": "COMBO", "linkIds": [ 91 ], "pos": [ -690, 708 ] } ], "outputs": [ { "id": "4f7b8185-680f-420c-8138-4138be1fda23", "name": "MODEL", "type": "MODEL", "linkIds": [ 90 ], "localized_name": "MODEL", "pos": [ 210, 658 ] } ], "widgets": [], "nodes": [ { "id": 52, "type": "CLIPVisionEncode", "pos": [ -610, 580 ], "size": [ 290.390625, 78 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "clip_vision", "name": "clip_vision", "type": "CLIP_VISION", "link": 85 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 86 }, { "localized_name": "crop", "name": "crop", "type": "COMBO", "widget": { "name": "crop" }, "link": 91 } ], "outputs": [ { "localized_name": "CLIP_VISION_OUTPUT", "name": "CLIP_VISION_OUTPUT", "type": "CLIP_VISION_OUTPUT", "links": [ 87 ] } ], "properties": { "Node name for S&R": "CLIPVisionEncode", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "center" ] }, { "id": 54, "type": "USOStyleReference", "pos": [ -610, 710 ], "size": [ 360, 70 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 88 }, { "localized_name": "model_patch", "name": "model_patch", "type": "MODEL_PATCH", "link": 89 }, { "localized_name": "clip_vision_output", "name": "clip_vision_output", "type": "CLIP_VISION_OUTPUT", "link": 87 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 90 ] } ], "properties": { "Node name for S&R": "USOStyleReference", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] } ], "groups": [], "links": [ { "id": 87, "origin_id": 52, "origin_slot": 0, "target_id": 54, "target_slot": 2, "type": "CLIP_VISION_OUTPUT" }, { "id": 85, "origin_id": -10, "origin_slot": 0, "target_id": 52, "target_slot": 0, "type": "CLIP_VISION" }, { "id": 86, "origin_id": -10, "origin_slot": 1, "target_id": 52, "target_slot": 1, "type": "IMAGE" }, { "id": 88, "origin_id": -10, "origin_slot": 2, "target_id": 54, "target_slot": 0, "type": "MODEL" }, { "id": 89, "origin_id": -10, "origin_slot": 3, "target_id": 54, "target_slot": 1, "type": "MODEL_PATCH" }, { "id": 90, "origin_id": 54, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "MODEL" }, { "id": 91, "origin_id": -10, "origin_slot": 4, "target_id": 52, "target_slot": 2, "type": "COMBO" } ], "extra": { "workflowRendererVersion": "LG" } }, { "id": "64e7e94b-5beb-4fc4-b8fd-86038e2dba05", "version": 1, "state": { "lastGroupId": 0, "lastNodeId": 54, "lastLinkId": 91, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "USOStyleReference(Subgraph)", "inputNode": { "id": -10, "bounding": [ -790, 608, 120, 140 ] }, "outputNode": { "id": -20, "bounding": [ 190, 638, 120, 60 ] }, "inputs": [ { "id": "7640a5a3-e2cf-4f74-acaf-45dedea514e3", "name": "clip_vision", "type": "CLIP_VISION", "linkIds": [ 85 ], "localized_name": "clip_vision", "pos": [ -690, 628 ] }, { "id": "4e819086-d02a-4b6c-8383-e7939729ba47", "name": "image", "type": "IMAGE", "linkIds": [ 86 ], "localized_name": "image", "pos": [ -690, 648 ] }, { "id": "2bea204b-da22-43d3-9591-9ef6e66a8169", "name": "model", "type": "MODEL", "linkIds": [ 88 ], "localized_name": "model", "pos": [ -690, 668 ] }, { "id": "4effe73e-9aa2-4cc5-acde-5df0cf566455", "name": "model_patch", "type": "MODEL_PATCH", "linkIds": [ 89 ], "localized_name": "model_patch", "pos": [ -690, 688 ] }, { "id": "d9a5affb-b212-4f50-8591-c3dc535a2e53", "name": "crop", "type": "COMBO", "linkIds": [ 91 ], "pos": [ -690, 708 ] } ], "outputs": [ { "id": "4f7b8185-680f-420c-8138-4138be1fda23", "name": "MODEL", "type": "MODEL", "linkIds": [ 90 ], "localized_name": "MODEL", "pos": [ 210, 658 ] } ], "widgets": [], "nodes": [ { "id": 52, "type": "CLIPVisionEncode", "pos": [ -610, 580 ], "size": [ 290.390625, 78 ], "flags": {}, "order": 0, "mode": 0, "inputs": [ { "localized_name": "clip_vision", "name": "clip_vision", "type": "CLIP_VISION", "link": 85 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 86 }, { "localized_name": "crop", "name": "crop", "type": "COMBO", "widget": { "name": "crop" }, "link": 91 } ], "outputs": [ { "localized_name": "CLIP_VISION_OUTPUT", "name": "CLIP_VISION_OUTPUT", "type": "CLIP_VISION_OUTPUT", "links": [ 87 ] } ], "properties": { "Node name for S&R": "CLIPVisionEncode", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "center" ] }, { "id": 54, "type": "USOStyleReference", "pos": [ -610, 710 ], "size": [ 360, 70 ], "flags": {}, "order": 1, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 88 }, { "localized_name": "model_patch", "name": "model_patch", "type": "MODEL_PATCH", "link": 89 }, { "localized_name": "clip_vision_output", "name": "clip_vision_output", "type": "CLIP_VISION_OUTPUT", "link": 87 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 90 ] } ], "properties": { "Node name for S&R": "USOStyleReference", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] } ], "groups": [], "links": [ { "id": 87, "origin_id": 52, "origin_slot": 0, "target_id": 54, "target_slot": 2, "type": "CLIP_VISION_OUTPUT" }, { "id": 85, "origin_id": -10, "origin_slot": 0, "target_id": 52, "target_slot": 0, "type": "CLIP_VISION" }, { "id": 86, "origin_id": -10, "origin_slot": 1, "target_id": 52, "target_slot": 1, "type": "IMAGE" }, { "id": 88, "origin_id": -10, "origin_slot": 2, "target_id": 54, "target_slot": 0, "type": "MODEL" }, { "id": 89, "origin_id": -10, "origin_slot": 3, "target_id": 54, "target_slot": 1, "type": "MODEL_PATCH" }, { "id": 90, "origin_id": 54, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "MODEL" }, { "id": 91, "origin_id": -10, "origin_slot": 4, "target_id": 52, "target_slot": 2, "type": "COMBO" } ], "extra": { "workflowRendererVersion": "LG" } }, { "id": "ee9a1c5a-924e-4fbb-8aaf-f3153e83bb50", "version": 1, "state": { "lastGroupId": 10, "lastNodeId": 112, "lastLinkId": 184, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "USO Style Reference", "inputNode": { "id": -10, "bounding": [ -880, 1980, 142.36328125, 140 ] }, "outputNode": { "id": -20, "bounding": [ 770, 1990, 120, 60 ] }, "inputs": [ { "id": "6cc2f177-3653-414d-918f-f97703773993", "name": "image", "type": "IMAGE", "linkIds": [ 143 ], "localized_name": "image", "label": "reference_image1", "pos": [ -757.63671875, 2000 ] }, { "id": "3c837345-a269-4c14-a832-943edbf6e9aa", "name": "image_1", "type": "IMAGE", "linkIds": [ 136 ], "localized_name": "image_1", "label": "reference_image2", "pos": [ -757.63671875, 2020 ] }, { "id": "bd7ed80f-5239-4d9e-9721-f5cea0aebaea", "name": "text", "type": "STRING", "linkIds": [ 180 ], "pos": [ -757.63671875, 2040 ] }, { "id": "ded97840-d0f8-4517-8406-5a164a5f99fa", "name": "width", "type": "INT", "linkIds": [ 181 ], "pos": [ -757.63671875, 2060 ] }, { "id": "e2c7c616-69c2-427d-a540-a2749a934042", "name": "height", "type": "INT", "linkIds": [ 182 ], "pos": [ -757.63671875, 2080 ] } ], "outputs": [ { "id": "00ac6cd9-7dd7-468b-bd32-40f7b3121084", "name": "IMAGE", "type": "IMAGE", "linkIds": [ 123 ], "localized_name": "IMAGE", "pos": [ 790, 2010 ] } ], "widgets": [], "nodes": [ { "id": 72, "type": "CheckpointLoaderSimple", "pos": [ -690, 1580 ], "size": [ 315, 98 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 124 ] }, { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "slot_index": 1, "links": [ 146 ] }, { "localized_name": "VAE", "name": "VAE", "type": "VAE", "slot_index": 2, "links": [ 126 ] } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple", "cnr_id": "comfy-core", "ver": "0.3.56", "models": [ { "name": "flux1-dev-fp8.safetensors", "url": "https://huggingface.co/Comfy-Org/flux1-dev/resolve/main/flux1-dev-fp8.safetensors", "directory": "checkpoints" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "flux1-dev-fp8.safetensors" ] }, { "id": 79, "type": "ConditioningZeroOut", "pos": [ -330, 1790 ], "size": [ 204.134765625, 26 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "localized_name": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 131 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 129 ] } ], "properties": { "Node name for S&R": "ConditioningZeroOut", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 89, "type": "d31e1095-65ee-4ba3-b4d0-a21e493dd0bd", "pos": [ -630, 2160 ], "size": [ 274.080078125, 120 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "localized_name": "clip_vision", "name": "clip_vision", "type": "CLIP_VISION", "link": 142 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 143 }, { "localized_name": "model", "name": "model", "type": "MODEL", "link": 144 }, { "localized_name": "model_patch", "name": "model_patch", "type": "MODEL_PATCH", "link": 145 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 137 ] } ], "properties": { "proxyWidgets": [ [ "-1", "crop" ] ], "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "center" ] }, { "id": 77, "type": "VAEDecode", "pos": [ 500, 1560 ], "size": [ 210, 46 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 125 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 126 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 123 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [] }, { "id": 76, "type": "LoraLoaderModelOnly", "pos": [ -690, 1730 ], "size": [ 315, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 124 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 144 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly", "cnr_id": "comfy-core", "ver": "0.3.56", "models": [ { "name": "uso-flux1-dit-lora-v1.safetensors", "url": "https://huggingface.co/Comfy-Org/USO_1.0_Repackaged/resolve/main/split_files/loras/uso-flux1-dit-lora-v1.safetensors", "directory": "loras" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "uso-flux1-dit-lora-v1.safetensors", 1 ] }, { "id": 75, "type": "ModelPatchLoader", "pos": [ -690, 1870 ], "size": [ 315, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "MODEL_PATCH", "name": "MODEL_PATCH", "type": "MODEL_PATCH", "links": [ 138, 145 ] } ], "properties": { "Node name for S&R": "ModelPatchLoader", "cnr_id": "comfy-core", "ver": "0.3.56", "models": [ { "name": "uso-flux1-projector-v1.safetensors", "url": "https://huggingface.co/Comfy-Org/USO_1.0_Repackaged/resolve/main/split_files/model_patches/uso-flux1-projector-v1.safetensors", "directory": "model_patches" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "uso-flux1-projector-v1.safetensors" ] }, { "id": 74, "type": "CLIPVisionLoader", "pos": [ -690, 1980 ], "size": [ 315, 58 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "CLIP_VISION", "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [ 135, 142 ] } ], "properties": { "Node name for S&R": "CLIPVisionLoader", "cnr_id": "comfy-core", "ver": "0.3.56", "models": [ { "name": "sigclip_vision_patch14_384.safetensors", "url": "https://huggingface.co/Comfy-Org/sigclip_vision_384/resolve/main/sigclip_vision_patch14_384.safetensors", "directory": "clip_vision" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "sigclip_vision_patch14_384.safetensors" ] }, { "id": 83, "type": "08624421-a41c-413b-9de7-d68b0b60b667", "pos": [ -640, 2340 ], "size": [ 274.080078125, 120 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "localized_name": "clip_vision", "name": "clip_vision", "type": "CLIP_VISION", "link": 135 }, { "localized_name": "image", "name": "image", "type": "IMAGE", "link": 136 }, { "localized_name": "model", "name": "model", "type": "MODEL", "link": 137 }, { "localized_name": "model_patch", "name": "model_patch", "type": "MODEL_PATCH", "link": 138 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 184 ] } ], "properties": { "proxyWidgets": [ [ "-1", "crop" ] ], "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "center" ] }, { "id": 90, "type": "CLIPTextEncode", "pos": [ -330, 1580 ], "size": [ 422.8500061035156, 164.30999755859375 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 146 }, { "localized_name": "text", "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 180 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 131, 149 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ "A man dressed fashionably stands on the forest." ], "color": "#232", "bgcolor": "#353" }, { "id": 87, "type": "EmptyLatentImage", "pos": [ -320, 1930 ], "size": [ 270, 106 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "width", "name": "width", "type": "INT", "widget": { "name": "width" }, "link": 181 }, { "localized_name": "height", "name": "height", "type": "INT", "widget": { "name": "height" }, "link": 182 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 130 ] } ], "properties": { "Node name for S&R": "EmptyLatentImage", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 78, "type": "KSampler", "pos": [ 140, 1550 ], "size": [ 315, 474 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 184 }, { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 149 }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 129 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 130 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 125 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.56", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65 }, "widgets_values": [ 594838223597516, "randomize", 20, 1, "euler", "simple", 1 ] } ], "groups": [ { "id": 4, "title": "Step3 - Style Reference", "bounding": [ -700, 2060, 810, 470 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 6, "title": "Step 1 - Load Models", "bounding": [ -700, 1510, 335, 541.5999755859375 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 7, "title": "Step 4 - Image Size", "bounding": [ -340, 1850, 300, 200 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 8, "title": "Step 3 - Prompt", "bounding": [ -340, 1510, 442.8500061035156, 309.6000061035156 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "links": [ { "id": 131, "origin_id": 90, "origin_slot": 0, "target_id": 79, "target_slot": 0, "type": "CONDITIONING" }, { "id": 142, "origin_id": 74, "origin_slot": 0, "target_id": 89, "target_slot": 0, "type": "CLIP_VISION" }, { "id": 144, "origin_id": 76, "origin_slot": 0, "target_id": 89, "target_slot": 2, "type": "MODEL" }, { "id": 145, "origin_id": 75, "origin_slot": 0, "target_id": 89, "target_slot": 3, "type": "MODEL_PATCH" }, { "id": 125, "origin_id": 78, "origin_slot": 0, "target_id": 77, "target_slot": 0, "type": "LATENT" }, { "id": 126, "origin_id": 72, "origin_slot": 2, "target_id": 77, "target_slot": 1, "type": "VAE" }, { "id": 149, "origin_id": 90, "origin_slot": 0, "target_id": 78, "target_slot": 1, "type": "CONDITIONING" }, { "id": 129, "origin_id": 79, "origin_slot": 0, "target_id": 78, "target_slot": 2, "type": "CONDITIONING" }, { "id": 130, "origin_id": 87, "origin_slot": 0, "target_id": 78, "target_slot": 3, "type": "LATENT" }, { "id": 146, "origin_id": 72, "origin_slot": 1, "target_id": 90, "target_slot": 0, "type": "CLIP" }, { "id": 124, "origin_id": 72, "origin_slot": 0, "target_id": 76, "target_slot": 0, "type": "MODEL" }, { "id": 135, "origin_id": 74, "origin_slot": 0, "target_id": 83, "target_slot": 0, "type": "CLIP_VISION" }, { "id": 137, "origin_id": 89, "origin_slot": 0, "target_id": 83, "target_slot": 2, "type": "MODEL" }, { "id": 138, "origin_id": 75, "origin_slot": 0, "target_id": 83, "target_slot": 3, "type": "MODEL_PATCH" }, { "id": 143, "origin_id": -10, "origin_slot": 0, "target_id": 89, "target_slot": 1, "type": "IMAGE" }, { "id": 136, "origin_id": -10, "origin_slot": 1, "target_id": 83, "target_slot": 1, "type": "IMAGE" }, { "id": 123, "origin_id": 77, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "IMAGE" }, { "id": 180, "origin_id": -10, "origin_slot": 2, "target_id": 90, "target_slot": 1, "type": "STRING" }, { "id": 181, "origin_id": -10, "origin_slot": 3, "target_id": 87, "target_slot": 0, "type": "INT" }, { "id": 182, "origin_id": -10, "origin_slot": 4, "target_id": 87, "target_slot": 1, "type": "INT" }, { "id": 184, "origin_id": 83, "origin_slot": 0, "target_id": 78, "target_slot": 0, "type": "MODEL" } ], "extra": { "workflowRendererVersion": "LG" } } ] }, "config": {}, "extra": { "ds": { "scale": 0.9830122950205438, "offset": [ 975.3212419575141, -289.40489604355525 ] }, "frontendVersion": "1.38.6", "workflowRendererVersion": "LG", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }