The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Apps: Outfit Swap changes only the clothes, from an outfit photo or from words
Adarsh8d9e284be583
diff --git a/CREDITS.md b/CREDITS.mdindex 383e7f39..aa172048 100644--- a/CREDITS.md+++ b/CREDITS.md@@ -28,7 +28,7 @@ Some licences ask the app that runs their model to say so.## Open model licences-194 models, one row for each set of open weights Fuobe runs: 94 allow commercial use, 37 with conditions, 42 are non-commercial and 22 aren't available everywhere.+195 models, one row for each set of open weights Fuobe runs: 94 allow commercial use, 37 with conditions, 43 are non-commercial and 22 aren't available everywhere.| Model | By | Kind | Licence | Note || --- | --- | --- | --- | --- |@@ -194,6 +194,7 @@ Some licences ask the app that runs their model to say so.| MoGe 2 scene | Microsoft | 3D | [MIT (microsoft/MoGe 2 and 3, Comfy-Org/MoGe repack)](https://spdx.org/licenses/MIT.html) | || Wan 2.1 + Uni3C path | Alibaba (Wan, DAMO Uni3C) | Video | [Apache-2.0 (Wan 2.1 I2V 14B; Uni3C, alibaba-damo-academy/Uni3C — Kijai's repack repo carries no licence field)](https://spdx.org/licenses/Apache-2.0.html) | || FLUX.2 [klein] Try-On | Black Forest Labs × xocialize | Image | [Apache-2.0 (FLUX.2 [klein] 4B, try-on LoRA by xocialize); segformer_b2_clothes MIT; ComfyUI-RMBG code GPL-3.0](https://spdx.org/licenses/Apache-2.0.html) | |+| Qwen-Image 2.1 Outfit Swap | Alibaba Qwen × AusBoss | Image | [Qwen Research License Agreement (Qwen-Image 2.1 and the Outfit Swap LoRA by AusBoss, a derivative): NON-COMMERCIAL, research and evaluation only](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial || Qwen-Image-Edit Product Shot | Alibaba Qwen × dx8152 | Image | [Apache-2.0 (Qwen-Image-Edit-2509, White_to_Scene and Lightning LoRAs); BiRefNet MIT](https://spdx.org/licenses/Apache-2.0.html) | || Z-Image Turbo · Grid | Alibaba Tongyi | Image | [Apache-2.0 (Z-Image Turbo)](https://spdx.org/licenses/Apache-2.0.html) | || Z-Image Turbo · Soul Cast sheet | Alibaba Tongyi | Image | [Apache-2.0 (Z-Image Turbo)](https://spdx.org/licenses/Apache-2.0.html) | |@@ -223,6 +224,7 @@ Some licences ask the app that runs their model to say so.| Qwen-Image 2.1 Inpaint · 4 steps, LightX2V Lightning LoRA | Workflow library | Inpaint | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; LightX2V Lightning LoRA: no licence in the repository (no LICENSE file, empty card tag; comfyui-wiki says Apache-2.0); a Qwen-Image 2.1 adapter, so the base's Qwen Research License applies to what it runs on; AusBoss nodes MIT; Texture-Fix VAE (madebyollin @ 9a10df81, optional: Options → Decoder Clean): Qwen Research License (card: license_name qwen-research)](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial || Qwen-Image 2.1 Expand · 2 steps, DMD2 LoRA v1.5 | Workflow library | Outpaint | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; linoyts' DMD2 2-step LoRA v1.5, a derivative of Qwen-Image 2.1 under the same Qwen Research License (card and NOTICE); outpaint LoRA by AusBoss under the same licence; AusBoss nodes MIT; Texture-Fix VAE (madebyollin @ 9a10df81, optional: Options → Decoder Clean): Qwen Research License (card: license_name qwen-research)](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial || Qwen-Image 2.1 Expand · 4 steps, LightX2V Lightning LoRA | Workflow library | Outpaint | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; LightX2V Lightning LoRA: no licence in the repository (no LICENSE file, empty card tag; comfyui-wiki says Apache-2.0); a Qwen-Image 2.1 adapter, so the base's Qwen Research License applies to what it runs on; outpaint LoRA by AusBoss under the same licence; AusBoss nodes MIT; Texture-Fix VAE (madebyollin @ 9a10df81, optional: Options → Decoder Clean): Qwen Research License (card: license_name qwen-research)](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial |+| Qwen-Image 2.1 Outfit Swap (outfit in words; Outfit Swap LoRA) | Workflow library | Edit | [Qwen Research License Agreement (Qwen-Image 2.1 and the Outfit Swap LoRA by AusBoss, a derivative): NON-COMMERCIAL, research and evaluation only](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial || LTX-2.3 22B distilled text to video + LoRAs | Workflow library | T2V | [LTX-2 Community License (LTX-2.3 22B: free under US$10M annual revenue); Gemma 3 text encoder (Gemma Terms of Use)](https://huggingface.co/Lightricks/LTX-2.3-fp8) | Conditions apply || Clean the dialogue of a soundtrack and keep its music and effects (DBS + NVIDIA RE-USE) | Workflow library | Enhance voice | [RE-USE weights OpenMDW-1.1 (NVIDIA; 'ready for commercial use' on the card; the card's safety section points to the NVIDIA Open Model License for use-case limits); ComfyUI-RE-USE code MIT with adapted RE-USE code OpenMDW-1.1; DBS weights Apache-2.0 (JusperLee; trained on DnR v2, CC BY 4.0); ComfyUI-DBS code MIT; vendored DBS code Apache-2.0 with MIT notices (BS-RoFormer, MSST, TIGER)](https://huggingface.co/nvidia/NVIDIA-NemotronLabs-RE-USE/blob/31f82f2efad1095034492f236e8dac9239ba713b/LICENSE) | || Group swap, one by one: exactly 2 characters, each person redrawn on a pass of their own (Openjutsu advanced_maxq) | Workflow library | Video group swap | [MiniMax H3 Community License (H3 Ref2VA, its VAEs, the packaged Qwen3-VL text encoder, the DMAD LoRA derived from it): territory EXCLUDES the US, the EU, the UK and South Korea; commercial use above US$20M yearly revenue needs MiniMax's written authorization; show "MiniMax H3" on the product's interface; no outputs used to improve other AI models · Qwen3-VL 8B describer Apache-2.0 · SAM 3.1 under Meta's SAM License · graphs from D3voz/openjutsu (MIT) · Context Loop nodes GPL-3.0, Fantastic PromptBuilder MIT, H3 OneClick Swap MIT](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |diff --git a/scripts/comfy/hand-built/outfit-swap-qwen-image-21-text.json b/scripts/comfy/hand-built/outfit-swap-qwen-image-21-text.jsonnew file mode 100644index 00000000..7e0e28f7--- /dev/null+++ b/scripts/comfy/hand-built/outfit-swap-qwen-image-21-text.json@@ -0,0 +1,193 @@+{+ "1": {+ "inputs": {+ "unet_name": "qwen_image_2.1_int8_convrot.safetensors",+ "weight_dtype": "default"+ },+ "class_type": "UNETLoader",+ "_meta": {+ "title": "Load Diffusion Model"+ }+ },+ "2": {+ "inputs": {+ "clip_name": "qwen3vl_8b_int8_convrot.safetensors",+ "type": "qwen_image",+ "device": "default"+ },+ "class_type": "CLIPLoader",+ "_meta": {+ "title": "Load CLIP (Qwen3-VL 8B)"+ }+ },+ "3": {+ "inputs": {+ "vae_name": "qwen_image_2.1_vae_bf16.safetensors"+ },+ "class_type": "VAELoader",+ "_meta": {+ "title": "Load VAE"+ }+ },+ "4": {+ "inputs": {+ "model": [+ "1",+ 0+ ],+ "lora_name": "qwen-image-2.1-outfit-swap.safetensors",+ "strength_model": 1+ },+ "class_type": "LoraLoaderModelOnly",+ "_meta": {+ "title": "Outfit Swap LoRA (keeps the picture in place)"+ }+ },+ "10": {+ "inputs": {+ "image": "image_1.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image (the person, image 1)"+ }+ },+ "20": {+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 1.91,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The person to about 2 MP on the 32 grid"+ }+ },+ "30": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "vae": [+ "3",+ 0+ ],+ "prompt": [+ "53",+ 0+ ],+ "negative_prompt": "",+ "resolution": 0,+ "images.image_1": [+ "20",+ 0+ ]+ },+ "class_type": "TextEncodeQwenImage21",+ "_meta": {+ "title": "Text Encode Qwen Image 2.1 (person as image 1)"+ }+ },+ "31": {+ "inputs": {+ "model": [+ "4",+ 0+ ],+ "device": "auto",+ "dtype": "default"+ },+ "class_type": "QwenImage21Cache",+ "_meta": {+ "title": "Qwen Image 2.1 Cache"+ }+ },+ "32": {+ "inputs": {+ "seed": 0,+ "steps": 25,+ "cfg": 1,+ "sampler_name": "euler",+ "scheduler": "simple",+ "denoise": 1,+ "model": [+ "31",+ 0+ ],+ "positive": [+ "30",+ 0+ ],+ "negative": [+ "30",+ 1+ ],+ "latent_image": [+ "30",+ 2+ ]+ },+ "class_type": "KSampler",+ "_meta": {+ "title": "KSampler"+ }+ },+ "33": {+ "inputs": {+ "samples": [+ "32",+ 0+ ],+ "vae": [+ "3",+ 0+ ]+ },+ "class_type": "VAEDecode",+ "_meta": {+ "title": "VAE Decode"+ }+ },+ "34": {+ "inputs": {+ "image": [+ "33",+ 0+ ]+ },+ "class_type": "SplitImageWithAlpha",+ "_meta": {+ "title": "Drop the alpha"+ }+ },+ "53": {+ "inputs": {+ "values.a": "the person",+ "values.b": "",+ "values.c": "Replace everything they wear.",+ "f_string": "Dress {a} in image 1 in {b}. Keep their face, hair, hands, pose and the background exactly the same. {c}"+ },+ "class_type": "StringFormat",+ "_meta": {+ "title": "The request (who, the outfit in words, shoes)"+ }+ },+ "90": {+ "inputs": {+ "filename_prefix": "fuobe/outfit-swap",+ "images": [+ "34",+ 0+ ]+ },+ "class_type": "SaveImage",+ "_meta": {+ "title": "Save Image"+ }+ }+}diff --git a/scripts/comfy/hand-built/outfit-swap-qwen-image-21.json b/scripts/comfy/hand-built/outfit-swap-qwen-image-21.jsonnew file mode 100644index 00000000..67f48e63--- /dev/null+++ b/scripts/comfy/hand-built/outfit-swap-qwen-image-21.json@@ -0,0 +1,441 @@+{+ "1": {+ "inputs": {+ "unet_name": "qwen_image_2.1_int8_convrot.safetensors",+ "weight_dtype": "default"+ },+ "class_type": "UNETLoader",+ "_meta": {+ "title": "Load Diffusion Model"+ }+ },+ "2": {+ "inputs": {+ "clip_name": "qwen3vl_8b_int8_convrot.safetensors",+ "type": "qwen_image",+ "device": "default"+ },+ "class_type": "CLIPLoader",+ "_meta": {+ "title": "Load CLIP (Qwen3-VL 8B)"+ }+ },+ "3": {+ "inputs": {+ "vae_name": "qwen_image_2.1_vae_bf16.safetensors"+ },+ "class_type": "VAELoader",+ "_meta": {+ "title": "Load VAE"+ }+ },+ "4": {+ "inputs": {+ "model": [+ "1",+ 0+ ],+ "lora_name": "qwen-image-2.1-outfit-swap.safetensors",+ "strength_model": 1+ },+ "class_type": "LoraLoaderModelOnly",+ "_meta": {+ "title": "Outfit Swap LoRA (keeps the picture in place)"+ }+ },+ "10": {+ "inputs": {+ "image": "image_1.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image (the person, image 1)"+ }+ },+ "11": {+ "inputs": {+ "image": "image_2.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image (the outfit, image 2)"+ }+ },+ "20": {+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 1.91,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The person to about 2 MP on the 32 grid"+ }+ },+ "21": {+ "inputs": {+ "image": [+ "11",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 0.95,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The outfit to about 1 MP on the 32 grid"+ }+ },+ "22": {+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 0.57,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The person, small, for the two checks"+ }+ },+ "23": {+ "inputs": {+ "image": [+ "11",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 0.57,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The outfit, small, for the describer"+ }+ },+ "30": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "vae": [+ "3",+ 0+ ],+ "prompt": [+ "53",+ 0+ ],+ "negative_prompt": "",+ "resolution": 0,+ "images.image_1": [+ "20",+ 0+ ],+ "images.image_2": [+ "21",+ 0+ ]+ },+ "class_type": "TextEncodeQwenImage21",+ "_meta": {+ "title": "Text Encode Qwen Image 2.1 (person as image 1)"+ }+ },+ "31": {+ "inputs": {+ "model": [+ "4",+ 0+ ],+ "device": "auto",+ "dtype": "default"+ },+ "class_type": "QwenImage21Cache",+ "_meta": {+ "title": "Qwen Image 2.1 Cache"+ }+ },+ "32": {+ "inputs": {+ "seed": 0,+ "steps": 25,+ "cfg": 1,+ "sampler_name": "euler",+ "scheduler": "simple",+ "denoise": 1,+ "model": [+ "31",+ 0+ ],+ "positive": [+ "30",+ 0+ ],+ "negative": [+ "30",+ 1+ ],+ "latent_image": [+ "30",+ 2+ ]+ },+ "class_type": "KSampler",+ "_meta": {+ "title": "KSampler"+ }+ },+ "33": {+ "inputs": {+ "samples": [+ "32",+ 0+ ],+ "vae": [+ "3",+ 0+ ]+ },+ "class_type": "VAEDecode",+ "_meta": {+ "title": "VAE Decode"+ }+ },+ "34": {+ "inputs": {+ "image": [+ "33",+ 0+ ]+ },+ "class_type": "SplitImageWithAlpha",+ "_meta": {+ "title": "Drop the alpha"+ }+ },+ "40": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "image": [+ "22",+ 0+ ],+ "prompt": "Are the person's feet or shoes in this picture? Answer yes or no.",+ "max_length": 16,+ "sampling_mode": "off",+ "thinking": true,+ "use_default_template": true,+ "mtp": "auto"+ },+ "class_type": "TextGenerate",+ "_meta": {+ "title": "Are the feet in the picture"+ }+ },+ "41": {+ "inputs": {+ "string": [+ "40",+ 0+ ],+ "regex_pattern": "^\\s*yes\\b",+ "case_insensitive": true,+ "multiline": false,+ "dotall": false+ },+ "class_type": "RegexMatch",+ "_meta": {+ "title": "Feet answer starts with yes"+ }+ },+ "42": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "image": [+ "22",+ 0+ ],+ "prompt": "Are the person's legs in this picture? Answer yes or no.",+ "max_length": 16,+ "sampling_mode": "off",+ "thinking": true,+ "use_default_template": true,+ "mtp": "auto"+ },+ "class_type": "TextGenerate",+ "_meta": {+ "title": "Are the legs in the picture"+ }+ },+ "43": {+ "inputs": {+ "string": [+ "42",+ 0+ ],+ "regex_pattern": "^\\s*yes\\b",+ "case_insensitive": true,+ "multiline": false,+ "dotall": false+ },+ "class_type": "RegexMatch",+ "_meta": {+ "title": "Legs answer starts with yes"+ }+ },+ "44": {+ "inputs": {+ "value": "You write short image-edit descriptions. Reply with one phrase only, no preamble, no quotes.\n\nLook at the clothing in this picture. Describe the outfit in one short phrase for an image editor: name every garment, the top, the bottom (skirt, shorts, trousers, dress) and any shoes or accessories, each with its color, pattern and the details that identify it (collar, straps, sleeves, trim, buttons, belt, chain). Start with 'the' and end with 'shown in image 2'. Do not describe the background or any person."+ },+ "class_type": "PrimitiveStringMultiline",+ "_meta": {+ "title": "Describer: the whole outfit"+ }+ },+ "45": {+ "inputs": {+ "value": "You write short image-edit descriptions. Reply with one phrase only, no preamble, no quotes.\n\nLook at the clothing in this picture. Describe the outfit in one short phrase for an image editor: name every garment, the top, the bottom (skirt, shorts, trousers, dress) and any accessories, each with its color, pattern and the details that identify it (collar, straps, sleeves, trim, buttons, belt, chain). Leave out shoes, boots and socks: the picture the outfit goes on does not show the feet. Start with 'the' and end with 'shown in image 2'. Do not describe the background or any person."+ },+ "class_type": "PrimitiveStringMultiline",+ "_meta": {+ "title": "Describer: no feet in the picture"+ }+ },+ "46": {+ "inputs": {+ "value": "You write short image-edit descriptions. Reply with one phrase only, no preamble, no quotes.\n\nLook at the clothing in this picture. The picture it goes on shows the person only from the chest or waist up, so describe only what is worn on the upper body, in one short phrase for an image editor: the outer layer (jacket, coat, cardigan, shirt, sweater, or the top of a dress or overalls) and what shows under it, each with its color, pattern and the details that identify it (collar, sleeves, buttons, trim, straps). Leave out trousers, skirts, shorts, the lower part of a dress, shoes and socks. Start with 'the' and end with 'shown in image 2'. Do not describe the background or any person."+ },+ "class_type": "PrimitiveStringMultiline",+ "_meta": {+ "title": "Describer: no legs in the picture"+ }+ },+ "47": {+ "inputs": {+ "switch": [+ "41",+ 0+ ],+ "on_true": [+ "44",+ 0+ ],+ "on_false": [+ "45",+ 0+ ]+ },+ "class_type": "ComfySwitchNode",+ "_meta": {+ "title": "With or without shoes"+ }+ },+ "48": {+ "inputs": {+ "switch": [+ "43",+ 0+ ],+ "on_true": [+ "47",+ 0+ ],+ "on_false": [+ "46",+ 0+ ]+ },+ "class_type": "ComfySwitchNode",+ "_meta": {+ "title": "Whole outfit or top half"+ }+ },+ "49": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "image": [+ "23",+ 0+ ],+ "prompt": [+ "48",+ 0+ ],+ "max_length": 200,+ "sampling_mode": "off",+ "thinking": true,+ "use_default_template": true,+ "mtp": "auto"+ },+ "class_type": "TextGenerate",+ "_meta": {+ "title": "Describe the outfit"+ }+ },+ "50": {+ "inputs": {+ "string": [+ "49",+ 0+ ],+ "regex_pattern": "^[\\s\"']+|[\\s\"'.]+$",+ "replace": "",+ "case_insensitive": false,+ "multiline": false,+ "dotall": false,+ "count": 0+ },+ "class_type": "RegexReplace",+ "_meta": {+ "title": "Trim stray quotes and spaces"+ }+ },+ "53": {+ "inputs": {+ "values.a": "the person",+ "values.b": [+ "50",+ 0+ ],+ "values.c": "Replace everything they wear.",+ "values.d": "",+ "f_string": "Dress {a} in image 1 in {b}. Keep their face, hair, hands, pose and the background exactly the same. {c} {d}"+ },+ "class_type": "StringFormat",+ "_meta": {+ "title": "The request (who, the described outfit, shoes, the person's own words)"+ }+ },+ "90": {+ "inputs": {+ "filename_prefix": "fuobe/outfit-swap",+ "images": [+ "34",+ 0+ ]+ },+ "class_type": "SaveImage",+ "_meta": {+ "title": "Save Image"+ }+ }+}diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjsindex d019cbea..2e25c302 100644--- a/scripts/comfy/library.spec.mjs+++ b/scripts/comfy/library.spec.mjs@@ -153,6 +153,8 @@// Keys added with Head Swap, model controls (params.extra):// maskBlur (GrowMaskWithBlur blur radius of a paste-back edge, px)// pasteBack (true: only the masked area comes from the edit, the rest is the input's pixels)+// Keys added with the Outfit Swap app. Model settings (params.extra; the app's Shoes choice writes it):+// request (the sentence after the swap: "Replace everything they wear." | "Keep their own shoes and legwear.")import fs from 'node:fs';@@ -500,6 +502,8 @@ export const KNOWN_MODELS = {// SHA-256 in model-pins.json), and the SeedVR2 7B int8 its hand-built graph enlarges with (the same file as the template's).'qwen-image-2.1-restore.safetensors': { folder: 'loras', url: 'https://huggingface.co/ausboss/Qwen-Image-2.1-Restore-LoRA/resolve/main/qwen-image-2.1-restore.safetensors' },'seedvr2_7b_int8_convrot.safetensors': { folder: 'diffusion_models', url: 'https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/diffusion_models/seedvr2_7b_int8_convrot.safetensors' },+ // Outfit Swap (the card's main file, step 1,000): holds the person picture in place, so only the clothes change.+ 'qwen-image-2.1-outfit-swap.safetensors': { folder: 'loras', url: 'https://huggingface.co/ausboss/Qwen-Image-2.1-Outfit-Swap-Consistency-LoRA/resolve/main/qwen-image-2.1-outfit-swap.safetensors' },// owner's SOTA families (2026-10-31): Ideogram 4 (Comfy-Org/Ideogram-4; its flux2-vae is the flux2-dev row above). `variants`:// the same weights in another precision in the same repository, which a ComfyUI may list instead of the pinned file.@@ -3346,6 +3350,46 @@ export const SPEC = ['No clothing found: the empty mask selects the whole picture and the stitch gives it back unchanged. The prompt names only the finished state (smooth, pressed fabric) and what stays the same. ' +'RTX 5090: about 75 s a photo at 2048x1536 (25 steps), peak 26.5 GB.',},+ // Outfit Swap: AusBoss's Outfit Swap LoRA keeps the person picture in place (0.1 px against 3.6 px without it, on its card).+ {+ id: 'outfit-swap-qwen-image-21',+ title: 'Qwen-Image 2.1 Outfit Swap (outfit photo; Outfit Swap LoRA, Qwen3-VL describes the outfit)',+ capability: 'edit',+ handBuilt: 'hand-built/outfit-swap-qwen-image-21.json',+ bindings: {+ prompt: [b('53', 'values.d')], request: [b('53', 'values.c')], image: [b('10', 'image')], image2: [b('11', 'image')],+ seed: [b('32', 'seed')], steps: [b('32', 'steps')], loraStrength: [b('4', 'strength_model')],+ },+ outputs: [{ node: '90', kind: 'image' }],+ vramGb: 20,+ license: 'Qwen Research License Agreement (Qwen-Image 2.1 and the Outfit Swap LoRA by AusBoss, a derivative): NON-COMMERCIAL, research and evaluation only',+ notes:+ 'AusBoss\'s "Qwen Image 2.1 Outfit Swap" workflow (the LoRA card\'s workflows/qwen-image-2.1-outfit-swap.json), its two subgraphs flattened onto core nodes: ' ++ 'the Outfit Swap LoRA (step 1,000, the card\'s main file) at 1 on the int8 model, the person to about 2 MP and the outfit to about 1 MP on the 32 grid (ImageScaleToTotalPixels, lanczos, ' ++ 'for the pack\'s Image Resize in megapixels mode), TextEncodeQwenImage21 with the person as image 1 and the outfit as image 2 (resolution 0, no negative), QwenImage21Cache, KSampler 25 steps, cfg 1, euler, simple, ' ++ 'SplitImageWithAlpha. The words: Qwen3-VL (the same text encoder, TextGenerate, thinking on) answers two yes/no checks on the person picture (feet, legs) and describes the outfit in one phrase, ' ++ 'leaving out shoes when the feet are not in the picture and everything below the waist when the legs are not; StringFormat writes "Dress the person in image 1 in <phrase>. Keep their face, hair, hands, pose and the background exactly the same. <request> <prompt>". ' ++ 'request = "Replace everything they wear." (the card\'s default: clears the old outfit) or "Keep their own shoes and legwear."; prompt = the person\'s own words, added at the end. ' ++ 'Changed from the card: the no-feet phrase ends "shown in image 2" (the card adds "without the shoes"; Fuobe\'s requests name only what is wanted). ' ++ 'Removed: the outfit picture\'s crop node (Fuobe sends the photo as it is), the typed/described switch (outfit-swap-qwen-image-21-text is the words route), the turbo LoRA row (off on the card), compare, timer, notes. Output follows the person picture at about 2 MP.',+ },+ {+ id: 'outfit-swap-qwen-image-21-text',+ title: 'Qwen-Image 2.1 Outfit Swap (outfit in words; Outfit Swap LoRA)',+ capability: 'edit',+ handBuilt: 'hand-built/outfit-swap-qwen-image-21-text.json',+ bindings: {+ prompt: [b('53', 'values.b')], request: [b('53', 'values.c')], image: [b('10', 'image')],+ seed: [b('32', 'seed')], steps: [b('32', 'steps')], loraStrength: [b('4', 'strength_model')],+ },+ outputs: [{ node: '90', kind: 'image' }],+ vramGb: 20,+ license: 'Qwen Research License Agreement (Qwen-Image 2.1 and the Outfit Swap LoRA by AusBoss, a derivative): NON-COMMERCIAL, research and evaluation only',+ notes:+ 'Outfit Swap with no outfit photo (Fuobe runs it when the request has one picture): outfit-swap-qwen-image-21 without image 2 and the describer. ' ++ 'prompt = the outfit in words ("a black velvet tuxedo with satin lapels"), set into "Dress the person in image 1 in <prompt>. Keep their face, hair, hands, pose and the background exactly the same. <request>". ' ++ 'The LoRA was trained with an outfit picture as image 2: with one picture, compare loraStrength 1 with 0 (the plain 25-step edit) before relying on it.',+ },// ---- Owner's SOTA image families: Ideogram 4 -------------------------------------------{id: 'ideogram4-t2i',diff --git a/src/lib/catalog/apps.ts b/src/lib/catalog/apps.tsindex 9d4adfc5..96ebfd70 100644--- a/src/lib/catalog/apps.ts+++ b/src/lib/catalog/apps.ts@@ -132,6 +132,21 @@ const opt = (key: string, label: string, choices: [string, string][]): PresetOptchoices: choices.map(([l, p]) => ({ value: slug(l), label: l, prompt: p })),});+/**+ * Outfit Swap's shoes: the sentence after the swap, in the cloud's words and as the open graph's `request`. "New shoes+ * too" is the LoRA card's default (it clears the old outfit); "Keep mine" keeps the shoes and legwear.+ */+const SHOES = "Replace everything they wear.";+const KEEP_SHOES = "Keep their own shoes and legwear.";+const outfitShoes: PresetOption = {+ key: "shoes",+ label: "Shoes",+ choices: [+ { value: "new-shoes-too", label: "New shoes too", prompt: SHOES, openExtra: { request: SHOES } },+ { value: "keep-mine", label: "Keep mine", prompt: KEEP_SHOES, openExtra: { request: KEEP_SHOES } },+ ],+};+/*** Old app ids still stored on generations (their Reuse / Retry look the preset up by id): the app they* became. The Virality Predictor app is the Hook Frame app since /virality took its name and URL.@@ -976,18 +991,26 @@ export const APPS: Preset[] = [// FASHN Try-On 1.6 was built for exactly this (Garment / Quality settings); it takes no prompt.cloud: { modelId: "fashn-tryon", op: "edit" },}),+ // Only the clothes change. On your GPU it runs AusBoss's Outfit Swap LoRA (oss-outfit-swap), which holds the picture in+ // place: from a photo of the outfit (described first by Qwen3-VL) or from words alone (src/lib/comfy-variants.ts). With+ // a photo, words of the person's own are added after the swap; in the cloud they describe the outfit.app({name: "Outfit Swap",category: "Fashion",- description: "Copy the outfit someone else is wearing onto you",+ description: "Wear any outfit. Only the clothes change",icon: "ArrowLeftRight",hue: 280,inputs: [{ key: "image", label: "Your photo", accept: "image", required: true },- second("Outfit reference", "A photo of someone wearing the outfit you want"),+ { key: "image2", label: "Outfit", hint: "A photo of the outfit: worn, laid flat or on a hanger. Or describe it", accept: "image", required: false },],+ options: [outfitShoes],+ userPrompt: "optional",+ placeholder: "No outfit photo? Describe one: a black velvet tuxedo",prompt:- "Take the complete outfit worn in the second image — every garment, shoes and accessories, with their exact colors, fabrics, prints and fit — and put it on the person in the first image. Keep the first person's face, hair, body shape, pose, lighting and background unchanged; only the clothing comes from the second image.",+ "Dress the person in the first image in {prompt|the complete outfit from the second image, with its exact colours, fabrics, prints and fit}. Keep their face, hair, hands, body, pose, lighting and background exactly the same. {option:shoes}",+ open: { modelId: "oss-outfit-swap", promptTemplate: "{prompt}" },+ parity: "Only the clothes change: your face, hair, pose and background stay as they are. Add a photo of the outfit, or describe it.",}),app({name: "AI Stylist",diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.tsindex 4dae746e..0face13d 100644--- a/src/lib/catalog/models.ts+++ b/src/lib/catalog/models.ts@@ -2294,6 +2294,26 @@ const open: ModelDef[] = [// The graph loads the try-on LoRA itself; carrying it here lets Settings → Models & licences switch it off (as Fuobe Try-On's).options: { maxImages: 3, seed: true, requires: { images: 2, msg: "Add a photo of the person, then the garment" }, ...(TRYON_LORA && { loras: [loraRef(TRYON_LORA)] }) },}),+ // Outfit Swap (the open route of the Outfit Swap app): AusBoss's Outfit Swap LoRA on Qwen-Image 2.1 keeps the person+ // picture in place, so only the clothes change. With an outfit photo Qwen3-VL describes it first; without one the words+ // are the outfit (src/lib/comfy-variants.ts picks the graph by the pictures given).+ o({+ id: "oss-outfit-swap",+ name: "Qwen-Image 2.1 Outfit Swap",+ vendor: "Alibaba Qwen × AusBoss",+ family: "qwen-image",+ kind: "image",+ tagline: "Only the clothes change: from a photo of the outfit, or from words · 20 GB GPU · non-commercial weights",+ badges: ["new"],+ routes: [{ ...comfy("edit", "outfit-swap-qwen-image-21", "Outfit Swap LoRA, 25 steps; the outfit photo described first"), unsized: true }],+ options: {+ maxImages: 2,+ seed: true,+ promptOptional: true,+ requires: { images: 2, promptInstead: true, msg: "Add your photo and the outfit's, or describe the outfit" },+ },+ hidden: true,+ }),// Product shot (the open route of the Product shot app): cut out, on white, relit into the scene you describe.o({id: "oss-product-shot",diff --git a/src/lib/catalog/plan.ts b/src/lib/catalog/plan.tsindex d57c2b63..c9c85401 100644--- a/src/lib/catalog/plan.ts+++ b/src/lib/catalog/plan.ts@@ -114,14 +114,18 @@ export function imageLimit(model: Pick<ModelDef, "options" | "routes">, op: Operconst clamp01 = (n: number) => Math.max(0, Math.min(1, Number.isFinite(n) ? n : 1));const round2 = (n: number) => Math.round(n * 100) / 100;-/** Fill a preset prompt template: {prompt} and {option:key}. Collapses leftover whitespace. */+/**+ * Fill a preset prompt template: {prompt}, {prompt|words for when there are none} and {option:key}. Collapses leftover+ * whitespace.+ */export function composePrompt(template: string,userPrompt: string | undefined,preset: Pick<Preset, "options"> | null,selected: Record<string, string> | undefined,): string {- let out = template.replace(/\{prompt\}/g, (userPrompt ?? "").trim());+ const own = (userPrompt ?? "").trim();+ let out = template.replace(/\{prompt\}/g, own).replace(/\{prompt\|([^}]*)\}/g, (_, fallback: string) => own || fallback.trim());out = out.replace(/\{option:([a-zA-Z0-9_-]+)\}/g, (_, key: string) => {const opt = preset?.options?.find((o) => o.key === key);const value = selected?.[key] ?? opt?.default ?? opt?.choices[0]?.value;@@ -310,7 +314,14 @@ export function planGeneration(// Preset params/LoRAs are tuned for the route's own model; other compatible models only get the prompt (without// a LoRA's trigger word, which means nothing to them).const sameModel = !!matched;- prompt = composePrompt((sameModel ? route.promptTemplate : undefined) ?? preset.promptTemplate, req.prompt, preset, req.presetOptions);+ const template = (sameModel ? route.promptTemplate : undefined) ?? preset.promptTemplate;+ prompt = composePrompt(template, req.prompt, preset, req.presetOptions);+ // "{prompt|…}" words stand for the preset's pictures (Outfit Swap: "the outfit from the second image"), so a run+ // without words of its own needs every picture the preset asks for.+ if (template.includes("{prompt|") && !req.prompt?.trim()) {+ const missing = preset.inputs.filter((s) => s.accept === "image")[req.inputs?.images?.length ?? 0];+ if (missing) throw new Error(`Add the ${missing.label.toLowerCase()}, or describe it`);+ }// The route's extra settings (H3's orbit, a camera pose) stay under what the request sets itself. A setting the composer// shows as a control (H3's Quality) is the request's own: the composer starts it at the route's value, and its Auto// sends none, which is the model's default.@@ -554,7 +565,8 @@ export function planGeneration(const maxAudios = model.options.maxAudios;if (op === "audio-join" && maxAudios && (req.inputs?.audios?.length ?? 0) > maxAudios) throw new Error(`${model.name} joins up to ${maxAudios} clips at a time — join the rest in a second step`);const requires = model.options.requires;- if (requires?.images && (req.inputs?.images?.length ?? 0) < requires.images) throw new Error(requires.msg);+ const images = req.inputs?.images?.length ?? 0;+ if (requires?.images && images < requires.images && !(requires.promptInstead && prompt && images === requires.images - 1)) throw new Error(requires.msg);if (requires?.prompt && !prompt) throw new Error(requires.msg);if (requires?.mask && !req.inputs?.mask) throw new Error(requires.msg);if (requires?.video && !req.inputs?.video) throw new Error(requires.msg);diff --git a/src/lib/catalog/preset-recipe-routes.ts b/src/lib/catalog/preset-recipe-routes.tsindex 1c5debac..073a8811 100644--- a/src/lib/catalog/preset-recipe-routes.ts+++ b/src/lib/catalog/preset-recipe-routes.ts@@ -52,6 +52,7 @@ export type RecipeKind = "h3" | "orbit" | "qwen";* - Steam It: its own graph finds the clothes and repaints only them, so every other pixel stays the upload's.* - Restore Photo: its Restore LoRA keeps every face and the framing, where a plain edit redraws them.* - Head Swap: the whole head, hair included, comes from its own head LoRA; a plain edit keeps the first hair.+ * - Outfit Swap: its Outfit Swap LoRA keeps everything but the clothes in place, where a plain edit moves the picture.*/export const OWN_ROUTE_APPS: ReadonlySet<string> = new Set(["app-fuobe-angles",@@ -73,6 +74,7 @@ export const OWN_ROUTE_APPS: ReadonlySet<string> = new Set(["app-steam-it","app-restore-photo","app-head-swap",+ "app-outfit-swap",]);/**diff --git a/src/lib/catalog/types.ts b/src/lib/catalog/types.tsindex b09d2c9a..872f8bf6 100644--- a/src/lib/catalog/types.ts+++ b/src/lib/catalog/types.ts@@ -762,9 +762,10 @@ export interface ModelOptions {* What this model needs beyond its operation's own inputs, checked before a job is created (the* composer shows `msg` inline): reference images for a style-reference t2i model, a prompt for a* model whose operation is otherwise promptless, a painted mask or clicked points (video erasers), a video to follow- * (the open Fly path's render).+ * (the open Fly path's render). promptInstead: words stand in for the last of the images (Outfit Swap: a photo of the+ * outfit, or the outfit described).*/- requires?: { images?: number; prompt?: boolean; mask?: boolean; points?: boolean; video?: boolean; msg: string };+ requires?: { images?: number; promptInstead?: boolean; prompt?: boolean; mask?: boolean; points?: boolean; video?: boolean; msg: string };/** Output formats it can write (params.format: SDR to HDR, export). */formats?: VideoFormat[];/** Depth maps: the colour maps it draws (params.colormap; see COLORMAPS). Unset = grayscale only. */diff --git a/src/lib/comfy-variants.ts b/src/lib/comfy-variants.tsindex 1880db95..13cd212e 100644--- a/src/lib/comfy-variants.ts+++ b/src/lib/comfy-variants.ts@@ -48,6 +48,12 @@ export const OPENJUTSU_VARIANTS: Record<string, { key: string; value: unknown; g/** YuE2 with a song attached (Audio → Music's "Song to cover"): the cover graph sings its melody with the new style and lyrics. */export const YUE2_COVER_GRAPH: Record<string, string> = { "music-yue2-song": "music-yue2-cover" };+/**+ * Outfit Swap with no photo of the outfit (one picture, the outfit in words): the same LoRA graph without image 2 and the+ * describer.+ */+export const OUTFIT_WORDS_GRAPH: Record<string, string> = { "outfit-swap-qwen-image-21": "outfit-swap-qwen-image-21-text" };+export interface VariantRequest {op: string;/** Clips a join takes ("video-concat-{n}"). */@@ -96,6 +102,8 @@ export function resolveWorkflowId(endpointTemplate: string, r: VariantRequest):if (oj && ojSettings?.[oj.key] === oj.value && r.has(oj.graph)) endpoint = oj.graph;const cover = YUE2_COVER_GRAPH[endpoint];if (cover && r.audio && r.has(cover)) endpoint = cover;+ const words = OUTFIT_WORDS_GRAPH[endpoint];+ if (words && r.images < 2 && r.has(words)) endpoint = words;const bed = REUSE_BED_GRAPH[endpoint];if (bed && r.extra.background === "keep" && r.has(bed)) endpoint = bed;return endpoint;diff --git a/src/server/providers/comfyui.ts b/src/server/providers/comfyui.tsindex b7fbf0dd..835ae7fd 100644--- a/src/server/providers/comfyui.ts+++ b/src/server/providers/comfyui.ts@@ -946,6 +946,8 @@ const SLOT_RULES: Record<string, { reuse?: boolean; required?: string[]; hints?:"qwen-image-edit-2511-multi": { reuse: true },"storyboard-qwen-edit-2509-next-scene": { reuse: true },"tryon-flux2-klein-4b": { required: ["image2"], hints: { image: "Add a photo of the person", image2: "Add the garment to try on" } },+ // Its describer reads the outfit photo; the words graph (outfit-swap-qwen-image-21-text) runs when there is none.+ "outfit-swap-qwen-image-21": { required: ["image2"], hints: { image: "Add your photo", image2: "Add the outfit photo, or describe the outfit" } },"palette-transfer-image": { hints: { image2: "Pick a palette or add a reference image" } },"palette-transfer-video": { hints: { image: "Pick a palette or add a reference image" } },"relight-qwen-edit-2509-reference": { hints: { image2: "Add the photo whose light to copy" } },diff --git a/tests/comfy-library-4.test.ts b/tests/comfy-library-4.test.tsindex 452c730f..61962262 100644--- a/tests/comfy-library-4.test.ts+++ b/tests/comfy-library-4.test.ts@@ -136,6 +136,8 @@ describe("round-4 ComfyUI workflows", () => {"qwen-image-21-next-scene","qwen-image-21-t2i-small","qwen-image-21-edit-small",+ "outfit-swap-qwen-image-21",+ "outfit-swap-qwen-image-21-text","ideogram4-t2i","krea2-realism-t2i","krea2-turbo-t2i",diff --git a/tests/default-prompts-positive.test.ts b/tests/default-prompts-positive.test.tsindex 980425e8..dae54ac1 100644--- a/tests/default-prompts-positive.test.ts+++ b/tests/default-prompts-positive.test.ts@@ -30,7 +30,7 @@ describe("default prompts name only what is wanted", () => {}expect(getPreset("app-transitions")!.promptTemplate).toMatch(/One continuous shot/);expect(getPreset("app-expand-image")!.promptTemplate).toMatch(/fill the new area with more of the same surroundings/);- expect(getPreset("app-outfit-swap")!.promptTemplate).toMatch(/only the clothing comes from the second image/);+ expect(getPreset("app-outfit-swap")!.promptTemplate).toMatch(/Keep their face, hair, hands, body, pose, lighting and background exactly the same/);});it("the motions and effects: Pedestal Down, Skate Cruise, One Take, Explosion", () => {diff --git a/tests/outfit-swap.test.ts b/tests/outfit-swap.test.tsnew file mode 100644index 00000000..1aa494ec--- /dev/null+++ b/tests/outfit-swap.test.ts@@ -0,0 +1,309 @@+import fs from "node:fs";+import os from "node:os";+import path from "node:path";+import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";+import { NextRequest } from "next/server";+import type { ComfyWorkflow, ManifestWorkflow } from "@/lib/comfy";+import type { GenInput } from "@/lib/catalog/types";+import { startFakeComfy, TINY_PNG, type FakeComfy } from "./helpers/fake-comfy-runner";++// Outfit Swap: AusBoss's Outfit Swap LoRA on Qwen-Image 2.1 changes only the clothes, from a photo of the outfit or from+// words. The catalog, the plan on both engines, the two graphs as Fuobe sends them, the library rows, and a run end to+// end on an account's own ComfyUI (the stand-in from tests/helpers).+const dir = fs.mkdtempSync(path.join(os.tmpdir(), "fuobe-outfit-swap-"));+process.env.FUOBE_DATA_DIR = dir;+process.env.COMFYUI_URL = "http://owner-comfy.test:8188";+process.env.FUOBE_PUBLIC_SIGNUP = "1";+delete process.env.FUOBE_PASSWORD;+delete process.env.FUOBE_ALLOW_PRIVATE_URLS;+globalThis.__fuobeTestDiskFree = 1e13;++// Plain fetch would be the install's own ComfyUI: nothing of an account's run may reach it.+const realFetch = globalThis.fetch;+const fetched: string[] = [];+globalThis.fetch = (async (input: RequestInfo | URL) => {+ fetched.push(String(input instanceof Request ? input.url : input));+ return new Response("not stubbed", { status: 599 });+}) as typeof fetch;++const auth = await import("@/server/auth");+const generationsRoute = await import("@/app/api/generations/route");+const uploadsRoute = await import("@/app/api/uploads/route");+const gpuRoute = await import("@/app/api/account/gpu/route");+const { proxy } = await import("@/proxy");+const { getGeneration } = await import("@/server/generations");+const { db } = await import("@/server/db");+const { resetRates } = await import("@/server/rate");+const { prepareWorkflow } = await import("@/server/providers/comfyui");+const { getModel, getPreset } = await import("@/lib/catalog");+const { planGeneration } = await import("@/lib/catalog/plan");+const { OWN_ROUTE_APPS, presetRoutes } = await import("@/lib/catalog/preset-recipe-routes");+const { resolveWorkflowId } = await import("@/lib/comfy-variants");+const { licenceInfo, workflowLicence } = await import("@/lib/licences");+const { GUEST_RUN_MESSAGE } = await import("@/lib/guest-access");+const { KNOWN_MODELS } = await import("../scripts/comfy/library.spec.mjs");++const LIBRARY = path.join(process.cwd(), "workflows/comfyui");+const read = (f: string) => JSON.parse(fs.readFileSync(path.join(LIBRARY, f), "utf8"));+const PHOTO = "outfit-swap-qwen-image-21";+const WORDS = "outfit-swap-qwen-image-21-text";+const LORA = "qwen-image-2.1-outfit-swap.safetensors";+const REPLACE = "Replace everything they wear.";+const KEEP = "Keep their own shoes and legwear.";+const NEGATION = /\b(no|not|never|nothing|none|without|don't|do not|doesn't|avoid)\b/i;++const plan = (r: Record<string, unknown>) => planGeneration({ feature: "app", presetId: "app-outfit-swap", ...r } as Parameters<typeof planGeneration>[0], getModel, getPreset);+const ofClass = (wf: ComfyWorkflow, cls: string) => Object.entries(wf).filter(([, n]) => n.class_type === cls);+const at = (wf: ComfyWorkflow, m: ManifestWorkflow, key: string) => (m.bindings[key] ?? []).map((t) => wf[t.node].inputs[t.input]);++async function prepare(id: string, input: GenInput) {+ return prepareWorkflow(id, { seed: 7, ...input }, {+ generationId: "g",+ op: "edit",+ upload: async (_d, _t, name) => `up_${name}`,+ media: () => undefined,+ serverRam: async () => undefined,+ });+}++let fake: FakeComfy;+let cookie = "";+beforeAll(async () => {+ fake = await startFakeComfy({ loras: [LORA], delayMs: 0, output: "image" });+ globalThis.__fuobeTestGpuPort = fake.port;+ auth.setPassword("install password");+ const a = auth.createAccount("[email protected]", "long enough").id;+ cookie = `${auth.SESSION_COOKIE}=${auth.createSession(a).value}`;+});+afterAll(async () => {+ globalThis.fetch = realFetch;+ globalThis.__fuobeTestGpuPort = undefined;+ globalThis.__fuobeTestDiskFree = undefined;+ await fake.close();+ try {+ fs.rmSync(dir, { recursive: true, force: true });+ } catch {}+});+beforeEach(() => {+ resetRates();+ Object.assign(fake.opts, { loras: [LORA], delayMs: 0, output: "image", missing: undefined });+ db().prepare("UPDATE generations SET status = 'canceled' WHERE status IN ('queued', 'running')").run();+});++describe("Outfit Swap in the catalog", () => {+ it("asks for your photo and the outfit's, or words, with Shoes as two taps", () => {+ const p = getPreset("app-outfit-swap")!;+ expect(p.inputs.map((s) => [s.key, s.label, !!s.required])).toEqual([+ ["image", "Your photo", true],+ ["image2", "Outfit", false],+ ]);+ expect(p.userPrompt).toBe("optional");+ expect(p.options?.map((o) => [o.key, o.choices.map((c) => [c.label, c.extra?.request])])).toEqual([+ ["shoes", [["New shoes too", REPLACE], ["Keep mine", KEEP]]],+ ]);+ expect(p.open).toMatchObject({ modelId: "oss-outfit-swap", op: "edit", promptTemplate: "{prompt}" });+ expect(p.cloud?.modelId).toBe("nano-banana-pro");+ // It keeps its own route: a plain edit (its old preview's recipe) moves the picture.+ expect(OWN_ROUTE_APPS.has("app-outfit-swap")).toBe(true);+ expect(presetRoutes(p, "open", (id) => !!getModel(id))[0].modelId).toBe("oss-outfit-swap");+ });++ it("runs on a hidden open model whose one route is the photo graph", () => {+ const m = getModel("oss-outfit-swap")!;+ expect(m).toMatchObject({ engine: "open", kind: "image", hidden: true });+ expect(m.routes.map((r) => [r.op, r.provider, r.endpoint])).toEqual([["edit", "comfyui", PHOTO]]);+ expect(m.tagline).toMatch(/20 GB GPU · non-commercial weights$/);+ });++ it("words name only what is wanted, in every choice and both graphs' requests", () => {+ const p = getPreset("app-outfit-swap")!;+ for (const c of p.options![0].choices) expect(p.promptTemplate.replace(/\{prompt\|[^}]*\}/, "a red dress").replace("{option:shoes}", c.prompt)).not.toMatch(NEGATION);+ for (const id of [PHOTO, WORDS]) expect((read(`${id}.json`) as ComfyWorkflow)["53"].inputs.f_string).not.toMatch(NEGATION);+ });+});++describe("Outfit Swap plans", () => {+ it("on your GPU: the photo alone, or words alone; the Shoes choice is the graph's request", () => {+ const photo = plan({ modelId: "oss-outfit-swap", prompt: "", inputs: { images: ["/me.png", "/outfit.png"] } });+ expect([photo.op, photo.prompt]).toEqual(["edit", ""]);+ expect(photo.params.extra).toMatchObject({ request: REPLACE });+ const keep = plan({ modelId: "oss-outfit-swap", prompt: "", presetOptions: { shoes: "keep-mine" }, inputs: { images: ["/me.png", "/outfit.png"] } });+ expect(keep.params.extra).toMatchObject({ request: KEEP });+ const words = plan({ modelId: "oss-outfit-swap", prompt: "a black velvet tuxedo", inputs: { images: ["/me.png"] } });+ expect(words.prompt).toBe("a black velvet tuxedo");+ expect(() => plan({ modelId: "oss-outfit-swap", prompt: "", inputs: { images: ["/me.png"] } })).toThrow("Add your photo and the outfit's, or describe the outfit");+ });++ it("in the cloud: the outfit from the second image, or the words in its place", () => {+ const photo = plan({ modelId: "nano-banana-pro", prompt: "", inputs: { images: ["/me.png", "/outfit.png"] } });+ expect(photo.prompt).toBe(+ "Dress the person in the first image in the complete outfit from the second image, with its exact colours, fabrics, prints and fit. Keep their face, hair, hands, body, pose, lighting and background exactly the same. Replace everything they wear.",+ );+ const words = plan({ modelId: "nano-banana-pro", prompt: "an ivory silk slip dress", presetOptions: { shoes: "keep-mine" }, inputs: { images: ["/me.png"] } });+ expect(words.prompt).toBe(+ "Dress the person in the first image in an ivory silk slip dress. Keep their face, hair, hands, body, pose, lighting and background exactly the same. Keep their own shoes and legwear.",+ );+ expect(() => plan({ modelId: "nano-banana-pro", prompt: "", inputs: { images: ["/me.png"] } })).toThrow("Add the outfit, or describe it");+ // The Shoes choice is a setting of the open graph only: the cloud API gets its words, never an unknown field.+ expect([photo.params.extra?.request, words.params.extra?.request]).toEqual([undefined, undefined]);+ });++ it("picks the words graph when there is no outfit photo", () => {+ const has = () => true;+ expect(resolveWorkflowId(PHOTO, { op: "edit", clips: 0, images: 2, audio2: false, extra: {}, has })).toBe(PHOTO);+ expect(resolveWorkflowId(PHOTO, { op: "edit", clips: 0, images: 1, audio2: false, extra: {}, has })).toBe(WORDS);+ expect(resolveWorkflowId(PHOTO, { op: "edit", clips: 0, images: 1, audio2: false, extra: {}, has: (id) => id !== WORDS })).toBe(PHOTO);+ });+});++describe("Outfit Swap graphs as Fuobe sends them", () => {+ it("photo: the person as image 1 and the outfit as image 2 at the card's sizes, on the LoRA at 1, 25 steps at cfg 1", async () => {+ const { workflow: wf, manifest } = await prepare(PHOTO, { prompt: "", images: ["me.png", "outfit.png"], extra: { request: KEEP } });+ expect([at(wf, manifest, "image"), at(wf, manifest, "image2")]).toEqual([["me.png"], ["outfit.png"]]);+ expect(ofClass(wf, "LoraLoaderModelOnly").map(([, n]) => n.inputs)).toEqual([{ model: ["1", 0], lora_name: LORA, strength_model: 1 }]);+ expect(ofClass(wf, "QwenImage21Cache")[0][1].inputs.model).toEqual(["4", 0]);+ const enc = ofClass(wf, "TextEncodeQwenImage21")[0][1].inputs;+ expect(enc).toMatchObject({ prompt: ["53", 0], negative_prompt: "", resolution: 0, "images.image_1": ["20", 0], "images.image_2": ["21", 0] });+ expect([wf["20"].inputs, wf["21"].inputs]).toMatchObject([+ { image: ["10", 0], megapixels: 1.91, resolution_steps: 32, upscale_method: "lanczos" },+ { image: ["11", 0], megapixels: 0.95, resolution_steps: 32, upscale_method: "lanczos" },+ ]);+ expect(ofClass(wf, "KSampler")[0][1].inputs).toMatchObject({ seed: 7, steps: 25, cfg: 1, sampler_name: "euler", scheduler: "simple", denoise: 1, latent_image: ["30", 2] });+ const saved = wf[manifest.outputs[0].node].inputs.images as [string, number];+ expect(wf[saved[0]].class_type).toBe("SplitImageWithAlpha");+ });++ it("photo: Qwen3-VL checks for feet and legs, describes the outfit, and the request is put together around it", async () => {+ const { workflow: wf } = await prepare(PHOTO, { prompt: "Leave the jacket open.", images: ["me.png", "outfit.png"], extra: { request: KEEP } });+ const gen = ofClass(wf, "TextGenerate");+ expect(gen.map(([, n]) => [n.inputs.clip, n.inputs.max_length, n.inputs.sampling_mode, n.inputs.thinking])).toEqual([+ [["2", 0], 16, "off", true],+ [["2", 0], 16, "off", true],+ [["2", 0], 200, "off", true],+ ]);+ // The checks look at the person, the describer at the outfit; the instructions follow the two answers.+ expect(wf[(wf["40"].inputs.image as [string, number])[0]].inputs.image).toEqual(["10", 0]);+ expect(wf[(wf["49"].inputs.image as [string, number])[0]].inputs.image).toEqual(["11", 0]);+ expect(wf["49"].inputs.prompt).toEqual(["48", 0]);+ expect(wf["48"].inputs).toEqual({ switch: ["43", 0], on_true: ["47", 0], on_false: ["46", 0] });+ expect(wf["47"].inputs).toEqual({ switch: ["41", 0], on_true: ["44", 0], on_false: ["45", 0] });+ expect(String(wf["46"].inputs.value)).toMatch(/only what is worn on the upper body/);+ expect(String(wf["45"].inputs.value)).toMatch(/Leave out shoes, boots and socks/);+ expect(wf["53"].inputs).toEqual({+ "values.a": "the person",+ "values.b": ["50", 0],+ "values.c": KEEP,+ "values.d": "Leave the jacket open.",+ f_string: "Dress {a} in image 1 in {b}. Keep their face, hair, hands, pose and the background exactly the same. {c} {d}",+ });+ });++ it("photo: one picture runs the words graph; with no words either, the plan has already said what to add", async () => {+ const { manifest } = await prepare(PHOTO, { prompt: "a camel trench coat", images: ["me.png"] });+ expect(manifest.id).toBe(WORDS);+ });++ it("words: the person alone, the words as the outfit, no describer", async () => {+ const { workflow: wf, manifest } = await prepare(WORDS, { prompt: "a black velvet tuxedo with satin lapels", images: ["me.png"] });+ expect(at(wf, manifest, "image")).toEqual(["me.png"]);+ expect(manifest.bindings.image2).toBeUndefined();+ expect(ofClass(wf, "TextGenerate")).toEqual([]);+ expect(ofClass(wf, "LoadImage")).toHaveLength(1);+ expect(wf["53"].inputs).toMatchObject({ "values.b": "a black velvet tuxedo with satin lapels", "values.c": REPLACE });+ const enc = ofClass(wf, "TextEncodeQwenImage21")[0][1].inputs;+ expect(Object.keys(enc).filter((k) => k.startsWith("images."))).toEqual(["images.image_1"]);+ expect(ofClass(wf, "LoraLoaderModelOnly")[0][1].inputs.lora_name).toBe(LORA);+ });+});++describe("Outfit Swap in the library", () => {+ const manifest = read("manifest.json") as { workflows: ManifestWorkflow[] };+ const subset = read("object_info.subset.json") as Record<string, { input: { required?: Record<string, unknown>; optional?: Record<string, unknown> }; output: string[] }>;++ it.each([PHOTO, WORDS])("%s: core nodes only, every input known to its node, every link to an output that exists", (id) => {+ const wf = read(`${id}.json`) as ComfyWorkflow;+ expect(wf).toEqual(JSON.parse(fs.readFileSync(path.join(process.cwd(), "scripts/comfy/hand-built", `${id}.json`), "utf8")));+ for (const [nid, n] of Object.entries(wf)) {+ const def = subset[n.class_type];+ expect(def, `${nid} ${n.class_type}`).toBeDefined();+ const known = new Set([...Object.keys(def.input.required ?? {}), ...Object.keys(def.input.optional ?? {})]);+ for (const [k, v] of Object.entries(n.inputs)) {+ // Autogrow inputs (images.image_1, values.a) and dynamic-combo children (sampling_mode.*) belong to their parent.+ expect(known.has(k.split(".")[0]), `${nid} ${n.class_type}.${k}`).toBe(true);+ if (Array.isArray(v)) expect(wf[v[0]] && (v[1] as number) < subset[wf[v[0]].class_type].output.length, `${nid}.${k} -> ${v}`).toBe(true);+ }+ }+ const m = manifest.workflows.find((w) => w.id === id)!;+ expect(m).toMatchObject({ capability: "edit", customNodes: [], validated: false, vramGb: 20, defaults: { steps: 25, loraStrength: 1 } });+ for (const targets of Object.values(m.bindings)) for (const t of targets!) expect(wf[t.node]?.inputs, `${id} ${t.node}.${t.input}`).toHaveProperty([t.input]);+ expect(licenceInfo(workflowLicence(m))).toMatchObject({ name: "Qwen Research License", class: "non-commercial" });+ });++ it("pins the LoRA to its revision, size and SHA-256, and lists it for the GPU pre-flight", () => {+ const url = (KNOWN_MODELS as Record<string, { url: string; folder: string }>)[LORA];+ expect(url).toEqual({ folder: "loras", url: `https://huggingface.co/ausboss/Qwen-Image-2.1-Outfit-Swap-Consistency-LoRA/resolve/main/${LORA}` });+ expect(read("model-pins.json")[url.url]).toEqual({ revision: "f0e0fc4e4c65527963d875536aa4e77fe1e9b165", sizeBytes: 159436488, sha256: "4ddfeac5695adaed1f0f78b23fda40919fd2ed6a4af790ced6c1e043dc4ae1f0" });+ const req = read("requirements.json") as { workflows: Record<string, { files: string[]; packs: Record<string, string[]> }>; files: Record<string, { pinnedUrl: string }> };+ for (const id of [PHOTO, WORDS]) {+ expect(req.workflows[id].files).toContain(`loras/${LORA}`);+ expect(req.workflows[id].packs).toEqual({});+ }+ expect(req.files[`loras/${LORA}`].pinnedUrl).toContain("/resolve/f0e0fc4e4c65527963d875536aa4e77fe1e9b165/");+ });+});++describe("Outfit Swap runs end to end on an account's own ComfyUI", () => {+ const headers = (extra: Record<string, string> = {}) => ({ cookie, host: "localhost:3000", ...extra });+ const json = (url: string, method: string, body: unknown) => {+ const text = JSON.stringify(body);+ return new Request(`http://localhost:3000${url}`, { method, headers: headers({ "content-type": "application/json", "content-length": String(Buffer.byteLength(text)) }), body: text });+ };+ async function upload(): Promise<string> {+ const r = await uploadsRoute.POST(new Request("http://localhost:3000/api/uploads", { method: "POST", headers: headers({ "content-type": "image/png", "x-file-name": "me.png", "content-length": String(TINY_PNG.length) }), body: TINY_PNG }));+ expect(r.status).toBe(201);+ return (await r.json()).url;+ }+ async function settle(id: string, ms = 15_000) {+ const end = Date.now() + ms;+ for (;;) {+ await globalThis.__fuobeRunner?.tick();+ const g = getGeneration(id, { includeDeleted: true });+ if (!g || (g.status !== "queued" && g.status !== "running") || Date.now() > end) return g;+ await new Promise((r) => setTimeout(r, 150));+ }+ }+ const sent = () => fake.log.filter((e) => e.path === "/prompt").map((e) => e.prompt as unknown as ComfyWorkflow);++ it("a guest is asked to create an account before a run", async () => {+ const r = proxy(new NextRequest("http://localhost:3000/api/generations", { method: "POST", body: "{}", headers: { "content-type": "application/json" } }));+ expect(r.status).toBe(401);+ expect(await r.json()).toMatchObject({ error: GUEST_RUN_MESSAGE });+ });++ it("with the outfit photo, then with words: the right graph each time, and the result comes back", async () => {+ expect((await gpuRoute.PUT(json("/api/account/gpu", "PUT", { url: fake.url }))).status).toBe(200);+ const [me, outfit] = [await upload(), await upload()];+ fake.log.length = 0;+ const photo = await generationsRoute.POST(json("/api/generations", "POST", { feature: "app", modelId: "oss-outfit-swap", presetId: "app-outfit-swap", prompt: "", presetOptions: { shoes: "keep-mine" }, inputs: { images: [me, outfit] } }));+ expect(photo.status).toBe(201);+ const g = await settle((await photo.json()).items[0].id);+ expect(g?.status, g?.error ?? "").toBe("succeeded");+ expect(g!.outputs[0]).toMatchObject({ kind: "image", contentType: "image/png" });+ const [wf] = sent();+ expect(ofClass(wf, "LoadImage")).toHaveLength(2);+ expect(wf["53"].inputs["values.c"]).toBe(KEEP);+ expect(ofClass(wf, "LoraLoaderModelOnly")[0][1].inputs.lora_name).toBe(LORA);++ fake.log.length = 0;+ const words = await generationsRoute.POST(json("/api/generations", "POST", { feature: "app", modelId: "oss-outfit-swap", presetId: "app-outfit-swap", prompt: "an ivory silk slip dress", inputs: { images: [me] } }));+ expect(words.status).toBe(201);+ const w = await settle((await words.json()).items[0].id);+ expect(w?.status, w?.error ?? "").toBe("succeeded");+ const [wf2] = sent();+ expect(ofClass(wf2, "LoadImage")).toHaveLength(1);+ expect(ofClass(wf2, "TextGenerate")).toEqual([]);+ expect(wf2["53"].inputs).toMatchObject({ "values.b": "an ivory silk slip dress", "values.c": REPLACE });+ // Nothing reached the install's own ComfyUI.+ expect(fetched.filter((u) => u.includes("owner-comfy.test") && !u.endsWith("/system_stats"))).toEqual([]);+ });+});diff --git a/tests/preset-recipes.test.ts b/tests/preset-recipes.test.tsindex 2b126e52..952bfe29 100644--- a/tests/preset-recipes.test.ts+++ b/tests/preset-recipes.test.ts@@ -67,7 +67,7 @@ describe("which presets get a recipe", () => {// Graded presets whose clip was graded afterwards and that have no recipe in the book.const gradesWithoutRecipe = [...MOTIONS, ...EFFECTS].filter((x) => x.grade && !recipeKind(x));expect(new Set(none.map((x) => x.id))).toEqual(new Set([...gradesWithoutRecipe.map((x) => x.id), ...OWN_ROUTE_APPS]));- expect(none).toHaveLength(32);+ expect(none).toHaveLength(33);for (const x of none) for (const engine of ["open", "cloud"] as const) expect(presetRecipe(x, engine, inCatalog), x.id).toBeUndefined();});diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.jsonindex 4a33d503..3175fd8d 100644--- a/workflows/comfyui/manifest.json+++ b/workflows/comfyui/manifest.json@@ -14420,6 +14420,184 @@"Qwen3.5-0.8B (1.7 GB, Apache-2.0), the text encoder: Fuobe uses the pinned copy in models/text_encoders/qwen3.5_0.8b when it is there (hf download Qwen/Qwen3.5-0.8B --revision 2fc06364715b967f1860aea9cf38778875588b17 --local-dir models/text_encoders/qwen3.5_0.8b); otherwise the loader downloads it from Hugging Face on first run"]},+ {+ "id": "outfit-swap-qwen-image-21",+ "title": "Qwen-Image 2.1 Outfit Swap (outfit photo; Outfit Swap LoRA, Qwen3-VL describes the outfit)",+ "capability": "edit",+ "file": "outfit-swap-qwen-image-21.json",+ "source": "hand-built (scripts/comfy/hand-built/outfit-swap-qwen-image-21.json)",+ "bindings": {+ "prompt": [+ {+ "node": "53",+ "input": "values.d"+ }+ ],+ "request": [+ {+ "node": "53",+ "input": "values.c"+ }+ ],+ "image": [+ {+ "node": "10",+ "input": "image"+ }+ ],+ "image2": [+ {+ "node": "11",+ "input": "image"+ }+ ],+ "seed": [+ {+ "node": "32",+ "input": "seed"+ }+ ],+ "steps": [+ {+ "node": "32",+ "input": "steps"+ }+ ],+ "loraStrength": [+ {+ "node": "4",+ "input": "strength_model"+ }+ ]+ },+ "outputs": [+ {+ "node": "90",+ "kind": "image"+ }+ ],+ "defaults": {+ "steps": 25,+ "loraStrength": 1+ },+ "models": [+ {+ "file": "qwen_image_2.1_int8_convrot.safetensors",+ "folder": "diffusion_models",+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors",+ "sizeGb": 7.26+ },+ {+ "file": "qwen3vl_8b_int8_convrot.safetensors",+ "folder": "text_encoders",+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors",+ "sizeGb": 9.35+ },+ {+ "file": "qwen_image_2.1_vae_bf16.safetensors",+ "folder": "vae",+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors",+ "sizeGb": 0.68+ },+ {+ "file": "qwen-image-2.1-outfit-swap.safetensors",+ "folder": "loras",+ "url": "https://huggingface.co/ausboss/Qwen-Image-2.1-Outfit-Swap-Consistency-LoRA/resolve/main/qwen-image-2.1-outfit-swap.safetensors",+ "sizeGb": 0.16+ }+ ],+ "customNodes": [],+ "vramGb": 20,+ "license": "Qwen Research License Agreement (Qwen-Image 2.1 and the Outfit Swap LoRA by AusBoss, a derivative): NON-COMMERCIAL, research and evaluation only",+ "validated": false,+ "notes": "AusBoss's \"Qwen Image 2.1 Outfit Swap\" workflow (the LoRA card's workflows/qwen-image-2.1-outfit-swap.json), its two subgraphs flattened onto core nodes: the Outfit Swap LoRA (step 1,000, the card's main file) at 1 on the int8 model, the person to about 2 MP and the outfit to about 1 MP on the 32 grid (ImageScaleToTotalPixels, lanczos, for the pack's Image Resize in megapixels mode), TextEncodeQwenImage21 with the person as image 1 and the outfit as image 2 (resolution 0, no negative), QwenImage21Cache, KSampler 25 steps, cfg 1, euler, simple, SplitImageWithAlpha. The words: Qwen3-VL (the same text encoder, TextGenerate, thinking on) answers two yes/no checks on the person picture (feet, legs) and describes the outfit in one phrase, leaving out shoes when the feet are not in the picture and everything below the waist when the legs are not; StringFormat writes \"Dress the person in image 1 in <phrase>. Keep their face, hair, hands, pose and the background exactly the same. <request> <prompt>\". request = \"Replace everything they wear.\" (the card's default: clears the old outfit) or \"Keep their own shoes and legwear.\"; prompt = the person's own words, added at the end. Changed from the card: the no-feet phrase ends \"shown in image 2\" (the card adds \"without the shoes\"; Fuobe's requests name only what is wanted). Removed: the outfit picture's crop node (Fuobe sends the photo as it is), the typed/described switch (outfit-swap-qwen-image-21-text is the words route), the turbo LoRA row (off on the card), compare, timer, notes. Output follows the person picture at about 2 MP."+ },+ {+ "id": "outfit-swap-qwen-image-21-text",+ "title": "Qwen-Image 2.1 Outfit Swap (outfit in words; Outfit Swap LoRA)",+ "capability": "edit",+ "file": "outfit-swap-qwen-image-21-text.json",+ "source": "hand-built (scripts/comfy/hand-built/outfit-swap-qwen-image-21-text.json)",+ "bindings": {+ "prompt": [+ {+ "node": "53",+ "input": "values.b"+ }+ ],+ "request": [+ {+ "node": "53",+ "input": "values.c"+ }+ ],+ "image": [+ {+ "node": "10",+ "input": "image"+ }+ ],+ "seed": [+ {+ "node": "32",+ "input": "seed"+ }+ ],+ "steps": [+ {+ "node": "32",+ "input": "steps"+ }+ ],+ "loraStrength": [+ {+ "node": "4",+ "input": "strength_model"+ }+ ]+ },+ "outputs": [+ {+ "node": "90",+ "kind": "image"+ }+ ],+ "defaults": {+ "steps": 25,+ "loraStrength": 1+ },+ "models": [+ {+ "file": "qwen_image_2.1_int8_convrot.safetensors",+ "folder": "diffusion_models",+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/diffusion_models/qwen_image_2.1_int8_convrot.safetensors",+ "sizeGb": 7.26+ },+ {+ "file": "qwen3vl_8b_int8_convrot.safetensors",+ "folder": "text_encoders",+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/text_encoders/qwen3vl_8b_int8_convrot.safetensors",+ "sizeGb": 9.35+ },+ {+ "file": "qwen_image_2.1_vae_bf16.safetensors",+ "folder": "vae",+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-2.1/resolve/main/vae/qwen_image_2.1_vae_bf16.safetensors",+ "sizeGb": 0.68+ },+ {+ "file": "qwen-image-2.1-outfit-swap.safetensors",+ "folder": "loras",+ "url": "https://huggingface.co/ausboss/Qwen-Image-2.1-Outfit-Swap-Consistency-LoRA/resolve/main/qwen-image-2.1-outfit-swap.safetensors",+ "sizeGb": 0.16+ }+ ],+ "customNodes": [],+ "vramGb": 20,+ "license": "Qwen Research License Agreement (Qwen-Image 2.1 and the Outfit Swap LoRA by AusBoss, a derivative): NON-COMMERCIAL, research and evaluation only",+ "validated": false,+ "notes": "Outfit Swap with no outfit photo (Fuobe runs it when the request has one picture): outfit-swap-qwen-image-21 without image 2 and the describer. prompt = the outfit in words (\"a black velvet tuxedo with satin lapels\"), set into \"Dress the person in image 1 in <prompt>. Keep their face, hair, hands, pose and the background exactly the same. <request>\". The LoRA was trained with an outfit picture as image 2: with one picture, compare loraStrength 1 with 0 (the plain 25-step edit) before relying on it."+ },{"id": "steam-it-qwen-image-21","title": "Steam It: the clothes pressed, everything else kept (SAM 3.1 clothing mask + Qwen-Image 2.1 inpaint)",diff --git a/workflows/comfyui/model-pins.json b/workflows/comfyui/model-pins.jsonindex 7cee7786..1fe0f8ce 100644--- a/workflows/comfyui/model-pins.json+++ b/workflows/comfyui/model-pins.json@@ -862,6 +862,11 @@"sizeBytes": 3101572408,"sha256": "86c085c0d7853f12ce5183499934b54d08371c60f549c5a6b20615cd23989388"},+ "https://huggingface.co/ausboss/Qwen-Image-2.1-Outfit-Swap-Consistency-LoRA/resolve/main/qwen-image-2.1-outfit-swap.safetensors": {+ "revision": "f0e0fc4e4c65527963d875536aa4e77fe1e9b165",+ "sizeBytes": 159436488,+ "sha256": "4ddfeac5695adaed1f0f78b23fda40919fd2ed6a4af790ced6c1e043dc4ae1f0"+ },"https://huggingface.co/ausboss/Qwen-Image-2.1-Outpaint-LoRA/resolve/main/qwen-image-2.1-outpaint-v2.safetensors": {"revision": "dca5bdc7eb328f6021f330140f64b00a820ae5cd","sizeBytes": 159436576,diff --git a/workflows/comfyui/object_info.subset.json b/workflows/comfyui/object_info.subset.jsonindex d9a04675..6afb3617 100644--- a/workflows/comfyui/object_info.subset.json+++ b/workflows/comfyui/object_info.subset.json@@ -18489,6 +18489,92 @@"essentials_category": null,"has_intermediate_output": false},+ "RegexMatch": {+ "input": {+ "required": {+ "string": [+ "STRING",+ {+ "multiline": true+ }+ ],+ "regex_pattern": [+ "STRING",+ {+ "multiline": true+ }+ ]+ },+ "optional": {+ "case_insensitive": [+ "BOOLEAN",+ {+ "advanced": true,+ "default": true+ }+ ],+ "multiline": [+ "BOOLEAN",+ {+ "advanced": true,+ "default": false+ }+ ],+ "dotall": [+ "BOOLEAN",+ {+ "advanced": true,+ "default": false+ }+ ]+ }+ },+ "input_order": {+ "required": [+ "string",+ "regex_pattern"+ ],+ "optional": [+ "case_insensitive",+ "multiline",+ "dotall"+ ]+ },+ "is_input_list": false,+ "output": [+ "BOOLEAN"+ ],+ "output_is_list": [+ false+ ],+ "output_name": [+ "matches"+ ],+ "output_tooltips": [+ null+ ],+ "output_matchtypes": null,+ "name": "RegexMatch",+ "display_name": "Match Text",+ "description": "",+ "python_module": "comfy_extras.nodes_string",+ "category": "text",+ "output_node": false,+ "deprecated": false,+ "experimental": false,+ "dev_only": false,+ "api_node": false,+ "price_badge": null,+ "search_aliases": [+ "regex match",+ "regex",+ "pattern match",+ "text contains",+ "string match"+ ],+ "essentials_category": null,+ "has_intermediate_output": false+ },"RegexReplace": {"input": {"required": {diff --git a/workflows/comfyui/outfit-swap-qwen-image-21-text.json b/workflows/comfyui/outfit-swap-qwen-image-21-text.jsonnew file mode 100644index 00000000..7e0e28f7--- /dev/null+++ b/workflows/comfyui/outfit-swap-qwen-image-21-text.json@@ -0,0 +1,193 @@+{+ "1": {+ "inputs": {+ "unet_name": "qwen_image_2.1_int8_convrot.safetensors",+ "weight_dtype": "default"+ },+ "class_type": "UNETLoader",+ "_meta": {+ "title": "Load Diffusion Model"+ }+ },+ "2": {+ "inputs": {+ "clip_name": "qwen3vl_8b_int8_convrot.safetensors",+ "type": "qwen_image",+ "device": "default"+ },+ "class_type": "CLIPLoader",+ "_meta": {+ "title": "Load CLIP (Qwen3-VL 8B)"+ }+ },+ "3": {+ "inputs": {+ "vae_name": "qwen_image_2.1_vae_bf16.safetensors"+ },+ "class_type": "VAELoader",+ "_meta": {+ "title": "Load VAE"+ }+ },+ "4": {+ "inputs": {+ "model": [+ "1",+ 0+ ],+ "lora_name": "qwen-image-2.1-outfit-swap.safetensors",+ "strength_model": 1+ },+ "class_type": "LoraLoaderModelOnly",+ "_meta": {+ "title": "Outfit Swap LoRA (keeps the picture in place)"+ }+ },+ "10": {+ "inputs": {+ "image": "image_1.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image (the person, image 1)"+ }+ },+ "20": {+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 1.91,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The person to about 2 MP on the 32 grid"+ }+ },+ "30": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "vae": [+ "3",+ 0+ ],+ "prompt": [+ "53",+ 0+ ],+ "negative_prompt": "",+ "resolution": 0,+ "images.image_1": [+ "20",+ 0+ ]+ },+ "class_type": "TextEncodeQwenImage21",+ "_meta": {+ "title": "Text Encode Qwen Image 2.1 (person as image 1)"+ }+ },+ "31": {+ "inputs": {+ "model": [+ "4",+ 0+ ],+ "device": "auto",+ "dtype": "default"+ },+ "class_type": "QwenImage21Cache",+ "_meta": {+ "title": "Qwen Image 2.1 Cache"+ }+ },+ "32": {+ "inputs": {+ "seed": 0,+ "steps": 25,+ "cfg": 1,+ "sampler_name": "euler",+ "scheduler": "simple",+ "denoise": 1,+ "model": [+ "31",+ 0+ ],+ "positive": [+ "30",+ 0+ ],+ "negative": [+ "30",+ 1+ ],+ "latent_image": [+ "30",+ 2+ ]+ },+ "class_type": "KSampler",+ "_meta": {+ "title": "KSampler"+ }+ },+ "33": {+ "inputs": {+ "samples": [+ "32",+ 0+ ],+ "vae": [+ "3",+ 0+ ]+ },+ "class_type": "VAEDecode",+ "_meta": {+ "title": "VAE Decode"+ }+ },+ "34": {+ "inputs": {+ "image": [+ "33",+ 0+ ]+ },+ "class_type": "SplitImageWithAlpha",+ "_meta": {+ "title": "Drop the alpha"+ }+ },+ "53": {+ "inputs": {+ "values.a": "the person",+ "values.b": "",+ "values.c": "Replace everything they wear.",+ "f_string": "Dress {a} in image 1 in {b}. Keep their face, hair, hands, pose and the background exactly the same. {c}"+ },+ "class_type": "StringFormat",+ "_meta": {+ "title": "The request (who, the outfit in words, shoes)"+ }+ },+ "90": {+ "inputs": {+ "filename_prefix": "fuobe/outfit-swap",+ "images": [+ "34",+ 0+ ]+ },+ "class_type": "SaveImage",+ "_meta": {+ "title": "Save Image"+ }+ }+}diff --git a/workflows/comfyui/outfit-swap-qwen-image-21.json b/workflows/comfyui/outfit-swap-qwen-image-21.jsonnew file mode 100644index 00000000..67f48e63--- /dev/null+++ b/workflows/comfyui/outfit-swap-qwen-image-21.json@@ -0,0 +1,441 @@+{+ "1": {+ "inputs": {+ "unet_name": "qwen_image_2.1_int8_convrot.safetensors",+ "weight_dtype": "default"+ },+ "class_type": "UNETLoader",+ "_meta": {+ "title": "Load Diffusion Model"+ }+ },+ "2": {+ "inputs": {+ "clip_name": "qwen3vl_8b_int8_convrot.safetensors",+ "type": "qwen_image",+ "device": "default"+ },+ "class_type": "CLIPLoader",+ "_meta": {+ "title": "Load CLIP (Qwen3-VL 8B)"+ }+ },+ "3": {+ "inputs": {+ "vae_name": "qwen_image_2.1_vae_bf16.safetensors"+ },+ "class_type": "VAELoader",+ "_meta": {+ "title": "Load VAE"+ }+ },+ "4": {+ "inputs": {+ "model": [+ "1",+ 0+ ],+ "lora_name": "qwen-image-2.1-outfit-swap.safetensors",+ "strength_model": 1+ },+ "class_type": "LoraLoaderModelOnly",+ "_meta": {+ "title": "Outfit Swap LoRA (keeps the picture in place)"+ }+ },+ "10": {+ "inputs": {+ "image": "image_1.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image (the person, image 1)"+ }+ },+ "11": {+ "inputs": {+ "image": "image_2.png"+ },+ "class_type": "LoadImage",+ "_meta": {+ "title": "Load Image (the outfit, image 2)"+ }+ },+ "20": {+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 1.91,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The person to about 2 MP on the 32 grid"+ }+ },+ "21": {+ "inputs": {+ "image": [+ "11",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 0.95,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The outfit to about 1 MP on the 32 grid"+ }+ },+ "22": {+ "inputs": {+ "image": [+ "10",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 0.57,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The person, small, for the two checks"+ }+ },+ "23": {+ "inputs": {+ "image": [+ "11",+ 0+ ],+ "upscale_method": "lanczos",+ "megapixels": 0.57,+ "resolution_steps": 32+ },+ "class_type": "ImageScaleToTotalPixels",+ "_meta": {+ "title": "The outfit, small, for the describer"+ }+ },+ "30": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "vae": [+ "3",+ 0+ ],+ "prompt": [+ "53",+ 0+ ],+ "negative_prompt": "",+ "resolution": 0,+ "images.image_1": [+ "20",+ 0+ ],+ "images.image_2": [+ "21",+ 0+ ]+ },+ "class_type": "TextEncodeQwenImage21",+ "_meta": {+ "title": "Text Encode Qwen Image 2.1 (person as image 1)"+ }+ },+ "31": {+ "inputs": {+ "model": [+ "4",+ 0+ ],+ "device": "auto",+ "dtype": "default"+ },+ "class_type": "QwenImage21Cache",+ "_meta": {+ "title": "Qwen Image 2.1 Cache"+ }+ },+ "32": {+ "inputs": {+ "seed": 0,+ "steps": 25,+ "cfg": 1,+ "sampler_name": "euler",+ "scheduler": "simple",+ "denoise": 1,+ "model": [+ "31",+ 0+ ],+ "positive": [+ "30",+ 0+ ],+ "negative": [+ "30",+ 1+ ],+ "latent_image": [+ "30",+ 2+ ]+ },+ "class_type": "KSampler",+ "_meta": {+ "title": "KSampler"+ }+ },+ "33": {+ "inputs": {+ "samples": [+ "32",+ 0+ ],+ "vae": [+ "3",+ 0+ ]+ },+ "class_type": "VAEDecode",+ "_meta": {+ "title": "VAE Decode"+ }+ },+ "34": {+ "inputs": {+ "image": [+ "33",+ 0+ ]+ },+ "class_type": "SplitImageWithAlpha",+ "_meta": {+ "title": "Drop the alpha"+ }+ },+ "40": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "image": [+ "22",+ 0+ ],+ "prompt": "Are the person's feet or shoes in this picture? Answer yes or no.",+ "max_length": 16,+ "sampling_mode": "off",+ "thinking": true,+ "use_default_template": true,+ "mtp": "auto"+ },+ "class_type": "TextGenerate",+ "_meta": {+ "title": "Are the feet in the picture"+ }+ },+ "41": {+ "inputs": {+ "string": [+ "40",+ 0+ ],+ "regex_pattern": "^\\s*yes\\b",+ "case_insensitive": true,+ "multiline": false,+ "dotall": false+ },+ "class_type": "RegexMatch",+ "_meta": {+ "title": "Feet answer starts with yes"+ }+ },+ "42": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "image": [+ "22",+ 0+ ],+ "prompt": "Are the person's legs in this picture? Answer yes or no.",+ "max_length": 16,+ "sampling_mode": "off",+ "thinking": true,+ "use_default_template": true,+ "mtp": "auto"+ },+ "class_type": "TextGenerate",+ "_meta": {+ "title": "Are the legs in the picture"+ }+ },+ "43": {+ "inputs": {+ "string": [+ "42",+ 0+ ],+ "regex_pattern": "^\\s*yes\\b",+ "case_insensitive": true,+ "multiline": false,+ "dotall": false+ },+ "class_type": "RegexMatch",+ "_meta": {+ "title": "Legs answer starts with yes"+ }+ },+ "44": {+ "inputs": {+ "value": "You write short image-edit descriptions. Reply with one phrase only, no preamble, no quotes.\n\nLook at the clothing in this picture. Describe the outfit in one short phrase for an image editor: name every garment, the top, the bottom (skirt, shorts, trousers, dress) and any shoes or accessories, each with its color, pattern and the details that identify it (collar, straps, sleeves, trim, buttons, belt, chain). Start with 'the' and end with 'shown in image 2'. Do not describe the background or any person."+ },+ "class_type": "PrimitiveStringMultiline",+ "_meta": {+ "title": "Describer: the whole outfit"+ }+ },+ "45": {+ "inputs": {+ "value": "You write short image-edit descriptions. Reply with one phrase only, no preamble, no quotes.\n\nLook at the clothing in this picture. Describe the outfit in one short phrase for an image editor: name every garment, the top, the bottom (skirt, shorts, trousers, dress) and any accessories, each with its color, pattern and the details that identify it (collar, straps, sleeves, trim, buttons, belt, chain). Leave out shoes, boots and socks: the picture the outfit goes on does not show the feet. Start with 'the' and end with 'shown in image 2'. Do not describe the background or any person."+ },+ "class_type": "PrimitiveStringMultiline",+ "_meta": {+ "title": "Describer: no feet in the picture"+ }+ },+ "46": {+ "inputs": {+ "value": "You write short image-edit descriptions. Reply with one phrase only, no preamble, no quotes.\n\nLook at the clothing in this picture. The picture it goes on shows the person only from the chest or waist up, so describe only what is worn on the upper body, in one short phrase for an image editor: the outer layer (jacket, coat, cardigan, shirt, sweater, or the top of a dress or overalls) and what shows under it, each with its color, pattern and the details that identify it (collar, sleeves, buttons, trim, straps). Leave out trousers, skirts, shorts, the lower part of a dress, shoes and socks. Start with 'the' and end with 'shown in image 2'. Do not describe the background or any person."+ },+ "class_type": "PrimitiveStringMultiline",+ "_meta": {+ "title": "Describer: no legs in the picture"+ }+ },+ "47": {+ "inputs": {+ "switch": [+ "41",+ 0+ ],+ "on_true": [+ "44",+ 0+ ],+ "on_false": [+ "45",+ 0+ ]+ },+ "class_type": "ComfySwitchNode",+ "_meta": {+ "title": "With or without shoes"+ }+ },+ "48": {+ "inputs": {+ "switch": [+ "43",+ 0+ ],+ "on_true": [+ "47",+ 0+ ],+ "on_false": [+ "46",+ 0+ ]+ },+ "class_type": "ComfySwitchNode",+ "_meta": {+ "title": "Whole outfit or top half"+ }+ },+ "49": {+ "inputs": {+ "clip": [+ "2",+ 0+ ],+ "image": [+ "23",+ 0+ ],+ "prompt": [+ "48",+ 0+ ],+ "max_length": 200,+ "sampling_mode": "off",+ "thinking": true,+ "use_default_template": true,+ "mtp": "auto"+ },+ "class_type": "TextGenerate",+ "_meta": {+ "title": "Describe the outfit"+ }+ },+ "50": {+ "inputs": {+ "string": [+ "49",+ 0+ ],+ "regex_pattern": "^[\\s\"']+|[\\s\"'.]+$",+ "replace": "",+ "case_insensitive": false,+ "multiline": false,+ "dotall": false,+ "count": 0+ },+ "class_type": "RegexReplace",+ "_meta": {+ "title": "Trim stray quotes and spaces"+ }+ },+ "53": {+ "inputs": {+ "values.a": "the person",+ "values.b": [+ "50",+ 0+ ],+ "values.c": "Replace everything they wear.",+ "values.d": "",+ "f_string": "Dress {a} in image 1 in {b}. Keep their face, hair, hands, pose and the background exactly the same. {c} {d}"+ },+ "class_type": "StringFormat",+ "_meta": {+ "title": "The request (who, the described outfit, shoes, the person's own words)"+ }+ },+ "90": {+ "inputs": {+ "filename_prefix": "fuobe/outfit-swap",+ "images": [+ "34",+ 0+ ]+ },+ "class_type": "SaveImage",+ "_meta": {+ "title": "Save Image"+ }+ }+}diff --git a/workflows/comfyui/requirements.json b/workflows/comfyui/requirements.jsonindex 2ac300ab..f150c65d 100644--- a/workflows/comfyui/requirements.json+++ b/workflows/comfyui/requirements.json@@ -1,6 +1,6 @@{"v": 1,- "hash": "1b1ac270c277dcb88e21a2891fa3732f51773190f74c9dcb3a8c142a4e25d963",+ "hash": "bd552ce330e44d8b4c8a0b6a3d774ebc701f32fd18b9f8c6cc10c081ccdee2cb","comfyui": {"min":"0.42.0","testedCommit":"5841c187"},"folders": ["audio_encoders","background_removal","checkpoints","clip_vision","dbs","diffusion_models","facerestore_models","foley","frame_interpolation","geometry_estimation","insightface","latent_upscale_models","loras","mmaudio","model_patches","optical_flow","reuse","text_encoders","thinksound","upscale_models","vae"],"sentinels": ["AILab_Qwen3ASRSubtitle","AILab_Qwen3TTSVoiceClone_Advanced","AILab_Qwen3TTSVoiceDesign_Advanced","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_MaskByTouch","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","CFGOverride","ClothesSegment","ComfyMathExpression","CropFuobeLive","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3AdvancedSwapPlan","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3ClipShots","H3FaceChunks","H3FaceJoin","H3FaceMaskSAM","H3FaceStitch","H3FaceTrackCrop","H3FillShots","H3GreyMannequins","H3ObjectSwapPlan","H3PeopleMask","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3RoleMask","H3SLAAttention","H3SoundtrackOrSilence","H3SourceSlice","H3SubjectPrompt","H3TrackCrops","H3TrackRoles","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","INTConstant","Ideogram4Scheduler","ImageBatchExtendWithOverlap","ImageDetailContrast","ImageGridtoBatch","ImageResizeKJv2","IndexTTS2Simple","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXAddVideoICLoRAGuide","LTXICLoRALoaderModelOnly","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LTXVTiledFusionSampler","LatentSyncNode","LoadBackgroundRemovalModel","LoadImageFuobeLive","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","Metric3D-NormalMapPreprocessor","MiniMaxH3ChainAssemble","MiniMaxH3ChainContext","MiniMaxH3ChainCurrent","MiniMaxH3ChainLoopEnd","MiniMaxH3ChainLoopStart","MiniMaxH3ChainPlanModern","MiniMaxH3ChainReview","MiniMaxH3ChainSegmentSave","MiniMaxH3ContexMaskedTarget","MiniMaxH3FantasticVideoEditLatent","MiniMaxH3GenerationProfile","MiniMaxH3LoopTrim","MiniMaxH3SourceTimeline","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","OpenH3RegenFastVAEDecode","OpenH3RegenFinish","OpenH3RegenLora","OpenH3RegenPrepareDraft","OpenH3RegenRefineLatent","OpenH3RegenSigmas","OpenH3RegenUpscale","OpenH3SaveRefinedLatent","Orion4D_FXMax_DCTLToneMapper","PasteBackFuobeLive","Qwen21EncodeFuobeLive","Qwen21ReferenceFuobeLive","QwenImage21Cache","REUSEEnhance","REUSELoader","RIFE VFI","RMBG","ReActorFaceSwap","RemoveBackground","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SAMLoader","SaveImageFuobeLive","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","SolarRendererConditioning","SolarRendererLoraLoader","SolarRendererModel","SolarRendererSigmas","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VRAM_Debug","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","ViggleTurboLora","ViggleTurboSigmas","VoxCPM2_Clone","VoxCPM2_TTS","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader","ZenImage21AdapterLoader","ZenImage21TextEncode"],@@ -194,6 +194,7 @@"loras/open_h3_regenerate_2k_lora.safetensors": {"folder":"loras","file":"open_h3_regenerate_2k_lora.safetensors","url":"https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K/resolve/5809c33730c18b6b1c827b40974855a4288641b3/lora/open_h3_regenerate_2k_lora.safetensors","pinnedUrl":"https://huggingface.co/Efficient-Large-Model/Open-H3-Regenerate-2K/resolve/5809c33730c18b6b1c827b40974855a4288641b3/lora/open_h3_regenerate_2k_lora.safetensors","sizeBytes":12452449080,"gated":false,"presence":"list"},"loras/p_q_image_2.1_6_steps_upsampled_v0.2_comfyui_bf16.safetensors": {"folder":"loras","file":"p_q_image_2.1_6_steps_upsampled_v0.2_comfyui_bf16.safetensors","url":"https://huggingface.co/PrunaAI/P-Q-Image-2.1-Comfy/resolve/aa7dcecb1767e220e31a55706e33fd057c9a3fca/p_q_image_2.1_6_steps_upsampled_v0.2_comfyui_bf16.safetensors","pinnedUrl":"https://huggingface.co/PrunaAI/P-Q-Image-2.1-Comfy/resolve/aa7dcecb1767e220e31a55706e33fd057c9a3fca/p_q_image_2.1_6_steps_upsampled_v0.2_comfyui_bf16.safetensors","sizeBytes":344061264,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},"loras/qwen-edit-2509-multiple-angles-dx8152.safetensors": {"folder":"loras","file":"qwen-edit-2509-multiple-angles-dx8152.safetensors","url":"https://huggingface.co/dx8152/Qwen-Edit-2509-Multiple-angles/resolve/c342b0e746c3a3275af1a4a0c6ae78e0e4802531/%E9%95%9C%E5%A4%B4%E8%BD%AC%E6%8D%A2.safetensors","pinnedUrl":"https://huggingface.co/dx8152/Qwen-Edit-2509-Multiple-angles/resolve/c342b0e746c3a3275af1a4a0c6ae78e0e4802531/%E9%95%9C%E5%A4%B4%E8%BD%AC%E6%8D%A2.safetensors","sizeBytes":236117032,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},+ "loras/qwen-image-2.1-outfit-swap.safetensors": {"folder":"loras","file":"qwen-image-2.1-outfit-swap.safetensors","url":"https://huggingface.co/ausboss/Qwen-Image-2.1-Outfit-Swap-Consistency-LoRA/resolve/main/qwen-image-2.1-outfit-swap.safetensors","pinnedUrl":"https://huggingface.co/ausboss/Qwen-Image-2.1-Outfit-Swap-Consistency-LoRA/resolve/f0e0fc4e4c65527963d875536aa4e77fe1e9b165/qwen-image-2.1-outfit-swap.safetensors","sizeBytes":159436488,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},"loras/qwen-image-2.1-outpaint-v2.safetensors": {"folder":"loras","file":"qwen-image-2.1-outpaint-v2.safetensors","url":"https://huggingface.co/ausboss/Qwen-Image-2.1-Outpaint-LoRA/resolve/main/qwen-image-2.1-outpaint-v2.safetensors","pinnedUrl":"https://huggingface.co/ausboss/Qwen-Image-2.1-Outpaint-LoRA/resolve/dca5bdc7eb328f6021f330140f64b00a820ae5cd/qwen-image-2.1-outpaint-v2.safetensors","sizeBytes":159436576,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},"loras/qwen-image-2.1-qma-camera-angles.safetensors": {"folder":"loras","file":"qwen-image-2.1-qma-camera-angles.safetensors","url":"https://huggingface.co/gribbliest/qwen-image-2.1-qma-camera-angles/resolve/13007eec2648c09529e930164c2ccc9c8c12428c/qwen-image-2.1-qma-camera-angles.safetensors","pinnedUrl":"https://huggingface.co/gribbliest/qwen-image-2.1-qma-camera-angles/resolve/13007eec2648c09529e930164c2ccc9c8c12428c/qwen-image-2.1-qma-camera-angles.safetensors","sizeBytes":318820224,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},"loras/qwen-image-2.1-restore.safetensors": {"folder":"loras","file":"qwen-image-2.1-restore.safetensors","url":"https://huggingface.co/ausboss/Qwen-Image-2.1-Restore-LoRA/resolve/main/qwen-image-2.1-restore.safetensors","pinnedUrl":"https://huggingface.co/ausboss/Qwen-Image-2.1-Restore-LoRA/resolve/a223f1255f4738b89b36d79c44d61740d3b3546f/qwen-image-2.1-restore.safetensors","sizeBytes":159436584,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},@@ -367,6 +368,8 @@"music-yue2-cover": {"core":["AudioEncoderLoader","CheckpointLoaderSimple","ConditioningZeroOut","EmptyYuE2LatentAudio","KSampler","LoadAudio","SaveAudioAdvanced","SheetSage2AudioToABC","VAEDecodeAudio","YuE2GenerateMusic"],"packs":{},"files":["audio_encoders/sheetsage2_bf16.safetensors","checkpoints/yue2_3b_int8_convrot.safetensors"],"optional":[],"vramGb":12,"isolated":false,"firstRun":[],"validated":true},"music-yue2-song": {"core":["CheckpointLoaderSimple","ConditioningZeroOut","EmptyYuE2LatentAudio","KSampler","SaveAudioAdvanced","VAEDecodeAudio","YuE2GenerateABC","YuE2GenerateMusic"],"packs":{},"files":["checkpoints/yue2_3b_int8_convrot.safetensors"],"optional":[],"vramGb":12,"isolated":false,"firstRun":[],"validated":true},"ocr-lines-qwen35": {"core":["CLIPLoader","GetImageSize","ImageScaleToMaxDimension","LoadImage","PreviewAny","SaveText","StringFormat","TextGenerate"],"packs":{},"files":["text_encoders/ovisocr3_0.8b_bf16.safetensors"],"optional":[],"vramGb":3,"isolated":false,"firstRun":[],"validated":true},+ "outfit-swap-qwen-image-21": {"core":["CLIPLoader","ComfySwitchNode","ImageScaleToTotalPixels","KSampler","LoadImage","LoraLoaderModelOnly","PrimitiveStringMultiline","QwenImage21Cache","RegexMatch","RegexReplace","SaveImage","SplitImageWithAlpha","StringFormat","TextEncodeQwenImage21","TextGenerate","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/qwen_image_2.1_int8_convrot.safetensors","loras/qwen-image-2.1-outfit-swap.safetensors","text_encoders/qwen3vl_8b_int8_convrot.safetensors","vae/qwen_image_2.1_vae_bf16.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[]},+ "outfit-swap-qwen-image-21-text": {"core":["CLIPLoader","ImageScaleToTotalPixels","KSampler","LoadImage","LoraLoaderModelOnly","QwenImage21Cache","SaveImage","SplitImageWithAlpha","StringFormat","TextEncodeQwenImage21","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/qwen_image_2.1_int8_convrot.safetensors","loras/qwen-image-2.1-outfit-swap.safetensors","text_encoders/qwen3vl_8b_int8_convrot.safetensors","vae/qwen_image_2.1_vae_bf16.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[]},"palette-transfer-image": {"core":["ColorTransfer","LoadImage","SaveImage"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},"palette-transfer-video": {"core":["ColorTransfer","CreateVideo","GetVideoComponents","LoadImage","LoadVideo","SaveVideo"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},"palette-zimage-hex": {"core":["CLIPLoader","CLIPTextEncode","ColorTransfer","ConditioningZeroOut","EmptySD3LatentImage","KSampler","LoadImage","ModelSamplingAuraFlow","SaveImage","StringConcatenate","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/z_image_turbo_bf16.safetensors","text_encoders/qwen_3_4b.safetensors","vae/ae.safetensors"],"optional":[],"vramGb":12,"isolated":false,"firstRun":[],"validated":true},