Instructions to use Alissonerdx/BFS-Best-Face-Swap-Video with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Alissonerdx/BFS-Best-Face-Swap-Video with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Lightricks/LTX-2.3", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Alissonerdx/BFS-Best-Face-Swap-Video") prompt = "A man with short gray hair plays a red electric guitar." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
Update v3.0 workflow to use Sulphur-2-base as the base model
Browse files
workflows/workflow_ltx2_head_swap_drag_and_drop_v3.0.json
CHANGED
|
@@ -4846,7 +4846,7 @@
|
|
| 4846 |
}
|
| 4847 |
},
|
| 4848 |
"widgets_values": [
|
| 4849 |
-
"
|
| 4850 |
"default"
|
| 4851 |
],
|
| 4852 |
"color": "#432",
|
|
@@ -5726,7 +5726,7 @@
|
|
| 5726 |
"secondTabWidth": 65
|
| 5727 |
},
|
| 5728 |
"widgets_values": [
|
| 5729 |
-
"ltx-2
|
| 5730 |
1
|
| 5731 |
],
|
| 5732 |
"color": "#432",
|
|
@@ -5949,7 +5949,7 @@
|
|
| 5949 |
}
|
| 5950 |
},
|
| 5951 |
"widgets_values": [
|
| 5952 |
-
"# LTX-2.3\n\n* Hugging Face: [Lightricks/LTX-2.3](https://huggingface.co/Lightricks/LTX-2.3/)\n* GitHub: [LTX-2](https://github.com/Lightricks/LTX-2)\n\n## LTX-2.3 Prompting Tips\n\n1. **Core Actions**: describe events and actions as they happen over time\n2. **Visual Details**: describe all visual details you want to appear in the video\n3. **Audio**: describe any sounds and dialogue needed for the scene\n\n## Report LTX-2.3 Issues\n\nTo report issues when running this workflow, go here:\n[https://github.com/Lightricks/ComfyUI-LTXVideo/issues](https://github.com/Lightricks/ComfyUI-LTXVideo/issues)\n\n---\n\n## Required Models and Files\n\n### diffusion_models\n\n**Option 1**\n\n* [ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/diffusion_models/ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors)\n\n> This model requires the **distilled LoRA** if you want to generate videos in **8 steps**.\n\n**Option 2**\n\n* [ltx-2.3-22b-distilled_transformer_only_fp8_input_scaled_v3.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/diffusion_models/ltx-2.3-22b-distilled_transformer_only_fp8_input_scaled_v3.safetensors)\n\n> This model **does not require** the distilled LoRA.\n\n---\n\n### vaes\n\n* [LTX23_audio_vae_bf16.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/vae/LTX23_audio_vae_bf16.safetensors)\n* [LTX23_video_vae_bf16.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/vae/LTX23_video_vae_bf16.safetensors)\n\n**For preview**\n\n* [taeltx2_3.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/vae/taeltx2_3.safetensors)\n\n---\n\n### projection text encoder\n\n* [ltx-2.3_text_projection_bf16.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/text_encoders/ltx-2.3_text_projection_bf16.safetensors)\n\n---\n\n### text encoder\n\nYou can download the text encoder here:\n\n* [gemma_3_12B_it_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/ltx-2/blob/main/split_files/text_encoders/gemma_3_12B_it_fp8_scaled.safetensors)\n\n---\n\n### loras\n\n* [ltx-2.3-22b-distilled-lora-dynamic_fro09_avg_rank_105_bf16.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/loras/ltx-2.3-22b-distilled-lora-dynamic_fro09_avg_rank_105_bf16.safetensors)\n\n* [head_swap_v3_rank_adaptive_fro_098.safetensors](https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap-Video/blob/main/ltx-2.3/head_swap_v3_rank_adaptive_fro_098.safetensors)\n\n* [head_swap_v3_rank_64.safetensors](https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap-Video/resolve/main/ltx-2.3/head_swap_v3_rank_64.safetensors)\n\n> If you download\n> **ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors**,\n> use the LoRA above.\n\n---\n\n### upscalers\n\n**Spatial upscaler**\n\n* [ltx-2.3-spatial-upscaler-x2-1.1.safetensors](https://huggingface.co/Lightricks/LTX-2.3/blob/main/ltx-2.3-spatial-upscaler-x2-1.1.safetensors)\n\n**Temporal upscaler**\n\n* [ltx-2.3-temporal-upscaler-x2-1.0.safetensors](https://huggingface.co/Lightricks/LTX-2.3/blob/main/ltx-2.3-temporal-upscaler-x2-1.0.safetensors)\n\n---\n\n## Model Folder Structure\n\n```text\n
|
| 5953 |
],
|
| 5954 |
"color": "#222",
|
| 5955 |
"bgcolor": "#000"
|
|
@@ -7125,7 +7125,7 @@
|
|
| 7125 |
},
|
| 7126 |
"class_type": "LTXVGemmaCLIPModelLoader",
|
| 7127 |
"_meta": {
|
| 7128 |
-
"title": "
|
| 7129 |
}
|
| 7130 |
},
|
| 7131 |
"3": {
|
|
@@ -7211,7 +7211,7 @@
|
|
| 7211 |
},
|
| 7212 |
"class_type": "LTXVAudioVAELoader",
|
| 7213 |
"_meta": {
|
| 7214 |
-
"title": "
|
| 7215 |
}
|
| 7216 |
},
|
| 7217 |
"14": {
|
|
@@ -7227,7 +7227,7 @@
|
|
| 7227 |
},
|
| 7228 |
"class_type": "LTXVAudioVAEDecode",
|
| 7229 |
"_meta": {
|
| 7230 |
-
"title": "
|
| 7231 |
}
|
| 7232 |
},
|
| 7233 |
"15": {
|
|
@@ -7256,7 +7256,7 @@
|
|
| 7256 |
},
|
| 7257 |
"class_type": "VHS_VideoCombine",
|
| 7258 |
"_meta": {
|
| 7259 |
-
"title": "Video Combine
|
| 7260 |
}
|
| 7261 |
},
|
| 7262 |
"17": {
|
|
@@ -7281,7 +7281,7 @@
|
|
| 7281 |
},
|
| 7282 |
"class_type": "MultimodalGuider",
|
| 7283 |
"_meta": {
|
| 7284 |
-
"title": "
|
| 7285 |
}
|
| 7286 |
},
|
| 7287 |
"18": {
|
|
@@ -7298,7 +7298,7 @@
|
|
| 7298 |
},
|
| 7299 |
"class_type": "GuiderParameters",
|
| 7300 |
"_meta": {
|
| 7301 |
-
"title": "
|
| 7302 |
}
|
| 7303 |
},
|
| 7304 |
"19": {
|
|
@@ -7311,7 +7311,7 @@
|
|
| 7311 |
},
|
| 7312 |
"class_type": "GuiderParameters",
|
| 7313 |
"_meta": {
|
| 7314 |
-
"title": "
|
| 7315 |
}
|
| 7316 |
},
|
| 7317 |
"21": {
|
|
@@ -7370,7 +7370,7 @@
|
|
| 7370 |
},
|
| 7371 |
"class_type": "LTXVEmptyLatentAudio",
|
| 7372 |
"_meta": {
|
| 7373 |
-
"title": "
|
| 7374 |
}
|
| 7375 |
},
|
| 7376 |
"27": {
|
|
@@ -7399,7 +7399,7 @@
|
|
| 7399 |
},
|
| 7400 |
"class_type": "LTXVConcatAVLatent",
|
| 7401 |
"_meta": {
|
| 7402 |
-
"title": "
|
| 7403 |
}
|
| 7404 |
},
|
| 7405 |
"29": {
|
|
@@ -7415,7 +7415,7 @@
|
|
| 7415 |
},
|
| 7416 |
"class_type": "LTXVSeparateAVLatent",
|
| 7417 |
"_meta": {
|
| 7418 |
-
"title": "
|
| 7419 |
}
|
| 7420 |
},
|
| 7421 |
"41": {
|
|
|
|
| 4846 |
}
|
| 4847 |
},
|
| 4848 |
"widgets_values": [
|
| 4849 |
+
"sulphur_dev_fp8mixed.safetensors",
|
| 4850 |
"default"
|
| 4851 |
],
|
| 4852 |
"color": "#432",
|
|
|
|
| 5726 |
"secondTabWidth": 65
|
| 5727 |
},
|
| 5728 |
"widgets_values": [
|
| 5729 |
+
"ltx-2.3-22b-distilled-lora-1.1_fro90_ceil72_condsafe.safetensors",
|
| 5730 |
1
|
| 5731 |
],
|
| 5732 |
"color": "#432",
|
|
|
|
| 5949 |
}
|
| 5950 |
},
|
| 5951 |
"widgets_values": [
|
| 5952 |
+
"# LTX-2.3\n\n* Hugging Face: [Lightricks/LTX-2.3](https://huggingface.co/Lightricks/LTX-2.3/)\n* GitHub: [LTX-2](https://github.com/Lightricks/LTX-2)\n\n## LTX-2.3 Prompting Tips\n\n1. **Core Actions**: describe events and actions as they happen over time\n2. **Visual Details**: describe all visual details you want to appear in the video\n3. **Audio**: describe any sounds and dialogue needed for the scene\n\n## Report LTX-2.3 Issues\n\nTo report issues when running this workflow, go here:\n[https://github.com/Lightricks/ComfyUI-LTXVideo/issues](https://github.com/Lightricks/ComfyUI-LTXVideo/issues)\n\n---\n\n## Required Models and Files\n\n### diffusion_models\n\n**Option 1**\n\n* [ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/diffusion_models/ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors)\n\n> This model requires the **distilled LoRA** if you want to generate videos in **8 steps**.\n\n**Option 2**\n\n* [ltx-2.3-22b-distilled_transformer_only_fp8_input_scaled_v3.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/diffusion_models/ltx-2.3-22b-distilled_transformer_only_fp8_input_scaled_v3.safetensors)\n\n> This model **does not require** the distilled LoRA.\n\n---\n\n### vaes\n\n* [LTX23_audio_vae_bf16.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/vae/LTX23_audio_vae_bf16.safetensors)\n* [LTX23_video_vae_bf16.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/vae/LTX23_video_vae_bf16.safetensors)\n\n**For preview**\n\n* [taeltx2_3.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/vae/taeltx2_3.safetensors)\n\n---\n\n### projection text encoder\n\n* [ltx-2.3_text_projection_bf16.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/text_encoders/ltx-2.3_text_projection_bf16.safetensors)\n\n---\n\n### text encoder\n\nYou can download the text encoder here:\n\n* [gemma_3_12B_it_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/ltx-2/blob/main/split_files/text_encoders/gemma_3_12B_it_fp8_scaled.safetensors)\n\n---\n\n### loras\n\n* [ltx-2.3-22b-distilled-lora-dynamic_fro09_avg_rank_105_bf16.safetensors](https://huggingface.co/Kijai/LTX2.3_comfy/blob/main/loras/ltx-2.3-22b-distilled-lora-dynamic_fro09_avg_rank_105_bf16.safetensors)\n\n* [head_swap_v3_rank_adaptive_fro_098.safetensors](https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap-Video/blob/main/ltx-2.3/head_swap_v3_rank_adaptive_fro_098.safetensors)\n\n* [head_swap_v3_rank_64.safetensors](https://huggingface.co/Alissonerdx/BFS-Best-Face-Swap-Video/resolve/main/ltx-2.3/head_swap_v3_rank_64.safetensors)\n\n> If you download\n> **ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors**,\n> use the LoRA above.\n\n---\n\n### upscalers\n\n**Spatial upscaler**\n\n* [ltx-2.3-spatial-upscaler-x2-1.1.safetensors](https://huggingface.co/Lightricks/LTX-2.3/blob/main/ltx-2.3-spatial-upscaler-x2-1.1.safetensors)\n\n**Temporal upscaler**\n\n* [ltx-2.3-temporal-upscaler-x2-1.0.safetensors](https://huggingface.co/Lightricks/LTX-2.3/blob/main/ltx-2.3-temporal-upscaler-x2-1.0.safetensors)\n\n---\n\n## Model Folder Structure\n\n```text\n\ud83d\udcc2 ComfyUI/\n\u251c\u2500\u2500 \ud83d\udcc2 models/\n\u2502 \u251c\u2500\u2500 \ud83d\udcc2 diffusion_models/\n\u2502 \u2502 \u251c\u2500\u2500 ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors\n\u2502 \u2502 \u2514\u2500\u2500 ltx-2.3-22b-distilled_transformer_only_fp8_input_scaled_v3.safetensors\n\u2502 \u251c\u2500\u2500 \ud83d\udcc2 vae/\n\u2502 \u2502 \u251c\u2500\u2500 LTX23_audio_vae_bf16.safetensors\n\u2502 \u2502 \u251c\u2500\u2500 LTX23_video_vae_bf16.safetensors\n\u2502 \u2502 \u2514\u2500\u2500 taeltx2_3.safetensors\n\u2502 \u251c\u2500\u2500 \ud83d\udcc2 text_encoders/\n\u2502 \u2502 \u251c\u2500\u2500 ltx-2.3_text_projection_bf16.safetensors\n\u2502 \u2502 \u2514\u2500\u2500 gemma_3_12B_it_fp8_scaled.safetensors\n\u2502 \u251c\u2500\u2500 \ud83d\udcc2 loras/\n\u2502 \u2502 \u2514\u2500\u2500 ltx-2.3-22b-distilled-lora-dynamic_fro09_avg_rank_105_bf16.safetensors\n\u2502 \u2514\u2500\u2500 \ud83d\udcc2 latent_upscale_models/\n\u2502 \u251c\u2500\u2500 ltx-2.3-spatial-upscaler-x2-1.1.safetensors\n\u2502 \u2514\u2500\u2500 ltx-2.3-temporal-upscaler-x2-1.0.safetensors\n```\n\n---\n\n## Important Notes\n\n* If you use **`ltx-2-3-22b-dev_transformer_only_fp8_input_scaled.safetensors`**, you will also need the **distilled LoRA** to generate videos in **8 steps**.\n* If you use **`ltx-2.3-22b-distilled_transformer_only_fp8_input_scaled_v3.safetensors`**, the **LoRA is not required**.\n* **`taeltx2_3.safetensors`** is used for **preview**.\n* Both **spatial** and **temporal** upscalers are optional.\n\n---\n\n## Report Issues\n\nBefore reporting any issue, make sure to update ComfyUI first:\n[ComfyUI update guide](https://docs.comfy.org/installation/update_comfyui)\n\n> Note: Desktop and Cloud releases follow stable builds, so some models supported in nightly versions may not be available yet.\n\n### Where to report each issue type\n\n* Cannot run / runtime errors: [ComfyUI/issues](https://github.com/Comfy-Org/ComfyUI/issues)\n* UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n* Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n\n"
|
| 5953 |
],
|
| 5954 |
"color": "#222",
|
| 5955 |
"bgcolor": "#000"
|
|
|
|
| 7125 |
},
|
| 7126 |
"class_type": "LTXVGemmaCLIPModelLoader",
|
| 7127 |
"_meta": {
|
| 7128 |
+
"title": "\ud83c\udd5b\ud83c\udd63\ud83c\udd67 Gemma 3 Model Loader"
|
| 7129 |
}
|
| 7130 |
},
|
| 7131 |
"3": {
|
|
|
|
| 7211 |
},
|
| 7212 |
"class_type": "LTXVAudioVAELoader",
|
| 7213 |
"_meta": {
|
| 7214 |
+
"title": "\ud83c\udd5b\ud83c\udd63\ud83c\udd67 LTXV Audio VAE Loader"
|
| 7215 |
}
|
| 7216 |
},
|
| 7217 |
"14": {
|
|
|
|
| 7227 |
},
|
| 7228 |
"class_type": "LTXVAudioVAEDecode",
|
| 7229 |
"_meta": {
|
| 7230 |
+
"title": "\ud83c\udd5b\ud83c\udd63\ud83c\udd67 LTXV Audio VAE Decode"
|
| 7231 |
}
|
| 7232 |
},
|
| 7233 |
"15": {
|
|
|
|
| 7256 |
},
|
| 7257 |
"class_type": "VHS_VideoCombine",
|
| 7258 |
"_meta": {
|
| 7259 |
+
"title": "Video Combine \ud83c\udfa5\ud83c\udd65\ud83c\udd57\ud83c\udd62"
|
| 7260 |
}
|
| 7261 |
},
|
| 7262 |
"17": {
|
|
|
|
| 7281 |
},
|
| 7282 |
"class_type": "MultimodalGuider",
|
| 7283 |
"_meta": {
|
| 7284 |
+
"title": "\ud83c\udd5b\ud83c\udd63\ud83c\udd67 Multimodal Guider"
|
| 7285 |
}
|
| 7286 |
},
|
| 7287 |
"18": {
|
|
|
|
| 7298 |
},
|
| 7299 |
"class_type": "GuiderParameters",
|
| 7300 |
"_meta": {
|
| 7301 |
+
"title": "\ud83c\udd5b\ud83c\udd63\ud83c\udd67 Guider Parameters"
|
| 7302 |
}
|
| 7303 |
},
|
| 7304 |
"19": {
|
|
|
|
| 7311 |
},
|
| 7312 |
"class_type": "GuiderParameters",
|
| 7313 |
"_meta": {
|
| 7314 |
+
"title": "\ud83c\udd5b\ud83c\udd63\ud83c\udd67 Guider Parameters"
|
| 7315 |
}
|
| 7316 |
},
|
| 7317 |
"21": {
|
|
|
|
| 7370 |
},
|
| 7371 |
"class_type": "LTXVEmptyLatentAudio",
|
| 7372 |
"_meta": {
|
| 7373 |
+
"title": "\ud83c\udd5b\ud83c\udd63\ud83c\udd67 LTXV Empty Latent Audio"
|
| 7374 |
}
|
| 7375 |
},
|
| 7376 |
"27": {
|
|
|
|
| 7399 |
},
|
| 7400 |
"class_type": "LTXVConcatAVLatent",
|
| 7401 |
"_meta": {
|
| 7402 |
+
"title": "\ud83c\udd5b\ud83c\udd63\ud83c\udd67 LTXV Concat AV Latent"
|
| 7403 |
}
|
| 7404 |
},
|
| 7405 |
"29": {
|
|
|
|
| 7415 |
},
|
| 7416 |
"class_type": "LTXVSeparateAVLatent",
|
| 7417 |
"_meta": {
|
| 7418 |
+
"title": "\ud83c\udd5b\ud83c\udd63\ud83c\udd67 LTXV Separate AV Latent"
|
| 7419 |
}
|
| 7420 |
},
|
| 7421 |
"41": {
|