Skip to content

armgit / fuobe

Public Imported from GitHub
0

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.

Apps: Head Swap puts a whole head, hair included, on a photo

Adarshaa8e9c8d312d
diff --git a/CREDITS.md b/CREDITS.md
index 54328f3b..383e7f39 100644
--- a/CREDITS.md
+++ b/CREDITS.md
@@ -10,10 +10,11 @@ This file is generated by `node scripts/credits.mjs` from `src/lib/licences.ts`,
Some licences ask the app that runs their model to say so.
-- **MiniMax H3**: Fuobe Character swap, MiniMax H3, Open-H3 Regenerate, H3 Character Swap · Relay 2.0, Group swap, Scene edit, From picture, Fix faces, H3 Person Removal · Relay 2.0, H3 Character Swap · studio segment, MiniMax H3 Text to Video + Audio (20 steps), MiniMax H3 Image to Video + Audio (20 steps), MiniMax H3 Start + End Frame to Video + Audio (20 steps), MiniMax H3 360-degree orbit of a still + Audio (Orbit LoRA, 28 steps), Group swap, one by one: exactly 2 characters, each person redrawn on a pass of their own (Openjutsu advanced_maxq), From picture, the video on native MiniMax H3 (DMAD, 6 steps) from the approved first frame and the part's normals
+- **MiniMax H3**: Fuobe Character swap, MiniMax H3, MiniMax H3 · FastH3 V2, MiniMax H3 · FastH3 Trim, Open-H3 Regenerate, H3 Character Swap · Relay 2.0, Group swap, Scene edit, From picture, Fix faces, H3 Person Removal · Relay 2.0, H3 Character Swap · studio segment, MiniMax H3 Text to Video + Audio (20 steps), MiniMax H3 Image to Video + Audio (20 steps), MiniMax H3 Start + End Frame to Video + Audio (20 steps), MiniMax H3 360-degree orbit of a still + Audio (Orbit LoRA, 28 steps), Group swap, one by one: exactly 2 characters, each person redrawn on a pass of their own (Openjutsu advanced_maxq), From picture, the video on native MiniMax H3 (DMAD, 6 steps) from the approved first frame and the part's normals
- **Built with Llama**: HiDream-I1 Dev
+- **MiniMax-Music3**: MiniMax Music 3
- **Keep the licence text and NVIDIA's notices when you share the weights**: RE-USE (clean up voice), Clean the dialogue of a soundtrack and keep its music and effects (DBS + NVIDIA RE-USE)
-- **Built with DINOv3**: Pixal3D, TRELLIS.2, TRELLIS.2 Multi-view, Qwen-Image 2.1 → TRELLIS.2, TripoSplat, Any Angle 3D view
+- **Built with DINOv3**: Pixal3D, TRELLIS.2, TRELLIS.2 Multi-view, Qwen-Image 2.1 → TRELLIS.2, TripoSplat, Any Angle 3D view, Idol 3D
## Attributions
@@ -27,7 +28,7 @@ Some licences ask the app that runs their model to say so.
## Open model licences
-183 models, one row for each set of open weights Fuobe runs: 92 allow commercial use, 34 with conditions, 38 are non-commercial and 20 aren't available everywhere.
+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.
| Model | By | Kind | Licence | Note |
| --- | --- | --- | --- | --- |
@@ -36,6 +37,7 @@ Some licences ask the app that runs their model to say so.
| Fuobe Soul Cinema | Fuobe Original | Image | [Apache-2.0 (Z-Image Turbo)](https://spdx.org/licenses/Apache-2.0.html) | |
| Fuobe DoP | Fuobe Original | Video | [Apache-2.0 (Wan 2.2, umT5, lightx2v)](https://spdx.org/licenses/Apache-2.0.html) | |
| Fuobe DoP · LTX | Fuobe Original | Video | [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 |
+| Fuobe Animation | Fuobe Original | Video | [Apache-2.0 (Wan 2.2 I2V A14B, lightx2v 4-step LoRA, bilibili Index-AniSora V3.2; Kijai's AniSora extraction states no licence of its own)](https://spdx.org/licenses/Apache-2.0.html) | |
| Fuobe Cinema | Fuobe Original | Video | [Apache-2.0 (Wan 2.2, umT5, lightx2v)](https://spdx.org/licenses/Apache-2.0.html) | |
| Fuobe Genjutsu · Motion | Fuobe Original | Video | [Apache-2.0 (Wan Animate 2, lightx2v)](https://spdx.org/licenses/Apache-2.0.html) | |
| Fuobe Genjutsu Lite · Motion | Fuobe Original | Video | [Apache-2.0 (Wan Animate 2, lightx2v)](https://spdx.org/licenses/Apache-2.0.html) | |
@@ -57,6 +59,7 @@ Some licences ask the app that runs their model to say so.
| Qwen-Image 2.1 Turbo | Alibaba Qwen | Image | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; 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 · Small GPU | Alibaba Qwen | Image | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; Zen Image Edit fusion adapter adapter_v12 (AiArtLab / recoilme, release v2 of zen-image-edit-comfyui, sha256 85578cd0): Qwen Research License; Qwen3.5-0.8B (Qwen @ 2fc06364): Apache-2.0; zen-image-edit-comfyui nodes @ 7a29e58c: Apache-2.0; 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 Live | Alibaba Qwen | Image | [Qwen Research License Agreement (Qwen-Image 2.1 and the DMD2 2-step LoRA by linoyts, a derivative): NON-COMMERCIAL, research and evaluation only; Fuobe live nodes MIT](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial |
+| Tap to Recolor | Alibaba Qwen + Meta SAM 3.1 | Image | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; Meta SAM License (SAM 3.1); AusBoss nodes MIT](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial |
| FLUX 3 Klein | Black Forest Labs | Image | [FLUX Kommunity License v1.0 (FLUX 3 Image Klein and Klein Base: non-commercial use, plus commercial outputs for Qualifying Users under US$5M gross annual revenue; other commercial use needs a BFL licence; not blanket permission for commercial fine-tuning or distribution); Qwen3-VL-4B-Instruct encoder and the FLUX 3 prompt upsampler (Qwen3.5 9B fine-tune) Apache-2.0; FLUX.2 VAE Apache-2.0](https://huggingface.co/black-forest-labs/flux-3-image-klein) | Conditions apply |
| FLUX 3 Klein Base | Black Forest Labs | Image | [FLUX Kommunity License v1.0 (FLUX 3 Image Klein and Klein Base: non-commercial use, plus commercial outputs for Qualifying Users under US$5M gross annual revenue; other commercial use needs a BFL licence; not blanket permission for commercial fine-tuning or distribution); Qwen3-VL-4B-Instruct encoder and the FLUX 3 prompt upsampler (Qwen3.5 9B fine-tune) Apache-2.0; FLUX.2 VAE Apache-2.0](https://huggingface.co/black-forest-labs/flux-3-image-klein) | Conditions apply |
| Krea 2 Realism | Krea | Image | [Krea 2 Community License (free under US$1M yearly revenue; enterprise terms above it); Krea2-realism-V2 LoRA MIT](https://huggingface.co/Comfy-Org/Krea-2) | Conditions apply |
@@ -87,10 +90,12 @@ Some licences ask the app that runs their model to say so.
| OvisOCR3 | ATH-MaaS | Text | [Apache-2.0 (OvisOCR3 weights by ATH-MaaS; the Qwen3.5 fallback checkpoints); ComfyUI core TextGenerate](https://spdx.org/licenses/Apache-2.0.html) | |
| SeedVR2 (image) | ByteDance Seed | Image | [Apache-2.0 (SeedVR2)](https://spdx.org/licenses/Apache-2.0.html) | |
| BiRefNet background removal | Open source | Image | [MIT (BiRefNet)](https://spdx.org/licenses/MIT.html) | |
-| MiniMax H3 | MiniMax | Video | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0 · turbo v4 LoRA Apache-2.0 (larryvrh) · ComfyUI-MiniMax-H3-Turbo nodes Apache-2.0 · PlagueKind nodes MIT](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
+| MiniMax H3 | MiniMax | Video | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0 · turbo v4 LoRA Apache-2.0 (larryvrh) · ComfyUI-MiniMax-H3-Turbo nodes Apache-2.0 · PlagueKind nodes MIT · Sol-H3-VAE (Efficient-Large-Model; the optional fast decoder): licence unconfirmed, no licence tag on its model page; its card says code Apache-2.0 and weights under the MiniMax H3 Community License](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
| LTX-2.5 | Lightricks | Video | [LTX-2.x Community License (free, commercial use included, below US$10M annual revenue; a paid licence above); Gemma 3 text encoder under the Gemma Terms of Use](https://huggingface.co/Lightricks/LTX-2.5) | Conditions apply |
| Wan 2.2 14B Lightning | Alibaba Wan | Video | [Apache-2.0 (Wan 2.2, umT5, lightx2v)](https://spdx.org/licenses/Apache-2.0.html) | |
| Wan 2.2 14B | Alibaba Wan | Video | [Apache-2.0 (Wan 2.2, umT5, lightx2v)](https://spdx.org/licenses/Apache-2.0.html) | |
+| MiniMax H3 · FastH3 V2 | FastVideo | Video | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0 · FastH3 V2 and FastH3 Trim (FastVideo): MiniMax H3 Community License](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
+| MiniMax H3 · FastH3 Trim | FastVideo | Video | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0 · FastH3 V2 and FastH3 Trim (FastVideo): MiniMax H3 Community License](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
| Wan 2.2 5B | Alibaba Wan | Video | [Apache-2.0 (Wan 2.2, umT5, lightx2v)](https://spdx.org/licenses/Apache-2.0.html) | |
| LTX-2 | Lightricks | Video | [LTX-2.x Community License (free, commercial use included, below US$10M annual revenue; a paid licence above); Gemma 3 text encoder under the Gemma Terms of Use](https://huggingface.co/Lightricks/LTX-2) | Conditions apply |
| HunyuanVideo 1.5 | Tencent | Video | [Tencent Hunyuan Community License (territory EXCLUDES the EU, UK and South Korea)](https://huggingface.co/Comfy-Org/HunyuanVideo_1.5_repackaged) | Not available in the EU, UK and South Korea |
@@ -128,6 +133,7 @@ Some licences ask the app that runs their model to say so.
| From picture | MiniMax × Openjutsu | Video | [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 · SolarRenderer LoRAs (rank 64): MiniMax H3 Community License; SolarRenderer code Apache-2.0 · Metric3D BSD-2-Clause](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
| Fix faces | MiniMax × Openjutsu | Video | [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 · YOLO face/person weights AGPL-3.0 · SAM ViT-B Apache-2.0 · InsightFace buffalo_l (identity tracking): NON-COMMERCIAL research only](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Non-commercial, Not available in the US, the EU, the UK and South Korea |
| H3 Person Removal · Relay 2.0 | MiniMax × Akatz Labs | Video | [MiniMax H3 Community License (H3 Ref2VA, its video and audio VAEs, the packaged Qwen3-VL text encoder, Akatz Labs' Person Remover V1 LoRA): 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-32B base Apache-2.0 · SAM 3.1 under Meta's SAM License (commercial use allowed under its terms) · H3 Relay nodes GPL-3.0 (Sendy Software LLC and contributors; vendored Context Loop and Spectrum GPL-3.0); the graph is H3 Relay's example workflow (GPL-3.0 repository)](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
+| SAM 3.1 green mask · H3 Person Removal | Meta × Akatz Labs | Video | [SAM 3.1 under Meta's SAM License (commercial use allowed under its terms); the chain is H3 Relay's Person Removal example (GPL-3.0 repository)](https://huggingface.co/Comfy-Org/sam3.1) | Conditions apply |
| H3 Character Swap · studio segment | MiniMax × Akatz Labs | Video | [MiniMax H3 Community License (H3 Ref2VA, its video and audio VAEs, the packaged Qwen3-VL text encoder, Akatz Labs' Character Swap LoRA): 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-32B base Apache-2.0 · SAM 3.1 under Meta's SAM License (commercial use allowed under its terms) · FL2V Turbo LoRA Apache-2.0 at the pinned revision · H3 Relay nodes GPL-3.0 (Sendy Software LLC and contributors; vendored Context Loop and Spectrum GPL-3.0); the graph is built from H3 Relay's example workflow (GPL-3.0 repository)](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
| SAM 3.1 person mask · H3 Relay | Meta × Akatz Labs | Video | [SAM 3.1 under Meta's SAM License (commercial use allowed under its terms) · H3 Relay nodes GPL-3.0 (Sendy Software LLC and contributors)](https://huggingface.co/Comfy-Org/sam3.1) | Conditions apply |
| Qwen-Image-Edit Relight | Alibaba Qwen | Image | [Apache-2.0 (Qwen-Image-Edit-2509, Relight LoRA, Lightning LoRA)](https://spdx.org/licenses/Apache-2.0.html) | |
@@ -136,6 +142,7 @@ Some licences ask the app that runs their model to say so.
| Relight | Alibaba Qwen | Image | [Qwen Research License Agreement (Qwen-Image 2.1 and Viggle's turbo LoRA, a derivative): NON-COMMERCIAL, research and evaluation only; the viggle_turbo node file ships in the same model repo under the same terms](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial |
| Relight scene read | Open source | Image | [Depth Anything 3 mono large: Apache-2.0 (model card) · BiRefNet: MIT](https://spdx.org/licenses/Apache-2.0.html) | |
| QMA · 96 views | Alibaba Qwen | Image | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; QMA Camera Angles LoRA by gribbliest @ 13007eec: Apache-2.0 on its card (no LICENSE file), an adapter of Qwen-Image 2.1, so non-commercial through its base; 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 Head Swap | Alibaba Qwen × Alissonerdx | Image | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; BFS head-swap LoRA by Alissonerdx MIT; SAM 3.1 under Meta's SAM License (commercial use allowed under its terms); GrowMaskWithBlur from ComfyUI-KJNodes (GPL-3.0 code)](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial |
| Qwen-Image-Edit Next Scene | Alibaba Qwen | Image | [Apache-2.0 (Qwen-Image-Edit-2509, Lightning LoRA); next-scene LoRA MIT (lovis93)](https://spdx.org/licenses/Apache-2.0.html) | |
| Qwen-Image 2.1 Restore | Alibaba Qwen × AusBoss | Image | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; Restore LoRA by AusBoss under the same licence; SeedVR2 Apache-2.0](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial |
| Chatterbox Multilingual | Resemble AI | Audio | [Chatterbox weights MIT (ResembleAI); pack repo has no LICENSE file](https://spdx.org/licenses/MIT.html) | |
@@ -145,6 +152,8 @@ Some licences ask the app that runs their model to say so.
| Chatterbox Dialogue | Resemble AI | Audio | [Chatterbox weights MIT (ResembleAI); pack repo has no LICENSE file](https://spdx.org/licenses/MIT.html) | |
| Chatterbox Voice Conversion | Resemble AI | Audio | [Chatterbox weights MIT (ResembleAI); pack repo has no LICENSE file](https://spdx.org/licenses/MIT.html) | |
| ACE-Step 1.5 | ACE Studio × StepFun | Audio | [Apache-2.0 (ACE-Step 1.5)](https://spdx.org/licenses/Apache-2.0.html) | |
+| MiniMax Music 3 | MiniMax | Audio | [MiniMax-Music3 Community License (MiniMaxAI/MiniMax-Music3 @ 1b525ccb: MIT-style grant with the notice kept and an Acceptable Use Policy; a commercial product must show "MiniMax-Music3" in its interface; MiniMax's written authorisation above US$20M yearly revenue); the Comfy-Org repack @ 9e364ccd is tagged Apache-2.0](https://huggingface.co/MiniMaxAI/MiniMax-Music3/blob/1b525ccb685ae809f33027c51c351eeb5833cf72/LICENSE) | Conditions apply |
+| YuE2 | Multimodal Art Projection | Audio | [CC-BY-NC-4.0 (m-a-p/YuE2-3B @ 8f24312f weights; the Comfy-Org/YuE2 repack @ 2f76ca75 is tagged the same)](https://spdx.org/licenses/CC-BY-NC-4.0.html) | Non-commercial |
| Qwen-Image-Layered | Alibaba Qwen | Image | [Apache-2.0 (Qwen-Image-Layered weights and the Comfy-Org repack)](https://spdx.org/licenses/Apache-2.0.html) | |
| Qwen-Image-Layered Control | DiffSynth-Studio | Image | [Apache-2.0 (DiffSynth-Studio Qwen-Image-Layered-Control)](https://spdx.org/licenses/Apache-2.0.html) | |
| Qwen-Image-Edit Style Reference | Alibaba Qwen | Image | [Apache-2.0 (Qwen-Image-Edit-2511, Lightning LoRA)](https://spdx.org/licenses/Apache-2.0.html) | |
@@ -164,6 +173,7 @@ Some licences ask the app that runs their model to say so.
| MelBand RoFormer + Qwen3-ASR | Open source | Audio | [MelBand RoFormer weights MIT (KimberleyJSN); Qwen3-ASR / ForcedAligner Apache-2.0; ComfyUI-QwenASR code GPL-3.0 (same as ComfyUI)](https://spdx.org/licenses/Apache-2.0.html) | |
| DBS + Qwen3-ASR | Open source | Audio | [DBS weights Apache-2.0 (trained on DnR v2, CC BY 4.0); Qwen3-ASR / ForcedAligner Apache-2.0; ComfyUI-QwenASR GPL-3.0; ComfyUI-DBS MIT](https://spdx.org/licenses/Apache-2.0.html) | |
| DBS (dialogue, music, effects) | Open source | Audio | [DBS weights Apache-2.0 (JusperLee; trained on DnR v2, CC BY 4.0); ComfyUI-DBS code MIT; bundled DBS code Apache-2.0 with MIT notices (BS-RoFormer, MSST, TIGER)](https://spdx.org/licenses/Apache-2.0.html) | |
+| DBS remix (dialogue, music, effects at set levels) | Open source | Audio | [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://spdx.org/licenses/Apache-2.0.html) | |
| RE-USE (clean up voice) | NVIDIA | Audio | [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](https://huggingface.co/nvidia/NVIDIA-NemotronLabs-RE-USE/blob/31f82f2efad1095034492f236e8dac9239ba713b/LICENSE) | |
| Qwen3-ASR | Alibaba Qwen | Text | [Qwen3-ASR / ForcedAligner Apache-2.0; ComfyUI-QwenASR code GPL-3.0](https://spdx.org/licenses/Apache-2.0.html) | |
| Whisper captions | OpenAI × yuvraj108c | Video | [Whisper weights MIT (OpenAI); ComfyUI-Whisper code CC-BY-NC-SA-4.0 (NON-COMMERCIAL: the author asks to be contacted for commercial use)](https://spdx.org/licenses/CC-BY-NC-SA-4.0.html) | Non-commercial |
@@ -180,6 +190,7 @@ Some licences ask the app that runs their model to say so.
| TripoSplat | Tripo (VAST) | 3D | [MIT (VAST-AI/TripoSplat weights); the dino_v3_vit_h image encoder is under the DINOv3 License (royalty-free, commercial use allowed, trade-control limits; the app must show a "Built with DINOv3" notice); FLUX.2 VAE Apache-2.0; BiRefNet MIT](https://huggingface.co/VAST-AI/TripoSplat) | Conditions apply |
| Any Angle 3D view | Tripo (VAST) | 3D | [MIT (VAST-AI/TripoSplat weights); the dino_v3_vit_h image encoder is under the DINOv3 License (royalty-free, commercial use allowed, trade-control limits; the app must show a "Built with DINOv3" notice); FLUX.2 VAE Apache-2.0; BiRefNet MIT](https://huggingface.co/VAST-AI/TripoSplat) | Conditions apply |
| Any Angle | Qwen (Alibaba) · lilylilith | Image | [Qwen Research License Agreement (Qwen-Image 2.1, Qwen3-VL 8B encoder, VAE): NON-COMMERCIAL, research and evaluation only; the AnyAngle LoRA (lilylilith/QI_2.1_AnyAngle) Apache-2.0](https://huggingface.co/Qwen/Qwen-Image-2.1/blob/main/LICENSE) | Non-commercial |
+| Idol 3D | Speridlabs | 3D | [Apache-2.0 (speridlabs/idol weights; the ComfyUI files are nynxz/Idol's conversion, Apache-2.0); Idol is VAST-AI-Research's TripoSplat architecture (MIT, code and weights); the dino_v3_vit_h image encoder is under the DINOv3 License (royalty-free, commercial use allowed, trade-control limits; the app must show a "Built with DINOv3" notice); FLUX.2 VAE Apache-2.0; BiRefNet MIT](https://huggingface.co/VAST-AI/TripoSplat) | Conditions apply |
| 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) | |
@@ -192,15 +203,16 @@ Some licences ask the app that runs their model to say so.
| Qwen-Image-Edit 2511 | Workflow library | Edit | [Apache-2.0 (Qwen-Image 2512 / Qwen-Image-Edit, Lightning LoRAs, Qwen2.5-VL text encoder)](https://spdx.org/licenses/Apache-2.0.html) | |
| Remove Background (ComfyUI-RMBG, BEN2) | Workflow library | Bg remove | [BEN2 weights MIT (the pack's default); RMBG-2.0 in the same pack is CC-BY-NC-4.0 (non-commercial), keep BEN2; ComfyUI-RMBG code GPL-3.0](https://spdx.org/licenses/MIT.html) | |
| Wan 2.2 14B Image to Video + LoRA (camera/VFX) | Workflow library | VFX | [Apache-2.0 (Wan 2.2); a LoRA you add carries its own licence](https://spdx.org/licenses/Apache-2.0.html) | |
-| MiniMax H3 Text to Video + Audio (20 steps) | Workflow library | T2V | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
-| MiniMax H3 Image to Video + Audio (20 steps) | Workflow library | I2V | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
-| MiniMax H3 Start + End Frame to Video + Audio (20 steps) | Workflow library | FLF2V | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
+| MiniMax H3 Text to Video + Audio (20 steps) | Workflow library | T2V | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0 · Sol-H3-VAE (Efficient-Large-Model; the optional fast decoder): licence unconfirmed, no licence tag on its model page; its card says code Apache-2.0 and weights under the MiniMax H3 Community License](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
+| MiniMax H3 Image to Video + Audio (20 steps) | Workflow library | I2V | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0 · Sol-H3-VAE (Efficient-Large-Model; the optional fast decoder): licence unconfirmed, no licence tag on its model page; its card says code Apache-2.0 and weights under the MiniMax H3 Community License](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
+| MiniMax H3 Start + End Frame to Video + Audio (20 steps) | Workflow library | FLF2V | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0 · Sol-H3-VAE (Efficient-Large-Model; the optional fast decoder): licence unconfirmed, no licence tag on its model page; its card says code Apache-2.0 and weights under the MiniMax H3 Community License](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
| MiniMax H3 360-degree orbit of a still + Audio (Orbit LoRA, 28 steps) | Workflow library | I2V | [MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): 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-32B base Apache-2.0 · pablodawson's 360 Orbit LoRA under the same MiniMax H3 Community License](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE) | Not available in the US, the EU, the UK and South Korea |
| Video Upscale / Restore (SeedVR2 3B int8) | Workflow library | Upscale video | [Apache-2.0 (SeedVR2)](https://spdx.org/licenses/Apache-2.0.html) | |
| Video Upscale (Real-ESRGAN 4x) | Workflow library | Upscale video | [BSD-3-Clause (Real-ESRGAN x4plus)](https://spdx.org/licenses/BSD-3-Clause.html) | |
| Frame Interpolation (FILM, native) | Workflow library | Interpolate | [Apache-2.0 (FILM)](https://spdx.org/licenses/Apache-2.0.html) | |
| Frame Interpolation (RIFE 4.26, native) | Workflow library | Interpolate | [MIT (RIFE)](https://spdx.org/licenses/MIT.html) | |
| Frame Interpolation (RIFE VFI custom pack) | Workflow library | Interpolate | [MIT (RIFE)](https://spdx.org/licenses/MIT.html) | |
+| YuE2 3B: a cover of a song (its melody, new style and lyrics) | Workflow library | Music | [CC-BY-NC-4.0 (m-a-p/YuE2-3B @ 8f24312f and m-a-p/SheetSage2 @ b83c3d79 weights; the Comfy-Org/YuE2 repack @ 2f76ca75 is tagged the same)](https://spdx.org/licenses/CC-BY-NC-4.0.html) | Non-commercial |
| Qwen-Image 2.1 Text to Image · 2 steps, DMD2 LoRA v1.5 | Workflow library | T2I | [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); 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 Text to Image · 4 steps, LightX2V Lightning LoRA | Workflow library | T2I | [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; 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 Text to Image · 6 steps, P-Q-Image v0.2 upsampled LoRA (writes the details) | Workflow library | T2I | [Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; PrunaAI's P-Q-Image-2.1 v0.2, a derivative of Qwen-Image 2.1 under the Qwen Research License (LICENSE and NOTICE in the repository); 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 |
diff --git a/scripts/comfy/build-library.mjs b/scripts/comfy/build-library.mjs
index 366bcaa1..694700c3 100644
--- a/scripts/comfy/build-library.mjs
+++ b/scripts/comfy/build-library.mjs
@@ -182,6 +182,8 @@ export const BINDING_KEYS = new Set([
'vae', 'sigmas',
// Any Angle: the 3D view's file and each angle's camera
'splatFile', 'cameraYaw', 'cameraPitch', 'cameraDistance', 'cameraFov', 'targetX', 'targetY', 'targetZ',
+ // Head Swap: the paste-back edge's blur and the paste-back switch
+ 'maskBlur', 'pasteBack',
]);
// Sizes in GB: two decimals, and three where two would read 0 (a 4 MB DBS model), so no other entry's size changes.
diff --git a/scripts/comfy/hand-built/head-swap-qwen-image-21.json b/scripts/comfy/hand-built/head-swap-qwen-image-21.json
new file mode 100644
index 00000000..a9317b63
--- /dev/null
+++ b/scripts/comfy/hand-built/head-swap-qwen-image-21.json
@@ -0,0 +1,426 @@
+{
+ "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": {
+ "lora_name": "bfs_head_v1.1_qwen_2.1.safetensors",
+ "strength_model": 1,
+ "model": [
+ "1",
+ 0
+ ]
+ },
+ "class_type": "LoraLoaderModelOnly",
+ "_meta": {
+ "title": "BFS head swap LoRA V1.1"
+ }
+ },
+ "10": {
+ "inputs": {
+ "image": "image_1.png"
+ },
+ "class_type": "LoadImage",
+ "_meta": {
+ "title": "Load Image (the shot to keep)"
+ }
+ },
+ "11": {
+ "inputs": {
+ "image": "image_2.png"
+ },
+ "class_type": "LoadImage",
+ "_meta": {
+ "title": "Load Image (the head)"
+ }
+ },
+ "20": {
+ "inputs": {
+ "upscale_method": "lanczos",
+ "largest_size": 2048,
+ "image": [
+ "10",
+ 0
+ ]
+ },
+ "class_type": "ImageScaleToMaxDimension",
+ "_meta": {
+ "title": "Scale image 1 to 2048"
+ }
+ },
+ "21": {
+ "inputs": {
+ "upscale_method": "lanczos",
+ "largest_size": 2048,
+ "image": [
+ "11",
+ 0
+ ]
+ },
+ "class_type": "ImageScaleToMaxDimension",
+ "_meta": {
+ "title": "Scale image 2 to 2048"
+ }
+ },
+ "30": {
+ "inputs": {
+ "prompt": "head_swap: start with <image1> as the base image, keeping its lighting, environment, and background. remove the head from <image1> completely and replace it with the head from <image2>, strictly preserving the hair, eye color, nose structure from <image2>. copy the direction of the eye, head rotation, micro expressions from <image1>, high quality, sharp details, 4k",
+ "negative_prompt": "",
+ "resolution": 0,
+ "clip": [
+ "2",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ],
+ "images.image_1": [
+ "20",
+ 0
+ ],
+ "images.image_2": [
+ "21",
+ 0
+ ]
+ },
+ "class_type": "TextEncodeQwenImage21",
+ "_meta": {
+ "title": "Text Encode Qwen Image 2.1 (body first, head second)"
+ }
+ },
+ "31": {
+ "inputs": {
+ "device": "auto",
+ "dtype": "default",
+ "model": [
+ "4",
+ 0
+ ]
+ },
+ "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 (the swap)"
+ }
+ },
+ "40": {
+ "inputs": {
+ "image": [
+ "34",
+ 0
+ ]
+ },
+ "class_type": "GetImageSize",
+ "_meta": {
+ "title": "Size of the swap"
+ }
+ },
+ "41": {
+ "inputs": {
+ "upscale_method": "lanczos",
+ "width": [
+ "40",
+ 0
+ ],
+ "height": [
+ "40",
+ 1
+ ],
+ "crop": "disabled",
+ "image": [
+ "20",
+ 0
+ ]
+ },
+ "class_type": "ImageScale",
+ "_meta": {
+ "title": "The shot at the swap's size"
+ }
+ },
+ "42": {
+ "inputs": {
+ "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
+ },
+ "class_type": "CheckpointLoaderSimple",
+ "_meta": {
+ "title": "Load SAM 3.1"
+ }
+ },
+ "43": {
+ "inputs": {
+ "text": "head",
+ "clip": [
+ "42",
+ 1
+ ]
+ },
+ "class_type": "CLIPTextEncode",
+ "_meta": {
+ "title": "What to keep from the swap"
+ }
+ },
+ "44": {
+ "inputs": {
+ "threshold": 0.4,
+ "refine_iterations": 2,
+ "individual_masks": false,
+ "model": [
+ "42",
+ 0
+ ],
+ "image": [
+ "34",
+ 0
+ ],
+ "conditioning": [
+ "43",
+ 0
+ ]
+ },
+ "class_type": "SAM3_Detect",
+ "_meta": {
+ "title": "New head and hair"
+ }
+ },
+ "45": {
+ "inputs": {
+ "threshold": 0.4,
+ "refine_iterations": 2,
+ "individual_masks": false,
+ "model": [
+ "42",
+ 0
+ ],
+ "image": [
+ "41",
+ 0
+ ],
+ "conditioning": [
+ "43",
+ 0
+ ]
+ },
+ "class_type": "SAM3_Detect",
+ "_meta": {
+ "title": "Old head and hair"
+ }
+ },
+ "46": {
+ "inputs": {
+ "mask": [
+ "44",
+ 0
+ ]
+ },
+ "class_type": "MaskToImage",
+ "_meta": {
+ "title": "New head as an image"
+ }
+ },
+ "47": {
+ "inputs": {
+ "mask": [
+ "45",
+ 0
+ ]
+ },
+ "class_type": "MaskToImage",
+ "_meta": {
+ "title": "Old head as an image"
+ }
+ },
+ "48": {
+ "inputs": {
+ "x": 0,
+ "y": 0,
+ "resize_source": false,
+ "destination": [
+ "47",
+ 0
+ ],
+ "source": [
+ "46",
+ 0
+ ],
+ "mask": [
+ "44",
+ 0
+ ]
+ },
+ "class_type": "ImageCompositeMasked",
+ "_meta": {
+ "title": "Both heads (union)"
+ }
+ },
+ "49": {
+ "inputs": {
+ "channel": "red",
+ "image": [
+ "48",
+ 0
+ ]
+ },
+ "class_type": "ImageToMask",
+ "_meta": {
+ "title": "Union as a mask"
+ }
+ },
+ "50": {
+ "inputs": {
+ "expand": 32,
+ "incremental_expandrate": 0,
+ "tapered_corners": true,
+ "flip_input": false,
+ "blur_radius": 16,
+ "lerp_alpha": 1,
+ "decay_factor": 1,
+ "fill_holes": false,
+ "mask": [
+ "49",
+ 0
+ ]
+ },
+ "class_type": "GrowMaskWithBlur",
+ "_meta": {
+ "title": "Soft paste edge"
+ }
+ },
+ "51": {
+ "inputs": {
+ "x": 0,
+ "y": 0,
+ "resize_source": false,
+ "destination": [
+ "41",
+ 0
+ ],
+ "source": [
+ "34",
+ 0
+ ],
+ "mask": [
+ "50",
+ 0
+ ]
+ },
+ "class_type": "ImageCompositeMasked",
+ "_meta": {
+ "title": "New head on the untouched shot"
+ }
+ },
+ "52": {
+ "inputs": {
+ "switch": true,
+ "on_true": [
+ "51",
+ 0
+ ],
+ "on_false": [
+ "34",
+ 0
+ ]
+ },
+ "class_type": "ComfySwitchNode",
+ "_meta": {
+ "title": "Paste back (off: the whole swap)"
+ }
+ },
+ "90": {
+ "inputs": {
+ "filename_prefix": "fuobe/head-swap-qwen-image-21",
+ "images": [
+ "52",
+ 0
+ ]
+ },
+ "class_type": "SaveImage",
+ "_meta": {
+ "title": "Save Image"
+ }
+ }
+}
diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjs
index 12d768a3..9e41baed 100644
--- a/scripts/comfy/library.spec.mjs
+++ b/scripts/comfy/library.spec.mjs
@@ -150,6 +150,9 @@
// targetX, targetY, targetZ (CreateCameraInfo look-at point: a close-up aims at the face's height)
// Output roles added with Any Angle: "sweep" and "sweep-mask" (the turntable at 192 px as lossless animated WebP, colour and
// coverage, that the server measures the photo's front view on), "mesh" (a GLB made from a splat, for the 3D viewer).
+// 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)
import fs from 'node:fs';
@@ -5489,4 +5492,33 @@ export const SPEC = [
license: 'n/a (no model; Image Detail Contrast MIT, Orion4D_FXMax MIT, VideoHelperSuite GPL-3.0 code)',
notes: 'params.extra.openjutsu: finish soft | filmic | rich | off (the tone mapper\'s settings travel in raw_settings, no preset files), strength 0-1 (Orion 0-0.5), soften 0-1 (detail contrast 0 to -0.6; 0 drops the step). Both steps work frame by frame, so the clip goes through in passes (VHS_BatchManager re-queues the prompt until the clip is done, as upscale-video-esrgan-chunked does) into one H.264 encode that stays open; the last pass writes the file with the source\'s sound. framesPerBatch: the provider sizes it from the clip\'s header so a pass holds about 1.5 GB of frames (three frame-sized copies: decoded, softened, toned), so memory stays flat whatever the length.',
},
+ // Head Swap (app-head-swap): the BFS head-swap LoRA on the Qwen-Image 2.1 edit, then the new head pasted onto the untouched shot.
+ {
+ id: 'head-swap-qwen-image-21',
+ title: 'Qwen-Image 2.1 Head Swap (BFS head LoRA V1.1, pasted back onto the shot)',
+ capability: 'edit',
+ handBuilt: 'hand-built/head-swap-qwen-image-21.json',
+ bindings: {
+ prompt: [b('30', 'prompt')], image: [b('10', 'image')], image2: [b('11', 'image')],
+ seed: [b('32', 'seed')], steps: [b('32', 'steps')], loraStrength: [b('4', 'strength_model')],
+ maskPrompt: [b('43', 'text')], maskGrow: [b('50', 'expand')], maskBlur: [b('50', 'blur_radius')], pasteBack: [b('52', 'switch')],
+ },
+ outputs: [{ node: '90', kind: 'image' }],
+ defaults: { maskPrompt: 'head', maskGrow: 32, maskBlur: 16, pasteBack: true },
+ limits: { maxWidth: 2048, maxHeight: 2048 },
+ modelUrls: {
+ 'bfs_head_v1.1_qwen_2.1.safetensors': 'https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap/resolve/0ca3913ade4b4ada458d60c232354e8586c4c181/bfs_head_v1.1_qwen_2.1.safetensors',
+ 'sam3.1_multiplex_fp16.safetensors': 'https://huggingface.co/Comfy-Org/sam3.1/resolve/7bb8374780a725b4353ed31f3a9395c9742b5621/checkpoints/sam3.1_multiplex_fp16.safetensors',
+ },
+ vramGb: 20,
+ license: "Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; BFS head-swap LoRA by Alissonerdx MIT; SAM 3.1 under Meta's SAM License (commercial use allowed under its terms); GrowMaskWithBlur from ComfyUI-KJNodes (GPL-3.0 code)",
+ notes:
+ "qwen-image-21-edit (int8, 25 steps, euler / simple, cfg 1, both pictures 2048 on the long side, resolution 0) with Alissonerdx's BFS head LoRA V1.1 at 1.0 and its training prompt " +
+ '("head_swap: start with <image1> as the base image ..."). image = the shot to keep (body, pose, light, background), image2 = the head (identity, hair, eye colour): body first, head second, as V1.1 was trained; ' +
+ 'other BFS versions take other orders, so the file is pinned. V1.1 is V1 without the second-half img_mlp.gate_up modules (less skin softening, slightly weaker expression transfer); ' +
+ "the V1.1 \"alternative\" file copies expression better at about 1 degree more head-pose error. Paste-back (pasteBack, on by default): SAM 3.1 finds the head (\"head\") on the swap and on the shot scaled to the swap's size, " +
+ 'the two masks are joined (ImageCompositeMasked of the mask images, so old long hair goes too), grown by maskGrow and blurred by maskBlur (GrowMaskWithBlur), and only that area comes from the swap: ' +
+ "every other pixel is the shot's, which removes Qwen 2.1's colour and detail drift over the whole picture. pasteBack false returns the whole swap (the switch is lazy, SAM does not run). " +
+ "No head found: the shot comes back unchanged. BFS's own workflow runs the Pruna 8-step LoRA with deis_2m (RES4LYF); this graph keeps core samplers.",
+ },
];
diff --git a/src/lib/catalog/apps.ts b/src/lib/catalog/apps.ts
index 64b90770..9d4adfc5 100644
--- a/src/lib/catalog/apps.ts
+++ b/src/lib/catalog/apps.ts
@@ -58,6 +58,10 @@ const third = (label: string, hint?: string): InputSlot => ({ key: "image3", lab
const TWO_STEP = "Animates the change from your photo in one pass.";
const NO_AUDIO = "This makes a silent clip. Add sound with Video to audio.";
+/** The BFS head LoRA's training prompt, word for word (its "head_swap:" trigger, <image1> = the shot, <image2> = the head). */
+export const HEAD_SWAP_OPEN =
+ "head_swap: start with <image1> as the base image, keeping its lighting, environment, and background. remove the head from <image1> completely and replace it with the head from <image2>, strictly preserving the hair, eye color, nose structure from <image2>. copy the direction of the eye, head rotation, micro expressions from <image1>, high quality, sharp details, 4k";
+
type AppSpec = {
/** Kept when an app is renamed, so links, previews and saved runs still find it (default: from the name). */
id?: string;
@@ -150,6 +154,23 @@ export const APPS: Preset[] = [
prompt:
"Replace the face of the person in the first image with the face of the person in the second image. Keep the first image's pose, hairstyle, clothing, lighting, color grading, camera angle and background exactly. Match skin tone, head angle, perspective and lighting so the result looks like an untouched photograph.",
}),
+ // Face Swap keeps the first person's hair, jaw and ears; this brings the whole head over. On the GPU it runs the BFS
+ // head LoRA with its training prompt, body first and head second (workflows/comfyui/head-swap-qwen-image-21.json).
+ app({
+ name: "Head Swap",
+ category: "Identity",
+ description: "Put your whole head on any photo, hair and all",
+ icon: "UserRound",
+ hue: 310,
+ inputs: [
+ { key: "image", label: "Photo", accept: "image", required: true, hint: "The shot to keep" },
+ second("Head", "A clear photo of your head and hair. Use your own photo, or one you have permission to use."),
+ ],
+ prompt:
+ "Replace the whole head of the person in the first image, hair included, with the head of the person in the second image: their face, hair, hairline and ears. Keep the first image's body, pose, head angle, eye direction, expression, clothing, lighting, color grading and background exactly. Light the new head like the rest of the shot and match the skin tone of the neck and hands, so the result looks like an untouched photograph.",
+ open: { modelId: "oss-qwen-head-swap", promptTemplate: HEAD_SWAP_OPEN },
+ parity: "Brings the whole head over: face, hair and ears, lit like the shot. Everything else stays exactly as it was.",
+ }),
app({
name: "Character Swap",
category: "Identity",
diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.ts
index 91afa0e1..4dae746e 100644
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@ -1402,6 +1402,18 @@ const open: ModelDef[] = [
...(QMA_LORA && { loras: [loraRef(QMA_LORA)] }),
},
}),
+ // The Head Swap app's open route: image 1 = the shot to keep, image 2 = the head (hair included).
+ o({
+ id: "oss-qwen-head-swap",
+ name: "Qwen-Image 2.1 Head Swap",
+ vendor: "Alibaba Qwen × Alissonerdx",
+ family: "qwen-image",
+ kind: "image",
+ tagline: "Puts the whole head from image 2, hair included, on the person in image 1; everything else stays the shot's own pixels · 20 GB GPU · non-commercial",
+ routes: [comfy("edit", "head-swap-qwen-image-21", "BFS head LoRA V1.1; the new head pasted back onto the shot")],
+ options: { seed: true, maxImages: 2, requires: { images: 2, msg: "Add the photo to keep, then a photo of the head" } },
+ hidden: true,
+ }),
o({
id: "oss-qwen-next-scene",
name: "Qwen-Image-Edit Next Scene",
diff --git a/src/lib/catalog/preset-recipe-routes.ts b/src/lib/catalog/preset-recipe-routes.ts
index daf8c3df..1c5debac 100644
--- a/src/lib/catalog/preset-recipe-routes.ts
+++ b/src/lib/catalog/preset-recipe-routes.ts
@@ -51,6 +51,7 @@ export type RecipeKind = "h3" | "orbit" | "qwen";
* - Tap to Recolor: a tool of its own, whose taps make the mask its graph repaints.
* - 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.
*/
export const OWN_ROUTE_APPS: ReadonlySet<string> = new Set([
"app-fuobe-angles",
@@ -71,6 +72,7 @@ export const OWN_ROUTE_APPS: ReadonlySet<string> = new Set([
"app-tap-to-recolor",
"app-steam-it",
"app-restore-photo",
+ "app-head-swap",
]);
/**
diff --git a/src/lib/preset-featured.ts b/src/lib/preset-featured.ts
index 7ea58039..1e1e0bea 100644
--- a/src/lib/preset-featured.ts
+++ b/src/lib/preset-featured.ts
@@ -34,7 +34,7 @@ const ORDER: Record<"app" | "motion" | "effect", string[]> = {
app-3d-figure app-idol app-60s-cafe app-hook-frame app-kick-ad app-graffiti-ad app-volcano-ad app-simlife
app-pixel-game app-brick-cube app-micro-beasts app-paint-app app-social-media-icon app-victory-card app-comic-book
app-glitter-sticker app-mukbang app-roller-coaster app-banana-eating app-sticker-pack app-plushies
- app-meme-generator app-cloud-surf app-game-dump app-japanese-show app-skibidi
+ app-meme-generator app-cloud-surf app-game-dump app-japanese-show app-skibidi app-head-swap
`,
],
motion: [
diff --git a/src/server/providers/comfyui.ts b/src/server/providers/comfyui.ts
index 44e6df90..b7fbf0dd 100644
--- a/src/server/providers/comfyui.ts
+++ b/src/server/providers/comfyui.ts
@@ -950,6 +950,8 @@ const SLOT_RULES: Record<string, { reuse?: boolean; required?: string[]; hints?:
"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" } },
"face-swap-reactor": { hints: { image2: "Add the face to put in" } },
+ // Qwen-Image 2.1's encoder takes its references as optional inputs: without the head it would run as a plain edit.
+ "head-swap-qwen-image-21": { required: ["image2"], hints: { image: "Add the photo to keep", image2: "Add a photo of the head to put in" } },
"video-swap-wan-vace": { hints: { image: "Add a picture of what goes in" } },
"video-insert-wan-vace": { hints: { image: "Add a picture of what to add", mask: "Paint where it goes on the first frame" } },
// Pixal3D multi-view: the front, then any of the other sides.
diff --git a/tests/comfy-library-4.test.ts b/tests/comfy-library-4.test.ts
index 452c730f..9c03f4ec 100644
--- a/tests/comfy-library-4.test.ts
+++ b/tests/comfy-library-4.test.ts
@@ -160,6 +160,8 @@ describe("round-4 ComfyUI workflows", () => {
"any-angle-3d",
"any-angle-shot",
"video-regenerate-h3",
+ // Head Swap: hand-built, waiting for its first /prompt check on a ComfyUI that has the LoRA.
+ "head-swap-qwen-image-21",
// Genjutsu's Openjutsu modes: their packs aren't on the validation server yet; each opens only after its /prompt
// check and a real render (workflows/comfyui/gpu-tested.json, src/server/genjutsu-live.ts).
"video-group-swap-h3",
diff --git a/tests/head-swap.test.ts b/tests/head-swap.test.ts
new file mode 100644
index 00000000..ace49da3
--- /dev/null
+++ b/tests/head-swap.test.ts
@@ -0,0 +1,230 @@
+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 { startFakeComfy, TINY_PNG, type FakeComfy } from "./helpers/fake-comfy-runner";
+
+const dir = fs.mkdtempSync(path.join(os.tmpdir(), "fuobe-head-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;
+
+// The install's own ComfyUI never gets an account's job: an account runs on the ComfyUI it connected.
+const realFetch = globalThis.fetch;
+const ownerAsked: string[] = [];
+globalThis.fetch = (async (input: RequestInfo | URL) => {
+ const url = new URL(String(input instanceof Request ? input.url : input));
+ if (url.host === "owner-comfy.test:8188") ownerAsked.push(url.pathname);
+ return new Response("not stubbed", { status: 599 });
+}) as typeof fetch;
+
+const root = process.cwd();
+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 { prepareWorkflow } = await import("@/server/providers/comfyui");
+const { resetRates } = await import("@/server/rate");
+const { getModel, getPreset, APPS } = await import("@/lib/catalog");
+const { HEAD_SWAP_OPEN } = await import("@/lib/catalog/apps");
+const { planGeneration } = await import("@/lib/catalog/plan");
+const { workflowLicence, licenceTerms } = await import("@/lib/licences");
+const { GUEST_RUN_MESSAGE } = await import("@/lib/guest-access");
+
+const WF = "head-swap-qwen-image-21";
+type Graph = Record<string, { class_type: string; inputs: Record<string, unknown> }>;
+const readJson = <T>(p: string): T => JSON.parse(fs.readFileSync(path.join(root, p), "utf8")) as T;
+const manifest = readJson<{ workflows: { id: string; file: string; bindings: Record<string, { node: string; input: string }[]>; defaults: Record<string, unknown>; models: { file: string; folder: string; url: string; sizeGb: number }[]; customNodes: { name: string }[]; license?: string; validated: boolean }[] }>("workflows/comfyui/manifest.json");
+const entry = manifest.workflows.find((w) => w.id === WF)!;
+const graph = readJson<Graph>(`workflows/comfyui/${WF}.json`);
+const BFS = "bfs_head_v1.1_qwen_2.1.safetensors";
+
+let fake: FakeComfy;
+let cookie = "";
+beforeAll(async () => {
+ fake = await startFakeComfy({ loras: [], 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());
+
+const headers = (extra: Record<string, string> = {}) => ({ cookie, host: "localhost:3000", ...extra });
+const json = (url: string, body: unknown, method = "POST") => {
+ 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 });
+};
+
+describe("the Head Swap app", () => {
+ const app = getPreset("app-head-swap")!;
+
+ it("is an Identity app next to Face Swap: the shot first, then the head, nothing to type", () => {
+ expect(app).toMatchObject({ type: "app", name: "Head Swap", category: "Identity", userPrompt: "none" });
+ expect(APPS.findIndex((a) => a.id === "app-head-swap")).toBe(APPS.findIndex((a) => a.id === "app-face-swap") + 1);
+ expect(app.inputs.map((s) => [s.key, s.accept, s.required])).toEqual([
+ ["image", "image", true],
+ ["image2", "image", true],
+ ]);
+ expect(app.inputs[1].hint).toMatch(/your own photo, or one you have permission to use/);
+ });
+
+ it("speaks plainly to visitors: no model, file or technical names", () => {
+ const visible = [app.name, app.description, app.parity, ...app.inputs.flatMap((s) => [s.label, s.hint])].join(" ");
+ expect(visible).not.toMatch(/Qwen|BFS|LoRA|SAM|ComfyUI|safetensors|workflow|mask|GPU/i);
+ });
+
+ it("runs the head LoRA's own training words on the open engine, and a plain instruction in the cloud", () => {
+ expect(app.open).toMatchObject({ modelId: "oss-qwen-head-swap", op: "edit", promptTemplate: HEAD_SWAP_OPEN });
+ expect(HEAD_SWAP_OPEN).toMatch(/^head_swap: start with <image1> as the base image/);
+ expect(app.cloud).toMatchObject({ modelId: "nano-banana-pro", op: "edit" });
+ expect(app.promptTemplate).toMatch(/hair included/);
+ const plan = planGeneration({ feature: "app", presetId: app.id, modelId: "oss-qwen-head-swap", inputs: { images: ["/shot.png", "/me.png"] } }, getModel, getPreset);
+ expect(plan.model.id).toBe("oss-qwen-head-swap");
+ expect(plan.op).toBe("edit");
+ expect(plan.prompt).toBe(HEAD_SWAP_OPEN);
+ expect(() => planGeneration({ feature: "app", presetId: app.id, modelId: "oss-qwen-head-swap", inputs: { images: ["/shot.png"] } }, getModel, getPreset)).toThrow(
+ "Add the photo to keep, then a photo of the head",
+ );
+ });
+
+ it("has a hidden open model with one edit route to its graph", () => {
+ const m = getModel("oss-qwen-head-swap")!;
+ expect(m).toMatchObject({ engine: "open", kind: "image", hidden: true });
+ expect(m.routes).toEqual([expect.objectContaining({ op: "edit", provider: "comfyui", endpoint: WF })]);
+ });
+});
+
+describe("its graph", () => {
+ it("is the hand-built file, listed in the manifest with its models, pack and licence", () => {
+ expect(fs.readFileSync(path.join(root, "scripts/comfy/hand-built", `${WF}.json`), "utf8").replace(/\r\n/g, "\n")).toBe(
+ fs.readFileSync(path.join(root, "workflows/comfyui", `${WF}.json`), "utf8").replace(/\r\n/g, "\n"),
+ );
+ expect(entry).toMatchObject({ file: `${WF}.json`, validated: false, customNodes: [{ name: "ComfyUI-KJNodes" }] });
+ expect(entry.models.map((m) => `${m.folder}/${m.file}`).sort()).toEqual(
+ [
+ "checkpoints/sam3.1_multiplex_fp16.safetensors",
+ "diffusion_models/qwen_image_2.1_int8_convrot.safetensors",
+ `loras/${BFS}`,
+ "text_encoders/qwen3vl_8b_int8_convrot.safetensors",
+ "vae/qwen_image_2.1_vae_bf16.safetensors",
+ ].sort(),
+ );
+ const lora = entry.models.find((m) => m.file === BFS)!;
+ expect(lora.url).toBe(`https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap/resolve/0ca3913ade4b4ada458d60c232354e8586c4c181/${BFS}`);
+ const terms = licenceTerms(workflowLicence(entry));
+ expect(workflowLicence(entry)).toMatch(/BFS head-swap LoRA by Alissonerdx MIT/);
+ expect(terms.flags).toContain("non-commercial");
+ });
+
+ it("is in the GPU pre-flight index with the LoRA pinned to its revision, size and checksum", () => {
+ const req = readJson<{ workflows: Record<string, { files: string[]; packs: Record<string, string[]>; vramGb: number }>; files: Record<string, { pinnedUrl: string; sizeBytes: number }> }>("workflows/comfyui/requirements.json");
+ expect(req.workflows[WF]).toMatchObject({ packs: { "ComfyUI-KJNodes": ["GrowMaskWithBlur"] }, vramGb: 20 });
+ expect(req.workflows[WF].files).toContain(`loras/${BFS}`);
+ expect(req.files[`loras/${BFS}`]).toMatchObject({ sizeBytes: 260096144 });
+ const pins = readJson<Record<string, { sha256: string }>>("workflows/comfyui/model-pins.json");
+ expect(pins[lora()].sha256).toBe("d1d748d5601077f3b6d05766f6823510e901970d916afa404a97e85dc92fa88e");
+ });
+
+ it("wires every link to a node that exists, body first and head second", () => {
+ for (const [id, n] of Object.entries(graph))
+ for (const v of Object.values(n.inputs)) if (Array.isArray(v) && typeof v[0] === "string") expect(graph[v[0]], `${id} -> ${v[0]}`).toBeDefined();
+ expect(graph["30"].inputs["images.image_1"]).toEqual(["20", 0]);
+ expect(graph["20"].inputs.image).toEqual(["10", 0]);
+ expect(graph["30"].inputs["images.image_2"]).toEqual(["21", 0]);
+ expect(graph["21"].inputs.image).toEqual(["11", 0]);
+ expect(graph["4"].inputs).toMatchObject({ lora_name: BFS, strength_model: 1, model: ["1", 0] });
+ // Paste-back: the swap goes only where either head is; the rest is the shot at the swap's size.
+ expect(graph["51"].inputs).toMatchObject({ destination: ["41", 0], source: ["34", 0], mask: ["50", 0] });
+ expect(graph["52"].inputs).toMatchObject({ switch: true, on_true: ["51", 0], on_false: ["34", 0] });
+ expect(graph["90"].inputs.images).toEqual(["52", 0]);
+ });
+
+ async function prepare(over: Record<string, unknown> = {}) {
+ return prepareWorkflow(WF, { prompt: HEAD_SWAP_OPEN, images: ["shot.png", "me.png"], seed: 7, ...over } as never, {
+ generationId: "gen1",
+ op: "edit",
+ upload: async (_d: unknown, _t: unknown, name: string) => `up_${name}`,
+ media: () => undefined,
+ serverRam: async () => undefined,
+ } as never);
+ }
+
+ it("fills the shot, the head, the words and the seed, and switches the paste-back off on request", async () => {
+ const { workflow } = (await prepare()) as { workflow: Graph };
+ expect(workflow["10"].inputs.image).toBe("shot.png");
+ expect(workflow["11"].inputs.image).toBe("me.png");
+ expect(workflow["30"].inputs.prompt).toBe(HEAD_SWAP_OPEN);
+ expect(workflow["32"].inputs.seed).toBe(7);
+ expect(workflow["43"].inputs.text).toBe("head");
+ expect(workflow["52"].inputs.switch).toBe(true);
+ const whole = (await prepare({ extra: { pasteBack: false, maskGrow: 48 } })) as { workflow: Graph };
+ expect(whole.workflow["52"].inputs.switch).toBe(false);
+ expect(whole.workflow["50"].inputs.expand).toBe(48);
+ });
+
+ it("asks for the head instead of running a plain edit without it", async () => {
+ await expect(prepare({ images: ["shot.png"] })).rejects.toThrow("Add a photo of the head to put in");
+ });
+});
+
+describe("who may run it", () => {
+ it("shows guests the page and asks them to sign up to run it", async () => {
+ const page = await proxy(new NextRequest("http://localhost:3000/apps/app-head-swap", { headers: { host: "localhost:3000" } }));
+ expect(page.headers.get("x-middleware-next")).toBe("1");
+ const run = await proxy(
+ new NextRequest("http://localhost:3000/api/generations", { method: "POST", headers: { host: "localhost:3000", "content-type": "application/json" }, body: "{}" }),
+ );
+ expect(run.status).toBe(401);
+ expect((await run.json()).error).toBe(GUEST_RUN_MESSAGE);
+ });
+
+ it("runs end to end on an account's own ComfyUI, never on the install's", async () => {
+ expect((await gpuRoute.PUT(json("/api/account/gpu", { url: fake.url }, "PUT"))).status).toBe(200);
+ const up = async (name: string) => {
+ const r = await uploadsRoute.POST(new Request("http://localhost:3000/api/uploads", { method: "POST", headers: headers({ "content-type": "image/png", "x-file-name": name, "content-length": String(TINY_PNG.length) }), body: TINY_PNG }));
+ expect(r.status).toBe(201);
+ return ((await r.json()) as { url: string }).url;
+ };
+ const [shot, head] = [await up("shot.png"), await up("head.png")];
+ fake.log.length = 0;
+ const r = await generationsRoute.POST(json("/api/generations", { feature: "app", modelId: "oss-qwen-head-swap", presetId: "app-head-swap", prompt: "", inputs: { images: [shot, head] } }));
+ expect(r.status).toBe(201);
+ const id = ((await r.json()) as { items: { id: string }[] }).items[0].id;
+ const end = Date.now() + 15_000;
+ let g = getGeneration(id, { includeDeleted: true });
+ while (g && (g.status === "queued" || g.status === "running") && Date.now() < end) {
+ await globalThis.__fuobeRunner?.tick();
+ await new Promise((res) => setTimeout(res, 150));
+ g = getGeneration(id, { includeDeleted: true });
+ }
+ expect(g?.status, g?.error ?? "").toBe("succeeded");
+ expect(g!.outputs[0]).toMatchObject({ kind: "image", contentType: "image/png" });
+ const sent = fake.log.find((e) => e.path === "/prompt")?.prompt as Graph;
+ expect(sent["30"].inputs.prompt).toBe(HEAD_SWAP_OPEN);
+ expect(sent["4"].inputs.lora_name).toBe(BFS);
+ // Two uploads, the shot then the head, each into its own loader.
+ expect(fake.log.filter((e) => e.path === "/upload/image")).toHaveLength(2);
+ expect(String(sent["10"].inputs.image)).not.toBe(String(sent["11"].inputs.image));
+ expect(ownerAsked.filter((p) => p === "/prompt" || p.startsWith("/upload"))).toEqual([]);
+ });
+});
+
+function lora() {
+ return `https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap/resolve/0ca3913ade4b4ada458d60c232354e8586c4c181/${BFS}`;
+}
diff --git a/tests/preset-recipes.test.ts b/tests/preset-recipes.test.ts
index 506b06df..2b126e52 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(31);
+ expect(none).toHaveLength(32);
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/head-swap-qwen-image-21.json b/workflows/comfyui/head-swap-qwen-image-21.json
new file mode 100644
index 00000000..a9317b63
--- /dev/null
+++ b/workflows/comfyui/head-swap-qwen-image-21.json
@@ -0,0 +1,426 @@
+{
+ "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": {
+ "lora_name": "bfs_head_v1.1_qwen_2.1.safetensors",
+ "strength_model": 1,
+ "model": [
+ "1",
+ 0
+ ]
+ },
+ "class_type": "LoraLoaderModelOnly",
+ "_meta": {
+ "title": "BFS head swap LoRA V1.1"
+ }
+ },
+ "10": {
+ "inputs": {
+ "image": "image_1.png"
+ },
+ "class_type": "LoadImage",
+ "_meta": {
+ "title": "Load Image (the shot to keep)"
+ }
+ },
+ "11": {
+ "inputs": {
+ "image": "image_2.png"
+ },
+ "class_type": "LoadImage",
+ "_meta": {
+ "title": "Load Image (the head)"
+ }
+ },
+ "20": {
+ "inputs": {
+ "upscale_method": "lanczos",
+ "largest_size": 2048,
+ "image": [
+ "10",
+ 0
+ ]
+ },
+ "class_type": "ImageScaleToMaxDimension",
+ "_meta": {
+ "title": "Scale image 1 to 2048"
+ }
+ },
+ "21": {
+ "inputs": {
+ "upscale_method": "lanczos",
+ "largest_size": 2048,
+ "image": [
+ "11",
+ 0
+ ]
+ },
+ "class_type": "ImageScaleToMaxDimension",
+ "_meta": {
+ "title": "Scale image 2 to 2048"
+ }
+ },
+ "30": {
+ "inputs": {
+ "prompt": "head_swap: start with <image1> as the base image, keeping its lighting, environment, and background. remove the head from <image1> completely and replace it with the head from <image2>, strictly preserving the hair, eye color, nose structure from <image2>. copy the direction of the eye, head rotation, micro expressions from <image1>, high quality, sharp details, 4k",
+ "negative_prompt": "",
+ "resolution": 0,
+ "clip": [
+ "2",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ],
+ "images.image_1": [
+ "20",
+ 0
+ ],
+ "images.image_2": [
+ "21",
+ 0
+ ]
+ },
+ "class_type": "TextEncodeQwenImage21",
+ "_meta": {
+ "title": "Text Encode Qwen Image 2.1 (body first, head second)"
+ }
+ },
+ "31": {
+ "inputs": {
+ "device": "auto",
+ "dtype": "default",
+ "model": [
+ "4",
+ 0
+ ]
+ },
+ "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 (the swap)"
+ }
+ },
+ "40": {
+ "inputs": {
+ "image": [
+ "34",
+ 0
+ ]
+ },
+ "class_type": "GetImageSize",
+ "_meta": {
+ "title": "Size of the swap"
+ }
+ },
+ "41": {
+ "inputs": {
+ "upscale_method": "lanczos",
+ "width": [
+ "40",
+ 0
+ ],
+ "height": [
+ "40",
+ 1
+ ],
+ "crop": "disabled",
+ "image": [
+ "20",
+ 0
+ ]
+ },
+ "class_type": "ImageScale",
+ "_meta": {
+ "title": "The shot at the swap's size"
+ }
+ },
+ "42": {
+ "inputs": {
+ "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
+ },
+ "class_type": "CheckpointLoaderSimple",
+ "_meta": {
+ "title": "Load SAM 3.1"
+ }
+ },
+ "43": {
+ "inputs": {
+ "text": "head",
+ "clip": [
+ "42",
+ 1
+ ]
+ },
+ "class_type": "CLIPTextEncode",
+ "_meta": {
+ "title": "What to keep from the swap"
+ }
+ },
+ "44": {
+ "inputs": {
+ "threshold": 0.4,
+ "refine_iterations": 2,
+ "individual_masks": false,
+ "model": [
+ "42",
+ 0
+ ],
+ "image": [
+ "34",
+ 0
+ ],
+ "conditioning": [
+ "43",
+ 0
+ ]
+ },
+ "class_type": "SAM3_Detect",
+ "_meta": {
+ "title": "New head and hair"
+ }
+ },
+ "45": {
+ "inputs": {
+ "threshold": 0.4,
+ "refine_iterations": 2,
+ "individual_masks": false,
+ "model": [
+ "42",
+ 0
+ ],
+ "image": [
+ "41",
+ 0
+ ],
+ "conditioning": [
+ "43",
+ 0
+ ]
+ },
+ "class_type": "SAM3_Detect",
+ "_meta": {
+ "title": "Old head and hair"
+ }
+ },
+ "46": {
+ "inputs": {
+ "mask": [
+ "44",
+ 0
+ ]
+ },
+ "class_type": "MaskToImage",
+ "_meta": {
+ "title": "New head as an image"
+ }
+ },
+ "47": {
+ "inputs": {
+ "mask": [
+ "45",
+ 0
+ ]
+ },
+ "class_type": "MaskToImage",
+ "_meta": {
+ "title": "Old head as an image"
+ }
+ },
+ "48": {
+ "inputs": {
+ "x": 0,
+ "y": 0,
+ "resize_source": false,
+ "destination": [
+ "47",
+ 0
+ ],
+ "source": [
+ "46",
+ 0
+ ],
+ "mask": [
+ "44",
+ 0
+ ]
+ },
+ "class_type": "ImageCompositeMasked",
+ "_meta": {
+ "title": "Both heads (union)"
+ }
+ },
+ "49": {
+ "inputs": {
+ "channel": "red",
+ "image": [
+ "48",
+ 0
+ ]
+ },
+ "class_type": "ImageToMask",
+ "_meta": {
+ "title": "Union as a mask"
+ }
+ },
+ "50": {
+ "inputs": {
+ "expand": 32,
+ "incremental_expandrate": 0,
+ "tapered_corners": true,
+ "flip_input": false,
+ "blur_radius": 16,
+ "lerp_alpha": 1,
+ "decay_factor": 1,
+ "fill_holes": false,
+ "mask": [
+ "49",
+ 0
+ ]
+ },
+ "class_type": "GrowMaskWithBlur",
+ "_meta": {
+ "title": "Soft paste edge"
+ }
+ },
+ "51": {
+ "inputs": {
+ "x": 0,
+ "y": 0,
+ "resize_source": false,
+ "destination": [
+ "41",
+ 0
+ ],
+ "source": [
+ "34",
+ 0
+ ],
+ "mask": [
+ "50",
+ 0
+ ]
+ },
+ "class_type": "ImageCompositeMasked",
+ "_meta": {
+ "title": "New head on the untouched shot"
+ }
+ },
+ "52": {
+ "inputs": {
+ "switch": true,
+ "on_true": [
+ "51",
+ 0
+ ],
+ "on_false": [
+ "34",
+ 0
+ ]
+ },
+ "class_type": "ComfySwitchNode",
+ "_meta": {
+ "title": "Paste back (off: the whole swap)"
+ }
+ },
+ "90": {
+ "inputs": {
+ "filename_prefix": "fuobe/head-swap-qwen-image-21",
+ "images": [
+ "52",
+ 0
+ ]
+ },
+ "class_type": "SaveImage",
+ "_meta": {
+ "title": "Save Image"
+ }
+ }
+}
diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.json
index 23b4aaac..c87b90a5 100644
--- a/workflows/comfyui/manifest.json
+++ b/workflows/comfyui/manifest.json
@@ -24505,6 +24505,151 @@
"validated": true,
"notes": "params.format exr of the sdr-to-hdr operation (Higgsfield's \"EXR 16-bit: uncompressed frame sequence for compositing\"). The same ImageSDRToHDR expansion as video-sdr-to-hdr; SaveImageAdvanced writes each frame as a half-float EXR with input_color_space HDR, i.e. the inverse HLG curve: scene-linear light in Rec.2020 primaries, highlights above 1.0 kept. Node 6 saves the 10-bit HLG MP4 with the clip's sound as the result to watch (role preview); Fuobe zips the frames (role frames) and attaches the zip to it. Decodes the whole clip: RAM grows with the length (Fuobe refuses a clip too long for the memory it has). Tested through Fuobe on CPU (2 s 160x96 30 fps clip with sound): 60 half-float EXR frames zipped onto an H.264 High 10 HLG (arib-std-b67, bt2020) preview with AAC."
},
+ {
+ "id": "head-swap-qwen-image-21",
+ "title": "Qwen-Image 2.1 Head Swap (BFS head LoRA V1.1, pasted back onto the shot)",
+ "capability": "edit",
+ "file": "head-swap-qwen-image-21.json",
+ "source": "hand-built (scripts/comfy/hand-built/head-swap-qwen-image-21.json)",
+ "bindings": {
+ "prompt": [
+ {
+ "node": "30",
+ "input": "prompt"
+ }
+ ],
+ "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"
+ }
+ ],
+ "maskPrompt": [
+ {
+ "node": "43",
+ "input": "text"
+ }
+ ],
+ "maskGrow": [
+ {
+ "node": "50",
+ "input": "expand"
+ }
+ ],
+ "maskBlur": [
+ {
+ "node": "50",
+ "input": "blur_radius"
+ }
+ ],
+ "pasteBack": [
+ {
+ "node": "52",
+ "input": "switch"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "90",
+ "input": "filename_prefix"
+ }
+ ],
+ "maxDimension": [
+ {
+ "node": "20",
+ "input": "largest_size"
+ },
+ {
+ "node": "21",
+ "input": "largest_size"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "90",
+ "kind": "image"
+ }
+ ],
+ "defaults": {
+ "steps": 25,
+ "loraStrength": 1,
+ "maskPrompt": "head",
+ "maskGrow": 32,
+ "maskBlur": 16,
+ "pasteBack": true
+ },
+ "limits": {
+ "maxWidth": 2048,
+ "maxHeight": 2048
+ },
+ "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": "bfs_head_v1.1_qwen_2.1.safetensors",
+ "folder": "loras",
+ "url": "https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap/resolve/0ca3913ade4b4ada458d60c232354e8586c4c181/bfs_head_v1.1_qwen_2.1.safetensors",
+ "sizeGb": 0.26
+ },
+ {
+ "file": "sam3.1_multiplex_fp16.safetensors",
+ "folder": "checkpoints",
+ "url": "https://huggingface.co/Comfy-Org/sam3.1/resolve/7bb8374780a725b4353ed31f3a9395c9742b5621/checkpoints/sam3.1_multiplex_fp16.safetensors",
+ "sizeGb": 1.75
+ }
+ ],
+ "customNodes": [
+ {
+ "name": "ComfyUI-KJNodes",
+ "repo": "https://github.com/kijai/ComfyUI-KJNodes"
+ }
+ ],
+ "vramGb": 20,
+ "license": "Qwen Research License Agreement (Qwen-Image 2.1): NON-COMMERCIAL, research and evaluation only; BFS head-swap LoRA by Alissonerdx MIT; SAM 3.1 under Meta's SAM License (commercial use allowed under its terms); GrowMaskWithBlur from ComfyUI-KJNodes (GPL-3.0 code)",
+ "validated": false,
+ "notes": "qwen-image-21-edit (int8, 25 steps, euler / simple, cfg 1, both pictures 2048 on the long side, resolution 0) with Alissonerdx's BFS head LoRA V1.1 at 1.0 and its training prompt (\"head_swap: start with <image1> as the base image ...\"). image = the shot to keep (body, pose, light, background), image2 = the head (identity, hair, eye colour): body first, head second, as V1.1 was trained; other BFS versions take other orders, so the file is pinned. V1.1 is V1 without the second-half img_mlp.gate_up modules (less skin softening, slightly weaker expression transfer); the V1.1 \"alternative\" file copies expression better at about 1 degree more head-pose error. Paste-back (pasteBack, on by default): SAM 3.1 finds the head (\"head\") on the swap and on the shot scaled to the swap's size, the two masks are joined (ImageCompositeMasked of the mask images, so old long hair goes too), grown by maskGrow and blurred by maskBlur (GrowMaskWithBlur), and only that area comes from the swap: every other pixel is the shot's, which removes Qwen 2.1's colour and detail drift over the whole picture. pasteBack false returns the whole swap (the switch is lazy, SAM does not run). No head found: the shot comes back unchanged. BFS's own workflow runs the Pruna 8-step LoRA with deis_2m (RES4LYF); this graph keeps core samplers."
+ },
{
"id": "video-group-swap-h3",
"title": "Group swap: 1-4 characters each take over one person, named by role (Openjutsu advanced: SAM 3.1 tracks, Qwen3-VL labels them, MiniMax H3 + DMAD redraw the labelled people clip by clip)",
diff --git a/workflows/comfyui/model-pins.json b/workflows/comfyui/model-pins.json
index 25a3a5cb..7cee7786 100644
--- a/workflows/comfyui/model-pins.json
+++ b/workflows/comfyui/model-pins.json
@@ -9,6 +9,11 @@
"sizeBytes": 1706030528,
"sha256": "aa2311c6b22b07cf3afe9aac6e8bcb02a2b19dd8671b2a91d0b144071577e600"
},
+ "https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap/resolve/0ca3913ade4b4ada458d60c232354e8586c4c181/bfs_head_v1.1_qwen_2.1.safetensors": {
+ "revision": "0ca3913ade4b4ada458d60c232354e8586c4c181",
+ "sizeBytes": 260096144,
+ "sha256": "d1d748d5601077f3b6d05766f6823510e901970d916afa404a97e85dc92fa88e"
+ },
"https://huggingface.co/ByteZSzn/Flux.2-Turbo-ComfyUI/resolve/main/Flux_2-Turbo-LoRA_comfyui.safetensors": {
"revision": "57231752b9c5632e42911c73ee0ed138d381a6d4",
"sizeBytes": 2760814880,
diff --git a/workflows/comfyui/requirements.json b/workflows/comfyui/requirements.json
index cbe85f3d..4fc3ce8b 100644
--- a/workflows/comfyui/requirements.json
+++ b/workflows/comfyui/requirements.json
@@ -1,6 +1,6 @@
{
"v": 1,
- "hash": "7ba9b7319f501bac38dd9e7e48100b12795998dbcced9504287a0e011fee190f",
+ "hash": "6305b04ed3bf6b5f1f02896263e9139ab09761a4c72430e3ff84ac530d8f5238",
"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"],
@@ -174,6 +174,7 @@
"loras/Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors": {"folder":"loras","file":"Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors","url":"https://huggingface.co/lightx2v/Qwen-Image-Edit-2511-Lightning/resolve/main/Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors","pinnedUrl":"https://huggingface.co/lightx2v/Qwen-Image-Edit-2511-Lightning/resolve/107d238d68b8387e32843d0b4a2e24ceb0d3ad86/Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors","sizeBytes":849608296,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},
"loras/Wan2.1_I2V_14B_FusionX_LoRA.safetensors": {"folder":"loras","file":"Wan2.1_I2V_14B_FusionX_LoRA.safetensors","url":"https://huggingface.co/vrgamedevgirl84/Wan14BT2VFusioniX/resolve/b9793a1f84727f2f69bdffecc2f50f0abfa746a6/FusionX_LoRa/Wan2.1_I2V_14B_FusionX_LoRA.safetensors","pinnedUrl":"https://huggingface.co/vrgamedevgirl84/Wan14BT2VFusioniX/resolve/b9793a1f84727f2f69bdffecc2f50f0abfa746a6/FusionX_LoRa/Wan2.1_I2V_14B_FusionX_LoRA.safetensors","sizeBytes":371128616,"gated":false,"presence":"list"},
"loras/Wan2_2_I2V_AniSora_3_2_HIGH_rank_64_fp16.safetensors": {"folder":"loras","file":"Wan2_2_I2V_AniSora_3_2_HIGH_rank_64_fp16.safetensors","url":"https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/AniSora/Wan2_2_I2V_AniSora_3_2_HIGH_rank_64_fp16.safetensors","pinnedUrl":"https://huggingface.co/Kijai/WanVideo_comfy/resolve/8260d429d19fd7a72304cad059160b95d843913f/LoRAs/AniSora/Wan2_2_I2V_AniSora_3_2_HIGH_rank_64_fp16.safetensors","sizeBytes":630695648,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},
+ "loras/bfs_head_v1.1_qwen_2.1.safetensors": {"folder":"loras","file":"bfs_head_v1.1_qwen_2.1.safetensors","url":"https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap/resolve/0ca3913ade4b4ada458d60c232354e8586c4c181/bfs_head_v1.1_qwen_2.1.safetensors","pinnedUrl":"https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap/resolve/0ca3913ade4b4ada458d60c232354e8586c4c181/bfs_head_v1.1_qwen_2.1.safetensors","sizeBytes":260096144,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},
"loras/h3_character_swap_pro4500_1000.safetensors": {"folder":"loras","file":"h3_character_swap_pro4500_1000.safetensors","url":"https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/a665bb7e3bb9804e487d2925f67744f554c8ad49/h3_character_swap_pro4500_1000.safetensors","pinnedUrl":"https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/a665bb7e3bb9804e487d2925f67744f554c8ad49/h3_character_swap_pro4500_1000.safetensors","sizeBytes":155110320,"gated":false,"presence":"list"},
"loras/h3_character_swap_v1.5.safetensors": {"folder":"loras","file":"h3_character_swap_v1.5.safetensors","url":"https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/d06323b7c8e70e97cdab48b78a1e05f786c8cba9/h3_character_swap_v1.5.safetensors","pinnedUrl":"https://huggingface.co/akatz-ai/MiniMax-H3-Character-Swap-LoRA/resolve/d06323b7c8e70e97cdab48b78a1e05f786c8cba9/h3_character_swap_v1.5.safetensors","sizeBytes":155110792,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},
"loras/krea2_general_edit_v2.safetensors": {"folder":"loras","file":"krea2_general_edit_v2.safetensors","url":"https://huggingface.co/conradlocke/krea2-identity-edit/resolve/main/krea2_general_edit_v2.safetensors","pinnedUrl":"https://huggingface.co/conradlocke/krea2-identity-edit/resolve/f33b26291c640e8ec50b0da420bfee3c9a660daa/krea2_general_edit_v2.safetensors","sizeBytes":1828285656,"gated":false,"presence":"loader","loaders":[["LoraLoaderModelOnly","lora_name"]]},
@@ -309,6 +310,7 @@
"flux3-klein-t2i": {"core":["CLIPLoader","CLIPTextEncode","EmptyFlux2LatentImage","KSampler","PrimitiveStringMultiline","SaveImage","TextGenerate","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/flux3-image-klein-int8-convrot.safetensors","text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","text_encoders/qwen3vl_4b_int8_convrot.safetensors","vae/flux2-vae.safetensors"],"optional":["diffusion_models/flux3-image-klein-bf16.safetensors","diffusion_models/flux3-image-klein-nvfp4.safetensors"],"vramGb":16,"isolated":false,"firstRun":[],"validated":true},
"frame-extract": {"core":["GetVideoComponents","ImageFromBatch","LoadVideo","SaveImage","Video Slice"],"packs":{},"files":[],"optional":[],"vramGb":0,"isolated":false,"firstRun":[],"validated":true},
"grid-zimage-contact-sheet": {"core":["CLIPLoader","CLIPTextEncode","ConditioningZeroOut","EmptySD3LatentImage","KSampler","ModelSamplingAuraFlow","SaveImage","StringConcatenate","UNETLoader","VAEDecode","VAELoader"],"packs":{"ComfyUI-KJNodes":["ImageGridtoBatch"]},"files":["diffusion_models/z_image_turbo_bf16.safetensors","text_encoders/qwen_3_4b.safetensors","vae/ae.safetensors"],"optional":[],"vramGb":14,"isolated":false,"firstRun":[],"validated":true},
+ "head-swap-qwen-image-21": {"core":["CLIPLoader","CLIPTextEncode","CheckpointLoaderSimple","ComfySwitchNode","GetImageSize","ImageCompositeMasked","ImageScale","ImageScaleToMaxDimension","ImageToMask","KSampler","LoadImage","LoraLoaderModelOnly","MaskToImage","QwenImage21Cache","SAM3_Detect","SaveImage","SplitImageWithAlpha","TextEncodeQwenImage21","UNETLoader","VAEDecode","VAELoader"],"packs":{"ComfyUI-KJNodes":["GrowMaskWithBlur"]},"files":["checkpoints/sam3.1_multiplex_fp16.safetensors","diffusion_models/qwen_image_2.1_int8_convrot.safetensors","loras/bfs_head_v1.1_qwen_2.1.safetensors","text_encoders/qwen3vl_8b_int8_convrot.safetensors","vae/qwen_image_2.1_vae_bf16.safetensors"],"optional":[],"vramGb":20,"isolated":false,"firstRun":[]},
"hidream-i1-dev-t2i": {"core":["CLIPTextEncode","EmptySD3LatentImage","KSampler","ModelSamplingSD3","QuadrupleCLIPLoader","SaveImage","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/hidream_i1_dev_fp8.safetensors","text_encoders/clip_g_hidream.safetensors","text_encoders/clip_l_hidream.safetensors","text_encoders/llama_3.1_8b_instruct_fp8_scaled.safetensors","text_encoders/t5xxl_fp8_e4m3fn_scaled.safetensors","vae/ae.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
"hunyuan15-i2v-720p": {"core":["BasicScheduler","CFGGuider","CLIPTextEncode","CLIPVisionEncode","CLIPVisionLoader","CreateVideo","DualCLIPLoader","HunyuanVideo15ImageToVideo","KSamplerSelect","LoadImage","ModelSamplingSD3","RandomNoise","SamplerCustomAdvanced","SaveVideo","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["clip_vision/sigclip_vision_patch14_384.safetensors","diffusion_models/hunyuanvideo1.5_720p_i2v_fp16.safetensors","text_encoders/byt5_small_glyphxl_fp16.safetensors","text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors","vae/hunyuanvideo15_vae_fp16.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},
"hunyuan15-t2v-720p": {"core":["BasicScheduler","CFGGuider","CLIPTextEncode","CreateVideo","DualCLIPLoader","EmptyHunyuanVideo15Latent","KSamplerSelect","ModelSamplingSD3","RandomNoise","SamplerCustomAdvanced","SaveVideo","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/hunyuanvideo1.5_720p_t2v_fp16.safetensors","text_encoders/byt5_small_glyphxl_fp16.safetensors","text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors","vae/hunyuanvideo15_vae_fp16.safetensors"],"optional":[],"vramGb":24,"isolated":false,"firstRun":[],"validated":true},