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.

Color grading: free real-time WebGL grader for images and video

Claude6b47c1bcc109
diff --git a/docs/research/comfyui-oss-2.json b/docs/research/comfyui-oss-2.json
new file mode 100644
index 00000000..c99d26b0
--- /dev/null
+++ b/docs/research/comfyui-oss-2.json
@@ -0,0 +1,15315 @@
+{
+ "asOf": "2026-10-16",
+ "scope": "Gap research #2 for Fuobe's open ComfyUI engine: TTS/voice, video extend/reframe/relight/trajectory/multi-shot, character LoRA training, storyboards, video matting/depth, palette control. Companion to comfyui-oss.json (capability rankings) and workflows/comfyui/manifest.json (built library).",
+ "conventions": {
+ "graph": "ComfyUI API format (POST /prompt body.prompt). Links are [nodeId, outputSlot]. Placeholder file names in LoadImage/LoadAudio/LoadVideo are replaced by uploads.",
+ "bindings": "canonical key -> list of {node, input} (same shape as workflows/comfyui/manifest.json; a key may set several nodes). All targets are literal inputs, never links. Keys beyond src/lib/comfy.ts BindingKey (text, voiceAudio, voiceAudio2, tracks, contextFrames, ...) are passed through ProviderInput.extra.",
+ "nodes": "class_type input specs dumped from the live /object_info of the validation server (ComfyUI fc04da91 + the node packs listed in nodePack/extraNodePacks), so names/types/defaults/options are exactly what the server accepts. Long option lists are truncated.",
+ "models.sizeGB": "decimal GB from the Hugging Face tree API; null = not resolvable. folder 'custom (...)' = node-managed auto-download location.",
+ "validation.postPrompt": "true = POST /prompt accepted with HTTP 200, a prompt_id and no node_errors on ComfyUI fc04da91 (CPU, zero-byte placeholder weights, never executed). null = pack not installed there; graph transcribed from source only.",
+ "verified": "true = node schemas read from source AND the recommended graph passed live /prompt validation; semantics that could only be inferred are listed in 'inferred'."
+ },
+ "validationServer": {
+ "comfyui": "comfyanonymous/ComfyUI fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7, CPU)",
+ "packs": [
+ {
+ "url": "https://github.com/kijai/ComfyUI-KJNodes",
+ "ref": "17195fcfa8a05f601b766a0f09c9733284f47416 (2026-10-15)"
+ },
+ {
+ "url": "https://github.com/filliptm/ComfyUI_Fill-ChatterBox",
+ "ref": "f7d7a16187430abcaf91a3039b9c83aa9960816a (2026-08-23)"
+ },
+ {
+ "url": "https://github.com/wildminder/ComfyUI-VibeVoice",
+ "ref": "de6ee6bf81ba426a8a20e362fd26f2d58ea68950 (2026-10-09)"
+ },
+ {
+ "url": "https://github.com/yuvraj108c/ComfyUI-Video-Depth-Anything",
+ "ref": "a0db08e63d1ea571601c45cde4aaee0acdd0544d (2026-01-08)"
+ }
+ ]
+ },
+ "capabilities": [
+ {
+ "id": "tts-clone",
+ "title": "Text-to-speech with zero-shot voice cloning from a reference clip",
+ "gap": 1,
+ "higgsfield": "UGC voiceover / Speak / Lipsync Studio voice (ElevenLabs-style TTS)",
+ "summary": "Chatterbox Multilingual (MIT, 23 languages, official Comfy community templates audio-chatterbox_tts_multilingual) is the default; IndexTTS-2 is the quality pick for emotion and timing (bilibili license, free below 100M MAU / RMB 1B revenue). Output AUDIO feeds infinitetalk-native / wan22-s2v / ltx IA2V directly.",
+ "recommended": {
+ "name": "Chatterbox Multilingual (FL_ChatterboxMultilingualTTS) - zero-shot clone, 23 languages",
+ "nodePack": {
+ "url": "https://github.com/filliptm/ComfyUI_Fill-ChatterBox",
+ "ref": "f7d7a16187430abcaf91a3039b9c83aa9960816a (2026-08-23)"
+ },
+ "officialTemplate": "audio-chatterbox_tts_multilingual (also audio-chatterbox_tts, English)",
+ "graph": {
+ "1": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "voice_reference.wav"
+ }
+ },
+ "2": {
+ "class_type": "FL_ChatterboxMultilingualTTS",
+ "inputs": {
+ "text": "Hello! This voice was cloned from a short reference clip.",
+ "language": "English (en)",
+ "exaggeration": 0.5,
+ "cfg_weight": 0.5,
+ "temperature": 0.8,
+ "repetition_penalty": 2.0,
+ "min_p": 0.05,
+ "top_p": 1.0,
+ "seed": 0,
+ "audio_prompt": [
+ "1",
+ 0
+ ],
+ "use_cpu": false,
+ "keep_model_loaded": false
+ }
+ },
+ "3": {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": [
+ "2",
+ 0
+ ],
+ "filename_prefix": "fuobe/tts-chatterbox-mtl",
+ "quality": "V0"
+ }
+ }
+ },
+ "bindings": {
+ "text": [
+ {
+ "node": "2",
+ "input": "text"
+ }
+ ],
+ "voiceAudio": [
+ {
+ "node": "1",
+ "input": "audio"
+ }
+ ],
+ "language": [
+ {
+ "node": "2",
+ "input": "language"
+ }
+ ],
+ "seed": [
+ {
+ "node": "2",
+ "input": "seed"
+ }
+ ],
+ "exaggeration": [
+ {
+ "node": "2",
+ "input": "exaggeration"
+ }
+ ],
+ "cfgWeight": [
+ {
+ "node": "2",
+ "input": "cfg_weight"
+ }
+ ],
+ "temperature": [
+ {
+ "node": "2",
+ "input": "temperature"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "3",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "3",
+ "kind": "audio"
+ }
+ ],
+ "defaults": {
+ "language": "English (en)",
+ "exaggeration": 0.5,
+ "cfgWeight": 0.5,
+ "temperature": 0.8
+ },
+ "models": [
+ {
+ "file": "t3_mtl23ls_v2.safetensors",
+ "url": "https://huggingface.co/ResembleAI/chatterbox/resolve/main/t3_mtl23ls_v2.safetensors",
+ "folder": "custom (models/chatterbox/chatterbox_multilingual, auto-download via hf_hub_download)",
+ "sizeGB": 2.14
+ },
+ {
+ "file": "s3gen.pt",
+ "url": "https://huggingface.co/ResembleAI/chatterbox/resolve/main/s3gen.pt",
+ "folder": "custom (models/chatterbox/chatterbox_multilingual, auto-download via hf_hub_download)",
+ "sizeGB": 1.06
+ },
+ {
+ "file": "ve.pt",
+ "url": "https://huggingface.co/ResembleAI/chatterbox/resolve/main/ve.pt",
+ "folder": "custom (models/chatterbox/chatterbox_multilingual, auto-download via hf_hub_download)",
+ "note": "plus grapheme_mtl_merged_expanded_v1.json, conds.pt, Cangjie5_TC.json",
+ "sizeGB": 0.01
+ }
+ ],
+ "vramGB": 6,
+ "license": "Chatterbox weights MIT (ResembleAI); the FL pack repo ships no LICENSE file; outputs carry Resemble Perth watermark when resemble-perth is installed (optional in this pack)",
+ "notes": "language is a combo of 'Name (code)' strings, e.g. 'German (de)'. audio_prompt is optional (without it the built-in conds.pt voice is used). 5-10 s of clean reference speech is enough. Long text: the node chunks internally; for >1 min split by sentence and AudioConcat. English-only FL_ChatterboxTTS / FL_ChatterboxTurboTTS (paralinguistic tags [laugh] [sigh]) share the same inputs minus language.",
+ "inferred": [
+ "VRAM figure (0.5B T3 + S3Gen; ~4-6 GB in practice per prior research)"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "AUDIO:AUDIO"
+ ]
+ },
+ {
+ "class_type": "FL_ChatterboxMultilingualTTS",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "default": "Hello, this is a multilingual test.",
+ "multiline": true
+ },
+ "language": {
+ "type": "COMBO",
+ "options": [
+ "Arabic (ar)",
+ "Danish (da)",
+ "German (de)",
+ "Greek (el)",
+ "English (en)",
+ "Spanish (es)",
+ "Finnish (fi)",
+ "French (fr)",
+ "Hebrew (he)",
+ "Hindi (hi)",
+ "Italian (it)",
+ "Japanese (ja)",
+ "Korean (ko)",
+ "Malay (ms)",
+ "Dutch (nl)",
+ "Norwegian (no)",
+ "Polish (pl)",
+ "Portuguese (pt)",
+ "Russian (ru)",
+ "Swedish (sv)",
+ "Swahili (sw)",
+ "Turkish (tr)",
+ "Chinese (zh)"
+ ],
+ "default": "English (en)"
+ },
+ "exaggeration": {
+ "type": "FLOAT",
+ "default": 0.5,
+ "min": 0.0,
+ "max": 2.0,
+ "step": 0.05
+ },
+ "cfg_weight": {
+ "type": "FLOAT",
+ "default": 0.5,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.05
+ },
+ "temperature": {
+ "type": "FLOAT",
+ "default": 0.8,
+ "min": 0.05,
+ "max": 2.0,
+ "step": 0.05
+ },
+ "repetition_penalty": {
+ "type": "FLOAT",
+ "default": 2.0,
+ "min": 1.0,
+ "max": 5.0,
+ "step": 0.1
+ },
+ "min_p": {
+ "type": "FLOAT",
+ "default": 0.05,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ },
+ "top_p": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.1,
+ "max": 1.0,
+ "step": 0.05
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 4294967295
+ },
+ "audio_prompt": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "use_cpu": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ },
+ "keep_model_loaded": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ }
+ },
+ "outputs": [
+ "AUDIO:audio",
+ "STRING:message"
+ ]
+ },
+ {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": {
+ "type": "AUDIO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "audio/ComfyUI",
+ "multiline": false
+ },
+ "quality": {
+ "type": "COMBO",
+ "options": [
+ "V0",
+ "128k",
+ "320k"
+ ],
+ "default": "V0"
+ }
+ },
+ "outputs": [
+ "AUDIO:audio"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "IndexTTS-2 (IndexTTS2Simple) - emotion control + duration-accurate dubbing",
+ "nodePack": {
+ "url": "https://github.com/snicolast/ComfyUI-IndexTTS2",
+ "ref": "5b33e02bc0112b8aaf1fc823d5e5a609ca07fc27 (2025-10-13)"
+ },
+ "extraNodePacks": [
+ {
+ "url": "https://github.com/diodiogod/TTS-Audio-Suite",
+ "ref": "3f3832a088a80bc7bcee7f69471bcda8c4185985 (v5.10.3, 2026-10-16)"
+ }
+ ],
+ "graph": {
+ "1": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "voice_reference.wav"
+ }
+ },
+ "2": {
+ "class_type": "IndexTTS2Simple",
+ "inputs": {
+ "audio": [
+ "1",
+ 0
+ ],
+ "text": "Hello! This voice was cloned from a short reference clip.",
+ "emotion_control_weight": 1.0,
+ "use_fp16": true,
+ "output_gain": 1.0
+ }
+ },
+ "3": {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": [
+ "2",
+ 0
+ ],
+ "filename_prefix": "fuobe/tts-indextts2",
+ "quality": "V0"
+ }
+ }
+ },
+ "bindings": {
+ "text": [
+ {
+ "node": "2",
+ "input": "text"
+ }
+ ],
+ "voiceAudio": [
+ {
+ "node": "1",
+ "input": "audio"
+ }
+ ],
+ "emotionWeight": [
+ {
+ "node": "2",
+ "input": "emotion_control_weight"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "3",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "3",
+ "kind": "audio"
+ }
+ ],
+ "models": [
+ {
+ "file": "gpt.pth",
+ "url": "https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/gpt.pth",
+ "folder": "custom (custom_nodes/ComfyUI-IndexTTS2/checkpoints; copy the HF repo there, missing files are fetched from HF)",
+ "sizeGB": 3.48
+ },
+ {
+ "file": "s2mel.pth",
+ "url": "https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/s2mel.pth",
+ "folder": "custom (custom_nodes/ComfyUI-IndexTTS2/checkpoints; copy the HF repo there, missing files are fetched from HF)",
+ "sizeGB": 1.2
+ },
+ {
+ "file": "qwen0.6bemo4-merge/model.safetensors",
+ "url": "https://huggingface.co/IndexTeam/IndexTTS-2/resolve/main/qwen0.6bemo4-merge/model.safetensors",
+ "folder": "custom (custom_nodes/ComfyUI-IndexTTS2/checkpoints; copy the HF repo there, missing files are fetched from HF)",
+ "note": "emotion-from-text model; w2v-bert-2.0, MaskGCT semantic codec, CAMPPlus and BigVGAN are pulled from HF on first run",
+ "sizeGB": 1.19
+ }
+ ],
+ "vramGB": 8,
+ "license": "bilibili IndexTTS-2 Model Use License: commercial use allowed unless you (or affiliates) exceed 100M MAU or RMB 1B annual revenue; may not be used to improve other (commercial) AI models",
+ "notes": "IndexTTS2Simple(audio, text, emotion_control_weight, [emotion_audio], [emotion_vector], [use_fp16], [output_gain]) -> (AUDIO, STRING). IndexTTS2Advanced adds sampling params; IndexTTS2EmotionVector / IndexTTS2EmotionFromText feed emotion_vector. TTS-Audio-Suite exposes IndexTTS-2 and IndexTTS-2.5 (IndexTTSEngineNode -> UnifiedTTSTextNode, duration_factor, language) with the same weights. Heavy deps (pynini, WeTextProcessing, modelscope) - install in an isolated venv/worker.",
+ "inferred": [
+ "graph not POSTed (pack deps not installable on the CPU validation box); input names read from nodes/indextts2_node.py"
+ ],
+ "validation": {
+ "postPrompt": null,
+ "bindingIssues": [],
+ "error": "not validated (node pack not installed on the validation server)"
+ },
+ "nodes": [
+ {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "AUDIO:AUDIO"
+ ]
+ },
+ {
+ "class_type": "IndexTTS2Simple",
+ "note": "not registered on the validation server; inputs transcribed from source",
+ "inputs": {
+ "audio": {
+ "type": "AUDIO"
+ },
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "emotion_control_weight": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.05
+ },
+ "emotion_audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "emotion_vector": {
+ "type": "EMOTION_VECTOR",
+ "optional": true
+ },
+ "use_fp16": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ },
+ "output_gain": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 4.0,
+ "step": 0.05,
+ "optional": true
+ }
+ },
+ "outputs": [
+ "AUDIO",
+ "STRING"
+ ],
+ "source": "snicolast/ComfyUI-IndexTTS2 nodes/indextts2_node.py INPUT_TYPES"
+ },
+ {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": {
+ "type": "AUDIO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "audio/ComfyUI",
+ "multiline": false
+ },
+ "quality": {
+ "type": "COMBO",
+ "options": [
+ "V0",
+ "128k",
+ "320k"
+ ],
+ "default": "V0"
+ }
+ },
+ "outputs": [
+ "AUDIO:audio"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Qwen3-TTS 1.7B Base (clone) / VoiceDesign via TTS-Audio-Suite Qwen3TTSEngineNode + UnifiedTTSTextNode",
+ "nodePack": {
+ "url": "https://github.com/diodiogod/TTS-Audio-Suite",
+ "ref": "3f3832a088a80bc7bcee7f69471bcda8c4185985 (v5.10.3, 2026-10-16)"
+ },
+ "license": "Apache-2.0",
+ "vramGB": 8,
+ "models": [
+ {
+ "file": "model.safetensors",
+ "url": "https://huggingface.co/Qwen/Qwen3-TTS-12Hz-1.7B-Base/resolve/main/model.safetensors",
+ "folder": "custom (models/TTS/..., auto-download)",
+ "sizeGB": 3.86
+ }
+ ],
+ "notes": "Commercially clean clone + reference-free voice design. TTS-Audio-Suite pattern: <Engine>EngineNode -> UnifiedTTSTextNode(TTS_engine, text, narrator_voice, seed, opt_narrator=AUDIO|NARRATOR_VOICE). Runs in the suite's shared secondary runtime (transformers pin)."
+ },
+ {
+ "name": "Higgs Audio v2 3B (HiggsAudioEngineNode, TTS-Audio-Suite)",
+ "nodePack": {
+ "url": "https://github.com/diodiogod/TTS-Audio-Suite",
+ "ref": "3f3832a088a80bc7bcee7f69471bcda8c4185985 (v5.10.3, 2026-10-16)"
+ },
+ "license": "Boson Higgs Audio 2 Community License: commercial use allowed up to 100,000 annual active users, expanded license above",
+ "vramGB": 12,
+ "models": [
+ {
+ "file": "bosonai/higgs-audio-v2-generation-3B-base (sharded repo)",
+ "url": "https://huggingface.co/bosonai/higgs-audio-v2-generation-3B-base",
+ "folder": "custom (auto-download)",
+ "note": "~9 GB per TTS-Audio-Suite docs + bosonai/higgs-audio-v2-tokenizer (~0.2 GB)",
+ "sizeGB": null
+ }
+ ],
+ "notes": "Very expressive, up to 3 speakers, CUDA-graph fast path. Higgs Audio v3 4B (100+ languages, inline emotion tags) is research/non-commercial."
+ },
+ {
+ "name": "F5-TTS (ComfyUI-F5-TTS / TTS-Audio-Suite F5TTSEngineNode)",
+ "nodePack": {
+ "url": "https://github.com/niknah/ComfyUI-F5-TTS",
+ "ref": "a28b6d5ff9185a3383f6e8e9036f786015fc6651 (2026-08-13)"
+ },
+ "license": "CC-BY-NC-4.0 (weights) - non-commercial",
+ "vramGB": 4,
+ "models": [
+ {
+ "file": "F5TTS_v1_Base/model_1250000.safetensors",
+ "url": "https://huggingface.co/SWivid/F5-TTS/resolve/main/F5TTS_v1_Base/model_1250000.safetensors",
+ "folder": "custom (auto-download)",
+ "sizeGB": 1.35
+ }
+ ],
+ "notes": "Needs the exact transcript of the reference clip; good speech editing. Not for Fuobe defaults because of the NC license."
+ }
+ ],
+ "verified": true,
+ "risks": [
+ "Voice cloning abuse: require consent checkbox + keep the Perth watermark (pip install resemble-perth) for cloned voices.",
+ "Custom packs download weights on first execution; pre-seed models/chatterbox/* so jobs do not stall."
+ ]
+ },
+ {
+ "id": "tts-dialogue",
+ "title": "Multi-speaker dialogue TTS with per-speaker cloned voices",
+ "gap": 1,
+ "higgsfield": "UGC two-person ads / podcast-style voiceovers",
+ "summary": "FL_ChatterboxDialogTTS (MIT, official template audio-chatterbox_tts_dialog, up to 4 speakers, English model) is the commercially clean default; VibeVoice 1.5B/7B gives the most natural long-form turn-taking (90 min, 4 speakers) but Microsoft's card limits it to research use.",
+ "recommended": {
+ "name": "Chatterbox Dialog (FL_ChatterboxDialogTTS) - SPEAKER A..D script, one reference clip per speaker",
+ "nodePack": {
+ "url": "https://github.com/filliptm/ComfyUI_Fill-ChatterBox",
+ "ref": "f7d7a16187430abcaf91a3039b9c83aa9960816a (2026-08-23)"
+ },
+ "officialTemplate": "audio-chatterbox_tts_dialog",
+ "graph": {
+ "1": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "speaker_a.wav"
+ }
+ },
+ "2": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "speaker_b.wav"
+ }
+ },
+ "3": {
+ "class_type": "FL_ChatterboxDialogTTS",
+ "inputs": {
+ "dialog_text": "SPEAKER A: Did you see the new trailer?\nSPEAKER B: I did, the lighting was unreal.",
+ "speaker_A_Audio": [
+ "1",
+ 0
+ ],
+ "speaker_B_Audio": [
+ "2",
+ 0
+ ],
+ "exaggeration": 0.5,
+ "cfg_weight": 0.5,
+ "temperature": 0.8,
+ "seed": 0,
+ "use_cpu": false,
+ "keep_model_loaded": false
+ }
+ },
+ "4": {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": [
+ "3",
+ 0
+ ],
+ "filename_prefix": "fuobe/tts-dialog-chatterbox",
+ "quality": "V0"
+ }
+ }
+ },
+ "bindings": {
+ "text": [
+ {
+ "node": "3",
+ "input": "dialog_text"
+ }
+ ],
+ "voiceAudio": [
+ {
+ "node": "1",
+ "input": "audio"
+ }
+ ],
+ "voiceAudio2": [
+ {
+ "node": "2",
+ "input": "audio"
+ }
+ ],
+ "seed": [
+ {
+ "node": "3",
+ "input": "seed"
+ }
+ ],
+ "exaggeration": [
+ {
+ "node": "3",
+ "input": "exaggeration"
+ }
+ ],
+ "cfgWeight": [
+ {
+ "node": "3",
+ "input": "cfg_weight"
+ }
+ ],
+ "temperature": [
+ {
+ "node": "3",
+ "input": "temperature"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "4",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "4",
+ "kind": "audio"
+ }
+ ],
+ "models": [
+ {
+ "file": "t3_cfg.safetensors",
+ "url": "https://huggingface.co/ResembleAI/chatterbox/resolve/main/t3_cfg.safetensors",
+ "folder": "custom (models/chatterbox/chatterbox, auto-download via hf_hub_download)",
+ "sizeGB": 2.13
+ },
+ {
+ "file": "s3gen.safetensors",
+ "url": "https://huggingface.co/ResembleAI/chatterbox/resolve/main/s3gen.safetensors",
+ "folder": "custom (models/chatterbox/chatterbox, auto-download via hf_hub_download)",
+ "sizeGB": 1.06
+ },
+ {
+ "file": "ve.safetensors",
+ "url": "https://huggingface.co/ResembleAI/chatterbox/resolve/main/ve.safetensors",
+ "folder": "custom (models/chatterbox/chatterbox, auto-download via hf_hub_download)",
+ "note": "plus tokenizer.json, conds.pt",
+ "sizeGB": 0.01
+ }
+ ],
+ "vramGB": 6,
+ "license": "Chatterbox weights MIT (pack repo has no LICENSE file)",
+ "notes": "Lines must start with 'SPEAKER A:' / 'SPEAKER B:' (C, D need speaker_C_Audio / speaker_D_Audio). Outputs: dialog_audio (0) plus per-speaker stems (1-4) - useful for multi-person lipsync (InfiniteTalk multi). Uses the English ChatterboxTTS model.",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "AUDIO:AUDIO"
+ ]
+ },
+ {
+ "class_type": "FL_ChatterboxDialogTTS",
+ "inputs": {
+ "dialog_text": {
+ "type": "STRING",
+ "default": "SPEAKER A: Test test\nSPEAKER B: 1 2 3",
+ "multiline": true
+ },
+ "speaker_A_Audio": {
+ "type": "AUDIO"
+ },
+ "speaker_B_Audio": {
+ "type": "AUDIO"
+ },
+ "exaggeration": {
+ "type": "FLOAT",
+ "default": 0.5,
+ "min": 0.25,
+ "max": 2.0,
+ "step": 0.05
+ },
+ "cfg_weight": {
+ "type": "FLOAT",
+ "default": 0.5,
+ "min": 0.2,
+ "max": 1.0,
+ "step": 0.05
+ },
+ "temperature": {
+ "type": "FLOAT",
+ "default": 0.8,
+ "min": 0.05,
+ "max": 5.0,
+ "step": 0.05
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 4294967295
+ },
+ "speaker_C_Audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "speaker_D_Audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "use_cpu": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ },
+ "keep_model_loaded": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ }
+ },
+ "outputs": [
+ "AUDIO:dialog_audio",
+ "AUDIO:speaker_a_audio",
+ "AUDIO:speaker_b_audio",
+ "AUDIO:speaker_c_audio",
+ "AUDIO:speaker_d_audio",
+ "STRING:message"
+ ]
+ },
+ {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": {
+ "type": "AUDIO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "audio/ComfyUI",
+ "multiline": false
+ },
+ "quality": {
+ "type": "COMBO",
+ "options": [
+ "V0",
+ "128k",
+ "320k"
+ ],
+ "default": "V0"
+ }
+ },
+ "outputs": [
+ "AUDIO:audio"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "VibeVoice 1.5B / 7B (VibeVoiceTTS, wildminder pack) - long-form 4-speaker",
+ "nodePack": {
+ "url": "https://github.com/wildminder/ComfyUI-VibeVoice",
+ "ref": "de6ee6bf81ba426a8a20e362fd26f2d58ea68950 (2026-10-09)"
+ },
+ "extraNodePacks": [
+ {
+ "url": "https://github.com/Enemyx-net/VibeVoice-ComfyUI",
+ "ref": "b0a8efc23c9d902d7ebd8fe3f79515a23d343bc2 (2026-02-18)"
+ },
+ {
+ "url": "https://github.com/diodiogod/TTS-Audio-Suite",
+ "ref": "3f3832a088a80bc7bcee7f69471bcda8c4185985 (v5.10.3, 2026-10-16)"
+ }
+ ],
+ "graph": {
+ "1": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "speaker_1.wav"
+ }
+ },
+ "2": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "speaker_2.wav"
+ }
+ },
+ "3": {
+ "class_type": "VibeVoiceTTS",
+ "inputs": {
+ "model_name": "VibeVoice-1.5B",
+ "text": "[1] Welcome back to the show.\n[2] Thanks, great to be here.",
+ "quantize_llm_4bit": false,
+ "attention_mode": "sdpa",
+ "cfg_scale": 1.3,
+ "inference_steps": 10,
+ "seed": 42,
+ "do_sample": true,
+ "temperature": 0.95,
+ "top_p": 0.95,
+ "top_k": 0,
+ "max_new_tokens": 0,
+ "force_offload": false,
+ "device": "auto",
+ "dtype": "auto",
+ "voice_preset": "None",
+ "speaker_1_voice": [
+ "1",
+ 0
+ ],
+ "speaker_2_voice": [
+ "2",
+ 0
+ ]
+ }
+ },
+ "4": {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": [
+ "3",
+ 0
+ ],
+ "filename_prefix": "fuobe/tts-dialog-vibevoice",
+ "quality": "V0"
+ }
+ }
+ },
+ "bindings": {
+ "text": [
+ {
+ "node": "3",
+ "input": "text"
+ }
+ ],
+ "voiceAudio": [
+ {
+ "node": "1",
+ "input": "audio"
+ }
+ ],
+ "voiceAudio2": [
+ {
+ "node": "2",
+ "input": "audio"
+ }
+ ],
+ "seed": [
+ {
+ "node": "3",
+ "input": "seed"
+ }
+ ],
+ "model": [
+ {
+ "node": "3",
+ "input": "model_name"
+ }
+ ],
+ "cfgScale": [
+ {
+ "node": "3",
+ "input": "cfg_scale"
+ }
+ ],
+ "steps": [
+ {
+ "node": "3",
+ "input": "inference_steps"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "4",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "4",
+ "kind": "audio"
+ }
+ ],
+ "models": [
+ {
+ "file": "model-00001-of-00003.safetensors",
+ "url": "https://huggingface.co/microsoft/VibeVoice-1.5B/resolve/main/model-00001-of-00003.safetensors",
+ "folder": "custom (models/tts/VibeVoice/<model_name>, auto-download)",
+ "note": "3 shards, 5.41 GB total",
+ "sizeGB": 1.98
+ },
+ {
+ "file": "model-00002-of-00003.safetensors",
+ "url": "https://huggingface.co/microsoft/VibeVoice-1.5B/resolve/main/model-00002-of-00003.safetensors",
+ "folder": "custom (models/tts/VibeVoice/<model_name>, auto-download)",
+ "sizeGB": 1.98
+ },
+ {
+ "file": "model-00003-of-00003.safetensors",
+ "url": "https://huggingface.co/microsoft/VibeVoice-1.5B/resolve/main/model-00003-of-00003.safetensors",
+ "folder": "custom (models/tts/VibeVoice/<model_name>, auto-download)",
+ "sizeGB": 1.45
+ }
+ ],
+ "vramGB": 10,
+ "license": "MIT weights, but the model card restricts use to research ('not recommended in commercial or real-world applications'); 7B mirror aoi-ot/VibeVoice-Large (18.7 GB)",
+ "notes": "Script uses '[1] ...' or 'Speaker 1: ...' lines; speaker_N_voice anchors each speaker. quantize_llm_4bit=true fits 7B in ~10 GB. requirements.txt omits gguf - `pip install gguf` or the pack fails to import (found during validation).",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "AUDIO:AUDIO"
+ ]
+ },
+ {
+ "class_type": "VibeVoiceTTS",
+ "inputs": {
+ "model_name": {
+ "type": "COMBO",
+ "options": [
+ "VibeVoice-1.5B",
+ "VibeVoice-7B",
+ "VibeVoice-Realtime-0.5B"
+ ],
+ "default": "VibeVoice-1.5B"
+ },
+ "text": {
+ "type": "STRING",
+ "default": "[1] Hello, this is a cloned voice.\n[2] And this is a generated voice, how cool is that?",
+ "multiline": true
+ },
+ "quantize_llm_4bit": {
+ "type": "BOOLEAN",
+ "default": false
+ },
+ "attention_mode": {
+ "type": "COMBO",
+ "options": [
+ "eager",
+ "sdpa"
+ ],
+ "default": "sdpa"
+ },
+ "cfg_scale": {
+ "type": "FLOAT",
+ "default": 1.3,
+ "min": 0.1,
+ "max": 50.0,
+ "step": 0.05
+ },
+ "inference_steps": {
+ "type": "INT",
+ "default": 10,
+ "min": 1,
+ "max": 500
+ },
+ "seed": {
+ "type": "INT",
+ "default": 42,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "do_sample": {
+ "type": "BOOLEAN",
+ "default": true
+ },
+ "temperature": {
+ "type": "FLOAT",
+ "default": 0.95,
+ "min": 0.0,
+ "max": 2.0,
+ "step": 0.01
+ },
+ "top_p": {
+ "type": "FLOAT",
+ "default": 0.95,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ },
+ "top_k": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 500,
+ "step": 1
+ },
+ "max_new_tokens": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 8192,
+ "step": 1
+ },
+ "force_offload": {
+ "type": "BOOLEAN",
+ "default": false
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "cpu",
+ "auto"
+ ],
+ "default": "cpu"
+ },
+ "dtype": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ "bf16",
+ "fp16",
+ "fp32"
+ ],
+ "default": "auto"
+ },
+ "voice_preset": {
+ "type": "COMBO",
+ "options": [
+ "None"
+ ],
+ "default": "None"
+ },
+ "external_model": {
+ "type": "VIBEVOICE_MODEL",
+ "optional": true
+ },
+ "speaker_1_voice": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "speaker_2_voice": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "speaker_3_voice": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "speaker_4_voice": {
+ "type": "AUDIO",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "AUDIO:Audio"
+ ]
+ },
+ {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": {
+ "type": "AUDIO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "audio/ComfyUI",
+ "multiline": false
+ },
+ "quality": {
+ "type": "COMBO",
+ "options": [
+ "V0",
+ "128k",
+ "320k"
+ ],
+ "default": "V0"
+ }
+ },
+ "outputs": [
+ "AUDIO:audio"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "MOSS-TTSD 8B (1-5 speakers) via TTS-Audio-Suite MossTTSEngineNode",
+ "nodePack": {
+ "url": "https://github.com/diodiogod/TTS-Audio-Suite",
+ "ref": "3f3832a088a80bc7bcee7f69471bcda8c4185985 (v5.10.3, 2026-10-16)"
+ },
+ "license": "Apache-2.0",
+ "vramGB": 20,
+ "notes": "Commercially clean long dialogue; large (8.5 GB tokenizer + ~18 GB model).",
+ "models": []
+ },
+ {
+ "name": "Fish Audio S2 Pro (FishAudioS2EngineNode)",
+ "nodePack": {
+ "url": "https://github.com/diodiogod/TTS-Audio-Suite",
+ "ref": "3f3832a088a80bc7bcee7f69471bcda8c4185985 (v5.10.3, 2026-10-16)"
+ },
+ "license": "Fish Audio Research License (non-commercial)",
+ "vramGB": 12,
+ "notes": "Native multi-turn dialogue, 80+ languages.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": [
+ "Chatterbox dialog is English-model only; for other languages render each line with FL_ChatterboxMultilingualTTS and AudioConcat."
+ ]
+ },
+ {
+ "id": "voice-change",
+ "title": "Voice conversion (speech-to-speech) to a target voice",
+ "gap": 2,
+ "higgsfield": "Voice changer / dub in another voice",
+ "summary": "Chatterbox VC (MIT, official template audio-chatterbox_vc) is zero-shot from a short target clip and keeps timing. Seed-VC has better timbre similarity and a singing model but is GPL-3.0 and its ComfyUI pack is stale; RVC needs a per-voice trained model.",
+ "recommended": {
+ "name": "Chatterbox VC (FL_ChatterboxVC) - zero-shot",
+ "nodePack": {
+ "url": "https://github.com/filliptm/ComfyUI_Fill-ChatterBox",
+ "ref": "f7d7a16187430abcaf91a3039b9c83aa9960816a (2026-08-23)"
+ },
+ "officialTemplate": "audio-chatterbox_vc",
+ "graph": {
+ "1": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "source_performance.wav"
+ }
+ },
+ "2": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "target_voice.wav"
+ }
+ },
+ "3": {
+ "class_type": "FL_ChatterboxVC",
+ "inputs": {
+ "input_audio": [
+ "1",
+ 0
+ ],
+ "target_voice": [
+ "2",
+ 0
+ ],
+ "seed": 0,
+ "use_cpu": false,
+ "keep_model_loaded": false
+ }
+ },
+ "4": {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": [
+ "3",
+ 0
+ ],
+ "filename_prefix": "fuobe/voice-change-chatterbox",
+ "quality": "V0"
+ }
+ }
+ },
+ "bindings": {
+ "audio": [
+ {
+ "node": "1",
+ "input": "audio"
+ }
+ ],
+ "voiceAudio": [
+ {
+ "node": "2",
+ "input": "audio"
+ }
+ ],
+ "seed": [
+ {
+ "node": "3",
+ "input": "seed"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "4",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "4",
+ "kind": "audio"
+ }
+ ],
+ "models": [
+ {
+ "file": "s3gen.pt",
+ "url": "https://huggingface.co/ResembleAI/chatterbox/resolve/main/s3gen.pt",
+ "folder": "custom (models/chatterbox/chatterbox_vc, auto-download via hf_hub_download)",
+ "note": "plus conds.pt",
+ "sizeGB": 1.06
+ }
+ ],
+ "vramGB": 3,
+ "license": "Chatterbox weights MIT (pack repo has no LICENSE file)",
+ "notes": "input_audio = performance to convert (keeps timing/prosody), target_voice = 5-15 s of the desired voice. For videos: GetVideoComponents.audio -> FL_ChatterboxVC -> CreateVideo(audio=...) to re-voice a clip in one graph.",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "AUDIO:AUDIO"
+ ]
+ },
+ {
+ "class_type": "FL_ChatterboxVC",
+ "inputs": {
+ "input_audio": {
+ "type": "AUDIO"
+ },
+ "target_voice": {
+ "type": "AUDIO"
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 4294967295
+ },
+ "use_cpu": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ },
+ "keep_model_loaded": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ }
+ },
+ "outputs": [
+ "AUDIO:audio",
+ "STRING:message"
+ ]
+ },
+ {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": {
+ "type": "AUDIO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "audio/ComfyUI",
+ "multiline": false
+ },
+ "quality": {
+ "type": "COMBO",
+ "options": [
+ "V0",
+ "128k",
+ "320k"
+ ],
+ "default": "V0"
+ }
+ },
+ "outputs": [
+ "AUDIO:audio"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "Seed-VC (SeedVCNode / SeedVC4SingNode, AIFSH pack)",
+ "nodePack": {
+ "url": "https://github.com/AIFSH/SeedVC-ComfyUI",
+ "ref": "10731e18e28ccd4d73f87423a7f2a645ce3e6555 (2024-11-14, stale)"
+ },
+ "graph": {
+ "1": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "source_performance.wav"
+ }
+ },
+ "2": {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": "target_voice.wav"
+ }
+ },
+ "3": {
+ "class_type": "SeedVCNode",
+ "inputs": {
+ "source": [
+ "1",
+ 0
+ ],
+ "target": [
+ "2",
+ 0
+ ],
+ "diffusion_steps": 25,
+ "length_adjust": 1.0,
+ "inference_cfg_rate": 0.7
+ }
+ },
+ "4": {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": [
+ "3",
+ 0
+ ],
+ "filename_prefix": "fuobe/voice-change-seedvc",
+ "quality": "V0"
+ }
+ }
+ },
+ "bindings": {
+ "audio": [
+ {
+ "node": "1",
+ "input": "audio"
+ }
+ ],
+ "voiceAudio": [
+ {
+ "node": "2",
+ "input": "audio"
+ }
+ ],
+ "steps": [
+ {
+ "node": "3",
+ "input": "diffusion_steps"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "4",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "4",
+ "kind": "audio"
+ }
+ ],
+ "models": [
+ {
+ "file": "DiT_seed_v2_uvit_whisper_small_wavenet_bigvgan_pruned.pth",
+ "url": "https://huggingface.co/Plachta/Seed-VC/resolve/main/DiT_seed_v2_uvit_whisper_small_wavenet_bigvgan_pruned.pth",
+ "folder": "custom (models/AIFSH/seed-vc, snapshot_download)",
+ "note": "speech model; singing model DiT_seed_v2_uvit_whisper_base_f0_44k_bigvgan_pruned_ft_ema.pth; also funasr/campplus, nvidia/bigvgan_v2_22khz_80band_256x, openai/whisper-small",
+ "sizeGB": 0.44
+ }
+ ],
+ "vramGB": 6,
+ "license": "GPL-3.0 (code and weights)",
+ "notes": "SeedVCNode(source, target, diffusion_steps=10 (50-100 best), length_adjust=1.0, inference_cfg_rate=0.7); SeedVC4SingNode adds pitch_shift, auto_f0_adjust (44 kHz singing). Pack last updated 2024-11-14 - pin and test before use.",
+ "inferred": [
+ "graph not POSTed (pack not installed); inputs read from __init__.py"
+ ],
+ "validation": {
+ "postPrompt": null,
+ "bindingIssues": [],
+ "error": "not validated (node pack not installed on the validation server)"
+ },
+ "nodes": [
+ {
+ "class_type": "LoadAudio",
+ "inputs": {
+ "audio": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "AUDIO:AUDIO"
+ ]
+ },
+ {
+ "class_type": "SeedVCNode",
+ "note": "not registered on the validation server; inputs transcribed from source",
+ "inputs": {
+ "source": {
+ "type": "AUDIO"
+ },
+ "target": {
+ "type": "AUDIO"
+ },
+ "diffusion_steps": {
+ "type": "INT",
+ "default": 10
+ },
+ "length_adjust": {
+ "type": "FLOAT",
+ "default": 1.0
+ },
+ "inference_cfg_rate": {
+ "type": "FLOAT",
+ "default": 0.7
+ }
+ },
+ "outputs": [
+ "AUDIO"
+ ],
+ "source": "AIFSH/SeedVC-ComfyUI __init__.py INPUT_TYPES (SeedVC4SingNode adds pitch_shift INT=0, auto_f0_adjust BOOLEAN=True)"
+ },
+ {
+ "class_type": "SaveAudioMP3",
+ "inputs": {
+ "audio": {
+ "type": "AUDIO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "audio/ComfyUI",
+ "multiline": false
+ },
+ "quality": {
+ "type": "COMBO",
+ "options": [
+ "V0",
+ "128k",
+ "320k"
+ ],
+ "default": "V0"
+ }
+ },
+ "outputs": [
+ "AUDIO:audio"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "RVC via TTS-Audio-Suite (LoadRVCModelNode + RVCEngineNode -> UnifiedVoiceChangerNode)",
+ "nodePack": {
+ "url": "https://github.com/diodiogod/TTS-Audio-Suite",
+ "ref": "3f3832a088a80bc7bcee7f69471bcda8c4185985 (v5.10.3, 2026-10-16)"
+ },
+ "vramGB": 4,
+ "license": "MIT framework; community .pth voices vary (many unlicensed)",
+ "notes": "UnifiedVoiceChangerNode(TTS_engine, source_audio, narrator_target, refinement_passes=1, max_chunk_duration=30, chunk_method=smart); RVCEngineNode(pitch, index_ratio=0.75, consonant_protection=0.25, ...); suite also trains RVC models (RVCDatasetPrepNode/RVCTrainingConfigNode/UnifiedModelTrainingNode). Use when a user trains a persistent voice.",
+ "models": []
+ },
+ {
+ "name": "CosyVoice3 0.5B VC (CosyVoiceEngineNode -> UnifiedVoiceChangerNode)",
+ "nodePack": {
+ "url": "https://github.com/diodiogod/TTS-Audio-Suite",
+ "ref": "3f3832a088a80bc7bcee7f69471bcda8c4185985 (v5.10.3, 2026-10-16)"
+ },
+ "license": "Apache-2.0",
+ "vramGB": 6,
+ "notes": "Commercially clean alternative zero-shot VC.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": [
+ "Same consent/abuse controls as cloning TTS."
+ ]
+ },
+ {
+ "id": "video-extend",
+ "title": "Video extend (continue an existing clip)",
+ "gap": 3,
+ "higgsfield": "Extend video / continue generation",
+ "summary": "Best commercially clean option: Wan 2.2 Fun VACE A14B continuation - the last N frames of the clip are passed as known VACE frames (mask 0) and the rest is generated (mask 1), then KJNodes ImageBatchExtendWithOverlap cross-fades the overlap. SVI 2.0 Pro (Wan 2.2 I2V + SVI LoRAs, MIT) is the long-form pick with less drift over many chunks; Wan 2.2 I2V with a multi-frame start_image is the zero-new-model fallback.",
+ "recommended": {
+ "name": "Wan 2.2 Fun VACE A14B context-frame continuation (+ lightx2v 4-step) with overlap blend",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "extraNodePacks": [
+ {
+ "url": "https://github.com/kijai/ComfyUI-KJNodes",
+ "ref": "17195fcfa8a05f601b766a0f09c9733284f47416 (2026-10-15)"
+ }
+ ],
+ "officialTemplate": "pattern from template_sirolim_seamless_loop / video_wan_vace_* (WanVaceToVideo control_video + control_masks)",
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": [
+ "2",
+ 0
+ ],
+ "upscale_method": "lanczos",
+ "width": 640,
+ "height": 640,
+ "crop": "center"
+ }
+ },
+ "4": {
+ "class_type": "ImageFromBatch",
+ "inputs": {
+ "image": [
+ "3",
+ 0
+ ],
+ "batch_index": -16,
+ "length": 16
+ }
+ },
+ "5": {
+ "class_type": "EmptyImage",
+ "inputs": {
+ "width": 640,
+ "height": 640,
+ "batch_size": 65,
+ "color": 8355711
+ }
+ },
+ "6": {
+ "class_type": "BatchImagesNode",
+ "inputs": {
+ "images.image0": [
+ "4",
+ 0
+ ],
+ "images.image1": [
+ "5",
+ 0
+ ]
+ }
+ },
+ "7": {
+ "class_type": "EmptyImage",
+ "inputs": {
+ "width": 640,
+ "height": 640,
+ "batch_size": 16,
+ "color": 0
+ }
+ },
+ "8": {
+ "class_type": "EmptyImage",
+ "inputs": {
+ "width": 640,
+ "height": 640,
+ "batch_size": 65,
+ "color": 16777215
+ }
+ },
+ "9": {
+ "class_type": "BatchImagesNode",
+ "inputs": {
+ "images.image0": [
+ "7",
+ 0
+ ],
+ "images.image1": [
+ "8",
+ 0
+ ]
+ }
+ },
+ "10": {
+ "class_type": "ImageToMask",
+ "inputs": {
+ "image": [
+ "9",
+ 0
+ ],
+ "channel": "red"
+ }
+ },
+ "14": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "wan_2.1_vae.safetensors"
+ }
+ },
+ "11": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "type": "wan",
+ "device": "default"
+ }
+ },
+ "12": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "The camera keeps tracking the runner as she crosses the bridge at sunset.",
+ "clip": [
+ "11",
+ 0
+ ]
+ }
+ },
+ "13": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
+ "clip": [
+ "11",
+ 0
+ ]
+ }
+ },
+ "15": {
+ "class_type": "WanVaceToVideo",
+ "inputs": {
+ "positive": [
+ "12",
+ 0
+ ],
+ "negative": [
+ "13",
+ 0
+ ],
+ "vae": [
+ "14",
+ 0
+ ],
+ "width": 640,
+ "height": 640,
+ "length": 81,
+ "batch_size": 1,
+ "strength": 1.0,
+ "control_video": [
+ "6",
+ 0
+ ],
+ "control_masks": [
+ "10",
+ 0
+ ]
+ }
+ },
+ "16": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "17": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "18": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "16",
+ 0
+ ],
+ "lora_name": "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "19": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "17",
+ 0
+ ],
+ "lora_name": "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "20": {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": [
+ "18",
+ 0
+ ],
+ "shift": 5.0
+ }
+ },
+ "21": {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": [
+ "19",
+ 0
+ ],
+ "shift": 5.0
+ }
+ },
+ "22": {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": [
+ "20",
+ 0
+ ],
+ "add_noise": "enable",
+ "noise_seed": 0,
+ "steps": 4,
+ "cfg": 1.0,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "positive": [
+ "15",
+ 0
+ ],
+ "negative": [
+ "15",
+ 1
+ ],
+ "latent_image": [
+ "15",
+ 2
+ ],
+ "start_at_step": 0,
+ "end_at_step": 2,
+ "return_with_leftover_noise": "enable"
+ }
+ },
+ "23": {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": [
+ "21",
+ 0
+ ],
+ "add_noise": "disable",
+ "noise_seed": 0,
+ "steps": 4,
+ "cfg": 1.0,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "positive": [
+ "15",
+ 0
+ ],
+ "negative": [
+ "15",
+ 1
+ ],
+ "latent_image": [
+ "22",
+ 0
+ ],
+ "start_at_step": 2,
+ "end_at_step": 10000,
+ "return_with_leftover_noise": "disable"
+ }
+ },
+ "24": {
+ "class_type": "TrimVideoLatent",
+ "inputs": {
+ "samples": [
+ "23",
+ 0
+ ],
+ "trim_amount": [
+ "15",
+ 3
+ ]
+ }
+ },
+ "25": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "24",
+ 0
+ ],
+ "vae": [
+ "14",
+ 0
+ ]
+ }
+ },
+ "26": {
+ "class_type": "ImageBatchExtendWithOverlap",
+ "inputs": {
+ "source_images": [
+ "3",
+ 0
+ ],
+ "overlap": 16,
+ "overlap_side": "source",
+ "overlap_mode": "linear_blend",
+ "new_images": [
+ "25",
+ 0
+ ]
+ }
+ },
+ "27": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "26",
+ 2
+ ],
+ "fps": 16.0,
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "28": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "27",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-extend-vace22",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "12",
+ "input": "text"
+ }
+ ],
+ "negativePrompt": [
+ {
+ "node": "13",
+ "input": "text"
+ }
+ ],
+ "width": [
+ {
+ "node": "3",
+ "input": "width"
+ },
+ {
+ "node": "5",
+ "input": "width"
+ },
+ {
+ "node": "7",
+ "input": "width"
+ },
+ {
+ "node": "8",
+ "input": "width"
+ },
+ {
+ "node": "15",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "3",
+ "input": "height"
+ },
+ {
+ "node": "5",
+ "input": "height"
+ },
+ {
+ "node": "7",
+ "input": "height"
+ },
+ {
+ "node": "8",
+ "input": "height"
+ },
+ {
+ "node": "15",
+ "input": "height"
+ }
+ ],
+ "frames": [
+ {
+ "node": "15",
+ "input": "length"
+ }
+ ],
+ "contextFrames": [
+ {
+ "node": "4",
+ "input": "length"
+ },
+ {
+ "node": "7",
+ "input": "batch_size"
+ },
+ {
+ "node": "26",
+ "input": "overlap"
+ }
+ ],
+ "contextFramesNegative": [
+ {
+ "node": "4",
+ "input": "batch_index"
+ }
+ ],
+ "newFrames": [
+ {
+ "node": "5",
+ "input": "batch_size"
+ },
+ {
+ "node": "8",
+ "input": "batch_size"
+ }
+ ],
+ "fps": [
+ {
+ "node": "27",
+ "input": "fps"
+ }
+ ],
+ "seed": [
+ {
+ "node": "22",
+ "input": "noise_seed"
+ },
+ {
+ "node": "23",
+ "input": "noise_seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "22",
+ "input": "steps"
+ },
+ {
+ "node": "23",
+ "input": "steps"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "22",
+ "input": "cfg"
+ },
+ {
+ "node": "23",
+ "input": "cfg"
+ }
+ ],
+ "shift": [
+ {
+ "node": "20",
+ "input": "shift"
+ },
+ {
+ "node": "21",
+ "input": "shift"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "28",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "28",
+ "kind": "video"
+ }
+ ],
+ "defaults": {
+ "width": 640,
+ "height": 640,
+ "frames": 81,
+ "contextFrames": 16,
+ "contextFramesNegative": -16,
+ "newFrames": 65,
+ "fps": 16,
+ "steps": 4,
+ "cfg": 1,
+ "shift": 5
+ },
+ "limits": {
+ "maxWidth": 1280,
+ "maxHeight": 1280,
+ "maxFrames": 121,
+ "dimensionMultiple": 16
+ },
+ "models": [
+ {
+ "file": "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 17.35
+ },
+ {
+ "file": "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 17.35
+ },
+ {
+ "file": "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 6.74
+ },
+ {
+ "file": "wan_2.1_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ }
+ ],
+ "vramGB": 24,
+ "license": "Apache-2.0 (Wan 2.2 Fun VACE, lightx2v LoRAs)",
+ "notes": "Derived keys: newFrames = frames - contextFrames, contextFramesNegative = -contextFrames (ImageFromBatch accepts negative batch_index = from the end; verified in comfy_extras/nodes_images.py). Output = original clip (resized to width x height) + new frames, overlap linear-blended; each run adds frames-contextFrames frames (65 = ~4 s at 16 fps) - loop the job for longer. Input clip should be 16 fps (Wan native); resample client-side first. Mask colors: EmptyImage color 8355711 = 0x7F7F7F gray fill, 0 = keep, 16777215 = generate (ImageToMask red channel).",
+ "inferred": [
+ "Wan 2.2 Fun VACE accepts the Wan 2.2 T2V lightx2v 4-step LoRAs (same A14B T2V base) - quality not tested",
+ "shift 5 / 4 steps / split 2 copied from the library's wan22 lightx2v workflows"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "upscale_method": {
+ "type": "COMBO",
+ "options": [
+ "nearest-exact",
+ "bilinear",
+ "area",
+ "bicubic",
+ "lanczos"
+ ]
+ },
+ "width": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "height": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "crop": {
+ "type": "COMBO",
+ "options": [
+ "disabled",
+ "center"
+ ]
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "ImageFromBatch",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "batch_index": {
+ "type": "INT",
+ "default": 0,
+ "min": -16384,
+ "max": 16384
+ },
+ "length": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "EmptyImage",
+ "inputs": {
+ "width": {
+ "type": "INT",
+ "default": 512,
+ "min": 1,
+ "max": 16384,
+ "step": 1
+ },
+ "height": {
+ "type": "INT",
+ "default": 512,
+ "min": 1,
+ "max": 16384,
+ "step": 1
+ },
+ "batch_size": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ },
+ "color": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 16777215,
+ "step": 1
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "BatchImagesNode",
+ "inputs": {
+ "images": {
+ "type": "COMFY_AUTOGROW_V3"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "ImageToMask",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "channel": {
+ "type": "COMBO",
+ "options": [
+ "red",
+ "green",
+ "blue",
+ "alpha"
+ ]
+ }
+ },
+ "outputs": [
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "clip": {
+ "type": "CLIP"
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "WanVaceToVideo",
+ "inputs": {
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "vae": {
+ "type": "VAE"
+ },
+ "width": {
+ "type": "INT",
+ "default": 832,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "height": {
+ "type": "INT",
+ "default": 480,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "length": {
+ "type": "INT",
+ "default": 81,
+ "min": 1,
+ "max": 16384,
+ "step": 4
+ },
+ "batch_size": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ },
+ "strength": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1000.0,
+ "step": 0.01
+ },
+ "control_video": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "control_masks": {
+ "type": "MASK",
+ "optional": true
+ },
+ "reference_image": {
+ "type": "IMAGE",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:positive",
+ "CONDITIONING:negative",
+ "LATENT:latent",
+ "INT:trim_latent"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 3.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "add_noise": {
+ "type": "COMBO",
+ "options": [
+ "enable",
+ "disable"
+ ]
+ },
+ "noise_seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "start_at_step": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 10000
+ },
+ "end_at_step": {
+ "type": "INT",
+ "default": 10000,
+ "min": 0,
+ "max": 10000
+ },
+ "return_with_leftover_noise": {
+ "type": "COMBO",
+ "options": [
+ "disable",
+ "enable"
+ ]
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "TrimVideoLatent",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "trim_amount": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 99999
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "ImageBatchExtendWithOverlap",
+ "inputs": {
+ "source_images": {
+ "type": "IMAGE"
+ },
+ "overlap": {
+ "type": "INT",
+ "default": 13,
+ "min": 1,
+ "max": 4096,
+ "step": 1
+ },
+ "overlap_side": {
+ "type": "COMBO",
+ "options": [
+ "source",
+ "new_images"
+ ],
+ "default": "source"
+ },
+ "overlap_mode": {
+ "type": "COMBO",
+ "options": [
+ "cut",
+ "linear_blend",
+ "ease_in_out",
+ "filmic_crossfade",
+ "perceptual_crossfade"
+ ],
+ "default": "linear_blend"
+ },
+ "new_images": {
+ "type": "IMAGE",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "IMAGE:source_images",
+ "IMAGE:start_images",
+ "IMAGE:extended_images"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "SVI 2.0 Pro (Stable Video Infinity) on Wan 2.2 I2V A14B - KJNodes WanImageToVideoSVIPro",
+ "nodePack": {
+ "url": "https://github.com/kijai/ComfyUI-KJNodes",
+ "ref": "17195fcfa8a05f601b766a0f09c9733284f47416 (2026-10-15)"
+ },
+ "extraNodePacks": [
+ {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ }
+ ],
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": [
+ "2",
+ 0
+ ],
+ "upscale_method": "lanczos",
+ "width": 640,
+ "height": 640,
+ "crop": "center"
+ }
+ },
+ "4": {
+ "class_type": "ImageFromBatch",
+ "inputs": {
+ "image": [
+ "3",
+ 0
+ ],
+ "batch_index": 0,
+ "length": 1
+ }
+ },
+ "5": {
+ "class_type": "ImageFromBatch",
+ "inputs": {
+ "image": [
+ "3",
+ 0
+ ],
+ "batch_index": -5,
+ "length": 5
+ }
+ },
+ "6": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "wan_2.1_vae.safetensors"
+ }
+ },
+ "7": {
+ "class_type": "VAEEncode",
+ "inputs": {
+ "pixels": [
+ "4",
+ 0
+ ],
+ "vae": [
+ "6",
+ 0
+ ]
+ }
+ },
+ "8": {
+ "class_type": "VAEEncode",
+ "inputs": {
+ "pixels": [
+ "5",
+ 0
+ ],
+ "vae": [
+ "6",
+ 0
+ ]
+ }
+ },
+ "9": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "type": "wan",
+ "device": "default"
+ }
+ },
+ "10": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "The camera keeps tracking the runner as she crosses the bridge at sunset.",
+ "clip": [
+ "9",
+ 0
+ ]
+ }
+ },
+ "11": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
+ "clip": [
+ "9",
+ 0
+ ]
+ }
+ },
+ "12": {
+ "class_type": "WanImageToVideoSVIPro",
+ "inputs": {
+ "positive": [
+ "10",
+ 0
+ ],
+ "negative": [
+ "11",
+ 0
+ ],
+ "length": 81,
+ "anchor_samples": [
+ "7",
+ 0
+ ],
+ "prev_samples": [
+ "8",
+ 0
+ ],
+ "motion_latent_count": 1
+ }
+ },
+ "13": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "14": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "15": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "13",
+ 0
+ ],
+ "lora_name": "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "16": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "15",
+ 0
+ ],
+ "lora_name": "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "17": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "14",
+ 0
+ ],
+ "lora_name": "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "18": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "17",
+ 0
+ ],
+ "lora_name": "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "19": {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": [
+ "16",
+ 0
+ ],
+ "shift": 5.0
+ }
+ },
+ "20": {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": [
+ "18",
+ 0
+ ],
+ "shift": 5.0
+ }
+ },
+ "21": {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": [
+ "19",
+ 0
+ ],
+ "add_noise": "enable",
+ "noise_seed": 0,
+ "steps": 4,
+ "cfg": 1.0,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "positive": [
+ "12",
+ 0
+ ],
+ "negative": [
+ "12",
+ 1
+ ],
+ "latent_image": [
+ "12",
+ 2
+ ],
+ "start_at_step": 0,
+ "end_at_step": 2,
+ "return_with_leftover_noise": "enable"
+ }
+ },
+ "22": {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": [
+ "20",
+ 0
+ ],
+ "add_noise": "disable",
+ "noise_seed": 0,
+ "steps": 4,
+ "cfg": 1.0,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "positive": [
+ "12",
+ 0
+ ],
+ "negative": [
+ "12",
+ 1
+ ],
+ "latent_image": [
+ "21",
+ 0
+ ],
+ "start_at_step": 2,
+ "end_at_step": 10000,
+ "return_with_leftover_noise": "disable"
+ }
+ },
+ "23": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "22",
+ 0
+ ],
+ "vae": [
+ "6",
+ 0
+ ]
+ }
+ },
+ "24": {
+ "class_type": "ImageFromBatch",
+ "inputs": {
+ "image": [
+ "23",
+ 0
+ ],
+ "batch_index": 1,
+ "length": 4096
+ }
+ },
+ "25": {
+ "class_type": "ImageBatchExtendWithOverlap",
+ "inputs": {
+ "source_images": [
+ "3",
+ 0
+ ],
+ "overlap": 4,
+ "overlap_side": "source",
+ "overlap_mode": "linear_blend",
+ "new_images": [
+ "24",
+ 0
+ ]
+ }
+ },
+ "26": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "25",
+ 2
+ ],
+ "fps": 16.0,
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "27": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "26",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-extend-svi",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "10",
+ "input": "text"
+ }
+ ],
+ "negativePrompt": [
+ {
+ "node": "11",
+ "input": "text"
+ }
+ ],
+ "width": [
+ {
+ "node": "3",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "3",
+ "input": "height"
+ }
+ ],
+ "frames": [
+ {
+ "node": "12",
+ "input": "length"
+ }
+ ],
+ "fps": [
+ {
+ "node": "26",
+ "input": "fps"
+ }
+ ],
+ "seed": [
+ {
+ "node": "21",
+ "input": "noise_seed"
+ },
+ {
+ "node": "22",
+ "input": "noise_seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "21",
+ "input": "steps"
+ },
+ {
+ "node": "22",
+ "input": "steps"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "21",
+ "input": "cfg"
+ },
+ {
+ "node": "22",
+ "input": "cfg"
+ }
+ ],
+ "shift": [
+ {
+ "node": "19",
+ "input": "shift"
+ },
+ {
+ "node": "20",
+ "input": "shift"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "27",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "27",
+ "kind": "video"
+ }
+ ],
+ "defaults": {
+ "width": 640,
+ "height": 640,
+ "frames": 81,
+ "fps": 16,
+ "steps": 4,
+ "cfg": 1,
+ "shift": 5
+ },
+ "models": [
+ {
+ "file": "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 14.29
+ },
+ {
+ "file": "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 14.29
+ },
+ {
+ "file": "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/Stable-Video-Infinity/v2.0/SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/Stable-Video-Infinity/v2.0/SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 6.74
+ },
+ {
+ "file": "wan_2.1_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ }
+ ],
+ "vramGB": 24,
+ "license": "SVI LoRAs MIT (epfl-vita/svi-model); Wan 2.2 Apache-2.0",
+ "notes": "WanImageToVideoSVIPro(positive, negative, length, anchor_samples, [prev_samples], motion_latent_count=1): anchor latent = identity anchor (first frame of the source), motion latent = last latent(s) of prev_samples; only latent 0 is masked as known. For chained generation feed the previous chunk's sampler LATENT as prev_samples (no VAE round-trip). Here the source clip's last 5 frames are VAE-encoded (2 latents) and the decoded chunk's first frame (anchor) is dropped before a 4-frame overlap blend.",
+ "inferred": [
+ "Frame bookkeeping (drop 1 anchor frame, 4-frame overlap) derived from the node source, not from an official example",
+ "SVI LoRA + lightx2v stacking at strength 1.0 is community practice"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "upscale_method": {
+ "type": "COMBO",
+ "options": [
+ "nearest-exact",
+ "bilinear",
+ "area",
+ "bicubic",
+ "lanczos"
+ ]
+ },
+ "width": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "height": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "crop": {
+ "type": "COMBO",
+ "options": [
+ "disabled",
+ "center"
+ ]
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "ImageFromBatch",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "batch_index": {
+ "type": "INT",
+ "default": 0,
+ "min": -16384,
+ "max": 16384
+ },
+ "length": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "VAEEncode",
+ "inputs": {
+ "pixels": {
+ "type": "IMAGE"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "clip": {
+ "type": "CLIP"
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "WanImageToVideoSVIPro",
+ "inputs": {
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "length": {
+ "type": "INT",
+ "default": 81,
+ "min": 1,
+ "max": 16384,
+ "step": 4
+ },
+ "anchor_samples": {
+ "type": "LATENT"
+ },
+ "motion_latent_count": {
+ "type": "INT",
+ "default": 1,
+ "min": 0,
+ "max": 128,
+ "step": 1
+ },
+ "prev_samples": {
+ "type": "LATENT",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:positive",
+ "CONDITIONING:negative",
+ "LATENT:latent"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 3.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "add_noise": {
+ "type": "COMBO",
+ "options": [
+ "enable",
+ "disable"
+ ]
+ },
+ "noise_seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "start_at_step": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 10000
+ },
+ "end_at_step": {
+ "type": "INT",
+ "default": 10000,
+ "min": 0,
+ "max": 10000
+ },
+ "return_with_leftover_noise": {
+ "type": "COMBO",
+ "options": [
+ "disable",
+ "enable"
+ ]
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "ImageBatchExtendWithOverlap",
+ "inputs": {
+ "source_images": {
+ "type": "IMAGE"
+ },
+ "overlap": {
+ "type": "INT",
+ "default": 13,
+ "min": 1,
+ "max": 4096,
+ "step": 1
+ },
+ "overlap_side": {
+ "type": "COMBO",
+ "options": [
+ "source",
+ "new_images"
+ ],
+ "default": "source"
+ },
+ "overlap_mode": {
+ "type": "COMBO",
+ "options": [
+ "cut",
+ "linear_blend",
+ "ease_in_out",
+ "filmic_crossfade",
+ "perceptual_crossfade"
+ ],
+ "default": "linear_blend"
+ },
+ "new_images": {
+ "type": "IMAGE",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "IMAGE:source_images",
+ "IMAGE:start_images",
+ "IMAGE:extended_images"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Wan 2.2 I2V with multi-frame start_image (library wan22-i2v-14b-lightx2v, LoadImage -> last 5 frames)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "graph": {
+ "108": {
+ "inputs": {
+ "filename_prefix": "fuobe/video-extend-i2v-multiframe",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto",
+ "video": [
+ "129:94",
+ 0
+ ]
+ },
+ "class_type": "SaveVideo",
+ "_meta": {
+ "title": "Save Video"
+ }
+ },
+ "129:84": {
+ "inputs": {
+ "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "type": "wan",
+ "device": "default"
+ },
+ "class_type": "CLIPLoader",
+ "_meta": {
+ "title": "Load CLIP"
+ }
+ },
+ "129:85": {
+ "inputs": {
+ "add_noise": "disable",
+ "noise_seed": 0,
+ "steps": [
+ "129:118",
+ 0
+ ],
+ "cfg": [
+ "129:122",
+ 0
+ ],
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "start_at_step": [
+ "129:124",
+ 0
+ ],
+ "end_at_step": [
+ "129:118",
+ 0
+ ],
+ "return_with_leftover_noise": "disable",
+ "model": [
+ "129:103",
+ 0
+ ],
+ "positive": [
+ "129:98",
+ 0
+ ],
+ "negative": [
+ "129:98",
+ 1
+ ],
+ "latent_image": [
+ "129:86",
+ 0
+ ]
+ },
+ "class_type": "KSamplerAdvanced",
+ "_meta": {
+ "title": "KSampler (Advanced)"
+ }
+ },
+ "129:86": {
+ "inputs": {
+ "add_noise": "enable",
+ "noise_seed": 264244520398999,
+ "steps": [
+ "129:118",
+ 0
+ ],
+ "cfg": [
+ "129:122",
+ 0
+ ],
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "start_at_step": 0,
+ "end_at_step": [
+ "129:124",
+ 0
+ ],
+ "return_with_leftover_noise": "enable",
+ "model": [
+ "129:104",
+ 0
+ ],
+ "positive": [
+ "129:98",
+ 0
+ ],
+ "negative": [
+ "129:98",
+ 1
+ ],
+ "latent_image": [
+ "129:98",
+ 2
+ ]
+ },
+ "class_type": "KSamplerAdvanced",
+ "_meta": {
+ "title": "KSampler (Advanced)"
+ }
+ },
+ "129:87": {
+ "inputs": {
+ "samples": [
+ "129:85",
+ 0
+ ],
+ "vae": [
+ "129:90",
+ 0
+ ]
+ },
+ "class_type": "VAEDecode",
+ "_meta": {
+ "title": "VAE Decode"
+ }
+ },
+ "129:89": {
+ "inputs": {
+ "text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
+ "clip": [
+ "129:84",
+ 0
+ ]
+ },
+ "class_type": "CLIPTextEncode",
+ "_meta": {
+ "title": "CLIP Text Encode (Negative Prompt)"
+ }
+ },
+ "129:90": {
+ "inputs": {
+ "vae_name": "wan_2.1_vae.safetensors"
+ },
+ "class_type": "VAELoader",
+ "_meta": {
+ "title": "Load VAE"
+ }
+ },
+ "129:93": {
+ "inputs": {
+ "text": "The white dragon warrior stands still, eyes full of determination and strength. The camera slowly moves closer or circles around the warrior, highlighting the powerful presence and heroic spirit of the character.",
+ "clip": [
+ "129:84",
+ 0
+ ]
+ },
+ "class_type": "CLIPTextEncode",
+ "_meta": {
+ "title": "CLIP Text Encode (Positive Prompt)"
+ }
+ },
+ "129:94": {
+ "inputs": {
+ "fps": [
+ "129:162",
+ 0
+ ],
+ "bit_depth": 8,
+ "color_space": "sRGB",
+ "codec": "none",
+ "images": [
+ "1004",
+ 0
+ ]
+ },
+ "class_type": "CreateVideo",
+ "_meta": {
+ "title": "Create Video"
+ }
+ },
+ "129:95": {
+ "inputs": {
+ "unet_name": "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ },
+ "class_type": "UNETLoader",
+ "_meta": {
+ "title": "Load Diffusion Model"
+ }
+ },
+ "129:96": {
+ "inputs": {
+ "unet_name": "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ },
+ "class_type": "UNETLoader",
+ "_meta": {
+ "title": "Load Diffusion Model"
+ }
+ },
+ "129:98": {
+ "inputs": {
+ "width": 640,
+ "height": 640,
+ "length": 81,
+ "batch_size": 1,
+ "positive": [
+ "129:93",
+ 0
+ ],
+ "negative": [
+ "129:89",
+ 0
+ ],
+ "vae": [
+ "129:90",
+ 0
+ ],
+ "start_image": [
+ "1003",
+ 0
+ ]
+ },
+ "class_type": "WanImageToVideo",
+ "_meta": {
+ "title": "WanImageToVideo"
+ }
+ },
+ "129:101": {
+ "inputs": {
+ "lora_name": "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "strength_model": 1.0000000000000002,
+ "model": [
+ "129:95",
+ 0
+ ]
+ },
+ "class_type": "LoraLoaderModelOnly",
+ "_meta": {
+ "title": "Load LoRA"
+ }
+ },
+ "129:102": {
+ "inputs": {
+ "lora_name": "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "strength_model": 1.0000000000000002,
+ "model": [
+ "129:96",
+ 0
+ ]
+ },
+ "class_type": "LoraLoaderModelOnly",
+ "_meta": {
+ "title": "Load LoRA"
+ }
+ },
+ "129:103": {
+ "inputs": {
+ "shift": 5.000000000000001,
+ "model": [
+ "129:102",
+ 0
+ ]
+ },
+ "class_type": "ModelSamplingSD3",
+ "_meta": {
+ "title": "ModelSamplingSD3"
+ }
+ },
+ "129:104": {
+ "inputs": {
+ "shift": 5.000000000000001,
+ "model": [
+ "129:101",
+ 0
+ ]
+ },
+ "class_type": "ModelSamplingSD3",
+ "_meta": {
+ "title": "ModelSamplingSD3"
+ }
+ },
+ "129:118": {
+ "inputs": {
+ "value": 4
+ },
+ "class_type": "PrimitiveInt",
+ "_meta": {
+ "title": "Int (Steps)"
+ }
+ },
+ "129:122": {
+ "inputs": {
+ "value": 1
+ },
+ "class_type": "PrimitiveFloat",
+ "_meta": {
+ "title": "Float (CFG)"
+ }
+ },
+ "129:124": {
+ "inputs": {
+ "value": 2
+ },
+ "class_type": "PrimitiveInt",
+ "_meta": {
+ "title": "Int (split_step)"
+ }
+ },
+ "129:162": {
+ "inputs": {
+ "value": 16
+ },
+ "class_type": "PrimitiveFloat",
+ "_meta": {
+ "title": "Float (FPS)"
+ }
+ },
+ "1001": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "1002": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1001",
+ 0
+ ]
+ }
+ },
+ "1003": {
+ "class_type": "ImageFromBatch",
+ "inputs": {
+ "image": [
+ "1002",
+ 0
+ ],
+ "batch_index": -5,
+ "length": 5
+ }
+ },
+ "1004": {
+ "class_type": "ImageFromBatch",
+ "inputs": {
+ "image": [
+ "129:87",
+ 0
+ ],
+ "batch_index": 5,
+ "length": 4096
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1001",
+ "input": "file"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "129:93",
+ "input": "text"
+ }
+ ],
+ "negativePrompt": [
+ {
+ "node": "129:89",
+ "input": "text"
+ }
+ ],
+ "width": [
+ {
+ "node": "129:98",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "129:98",
+ "input": "height"
+ }
+ ],
+ "frames": [
+ {
+ "node": "129:98",
+ "input": "length"
+ }
+ ],
+ "fps": [
+ {
+ "node": "129:162",
+ "input": "value"
+ }
+ ],
+ "seed": [
+ {
+ "node": "129:86",
+ "input": "noise_seed"
+ },
+ {
+ "node": "129:85",
+ "input": "noise_seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "129:118",
+ "input": "value"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "129:122",
+ "input": "value"
+ }
+ ],
+ "shift": [
+ {
+ "node": "129:104",
+ "input": "shift"
+ },
+ {
+ "node": "129:103",
+ "input": "shift"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "108",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "108",
+ "kind": "video"
+ }
+ ],
+ "models": [
+ {
+ "file": "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 14.29
+ },
+ {
+ "file": "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 14.29
+ },
+ {
+ "file": "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 6.74
+ },
+ {
+ "file": "wan_2.1_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ }
+ ],
+ "vramGB": 24,
+ "license": "Apache-2.0",
+ "notes": "WanImageToVideo copies start_image[:length] into the first frames and masks ((n-1)//4)+1 latents as known (verified in nodes_wan.py), so 5 context frames = 2 latents of motion context. Node 1004 drops those 5 frames from the output; the app concatenates (or use ImageBatchExtendWithOverlap). Weakest temporal continuity of the three (I2V was trained on single-frame conditioning).",
+ "inferred": [
+ "continuity quality with >1 conditioning frame"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "add_noise": {
+ "type": "COMBO",
+ "options": [
+ "enable",
+ "disable"
+ ]
+ },
+ "noise_seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "start_at_step": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 10000
+ },
+ "end_at_step": {
+ "type": "INT",
+ "default": 10000,
+ "min": 0,
+ "max": 10000
+ },
+ "return_with_leftover_noise": {
+ "type": "COMBO",
+ "options": [
+ "disable",
+ "enable"
+ ]
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "clip": {
+ "type": "CLIP"
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "WanImageToVideo",
+ "inputs": {
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "vae": {
+ "type": "VAE"
+ },
+ "width": {
+ "type": "INT",
+ "default": 832,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "height": {
+ "type": "INT",
+ "default": 480,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "length": {
+ "type": "INT",
+ "default": 81,
+ "min": 1,
+ "max": 16384,
+ "step": 4
+ },
+ "batch_size": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ },
+ "clip_vision_output": {
+ "type": "CLIP_VISION_OUTPUT",
+ "optional": true
+ },
+ "start_image": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "ref_pad_image": {
+ "type": "IMAGE",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:positive",
+ "CONDITIONING:negative",
+ "LATENT:latent"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 3.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "PrimitiveInt",
+ "inputs": {
+ "value": {
+ "type": "INT",
+ "min": -9223372036854775807,
+ "max": 9223372036854775807
+ }
+ },
+ "outputs": [
+ "INT:INT"
+ ]
+ },
+ {
+ "class_type": "PrimitiveFloat",
+ "inputs": {
+ "value": {
+ "type": "FLOAT",
+ "min": -9223372036854775807,
+ "max": 9223372036854775807,
+ "step": 0.1
+ }
+ },
+ "outputs": [
+ "FLOAT:FLOAT"
+ ]
+ },
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "ImageFromBatch",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "batch_index": {
+ "type": "INT",
+ "default": 0,
+ "min": -16384,
+ "max": 16384
+ },
+ "length": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "LTX-2.x LTXVExtendSampler (ComfyUI-LTXVideo) - extend with synced audio",
+ "nodePack": {
+ "url": "https://github.com/Lightricks/ComfyUI-LTXVideo",
+ "ref": "44c8a36b7c31ee00b4271daed11dc2a4aa481140 (2026-10-14)"
+ },
+ "vramGB": 32,
+ "license": "LTX-2 Community License (free < US$10M annual revenue)",
+ "notes": "LTXVExtendSampler(model, vae, latents, num_new_frames=80, frame_overlap=16, guider, sampler, sigmas, noise, strength=0.5, [optional_guiding_latents, optional_cond_images, optional_cond_indices, ...]) -> (denoised_video, positive, negative); also LTXVLoopingSampler for long clips. Best if the source clip came from LTX (same VAE/audio).",
+ "models": []
+ },
+ {
+ "name": "MiniMax H3 i2v continuation (core template video_minimax_h3_i2v_continuation)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "vramGB": 40,
+ "license": "MiniMax H3 license excludes US/EU/UK/KR; commercial output license required",
+ "notes": "Highest fidelity continuation with audio but unusable for most Fuobe deployments.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": [
+ "Color/identity drift accumulates over repeated extensions; re-anchor with a reference image (VACE reference_image input or SVI anchor) every chunk.",
+ "Wan is 16 fps / ~5 s per chunk; >3 chunks needs SVI-style latent chaining to stay coherent."
+ ]
+ },
+ {
+ "id": "video-reframe",
+ "title": "Video reframe / outpaint to a new aspect ratio",
+ "gap": 4,
+ "higgsfield": "Reframe / aspect-ratio extend (vertical <-> horizontal)",
+ "summary": "Wan VACE outpainting (official template video_wan_vace_outpainting) pads every frame with ImagePadForOutpaint and lets VACE fill the padded area. Recommended: same graph on Wan 2.2 Fun VACE A14B for quality; the template-exact Wan 2.1 VACE 14B variant reuses the library's VACE files.",
+ "recommended": {
+ "name": "Wan 2.2 Fun VACE A14B outpainting (ImagePadForOutpaint mask per frame)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "video_wan_vace_outpainting (re-targeted to Wan 2.2 Fun VACE)",
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": [
+ "2",
+ 0
+ ],
+ "upscale_method": "lanczos",
+ "width": 368,
+ "height": 640,
+ "crop": "disabled"
+ }
+ },
+ "4": {
+ "class_type": "ImagePadForOutpaint",
+ "inputs": {
+ "image": [
+ "3",
+ 0
+ ],
+ "left": 384,
+ "top": 0,
+ "right": 384,
+ "bottom": 0,
+ "feathering": 0
+ }
+ },
+ "5": {
+ "class_type": "MaskToImage",
+ "inputs": {
+ "mask": [
+ "4",
+ 1
+ ]
+ }
+ },
+ "6": {
+ "class_type": "RepeatImageBatch",
+ "inputs": {
+ "image": [
+ "5",
+ 0
+ ],
+ "amount": 81
+ }
+ },
+ "7": {
+ "class_type": "ImageToMask",
+ "inputs": {
+ "image": [
+ "6",
+ 0
+ ],
+ "channel": "red"
+ }
+ },
+ "11": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "wan_2.1_vae.safetensors"
+ }
+ },
+ "8": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "type": "wan",
+ "device": "default"
+ }
+ },
+ "9": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "A street musician plays guitar on a busy city sidewalk, wide cinematic shot.",
+ "clip": [
+ "8",
+ 0
+ ]
+ }
+ },
+ "10": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
+ "clip": [
+ "8",
+ 0
+ ]
+ }
+ },
+ "12": {
+ "class_type": "WanVaceToVideo",
+ "inputs": {
+ "positive": [
+ "9",
+ 0
+ ],
+ "negative": [
+ "10",
+ 0
+ ],
+ "vae": [
+ "11",
+ 0
+ ],
+ "width": 1136,
+ "height": 640,
+ "length": 81,
+ "batch_size": 1,
+ "strength": 1.0,
+ "control_video": [
+ "4",
+ 0
+ ],
+ "control_masks": [
+ "7",
+ 0
+ ]
+ }
+ },
+ "13": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "14": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "15": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "13",
+ 0
+ ],
+ "lora_name": "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "16": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "14",
+ 0
+ ],
+ "lora_name": "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "17": {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": [
+ "15",
+ 0
+ ],
+ "shift": 5.0
+ }
+ },
+ "18": {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": [
+ "16",
+ 0
+ ],
+ "shift": 5.0
+ }
+ },
+ "19": {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": [
+ "17",
+ 0
+ ],
+ "add_noise": "enable",
+ "noise_seed": 0,
+ "steps": 4,
+ "cfg": 1.0,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "positive": [
+ "12",
+ 0
+ ],
+ "negative": [
+ "12",
+ 1
+ ],
+ "latent_image": [
+ "12",
+ 2
+ ],
+ "start_at_step": 0,
+ "end_at_step": 2,
+ "return_with_leftover_noise": "enable"
+ }
+ },
+ "20": {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": [
+ "18",
+ 0
+ ],
+ "add_noise": "disable",
+ "noise_seed": 0,
+ "steps": 4,
+ "cfg": 1.0,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "positive": [
+ "12",
+ 0
+ ],
+ "negative": [
+ "12",
+ 1
+ ],
+ "latent_image": [
+ "19",
+ 0
+ ],
+ "start_at_step": 2,
+ "end_at_step": 10000,
+ "return_with_leftover_noise": "disable"
+ }
+ },
+ "21": {
+ "class_type": "TrimVideoLatent",
+ "inputs": {
+ "samples": [
+ "20",
+ 0
+ ],
+ "trim_amount": [
+ "12",
+ 3
+ ]
+ }
+ },
+ "22": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "21",
+ 0
+ ],
+ "vae": [
+ "11",
+ 0
+ ]
+ }
+ },
+ "23": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "22",
+ 0
+ ],
+ "fps": 16.0,
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "24": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "23",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-reframe-vace22",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "9",
+ "input": "text"
+ }
+ ],
+ "negativePrompt": [
+ {
+ "node": "10",
+ "input": "text"
+ }
+ ],
+ "sourceWidth": [
+ {
+ "node": "3",
+ "input": "width"
+ }
+ ],
+ "sourceHeight": [
+ {
+ "node": "3",
+ "input": "height"
+ }
+ ],
+ "padLeft": [
+ {
+ "node": "4",
+ "input": "left"
+ }
+ ],
+ "padTop": [
+ {
+ "node": "4",
+ "input": "top"
+ }
+ ],
+ "padRight": [
+ {
+ "node": "4",
+ "input": "right"
+ }
+ ],
+ "padBottom": [
+ {
+ "node": "4",
+ "input": "bottom"
+ }
+ ],
+ "width": [
+ {
+ "node": "12",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "12",
+ "input": "height"
+ }
+ ],
+ "frames": [
+ {
+ "node": "6",
+ "input": "amount"
+ },
+ {
+ "node": "12",
+ "input": "length"
+ }
+ ],
+ "fps": [
+ {
+ "node": "23",
+ "input": "fps"
+ }
+ ],
+ "seed": [
+ {
+ "node": "19",
+ "input": "noise_seed"
+ },
+ {
+ "node": "20",
+ "input": "noise_seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "19",
+ "input": "steps"
+ },
+ {
+ "node": "20",
+ "input": "steps"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "19",
+ "input": "cfg"
+ },
+ {
+ "node": "20",
+ "input": "cfg"
+ }
+ ],
+ "shift": [
+ {
+ "node": "17",
+ "input": "shift"
+ },
+ {
+ "node": "18",
+ "input": "shift"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "24",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "24",
+ "kind": "video"
+ }
+ ],
+ "defaults": {
+ "sourceWidth": 368,
+ "sourceHeight": 640,
+ "padLeft": 384,
+ "padRight": 384,
+ "padTop": 0,
+ "padBottom": 0,
+ "width": 1136,
+ "height": 640,
+ "frames": 81,
+ "fps": 16,
+ "steps": 4,
+ "cfg": 1,
+ "shift": 5
+ },
+ "limits": {
+ "maxWidth": 1280,
+ "maxHeight": 1280,
+ "maxFrames": 121,
+ "dimensionMultiple": 16,
+ "padMultiple": 8
+ },
+ "models": [
+ {
+ "file": "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 17.35
+ },
+ {
+ "file": "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/diffusion_models/wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 17.35
+ },
+ {
+ "file": "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ },
+ {
+ "file": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 6.74
+ },
+ {
+ "file": "wan_2.1_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ }
+ ],
+ "vramGB": 24,
+ "license": "Apache-2.0",
+ "notes": "App computes: scale the source to (sourceWidth, sourceHeight) so that sourceWidth+padLeft+padRight = width and sourceHeight+padTop+padBottom = height, all multiples of 16 (pads multiples of 8). frames must be <= the source frame count (4k+1) - WanVaceToVideo pads missing control frames with gray + mask 1, i.e. it would invent frames. For clips longer than ~5 s run sequential windows and reuse the previous window's last frames as known frames (see video-extend). ImagePadForOutpaint fills pads with 0.5 gray and returns mask=1 there (verified in nodes.py).",
+ "inferred": [
+ "Fun VACE outpaint quality vs Wan 2.1 VACE (official template uses 2.1)"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "upscale_method": {
+ "type": "COMBO",
+ "options": [
+ "nearest-exact",
+ "bilinear",
+ "area",
+ "bicubic",
+ "lanczos"
+ ]
+ },
+ "width": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "height": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "crop": {
+ "type": "COMBO",
+ "options": [
+ "disabled",
+ "center"
+ ]
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "ImagePadForOutpaint",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "left": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 8
+ },
+ "top": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 8
+ },
+ "right": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 8
+ },
+ "bottom": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 8
+ },
+ "feathering": {
+ "type": "INT",
+ "default": 40,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE",
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "MaskToImage",
+ "inputs": {
+ "mask": {
+ "type": "MASK"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "RepeatImageBatch",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "amount": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "ImageToMask",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "channel": {
+ "type": "COMBO",
+ "options": [
+ "red",
+ "green",
+ "blue",
+ "alpha"
+ ]
+ }
+ },
+ "outputs": [
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "clip": {
+ "type": "CLIP"
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "WanVaceToVideo",
+ "inputs": {
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "vae": {
+ "type": "VAE"
+ },
+ "width": {
+ "type": "INT",
+ "default": 832,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "height": {
+ "type": "INT",
+ "default": 480,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "length": {
+ "type": "INT",
+ "default": 81,
+ "min": 1,
+ "max": 16384,
+ "step": 4
+ },
+ "batch_size": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ },
+ "strength": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1000.0,
+ "step": 0.01
+ },
+ "control_video": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "control_masks": {
+ "type": "MASK",
+ "optional": true
+ },
+ "reference_image": {
+ "type": "IMAGE",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:positive",
+ "CONDITIONING:negative",
+ "LATENT:latent",
+ "INT:trim_latent"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 3.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "KSamplerAdvanced",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "add_noise": {
+ "type": "COMBO",
+ "options": [
+ "enable",
+ "disable"
+ ]
+ },
+ "noise_seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "start_at_step": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 10000
+ },
+ "end_at_step": {
+ "type": "INT",
+ "default": 10000,
+ "min": 0,
+ "max": 10000
+ },
+ "return_with_leftover_noise": {
+ "type": "COMBO",
+ "options": [
+ "disable",
+ "enable"
+ ]
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "TrimVideoLatent",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "trim_amount": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 99999
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "Wan 2.1 VACE 14B outpainting + CausVid (template-exact)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "video_wan_vace_outpainting",
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": [
+ "2",
+ 0
+ ],
+ "upscale_method": "lanczos",
+ "width": 368,
+ "height": 640,
+ "crop": "disabled"
+ }
+ },
+ "4": {
+ "class_type": "ImagePadForOutpaint",
+ "inputs": {
+ "image": [
+ "3",
+ 0
+ ],
+ "left": 384,
+ "top": 0,
+ "right": 384,
+ "bottom": 0,
+ "feathering": 0
+ }
+ },
+ "5": {
+ "class_type": "MaskToImage",
+ "inputs": {
+ "mask": [
+ "4",
+ 1
+ ]
+ }
+ },
+ "6": {
+ "class_type": "RepeatImageBatch",
+ "inputs": {
+ "image": [
+ "5",
+ 0
+ ],
+ "amount": 81
+ }
+ },
+ "7": {
+ "class_type": "ImageToMask",
+ "inputs": {
+ "image": [
+ "6",
+ 0
+ ],
+ "channel": "red"
+ }
+ },
+ "11": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "wan_2.1_vae.safetensors"
+ }
+ },
+ "13": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "wan2.1_vace_14B_fp16.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "14": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "13",
+ 0
+ ],
+ "lora_name": "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "strength_model": 0.4
+ }
+ },
+ "15": {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": [
+ "14",
+ 0
+ ],
+ "shift": 8.0
+ }
+ },
+ "8": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "umt5_xxl_fp16.safetensors",
+ "type": "wan",
+ "device": "default"
+ }
+ },
+ "9": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "A street musician plays guitar on a busy city sidewalk, wide cinematic shot.",
+ "clip": [
+ "8",
+ 0
+ ]
+ }
+ },
+ "10": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "bad quality, blurry, messy, chaotic",
+ "clip": [
+ "8",
+ 0
+ ]
+ }
+ },
+ "12": {
+ "class_type": "WanVaceToVideo",
+ "inputs": {
+ "positive": [
+ "9",
+ 0
+ ],
+ "negative": [
+ "10",
+ 0
+ ],
+ "vae": [
+ "11",
+ 0
+ ],
+ "width": 1136,
+ "height": 640,
+ "length": 81,
+ "batch_size": 1,
+ "strength": 1.0,
+ "control_video": [
+ "4",
+ 0
+ ],
+ "control_masks": [
+ "7",
+ 0
+ ]
+ }
+ },
+ "16": {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": [
+ "15",
+ 0
+ ],
+ "seed": 0,
+ "steps": 4,
+ "cfg": 1.0,
+ "sampler_name": "uni_pc",
+ "scheduler": "simple",
+ "positive": [
+ "12",
+ 0
+ ],
+ "negative": [
+ "12",
+ 1
+ ],
+ "latent_image": [
+ "12",
+ 2
+ ],
+ "denoise": 1.0
+ }
+ },
+ "17": {
+ "class_type": "TrimVideoLatent",
+ "inputs": {
+ "samples": [
+ "16",
+ 0
+ ],
+ "trim_amount": [
+ "12",
+ 3
+ ]
+ }
+ },
+ "18": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "17",
+ 0
+ ],
+ "vae": [
+ "11",
+ 0
+ ]
+ }
+ },
+ "19": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "18",
+ 0
+ ],
+ "fps": 16.0,
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "20": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "19",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-reframe-vace21",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "9",
+ "input": "text"
+ }
+ ],
+ "negativePrompt": [
+ {
+ "node": "10",
+ "input": "text"
+ }
+ ],
+ "sourceWidth": [
+ {
+ "node": "3",
+ "input": "width"
+ }
+ ],
+ "sourceHeight": [
+ {
+ "node": "3",
+ "input": "height"
+ }
+ ],
+ "padLeft": [
+ {
+ "node": "4",
+ "input": "left"
+ }
+ ],
+ "padTop": [
+ {
+ "node": "4",
+ "input": "top"
+ }
+ ],
+ "padRight": [
+ {
+ "node": "4",
+ "input": "right"
+ }
+ ],
+ "padBottom": [
+ {
+ "node": "4",
+ "input": "bottom"
+ }
+ ],
+ "width": [
+ {
+ "node": "12",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "12",
+ "input": "height"
+ }
+ ],
+ "frames": [
+ {
+ "node": "6",
+ "input": "amount"
+ },
+ {
+ "node": "12",
+ "input": "length"
+ }
+ ],
+ "fps": [
+ {
+ "node": "19",
+ "input": "fps"
+ }
+ ],
+ "seed": [
+ {
+ "node": "16",
+ "input": "seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "16",
+ "input": "steps"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "16",
+ "input": "cfg"
+ }
+ ],
+ "shift": [
+ {
+ "node": "15",
+ "input": "shift"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "20",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "20",
+ "kind": "video"
+ }
+ ],
+ "models": [
+ {
+ "file": "wan2.1_vace_14B_fp16.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/diffusion_models/wan2.1_vace_14B_fp16.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 34.68
+ },
+ {
+ "file": "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "folder": "loras",
+ "sizeGB": 0.32
+ },
+ {
+ "file": "umt5_xxl_fp16.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp16.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 11.37
+ },
+ {
+ "file": "wan_2.1_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ }
+ ],
+ "vramGB": 32,
+ "license": "Apache-2.0",
+ "notes": "Same models as the library's wan21-vace-14b-ref2v (fp16 34.7 GB DiT, offloads on 24 GB). Template settings: 3-4 steps, cfg 1, uni_pc, shift 8, CausVid 0.3-0.4.",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "upscale_method": {
+ "type": "COMBO",
+ "options": [
+ "nearest-exact",
+ "bilinear",
+ "area",
+ "bicubic",
+ "lanczos"
+ ]
+ },
+ "width": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "height": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "crop": {
+ "type": "COMBO",
+ "options": [
+ "disabled",
+ "center"
+ ]
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "ImagePadForOutpaint",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "left": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 8
+ },
+ "top": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 8
+ },
+ "right": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 8
+ },
+ "bottom": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 8
+ },
+ "feathering": {
+ "type": "INT",
+ "default": 40,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE",
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "MaskToImage",
+ "inputs": {
+ "mask": {
+ "type": "MASK"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "RepeatImageBatch",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "amount": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "ImageToMask",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "channel": {
+ "type": "COMBO",
+ "options": [
+ "red",
+ "green",
+ "blue",
+ "alpha"
+ ]
+ }
+ },
+ "outputs": [
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 3.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "clip": {
+ "type": "CLIP"
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "WanVaceToVideo",
+ "inputs": {
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "vae": {
+ "type": "VAE"
+ },
+ "width": {
+ "type": "INT",
+ "default": 832,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "height": {
+ "type": "INT",
+ "default": 480,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "length": {
+ "type": "INT",
+ "default": 81,
+ "min": 1,
+ "max": 16384,
+ "step": 4
+ },
+ "batch_size": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ },
+ "strength": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1000.0,
+ "step": 0.01
+ },
+ "control_video": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "control_masks": {
+ "type": "MASK",
+ "optional": true
+ },
+ "reference_image": {
+ "type": "IMAGE",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:positive",
+ "CONDITIONING:negative",
+ "LATENT:latent",
+ "INT:trim_latent"
+ ]
+ },
+ {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "denoise": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "TrimVideoLatent",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "trim_amount": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 99999
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "LTX-2.3 / 2.5 Video Outpainting IC-LoRA (template_ltx2_3_lora_video_outpainting; ComfyUI-LTXVideo LTX-2.5_ICLoRA_Outpaint_Two_Stage_Distilled.json)",
+ "nodePack": {
+ "url": "https://github.com/Lightricks/ComfyUI-LTXVideo",
+ "ref": "44c8a36b7c31ee00b4271daed11dc2a4aa481140 (2026-10-14)"
+ },
+ "extraNodePacks": [
+ {
+ "url": "https://github.com/kijai/ComfyUI-KJNodes",
+ "ref": "17195fcfa8a05f601b766a0f09c9733284f47416 (2026-10-15)"
+ }
+ ],
+ "vramGB": 32,
+ "license": "LTX-2 Community License (< US$10M revenue)",
+ "notes": "Higher resolution and keeps audio; needs ComfyMath + LTXVideo + KJNodes + VHS.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": [
+ "Hands/faces crossing the original border can morph; use feathering 0-24 and describe the full scene in the prompt."
+ ]
+ },
+ {
+ "id": "relight",
+ "title": "Image relight (prompted lighting or copy light from a reference)",
+ "gap": 5,
+ "higgsfield": "Relight / lighting presets",
+ "summary": "Qwen-Image-Edit-2509 + Relight LoRA (official template image_qwen_image_edit_2509_relight, Apache-2.0) = library workflow qwen-image-edit-2509 + one LoraLoaderModelOnly + the trigger prefix. Light-Migration LoRA copies lighting from a second image. IC-Light v2 (FLUX) weights were never released; IC-Light v1 (SD1.5) remains a lightweight legacy option.",
+ "recommended": {
+ "name": "Qwen-Image-Edit-2509 + Relight LoRA (+ Lightning 4-step)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "image_qwen_image_edit_2509_relight",
+ "graph": {
+ "78": {
+ "inputs": {
+ "image": "subject.png"
+ },
+ "class_type": "LoadImage",
+ "_meta": {
+ "title": "Load Image"
+ }
+ },
+ "469": {
+ "inputs": {
+ "filename_prefix": "fuobe/relight-qie2509",
+ "format": "png",
+ "format.bit_depth": "8-bit",
+ "format.input_color_space": "sRGB",
+ "images": [
+ "433:8",
+ 0
+ ]
+ },
+ "class_type": "SaveImageAdvanced",
+ "_meta": {
+ "title": "Save Image (Advanced)"
+ }
+ },
+ "433:3": {
+ "inputs": {
+ "seed": 362225868152841,
+ "steps": [
+ "433:436",
+ 0
+ ],
+ "cfg": [
+ "433:437",
+ 0
+ ],
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1,
+ "model": [
+ "433:75",
+ 0
+ ],
+ "positive": [
+ "433:111",
+ 0
+ ],
+ "negative": [
+ "433:110",
+ 0
+ ],
+ "latent_image": [
+ "433:88",
+ 0
+ ]
+ },
+ "class_type": "KSampler",
+ "_meta": {
+ "title": "KSampler"
+ }
+ },
+ "433:8": {
+ "inputs": {
+ "samples": [
+ "433:3",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ]
+ },
+ "class_type": "VAEDecode",
+ "_meta": {
+ "title": "VAE Decode"
+ }
+ },
+ "433:37": {
+ "inputs": {
+ "unet_name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "weight_dtype": "default"
+ },
+ "class_type": "UNETLoader",
+ "_meta": {
+ "title": "Load Diffusion Model"
+ }
+ },
+ "433:38": {
+ "inputs": {
+ "clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "type": "qwen_image",
+ "device": "default"
+ },
+ "class_type": "CLIPLoader",
+ "_meta": {
+ "title": "Load CLIP"
+ }
+ },
+ "433:39": {
+ "inputs": {
+ "vae_name": "qwen_image_vae.safetensors"
+ },
+ "class_type": "VAELoader",
+ "_meta": {
+ "title": "Load VAE"
+ }
+ },
+ "433:66": {
+ "inputs": {
+ "shift": 3,
+ "sampling": "flow",
+ "model": [
+ "1001",
+ 0
+ ]
+ },
+ "class_type": "ModelSamplingAuraFlow",
+ "_meta": {
+ "title": "ModelSamplingAuraFlow"
+ }
+ },
+ "433:75": {
+ "inputs": {
+ "strength": 1,
+ "pre_cfg": false,
+ "model": [
+ "433:66",
+ 0
+ ]
+ },
+ "class_type": "CFGNorm",
+ "_meta": {
+ "title": "CFGNorm"
+ }
+ },
+ "433:88": {
+ "inputs": {
+ "pixels": [
+ "433:117",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ]
+ },
+ "class_type": "VAEEncode",
+ "_meta": {
+ "title": "VAE Encode"
+ }
+ },
+ "433:89": {
+ "inputs": {
+ "lora_name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "strength_model": 1,
+ "model": [
+ "433:37",
+ 0
+ ]
+ },
+ "class_type": "LoraLoaderModelOnly",
+ "_meta": {
+ "title": "Load LoRA"
+ }
+ },
+ "433:110": {
+ "inputs": {
+ "prompt": "",
+ "clip": [
+ "433:38",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ],
+ "image1": [
+ "433:117",
+ 0
+ ]
+ },
+ "class_type": "TextEncodeQwenImageEditPlus",
+ "_meta": {
+ "title": "Text Encode Qwen Image Edit Plus"
+ }
+ },
+ "433:111": {
+ "inputs": {
+ "prompt": [
+ "1002",
+ 0
+ ],
+ "clip": [
+ "433:38",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ],
+ "image1": [
+ "433:117",
+ 0
+ ]
+ },
+ "class_type": "TextEncodeQwenImageEditPlus",
+ "_meta": {
+ "title": "Text Encode Qwen Image Edit Plus"
+ }
+ },
+ "433:117": {
+ "inputs": {
+ "image": [
+ "78",
+ 0
+ ]
+ },
+ "class_type": "FluxKontextImageScale",
+ "_meta": {
+ "title": "FluxKontextImageScale"
+ }
+ },
+ "433:436": {
+ "inputs": {
+ "value": 4
+ },
+ "class_type": "PrimitiveInt",
+ "_meta": {
+ "title": "Stpes"
+ }
+ },
+ "433:437": {
+ "inputs": {
+ "value": 1
+ },
+ "class_type": "PrimitiveFloat",
+ "_meta": {
+ "title": "CFG"
+ }
+ },
+ "1001": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "433:89",
+ 0
+ ],
+ "lora_name": "Qwen-Image-Edit-2509-Relight.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "1002": {
+ "class_type": "StringConcatenate",
+ "inputs": {
+ "string_a": "重新照明,",
+ "string_b": "使用窗帘透光(柔和漫射)的光线对图片进行重新照明 / relight the image with soft diffused window light through curtains",
+ "delimiter": ""
+ }
+ }
+ },
+ "bindings": {
+ "prompt": [
+ {
+ "node": "1002",
+ "input": "string_b"
+ }
+ ],
+ "image": [
+ {
+ "node": "78",
+ "input": "image"
+ }
+ ],
+ "seed": [
+ {
+ "node": "433:3",
+ "input": "seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "433:436",
+ "input": "value"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "433:437",
+ "input": "value"
+ }
+ ],
+ "loraStrength": [
+ {
+ "node": "1001",
+ "input": "strength_model"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "469",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "469",
+ "kind": "image"
+ }
+ ],
+ "defaults": {
+ "steps": 4,
+ "cfg": 1,
+ "loraStrength": 1.0
+ },
+ "limits": {
+ "maxWidth": 2048,
+ "maxHeight": 2048
+ },
+ "models": [
+ {
+ "file": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 20.43
+ },
+ {
+ "file": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 9.38
+ },
+ {
+ "file": "qwen_image_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ },
+ {
+ "file": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "folder": "loras",
+ "sizeGB": 0.85
+ },
+ {
+ "file": "Qwen-Image-Edit-2509-Relight.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/loras/Qwen-Image-Edit-2509-Relight.safetensors",
+ "folder": "loras",
+ "note": "trigger prefix 重新照明, (\"relight,\")",
+ "sizeGB": 0.24
+ }
+ ],
+ "vramGB": 24,
+ "license": "Apache-2.0",
+ "notes": "Built from workflows/comfyui/qwen-image-edit-2509.json: node 1001 LoraLoaderModelOnly inserted between 433:89 (Lightning LoRA) and 433:66; node 1002 StringConcatenate prefixes the LoRA trigger '重新照明,' to the user prompt. Prompt the light, e.g. 'relight the image with neon magenta and cyan rim lights' (Chinese prompts follow the LoRA's training captions best). Works on Edit-2511 too (swap DiT + Lightning).",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE",
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "SaveImageAdvanced",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ }
+ },
+ "outputs": [
+ "IMAGE:images"
+ ]
+ },
+ {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "denoise": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingAuraFlow",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 1.73,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ },
+ "sampling": {
+ "type": "COMBO",
+ "options": [
+ "flow",
+ "img_to_img_velocity"
+ ],
+ "default": "flow",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CFGNorm",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "strength": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ },
+ "pre_cfg": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ }
+ },
+ "outputs": [
+ "MODEL:patched_model"
+ ]
+ },
+ {
+ "class_type": "VAEEncode",
+ "inputs": {
+ "pixels": {
+ "type": "IMAGE"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "TextEncodeQwenImageEditPlus",
+ "inputs": {
+ "clip": {
+ "type": "CLIP"
+ },
+ "prompt": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "vae": {
+ "type": "VAE",
+ "optional": true
+ },
+ "image1": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "image2": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "image3": {
+ "type": "IMAGE",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "FluxKontextImageScale",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "PrimitiveInt",
+ "inputs": {
+ "value": {
+ "type": "INT",
+ "min": -9223372036854775807,
+ "max": 9223372036854775807
+ }
+ },
+ "outputs": [
+ "INT:INT"
+ ]
+ },
+ {
+ "class_type": "PrimitiveFloat",
+ "inputs": {
+ "value": {
+ "type": "FLOAT",
+ "min": -9223372036854775807,
+ "max": 9223372036854775807,
+ "step": 0.1
+ }
+ },
+ "outputs": [
+ "FLOAT:FLOAT"
+ ]
+ },
+ {
+ "class_type": "StringConcatenate",
+ "inputs": {
+ "string_a": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "string_b": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "delimiter": {
+ "type": "STRING",
+ "default": "",
+ "multiline": false
+ }
+ },
+ "outputs": [
+ "STRING:STRING"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "Qwen-Image-Edit-2509 + Light-Migration LoRA (subject + lighting reference image)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "templates-portrait_light_migration / templates_rob_portrait_light_migration.app",
+ "graph": {
+ "78": {
+ "inputs": {
+ "image": "subject.png"
+ },
+ "class_type": "LoadImage",
+ "_meta": {
+ "title": "Load Image"
+ }
+ },
+ "469": {
+ "inputs": {
+ "filename_prefix": "fuobe/relight-qie2509-migration",
+ "format": "png",
+ "format.bit_depth": "8-bit",
+ "format.input_color_space": "sRGB",
+ "images": [
+ "433:8",
+ 0
+ ]
+ },
+ "class_type": "SaveImageAdvanced",
+ "_meta": {
+ "title": "Save Image (Advanced)"
+ }
+ },
+ "433:3": {
+ "inputs": {
+ "seed": 362225868152841,
+ "steps": [
+ "433:436",
+ 0
+ ],
+ "cfg": [
+ "433:437",
+ 0
+ ],
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1,
+ "model": [
+ "433:75",
+ 0
+ ],
+ "positive": [
+ "433:111",
+ 0
+ ],
+ "negative": [
+ "433:110",
+ 0
+ ],
+ "latent_image": [
+ "433:88",
+ 0
+ ]
+ },
+ "class_type": "KSampler",
+ "_meta": {
+ "title": "KSampler"
+ }
+ },
+ "433:8": {
+ "inputs": {
+ "samples": [
+ "433:3",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ]
+ },
+ "class_type": "VAEDecode",
+ "_meta": {
+ "title": "VAE Decode"
+ }
+ },
+ "433:37": {
+ "inputs": {
+ "unet_name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "weight_dtype": "default"
+ },
+ "class_type": "UNETLoader",
+ "_meta": {
+ "title": "Load Diffusion Model"
+ }
+ },
+ "433:38": {
+ "inputs": {
+ "clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "type": "qwen_image",
+ "device": "default"
+ },
+ "class_type": "CLIPLoader",
+ "_meta": {
+ "title": "Load CLIP"
+ }
+ },
+ "433:39": {
+ "inputs": {
+ "vae_name": "qwen_image_vae.safetensors"
+ },
+ "class_type": "VAELoader",
+ "_meta": {
+ "title": "Load VAE"
+ }
+ },
+ "433:66": {
+ "inputs": {
+ "shift": 3,
+ "sampling": "flow",
+ "model": [
+ "1001",
+ 0
+ ]
+ },
+ "class_type": "ModelSamplingAuraFlow",
+ "_meta": {
+ "title": "ModelSamplingAuraFlow"
+ }
+ },
+ "433:75": {
+ "inputs": {
+ "strength": 1,
+ "pre_cfg": false,
+ "model": [
+ "433:66",
+ 0
+ ]
+ },
+ "class_type": "CFGNorm",
+ "_meta": {
+ "title": "CFGNorm"
+ }
+ },
+ "433:88": {
+ "inputs": {
+ "pixels": [
+ "433:117",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ]
+ },
+ "class_type": "VAEEncode",
+ "_meta": {
+ "title": "VAE Encode"
+ }
+ },
+ "433:89": {
+ "inputs": {
+ "lora_name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "strength_model": 1,
+ "model": [
+ "433:37",
+ 0
+ ]
+ },
+ "class_type": "LoraLoaderModelOnly",
+ "_meta": {
+ "title": "Load LoRA"
+ }
+ },
+ "433:110": {
+ "inputs": {
+ "prompt": "",
+ "clip": [
+ "433:38",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ],
+ "image1": [
+ "433:117",
+ 0
+ ],
+ "image2": [
+ "1003",
+ 0
+ ]
+ },
+ "class_type": "TextEncodeQwenImageEditPlus",
+ "_meta": {
+ "title": "Text Encode Qwen Image Edit Plus"
+ }
+ },
+ "433:111": {
+ "inputs": {
+ "prompt": [
+ "1002",
+ 0
+ ],
+ "clip": [
+ "433:38",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ],
+ "image1": [
+ "433:117",
+ 0
+ ],
+ "image2": [
+ "1003",
+ 0
+ ]
+ },
+ "class_type": "TextEncodeQwenImageEditPlus",
+ "_meta": {
+ "title": "Text Encode Qwen Image Edit Plus"
+ }
+ },
+ "433:117": {
+ "inputs": {
+ "image": [
+ "78",
+ 0
+ ]
+ },
+ "class_type": "FluxKontextImageScale",
+ "_meta": {
+ "title": "FluxKontextImageScale"
+ }
+ },
+ "433:436": {
+ "inputs": {
+ "value": 4
+ },
+ "class_type": "PrimitiveInt",
+ "_meta": {
+ "title": "Stpes"
+ }
+ },
+ "433:437": {
+ "inputs": {
+ "value": 1
+ },
+ "class_type": "PrimitiveFloat",
+ "_meta": {
+ "title": "CFG"
+ }
+ },
+ "1001": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "433:89",
+ 0
+ ],
+ "lora_name": "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "1002": {
+ "class_type": "StringConcatenate",
+ "inputs": {
+ "string_a": "参考色调,移除图1原有的光照并参考图2的光照和色调对图1重新照明",
+ "string_b": "",
+ "delimiter": ""
+ }
+ },
+ "1003": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "lighting_reference.png"
+ }
+ }
+ },
+ "bindings": {
+ "prompt": [
+ {
+ "node": "1002",
+ "input": "string_b"
+ }
+ ],
+ "image": [
+ {
+ "node": "78",
+ "input": "image"
+ }
+ ],
+ "seed": [
+ {
+ "node": "433:3",
+ "input": "seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "433:436",
+ "input": "value"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "433:437",
+ "input": "value"
+ }
+ ],
+ "loraStrength": [
+ {
+ "node": "1001",
+ "input": "strength_model"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "469",
+ "input": "filename_prefix"
+ }
+ ],
+ "image2": [
+ {
+ "node": "1003",
+ "input": "image"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "469",
+ "kind": "image"
+ }
+ ],
+ "models": [
+ {
+ "file": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 20.43
+ },
+ {
+ "file": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 9.38
+ },
+ {
+ "file": "qwen_image_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ },
+ {
+ "file": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "folder": "loras",
+ "sizeGB": 0.85
+ },
+ {
+ "file": "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/loras/Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "folder": "loras",
+ "sizeGB": 0.24
+ }
+ ],
+ "vramGB": 24,
+ "license": "Apache-2.0",
+ "notes": "image = subject, image2 = lighting reference (wired as image2 of both TextEncodeQwenImageEditPlus). Prefix = the template's instruction ('use image 2's lighting and tone to relight image 1'); prompt can add constraints.",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE",
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "SaveImageAdvanced",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ }
+ },
+ "outputs": [
+ "IMAGE:images"
+ ]
+ },
+ {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "denoise": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingAuraFlow",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 1.73,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ },
+ "sampling": {
+ "type": "COMBO",
+ "options": [
+ "flow",
+ "img_to_img_velocity"
+ ],
+ "default": "flow",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CFGNorm",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "strength": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ },
+ "pre_cfg": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ }
+ },
+ "outputs": [
+ "MODEL:patched_model"
+ ]
+ },
+ {
+ "class_type": "VAEEncode",
+ "inputs": {
+ "pixels": {
+ "type": "IMAGE"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "TextEncodeQwenImageEditPlus",
+ "inputs": {
+ "clip": {
+ "type": "CLIP"
+ },
+ "prompt": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "vae": {
+ "type": "VAE",
+ "optional": true
+ },
+ "image1": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "image2": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "image3": {
+ "type": "IMAGE",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "FluxKontextImageScale",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "PrimitiveInt",
+ "inputs": {
+ "value": {
+ "type": "INT",
+ "min": -9223372036854775807,
+ "max": 9223372036854775807
+ }
+ },
+ "outputs": [
+ "INT:INT"
+ ]
+ },
+ {
+ "class_type": "PrimitiveFloat",
+ "inputs": {
+ "value": {
+ "type": "FLOAT",
+ "min": -9223372036854775807,
+ "max": 9223372036854775807,
+ "step": 0.1
+ }
+ },
+ "outputs": [
+ "FLOAT:FLOAT"
+ ]
+ },
+ {
+ "class_type": "StringConcatenate",
+ "inputs": {
+ "string_a": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "string_b": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "delimiter": {
+ "type": "STRING",
+ "default": "",
+ "multiline": false
+ }
+ },
+ "outputs": [
+ "STRING:STRING"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Bernini-R image edit (core BerniniConditioning, template video_bernini_r_image_editing)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "vramGB": 24,
+ "license": "Apache-2.0 (ByteDance/Bernini-R)",
+ "notes": "Wan 2.2 A14B-based unified editor; relight with matched lighting + reference image. Same model as video-relight.",
+ "models": []
+ },
+ {
+ "name": "IC-Light v1 SD1.5 (kijai/ComfyUI-IC-Light)",
+ "nodePack": {
+ "url": "https://github.com/kijai/ComfyUI-IC-Light",
+ "ref": "22811d903af8a90100dccef1c4b579526649a6ab (2025-05-30)"
+ },
+ "vramGB": 6,
+ "models": [
+ {
+ "file": "iclight_sd15_fc.safetensors",
+ "url": "https://huggingface.co/lllyasviel/ic-light/resolve/main/iclight_sd15_fc.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 1.72
+ }
+ ],
+ "license": "IC-Light weights: no license stated on HF (treat as unclear)",
+ "notes": "Legacy, low quality at >768 px; foreground-conditioned (fc) and fg+bg (fbc) variants."
+ },
+ {
+ "name": "FLUX.1 Kontext dev relight LoRAs (community)",
+ "license": "FLUX.1 [dev] Non-Commercial",
+ "notes": "Not recommended: NC base; Qwen-Edit LoRAs are equal or better.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": []
+ },
+ {
+ "id": "video-relight",
+ "title": "Video relight (consistent lighting change across a clip)",
+ "gap": 5,
+ "higgsfield": "Relight for video",
+ "summary": "Bernini-R (ByteDance, Apache-2.0, Wan 2.2 A14B fine-tune, native core node BerniniConditioning, official template video_bernini_r_video_editing) edits a source video from an instruction while keeping motion - the only open, native option for prompted video relighting. Wan Animate / SCAIL-2 relight LoRAs only apply inside character replacement.",
+ "recommended": {
+ "name": "Bernini-R video edit (BerniniConditioning, lightx2v 6-step)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "video_bernini_r_video_editing",
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "type": "wan",
+ "device": "default"
+ }
+ },
+ "4": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "wan_2.1_vae.safetensors"
+ }
+ },
+ "5": {
+ "class_type": "StringConcatenate",
+ "inputs": {
+ "string_a": "You are a helpful assistant for editing. You might need to adjust the video's style, lighting, colors, textures, and the subject's pose or action.",
+ "string_b": "Relight the scene as golden hour: warm low sun from the left, long soft shadows, gentle rim light on the subject. Keep the subject, motion and framing unchanged.",
+ "delimiter": " "
+ }
+ },
+ "6": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": [
+ "5",
+ 0
+ ],
+ "clip": [
+ "3",
+ 0
+ ]
+ }
+ },
+ "7": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
+ "clip": [
+ "3",
+ 0
+ ]
+ }
+ },
+ "8": {
+ "class_type": "BerniniConditioning",
+ "inputs": {
+ "positive": [
+ "6",
+ 0
+ ],
+ "negative": [
+ "7",
+ 0
+ ],
+ "vae": [
+ "4",
+ 0
+ ],
+ "width": 480,
+ "height": 832,
+ "length": 81,
+ "batch_size": 1,
+ "source_video": [
+ "2",
+ 0
+ ],
+ "ref_max_size": 848
+ }
+ },
+ "9": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "10": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "11": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "9",
+ 0
+ ],
+ "lora_name": "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "strength_model": 3.0
+ }
+ },
+ "12": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "10",
+ 0
+ ],
+ "lora_name": "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "strength_model": 1.5
+ }
+ },
+ "13": {
+ "class_type": "BasicScheduler",
+ "inputs": {
+ "model": [
+ "10",
+ 0
+ ],
+ "scheduler": "simple",
+ "steps": 6,
+ "denoise": 1.0
+ }
+ },
+ "14": {
+ "class_type": "SplitSigmas",
+ "inputs": {
+ "sigmas": [
+ "13",
+ 0
+ ],
+ "step": 3
+ }
+ },
+ "15": {
+ "class_type": "KSamplerSelect",
+ "inputs": {
+ "sampler_name": "res_multistep"
+ }
+ },
+ "16": {
+ "class_type": "SamplerCustom",
+ "inputs": {
+ "model": [
+ "11",
+ 0
+ ],
+ "add_noise": true,
+ "noise_seed": 0,
+ "cfg": 1.0,
+ "positive": [
+ "8",
+ 0
+ ],
+ "negative": [
+ "8",
+ 1
+ ],
+ "sampler": [
+ "15",
+ 0
+ ],
+ "sigmas": [
+ "14",
+ 0
+ ],
+ "latent_image": [
+ "8",
+ 2
+ ]
+ }
+ },
+ "17": {
+ "class_type": "SamplerCustom",
+ "inputs": {
+ "model": [
+ "12",
+ 0
+ ],
+ "add_noise": false,
+ "noise_seed": 0,
+ "cfg": 1.0,
+ "positive": [
+ "8",
+ 0
+ ],
+ "negative": [
+ "8",
+ 1
+ ],
+ "sampler": [
+ "15",
+ 0
+ ],
+ "sigmas": [
+ "14",
+ 1
+ ],
+ "latent_image": [
+ "16",
+ 0
+ ]
+ }
+ },
+ "18": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "17",
+ 0
+ ],
+ "vae": [
+ "4",
+ 0
+ ]
+ }
+ },
+ "19": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "18",
+ 0
+ ],
+ "fps": 24.0,
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "20": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "19",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-relight-bernini",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "5",
+ "input": "string_b"
+ }
+ ],
+ "negativePrompt": [
+ {
+ "node": "7",
+ "input": "text"
+ }
+ ],
+ "width": [
+ {
+ "node": "8",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "8",
+ "input": "height"
+ }
+ ],
+ "frames": [
+ {
+ "node": "8",
+ "input": "length"
+ }
+ ],
+ "fps": [
+ {
+ "node": "19",
+ "input": "fps"
+ }
+ ],
+ "seed": [
+ {
+ "node": "16",
+ "input": "noise_seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "13",
+ "input": "steps"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "16",
+ "input": "cfg"
+ },
+ {
+ "node": "17",
+ "input": "cfg"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "20",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "20",
+ "kind": "video"
+ }
+ ],
+ "defaults": {
+ "width": 480,
+ "height": 832,
+ "frames": 81,
+ "fps": 24,
+ "steps": 6,
+ "cfg": 1
+ },
+ "limits": {
+ "maxWidth": 1280,
+ "maxHeight": 1280,
+ "maxFrames": 121,
+ "dimensionMultiple": 16
+ },
+ "models": [
+ {
+ "file": "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 15.57
+ },
+ {
+ "file": "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Bernini-R/resolve/main/diffusion_models/wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 15.57
+ },
+ {
+ "file": "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "folder": "loras",
+ "sizeGB": 0.63
+ },
+ {
+ "file": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 6.74
+ },
+ {
+ "file": "wan_2.1_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ }
+ ],
+ "vramGB": 24,
+ "license": "Apache-2.0",
+ "notes": "Flattened from the template subgraph 'Video Edit (Bernini-R)' with the turbo switch on (lightx2v T2V v2 rank64 at 3.0 high / 1.5 low, 6 steps split at 3, cfg 1, res_multistep). Turbo off = 40 steps split 20, cfg 5, no LoRA. The template prepends a task system prompt; 'Video Editing (Style / Motion)' (used here) mentions lighting explicitly. frames should equal the source frame count; the template slices 5 s and uses the source fps. Template VAE is Kijai Wan2_1_VAE_bf16 - wan_2.1_vae.safetensors is the same Wan 2.1 VAE.",
+ "inferred": [
+ "prompt-driven relight quality (template advertises relighting; not run)",
+ "VAE file substitution"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "StringConcatenate",
+ "inputs": {
+ "string_a": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "string_b": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "delimiter": {
+ "type": "STRING",
+ "default": "",
+ "multiline": false
+ }
+ },
+ "outputs": [
+ "STRING:STRING"
+ ]
+ },
+ {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "clip": {
+ "type": "CLIP"
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "BerniniConditioning",
+ "inputs": {
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "vae": {
+ "type": "VAE"
+ },
+ "width": {
+ "type": "INT",
+ "default": 832,
+ "min": 16,
+ "max": 8192,
+ "step": 16
+ },
+ "height": {
+ "type": "INT",
+ "default": 480,
+ "min": 16,
+ "max": 8192,
+ "step": 16
+ },
+ "length": {
+ "type": "INT",
+ "default": 81,
+ "min": 1,
+ "max": 8192,
+ "step": 4
+ },
+ "batch_size": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ },
+ "source_video": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "reference_video": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "reference_images": {
+ "type": "COMFY_AUTOGROW_V3",
+ "optional": true
+ },
+ "ref_max_size": {
+ "type": "INT",
+ "default": 848,
+ "min": 16,
+ "max": 8192,
+ "step": 16,
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:positive",
+ "CONDITIONING:negative",
+ "LATENT:latent"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "BasicScheduler",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "denoise": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "SIGMAS:SIGMAS"
+ ]
+ },
+ {
+ "class_type": "SplitSigmas",
+ "inputs": {
+ "sigmas": {
+ "type": "SIGMAS"
+ },
+ "step": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 10000
+ }
+ },
+ "outputs": [
+ "SIGMAS:high_sigmas",
+ "SIGMAS:low_sigmas"
+ ]
+ },
+ {
+ "class_type": "KSamplerSelect",
+ "inputs": {
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ }
+ },
+ "outputs": [
+ "SAMPLER:SAMPLER"
+ ]
+ },
+ {
+ "class_type": "SamplerCustom",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "add_noise": {
+ "type": "BOOLEAN",
+ "default": true
+ },
+ "noise_seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "sampler": {
+ "type": "SAMPLER"
+ },
+ "sigmas": {
+ "type": "SIGMAS"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ }
+ },
+ "outputs": [
+ "LATENT:output",
+ "LATENT:denoised_output"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "Wan 2.2 Animate relight LoRA / SCAIL-2 relight LoRA (during character replacement)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "license": "Apache-2.0",
+ "vramGB": 24,
+ "models": [
+ {
+ "file": "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.2_ComfyUI_Repackaged/resolve/main/split_files/loras/wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.44
+ }
+ ],
+ "notes": "Matches a swapped character to scene light; not a general relight."
+ },
+ {
+ "name": "Per-frame image relight + temporal smoothing",
+ "notes": "Qwen-Edit relight per keyframe + VACE/FLF2V propagation; flickers - not recommended.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": [
+ "Bernini-R is new (2026-06); prompt wording matters - keep 'keep the subject, motion and framing unchanged' in prompts."
+ ]
+ },
+ {
+ "id": "draw-to-video",
+ "title": "Draw-to-video / trajectory-controlled image-to-video",
+ "gap": 6,
+ "higgsfield": "Draw-to-Video / Motion paths",
+ "summary": "Wan-Move (Apache-2.0, native core nodes since 0.5.0, template video_wanmove_480p) takes dense point tracks (one point per frame, pixel coords) - the user's strokes map 1:1. ATI (native WanTrackToVideo, template video_wan_ati) is the older Bytedance alternative with 121-point tracks.",
+ "recommended": {
+ "name": "Wan-Move 14B 480p (WanMoveTracksFromCoords -> WanMoveTrackToVideo) + lightx2v",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "video_wanmove_480p",
+ "graph": {
+ "1": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "start_frame.png"
+ }
+ },
+ "2": {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": [
+ "1",
+ 0
+ ],
+ "upscale_method": "lanczos",
+ "width": 832,
+ "height": 480,
+ "crop": "center"
+ }
+ },
+ "3": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "[[{\"x\": 260, \"y\": 300}, {\"x\": 263, \"y\": 298}, {\"x\": 266, \"y\": 297}, {\"x\": 269, \"y\": 295}, {\"x\": 272, \"y\": 294}, {\"x\": 275, \"y\": 292}, {\"x\": 278, \"y\": 291}, {\"x\": 281, \"y\": 289}, {\"x\": 284, \"y\": 288}, {\"x\": 287, \"y\": 286}, {\"x\": 290, \"y\": 285}, {\"x\": 293, \"y\": 283}, {\"x\": 296, \"y\": 282}, {\"x\": 299, \"y\": 280}, {\"x\": 302, \"y\": 279}, {\"x\": 305, \"y\": 277}, {\"x\": 308, \"y\": 276}, {\"x\": 311, \"y\": 274}, {\"x\": 314, \"y\": 273}, {\"x\": 317, \"y\": 271}, {\"x\": 320, \"y\": 270}, {\"x\": 323, \"y\": 268}, {\"x\": 326, \"y\": 267}, {\"x\": 329, \"y\": 265}, {\"x\": 332, \"y\": 264}, {\"x\": 335, \"y\": 262}, {\"x\": 338, \"y\": 261}, {\"x\": 341, \"y\": 259}, {\"x\": 344, \"y\": 258}, {\"x\": 347, \"y\": 256}, {\"x\": 350, \"y\": 255}, {\"x\": 353, \"y\": 253}, {\"x\": 356, \"y\": 252}, {\"x\": 359, \"y\": 250}, {\"x\": 362, \"y\": 249}, {\"x\": 365, \"y\": 247}, {\"x\": 368, \"y\": 246}, {\"x\": 371, \"y\": 244}, {\"x\": 374, \"y\": 243}, {\"x\": 377, \"y\": 241}, {\"x\": 380, \"y\": 240}, {\"x\": 383, \"y\": 238}, {\"x\": 386, \"y\": 237}, {\"x\": 389, \"y\": 235}, {\"x\": 392, \"y\": 234}, {\"x\": 395, \"y\": 232}, {\"x\": 398, \"y\": 231}, {\"x\": 401, \"y\": 229}, {\"x\": 404, \"y\": 228}, {\"x\": 407, \"y\": 226}, {\"x\": 410, \"y\": 225}, {\"x\": 413, \"y\": 223}, {\"x\": 416, \"y\": 222}, {\"x\": 419, \"y\": 220}, {\"x\": 422, \"y\": 219}, {\"x\": 425, \"y\": 217}, {\"x\": 428, \"y\": 216}, {\"x\": 431, \"y\": 214}, {\"x\": 434, \"y\": 213}, {\"x\": 437, \"y\": 211}, {\"x\": 440, \"y\": 210}, {\"x\": 443, \"y\": 208}, {\"x\": 446, \"y\": 207}, {\"x\": 449, \"y\": 205}, {\"x\": 452, \"y\": 204}, {\"x\": 455, \"y\": 202}, {\"x\": 458, \"y\": 201}, {\"x\": 461, \"y\": 199}, {\"x\": 464, \"y\": 198}, {\"x\": 467, \"y\": 196}, {\"x\": 470, \"y\": 195}, {\"x\": 473, \"y\": 193}, {\"x\": 476, \"y\": 192}, {\"x\": 479, \"y\": 190}, {\"x\": 482, \"y\": 189}, {\"x\": 485, \"y\": 187}, {\"x\": 488, \"y\": 186}, {\"x\": 491, \"y\": 184}, {\"x\": 494, \"y\": 183}, {\"x\": 497, \"y\": 181}, {\"x\": 500, \"y\": 180}], [{\"x\": 600, \"y\": 220}, {\"x\": 598, \"y\": 220}, {\"x\": 596, \"y\": 220}, {\"x\": 594, \"y\": 220}, {\"x\": 592, \"y\": 220}, {\"x\": 590, \"y\": 220}, {\"x\": 588, \"y\": 220}, {\"x\": 586, \"y\": 220}, {\"x\": 584, \"y\": 220}, {\"x\": 582, \"y\": 220}, {\"x\": 580, \"y\": 220}, {\"x\": 578, \"y\": 220}, {\"x\": 576, \"y\": 220}, {\"x\": 574, \"y\": 220}, {\"x\": 572, \"y\": 220}, {\"x\": 570, \"y\": 220}, {\"x\": 568, \"y\": 220}, {\"x\": 566, \"y\": 220}, {\"x\": 564, \"y\": 220}, {\"x\": 562, \"y\": 220}, {\"x\": 560, \"y\": 220}, {\"x\": 558, \"y\": 220}, {\"x\": 556, \"y\": 220}, {\"x\": 554, \"y\": 220}, {\"x\": 552, \"y\": 220}, {\"x\": 550, \"y\": 220}, {\"x\": 548, \"y\": 220}, {\"x\": 546, \"y\": 220}, {\"x\": 544, \"y\": 220}, {\"x\": 542, \"y\": 220}, {\"x\": 540, \"y\": 220}, {\"x\": 538, \"y\": 220}, {\"x\": 536, \"y\": 220}, {\"x\": 534, \"y\": 220}, {\"x\": 532, \"y\": 220}, {\"x\": 530, \"y\": 220}, {\"x\": 528, \"y\": 220}, {\"x\": 526, \"y\": 220}, {\"x\": 524, \"y\": 220}, {\"x\": 522, \"y\": 220}, {\"x\": 520, \"y\": 220}, {\"x\": 518, \"y\": 220}, {\"x\": 516, \"y\": 220}, {\"x\": 514, \"y\": 220}, {\"x\": 512, \"y\": 220}, {\"x\": 510, \"y\": 220}, {\"x\": 508, \"y\": 220}, {\"x\": 506, \"y\": 220}, {\"x\": 504, \"y\": 220}, {\"x\": 502, \"y\": 220}, {\"x\": 500, \"y\": 220}, {\"x\": 498, \"y\": 220}, {\"x\": 496, \"y\": 220}, {\"x\": 494, \"y\": 220}, {\"x\": 492, \"y\": 220}, {\"x\": 490, \"y\": 220}, {\"x\": 488, \"y\": 220}, {\"x\": 486, \"y\": 220}, {\"x\": 484, \"y\": 220}, {\"x\": 482, \"y\": 220}, {\"x\": 480, \"y\": 220}, {\"x\": 478, \"y\": 220}, {\"x\": 476, \"y\": 220}, {\"x\": 474, \"y\": 220}, {\"x\": 472, \"y\": 220}, {\"x\": 470, \"y\": 220}, {\"x\": 468, \"y\": 220}, {\"x\": 466, \"y\": 220}, {\"x\": 464, \"y\": 220}, {\"x\": 462, \"y\": 220}, {\"x\": 460, \"y\": 220}, {\"x\": 458, \"y\": 220}, {\"x\": 456, \"y\": 220}, {\"x\": 454, \"y\": 220}, {\"x\": 452, \"y\": 220}, {\"x\": 450, \"y\": 220}, {\"x\": 448, \"y\": 220}, {\"x\": 446, \"y\": 220}, {\"x\": 444, \"y\": 220}, {\"x\": 442, \"y\": 220}, {\"x\": 440, \"y\": 220}]]"
+ }
+ },
+ "4": {
+ "class_type": "WanMoveTracksFromCoords",
+ "inputs": {
+ "track_coords": [
+ "3",
+ 0
+ ]
+ }
+ },
+ "8": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "wan_2.1_vae.safetensors"
+ }
+ },
+ "9": {
+ "class_type": "CLIPVisionLoader",
+ "inputs": {
+ "clip_name": "clip_vision_h.safetensors"
+ }
+ },
+ "10": {
+ "class_type": "CLIPVisionEncode",
+ "inputs": {
+ "clip_vision": [
+ "9",
+ 0
+ ],
+ "image": [
+ "2",
+ 0
+ ],
+ "crop": "center"
+ }
+ },
+ "12": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "13": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "12",
+ 0
+ ],
+ "lora_name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "strength_model": 1.0
+ }
+ },
+ "14": {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": [
+ "13",
+ 0
+ ],
+ "shift": 8.0
+ }
+ },
+ "5": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "type": "wan",
+ "device": "default"
+ }
+ },
+ "6": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "a snowboarder carves down the slope, snow spraying behind",
+ "clip": [
+ "5",
+ 0
+ ]
+ }
+ },
+ "7": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
+ "clip": [
+ "5",
+ 0
+ ]
+ }
+ },
+ "11": {
+ "class_type": "WanMoveTrackToVideo",
+ "inputs": {
+ "positive": [
+ "6",
+ 0
+ ],
+ "negative": [
+ "7",
+ 0
+ ],
+ "vae": [
+ "8",
+ 0
+ ],
+ "tracks": [
+ "4",
+ 0
+ ],
+ "strength": 1.0,
+ "width": 832,
+ "height": 480,
+ "length": 81,
+ "batch_size": 1,
+ "start_image": [
+ "2",
+ 0
+ ],
+ "clip_vision_output": [
+ "10",
+ 0
+ ]
+ }
+ },
+ "15": {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": [
+ "14",
+ 0
+ ],
+ "seed": 0,
+ "steps": 6,
+ "cfg": 1.0,
+ "sampler_name": "er_sde",
+ "scheduler": "simple",
+ "positive": [
+ "11",
+ 0
+ ],
+ "negative": [
+ "11",
+ 1
+ ],
+ "latent_image": [
+ "11",
+ 2
+ ],
+ "denoise": 1.0
+ }
+ },
+ "16": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "15",
+ 0
+ ],
+ "vae": [
+ "8",
+ 0
+ ]
+ }
+ },
+ "17": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "16",
+ 0
+ ],
+ "fps": 16.0,
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "18": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "17",
+ 0
+ ],
+ "filename_prefix": "fuobe/draw-to-video-wanmove",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "image": [
+ {
+ "node": "1",
+ "input": "image"
+ }
+ ],
+ "tracks": [
+ {
+ "node": "3",
+ "input": "value"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "6",
+ "input": "text"
+ }
+ ],
+ "negativePrompt": [
+ {
+ "node": "7",
+ "input": "text"
+ }
+ ],
+ "width": [
+ {
+ "node": "2",
+ "input": "width"
+ },
+ {
+ "node": "11",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "2",
+ "input": "height"
+ },
+ {
+ "node": "11",
+ "input": "height"
+ }
+ ],
+ "frames": [
+ {
+ "node": "11",
+ "input": "length"
+ }
+ ],
+ "motionStrength": [
+ {
+ "node": "11",
+ "input": "strength"
+ }
+ ],
+ "fps": [
+ {
+ "node": "17",
+ "input": "fps"
+ }
+ ],
+ "seed": [
+ {
+ "node": "15",
+ "input": "seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "15",
+ "input": "steps"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "15",
+ "input": "cfg"
+ }
+ ],
+ "shift": [
+ {
+ "node": "14",
+ "input": "shift"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "18",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "18",
+ "kind": "video"
+ }
+ ],
+ "defaults": {
+ "width": 832,
+ "height": 480,
+ "frames": 81,
+ "fps": 16,
+ "steps": 6,
+ "cfg": 1,
+ "shift": 8,
+ "motionStrength": 1.0
+ },
+ "limits": {
+ "maxWidth": 832,
+ "maxHeight": 832,
+ "maxFrames": 81,
+ "dimensionMultiple": 16
+ },
+ "models": [
+ {
+ "file": "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "url": "https://huggingface.co/Kijai/WanVideo_comfy_fp8_scaled/resolve/main/WanMove/Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 16.4
+ },
+ {
+ "file": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Lightx2v/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "folder": "loras",
+ "sizeGB": 0.74
+ },
+ {
+ "file": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 6.74
+ },
+ {
+ "file": "wan_2.1_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ },
+ {
+ "file": "clip_vision_h.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors",
+ "folder": "clip_vision",
+ "sizeGB": 1.26
+ }
+ ],
+ "vramGB": 24,
+ "license": "Apache-2.0 (Ruihang/Wan-Move-14B-480P)",
+ "notes": "tracks = JSON string: list of tracks, each a list of {\"x\": px, \"y\": px} with exactly one point per output frame (frames points), in width x height pixel space of the resized start image; all tracks the same length (verified in nodes_wanmove.py: track_length = len(tracks[0])). Client: resample each drawn stroke to `frames` points (arc-length), several parallel tracks per object (GenerateTracks spreads num_tracks around a path). Static anchors (a track with a constant point) pin background. Template turbo path: lightx2v I2V 480p LoRA, 6 steps, cfg 1, er_sde; without LoRA 20 steps cfg 6. WanMoveVisualizeTracks(images, tracks) previews the paths.",
+ "inferred": [],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE",
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "upscale_method": {
+ "type": "COMBO",
+ "options": [
+ "nearest-exact",
+ "bilinear",
+ "area",
+ "bicubic",
+ "lanczos"
+ ]
+ },
+ "width": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "height": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "crop": {
+ "type": "COMBO",
+ "options": [
+ "disabled",
+ "center"
+ ]
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": {
+ "type": "STRING",
+ "multiline": true
+ }
+ },
+ "outputs": [
+ "STRING:STRING"
+ ]
+ },
+ {
+ "class_type": "WanMoveTracksFromCoords",
+ "inputs": {
+ "track_coords": {
+ "type": "STRING",
+ "default": "[]",
+ "multiline": false,
+ "forceInput": true,
+ "optional": true
+ },
+ "track_mask": {
+ "type": "MASK",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "TRACKS:TRACKS",
+ "INT:track_length"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "CLIPVisionLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "clip_vision_h.safetensors"
+ ]
+ }
+ },
+ "outputs": [
+ "CLIP_VISION:CLIP_VISION"
+ ]
+ },
+ {
+ "class_type": "CLIPVisionEncode",
+ "inputs": {
+ "clip_vision": {
+ "type": "CLIP_VISION"
+ },
+ "image": {
+ "type": "IMAGE"
+ },
+ "crop": {
+ "type": "COMBO",
+ "options": [
+ "center",
+ "none"
+ ]
+ }
+ },
+ "outputs": [
+ "CLIP_VISION_OUTPUT:CLIP_VISION_OUTPUT"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 3.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "clip": {
+ "type": "CLIP"
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "WanMoveTrackToVideo",
+ "inputs": {
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "vae": {
+ "type": "VAE"
+ },
+ "strength": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ },
+ "width": {
+ "type": "INT",
+ "default": 832,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "height": {
+ "type": "INT",
+ "default": 480,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "length": {
+ "type": "INT",
+ "default": 81,
+ "min": 1,
+ "max": 16384,
+ "step": 4
+ },
+ "batch_size": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ },
+ "start_image": {
+ "type": "IMAGE"
+ },
+ "tracks": {
+ "type": "TRACKS",
+ "optional": true
+ },
+ "clip_vision_output": {
+ "type": "CLIP_VISION_OUTPUT",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:positive",
+ "CONDITIONING:negative",
+ "LATENT:latent"
+ ]
+ },
+ {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "denoise": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "Wan 2.1 ATI 14B (WanTrackToVideo, native)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "video_wan_ati / template-Animation_Trajectory_Control_Wan_ATI",
+ "graph": {
+ "1": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "start_frame.png"
+ }
+ },
+ "4": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "wan_2.1_vae.safetensors"
+ }
+ },
+ "5": {
+ "class_type": "CLIPVisionLoader",
+ "inputs": {
+ "clip_name": "clip_vision_h.safetensors"
+ }
+ },
+ "6": {
+ "class_type": "CLIPVisionEncode",
+ "inputs": {
+ "clip_vision": [
+ "5",
+ 0
+ ],
+ "image": [
+ "1",
+ 0
+ ],
+ "crop": "none"
+ }
+ },
+ "8": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "weight_dtype": "fp8_e4m3fn"
+ }
+ },
+ "9": {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": [
+ "8",
+ 0
+ ],
+ "shift": 8.0
+ }
+ },
+ "2": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "type": "wan",
+ "device": "default"
+ }
+ },
+ "3": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "The white dragon warrior turns and walks toward the camera.",
+ "clip": [
+ "2",
+ 0
+ ]
+ }
+ },
+ "10": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
+ "clip": [
+ "2",
+ 0
+ ]
+ }
+ },
+ "7": {
+ "class_type": "WanTrackToVideo",
+ "inputs": {
+ "positive": [
+ "3",
+ 0
+ ],
+ "negative": [
+ "10",
+ 0
+ ],
+ "vae": [
+ "4",
+ 0
+ ],
+ "tracks": "[[{\"x\": 260, \"y\": 300}, {\"x\": 262, \"y\": 299}, {\"x\": 264, \"y\": 298}, {\"x\": 266, \"y\": 297}, {\"x\": 268, \"y\": 296}, {\"x\": 270, \"y\": 295}, {\"x\": 272, \"y\": 294}, {\"x\": 274, \"y\": 293}, {\"x\": 276, \"y\": 292}, {\"x\": 278, \"y\": 291}, {\"x\": 280, \"y\": 290}, {\"x\": 282, \"y\": 289}, {\"x\": 284, \"y\": 288}, {\"x\": 286, \"y\": 287}, {\"x\": 288, \"y\": 286}, {\"x\": 290, \"y\": 285}, {\"x\": 292, \"y\": 284}, {\"x\": 294, \"y\": 283}, {\"x\": 296, \"y\": 282}, {\"x\": 298, \"y\": 281}, {\"x\": 300, \"y\": 280}, {\"x\": 302, \"y\": 279}, {\"x\": 304, \"y\": 278}, {\"x\": 306, \"y\": 277}, {\"x\": 308, \"y\": 276}, {\"x\": 310, \"y\": 275}, {\"x\": 312, \"y\": 274}, {\"x\": 314, \"y\": 273}, {\"x\": 316, \"y\": 272}, {\"x\": 318, \"y\": 271}, {\"x\": 320, \"y\": 270}, {\"x\": 322, \"y\": 269}, {\"x\": 324, \"y\": 268}, {\"x\": 326, \"y\": 267}, {\"x\": 328, \"y\": 266}, {\"x\": 330, \"y\": 265}, {\"x\": 332, \"y\": 264}, {\"x\": 334, \"y\": 263}, {\"x\": 336, \"y\": 262}, {\"x\": 338, \"y\": 261}, {\"x\": 340, \"y\": 260}, {\"x\": 342, \"y\": 259}, {\"x\": 344, \"y\": 258}, {\"x\": 346, \"y\": 257}, {\"x\": 348, \"y\": 256}, {\"x\": 350, \"y\": 255}, {\"x\": 352, \"y\": 254}, {\"x\": 354, \"y\": 253}, {\"x\": 356, \"y\": 252}, {\"x\": 358, \"y\": 251}, {\"x\": 360, \"y\": 250}, {\"x\": 362, \"y\": 249}, {\"x\": 364, \"y\": 248}, {\"x\": 366, \"y\": 247}, {\"x\": 368, \"y\": 246}, {\"x\": 370, \"y\": 245}, {\"x\": 372, \"y\": 244}, {\"x\": 374, \"y\": 243}, {\"x\": 376, \"y\": 242}, {\"x\": 378, \"y\": 241}, {\"x\": 380, \"y\": 240}, {\"x\": 382, \"y\": 239}, {\"x\": 384, \"y\": 238}, {\"x\": 386, \"y\": 237}, {\"x\": 388, \"y\": 236}, {\"x\": 390, \"y\": 235}, {\"x\": 392, \"y\": 234}, {\"x\": 394, \"y\": 233}, {\"x\": 396, \"y\": 232}, {\"x\": 398, \"y\": 231}, {\"x\": 400, \"y\": 230}, {\"x\": 402, \"y\": 229}, {\"x\": 404, \"y\": 228}, {\"x\": 406, \"y\": 227}, {\"x\": 408, \"y\": 226}, {\"x\": 410, \"y\": 225}, {\"x\": 412, \"y\": 224}, {\"x\": 414, \"y\": 223}, {\"x\": 416, \"y\": 222}, {\"x\": 418, \"y\": 221}, {\"x\": 420, \"y\": 220}, {\"x\": 422, \"y\": 219}, {\"x\": 424, \"y\": 218}, {\"x\": 426, \"y\": 217}, {\"x\": 428, \"y\": 216}, {\"x\": 430, \"y\": 215}, {\"x\": 432, \"y\": 214}, {\"x\": 434, \"y\": 213}, {\"x\": 436, \"y\": 212}, {\"x\": 438, \"y\": 211}, {\"x\": 440, \"y\": 210}, {\"x\": 442, \"y\": 209}, {\"x\": 444, \"y\": 208}, {\"x\": 446, \"y\": 207}, {\"x\": 448, \"y\": 206}, {\"x\": 450, \"y\": 205}, {\"x\": 452, \"y\": 204}, {\"x\": 454, \"y\": 203}, {\"x\": 456, \"y\": 202}, {\"x\": 458, \"y\": 201}, {\"x\": 460, \"y\": 200}, {\"x\": 462, \"y\": 199}, {\"x\": 464, \"y\": 198}, {\"x\": 466, \"y\": 197}, {\"x\": 468, \"y\": 196}, {\"x\": 470, \"y\": 195}, {\"x\": 472, \"y\": 194}, {\"x\": 474, \"y\": 193}, {\"x\": 476, \"y\": 192}, {\"x\": 478, \"y\": 191}, {\"x\": 480, \"y\": 190}, {\"x\": 482, \"y\": 189}, {\"x\": 484, \"y\": 188}, {\"x\": 486, \"y\": 187}, {\"x\": 488, \"y\": 186}, {\"x\": 490, \"y\": 185}, {\"x\": 492, \"y\": 184}, {\"x\": 494, \"y\": 183}, {\"x\": 496, \"y\": 182}, {\"x\": 498, \"y\": 181}, {\"x\": 500, \"y\": 180}]]",
+ "width": 720,
+ "height": 480,
+ "length": 81,
+ "batch_size": 1,
+ "temperature": 220.0,
+ "topk": 2,
+ "start_image": [
+ "1",
+ 0
+ ],
+ "clip_vision_output": [
+ "6",
+ 0
+ ]
+ }
+ },
+ "11": {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": [
+ "9",
+ 0
+ ],
+ "seed": 0,
+ "steps": 20,
+ "cfg": 3.0,
+ "sampler_name": "uni_pc",
+ "scheduler": "simple",
+ "positive": [
+ "7",
+ 0
+ ],
+ "negative": [
+ "7",
+ 1
+ ],
+ "latent_image": [
+ "7",
+ 2
+ ],
+ "denoise": 1.0
+ }
+ },
+ "12": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "11",
+ 0
+ ],
+ "vae": [
+ "4",
+ 0
+ ]
+ }
+ },
+ "13": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "12",
+ 0
+ ],
+ "fps": 16.0,
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "14": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "13",
+ 0
+ ],
+ "filename_prefix": "fuobe/draw-to-video-ati",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "image": [
+ {
+ "node": "1",
+ "input": "image"
+ }
+ ],
+ "tracks": [
+ {
+ "node": "7",
+ "input": "tracks"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "3",
+ "input": "text"
+ }
+ ],
+ "negativePrompt": [
+ {
+ "node": "10",
+ "input": "text"
+ }
+ ],
+ "width": [
+ {
+ "node": "7",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "7",
+ "input": "height"
+ }
+ ],
+ "frames": [
+ {
+ "node": "7",
+ "input": "length"
+ }
+ ],
+ "fps": [
+ {
+ "node": "13",
+ "input": "fps"
+ }
+ ],
+ "seed": [
+ {
+ "node": "11",
+ "input": "seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "11",
+ "input": "steps"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "11",
+ "input": "cfg"
+ }
+ ],
+ "shift": [
+ {
+ "node": "9",
+ "input": "shift"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "14",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "14",
+ "kind": "video"
+ }
+ ],
+ "models": [
+ {
+ "file": "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 17.14
+ },
+ {
+ "file": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 6.74
+ },
+ {
+ "file": "wan_2.1_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/vae/wan_2.1_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ },
+ {
+ "file": "clip_vision_h.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged/resolve/main/split_files/clip_vision/clip_vision_h.safetensors",
+ "folder": "clip_vision",
+ "sizeGB": 1.26
+ }
+ ],
+ "vramGB": 24,
+ "license": "Apache-2.0 (bytedance-research/ATI)",
+ "notes": "tracks is a plain STRING widget: list of tracks, each 121 {x,y} points (24 fps samples over 5 s; padded/truncated to 121, pixel coords at width x height). temperature 220, topk 2. Template: 20 steps, cfg 3, uni_pc, shift 8.",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE",
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "CLIPVisionLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "clip_vision_h.safetensors"
+ ]
+ }
+ },
+ "outputs": [
+ "CLIP_VISION:CLIP_VISION"
+ ]
+ },
+ {
+ "class_type": "CLIPVisionEncode",
+ "inputs": {
+ "clip_vision": {
+ "type": "CLIP_VISION"
+ },
+ "image": {
+ "type": "IMAGE"
+ },
+ "crop": {
+ "type": "COMBO",
+ "options": [
+ "center",
+ "none"
+ ]
+ }
+ },
+ "outputs": [
+ "CLIP_VISION_OUTPUT:CLIP_VISION_OUTPUT"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingSD3",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 3.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "clip": {
+ "type": "CLIP"
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "WanTrackToVideo",
+ "inputs": {
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "vae": {
+ "type": "VAE"
+ },
+ "tracks": {
+ "type": "STRING",
+ "default": "[]",
+ "multiline": true
+ },
+ "width": {
+ "type": "INT",
+ "default": 832,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "height": {
+ "type": "INT",
+ "default": 480,
+ "min": 16,
+ "max": 16384,
+ "step": 16
+ },
+ "length": {
+ "type": "INT",
+ "default": 81,
+ "min": 1,
+ "max": 16384,
+ "step": 4
+ },
+ "batch_size": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 4096
+ },
+ "temperature": {
+ "type": "FLOAT",
+ "default": 220.0,
+ "min": 1.0,
+ "max": 1000.0,
+ "step": 0.1
+ },
+ "topk": {
+ "type": "INT",
+ "default": 2,
+ "min": 1,
+ "max": 10
+ },
+ "start_image": {
+ "type": "IMAGE"
+ },
+ "clip_vision_output": {
+ "type": "CLIP_VISION_OUTPUT",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:positive",
+ "CONDITIONING:negative",
+ "LATENT:latent"
+ ]
+ },
+ {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "denoise": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Wan 2.2 Time-to-Move (WanVideoWrapper WanVideoAddTTMLatents, example wanvideo_2_2_I2V_A14B_TimeToMove_example.json)",
+ "nodePack": {
+ "url": "https://github.com/kijai/ComfyUI-WanVideoWrapper",
+ "ref": "088128b224242e110d3906c6750e9a3a348a659b (2026-05-24)"
+ },
+ "vramGB": 24,
+ "license": "Apache-2.0 (Wan 2.2); TTM method training-free",
+ "notes": "Cut-and-drag: the app renders a crude animation (object sprite moved along the drawn path) + mask; TTM denoises it into a realistic Wan 2.2 I2V clip. Best for 'drag this object' UX at 720p, wrapper-only.",
+ "models": []
+ },
+ {
+ "name": "LTX-2.5 Motion-Track IC-LoRA (ComfyUI-LTXVideo LTX-2.5_ICLoRA_Motion_Track_Distilled.json)",
+ "nodePack": {
+ "url": "https://github.com/Lightricks/ComfyUI-LTXVideo",
+ "ref": "44c8a36b7c31ee00b4271daed11dc2a4aa481140 (2026-10-14)"
+ },
+ "vramGB": 32,
+ "license": "LTX-2 Community License",
+ "notes": "Higher resolution + audio, revenue-gated.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": [
+ "Wan-Move/ATI are 480p Wan 2.1 bases; upscale with SeedVR2 for delivery."
+ ]
+ },
+ {
+ "id": "multi-shot",
+ "title": "Multi-shot / multi-scene video",
+ "gap": 7,
+ "higgsfield": "Popcorn -> video, multi-shot sequences, Kling 3 multishot equivalents",
+ "summary": "LTX-2.5 generates native multishot clips (connected cuts holding identity, lighting and voice) - Fuobe already ships ltx25-t2v / ltx25-i2v, so this is a prompt-format feature, not a new graph. Commercially clean path: storyboard keyframes (storyboard capability) -> one Wan 2.2 I2V/FLF2V job per shot -> concat graph below. HoloCine is CC-BY-NC-SA and has no ComfyUI integration in WanVideoWrapper@088128b.",
+ "recommended": {
+ "name": "LTX-2.5 native multishot (existing library workflows ltx25-t2v / ltx25-i2v)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "video_ltx2_5_t2v / video_ltx2_5_i2v",
+ "reusesWorkflows": [
+ "ltx25-t2v",
+ "ltx25-i2v"
+ ],
+ "graph": null,
+ "models": [],
+ "vramGB": 24,
+ "license": "LTX-2 Community License (free < US$10M annual revenue across the entity)",
+ "notes": "Write the prompt as an ordered shot list (one paragraph per shot, explicit cut cues such as 'Cut to: close-up of ...'), keep character descriptions identical across shots; use 8-20 s (frames 193-481 at 24 fps, frameStep 8). Lightricks' multishot prompting guide is at docs.ltx.video (not fetchable from this box).",
+ "inferred": [
+ "exact multishot prompt syntax (docs.ltx.video returned 403); the model card confirms native multishot"
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "Chained shots: storyboard keyframes -> per-shot Wan 2.2 I2V / FLF2V -> concat (core)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "shot_1.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": [
+ "2",
+ 0
+ ],
+ "upscale_method": "lanczos",
+ "width": 640,
+ "height": 640,
+ "crop": "center"
+ }
+ },
+ "4": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "shot_2.mp4"
+ }
+ },
+ "5": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "4",
+ 0
+ ]
+ }
+ },
+ "6": {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": [
+ "5",
+ 0
+ ],
+ "upscale_method": "lanczos",
+ "width": 640,
+ "height": 640,
+ "crop": "center"
+ }
+ },
+ "7": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "shot_3.mp4"
+ }
+ },
+ "8": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "7",
+ 0
+ ]
+ }
+ },
+ "9": {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": [
+ "8",
+ 0
+ ],
+ "upscale_method": "lanczos",
+ "width": 640,
+ "height": 640,
+ "crop": "center"
+ }
+ },
+ "20": {
+ "class_type": "BatchImagesNode",
+ "inputs": {
+ "images.image0": [
+ "3",
+ 0
+ ],
+ "images.image1": [
+ "6",
+ 0
+ ],
+ "images.image2": [
+ "9",
+ 0
+ ]
+ }
+ },
+ "21": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "20",
+ 0
+ ],
+ "fps": 16.0,
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "22": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "21",
+ 0
+ ],
+ "filename_prefix": "fuobe/multishot-concat",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "video2": [
+ {
+ "node": "4",
+ "input": "file"
+ }
+ ],
+ "video3": [
+ {
+ "node": "7",
+ "input": "file"
+ }
+ ],
+ "width": [
+ {
+ "node": "3",
+ "input": "width"
+ },
+ {
+ "node": "6",
+ "input": "width"
+ },
+ {
+ "node": "9",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "3",
+ "input": "height"
+ },
+ {
+ "node": "6",
+ "input": "height"
+ },
+ {
+ "node": "9",
+ "input": "height"
+ }
+ ],
+ "fps": [
+ {
+ "node": "21",
+ "input": "fps"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "22",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "22",
+ "kind": "video"
+ }
+ ],
+ "models": [],
+ "vramGB": 1,
+ "license": "Apache-2.0 (Wan 2.2)",
+ "notes": "Orchestrated by the app: (1) storyboard panels via the storyboard capability, (2) one wan22-i2v-14b-lightx2v (or wan22-flf2v-14b with panel N and N+1) job per shot, (3) this concat graph (LoadVideo x N -> ImageScale -> BatchImagesNode -> CreateVideo). BatchImagesNode is an autogrow input (images.image0..image49). Hard cuts are intended; use flf2v for match cuts. Add v2a/music afterwards.",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "ImageScale",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "upscale_method": {
+ "type": "COMBO",
+ "options": [
+ "nearest-exact",
+ "bilinear",
+ "area",
+ "bicubic",
+ "lanczos"
+ ]
+ },
+ "width": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "height": {
+ "type": "INT",
+ "default": 512,
+ "min": 0,
+ "max": 16384,
+ "step": 1
+ },
+ "crop": {
+ "type": "COMBO",
+ "options": [
+ "disabled",
+ "center"
+ ]
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "BatchImagesNode",
+ "inputs": {
+ "images": {
+ "type": "COMFY_AUTOGROW_V3"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "SVI-shot / SVI-film-transitions LoRAs (Wan 2.1 I2V 14B, MIT)",
+ "nodePack": {
+ "url": "https://github.com/kijai/ComfyUI-WanVideoWrapper",
+ "ref": "088128b224242e110d3906c6750e9a3a348a659b (2026-05-24)"
+ },
+ "license": "MIT",
+ "models": [
+ {
+ "file": "svi-shot_lora_rank_128_fp16.safetensors",
+ "url": "https://huggingface.co/Kijai/WanVideo_comfy/resolve/main/LoRAs/Stable-Video-Infinity/svi-shot_lora_rank_128_fp16.safetensors",
+ "folder": "loras",
+ "sizeGB": 1.23
+ }
+ ],
+ "notes": "SVI 1.x LoRAs trained for shot changes inside an infinite-length chain; Wan 2.1 480p quality."
+ },
+ {
+ "name": "HoloCine (hlwang06/HoloCine)",
+ "license": "CC-BY-NC-SA-4.0 (non-commercial)",
+ "notes": "Holistic multi-shot Wan 2.2 model; no ComfyUI node found (grep of WanVideoWrapper@088128b has no HoloCine code). Skip.",
+ "models": []
+ },
+ {
+ "name": "EchoShot (WanVideoWrapper example wanvideo_1_3B_EchoShot_example.json)",
+ "nodePack": {
+ "url": "https://github.com/kijai/ComfyUI-WanVideoWrapper",
+ "ref": "088128b224242e110d3906c6750e9a3a348a659b (2026-05-24)"
+ },
+ "notes": "Multi-shot portrait video on Wan 2.1 T2V 1.3B; low resolution, research.",
+ "models": []
+ }
+ ],
+ "verified": false,
+ "risks": [
+ "LTX-2.5 license is revenue-gated; deployments above US$10M need a Lightricks license.",
+ "Cross-shot identity on the Wan chain depends on the keyframes - generate all panels from the same character references / LoRA."
+ ]
+ },
+ {
+ "id": "character-lora",
+ "title": "Character LoRA training (Soul ID parity)",
+ "gap": 8,
+ "higgsfield": "Soul ID (train a character from ~20 photos)",
+ "summary": "Run ostris/ai-toolkit headless as a training worker: one YAML job per character (Z-Image Turbo with the training adapter for fast photoreal stills; Qwen-Image-2512 or FLUX 3 Klein base for prompt adherence; Wan 2.2 T2V A14B for video identity). ComfyUI core TrainLoraNode works for small runs but has no bucketing/caption tooling parity.",
+ "recommended": {
+ "name": "ostris/ai-toolkit (CLI run.py or UI job API) - Z-Image Turbo character LoRA",
+ "nodePack": {
+ "url": "https://github.com/ostris/ai-toolkit",
+ "ref": "dcebc7442df70e5239c68167919fd2909c615769 (2026-10-16)"
+ },
+ "graph": null,
+ "models": [],
+ "vramGB": 24,
+ "license": "ai-toolkit MIT; LoRA inherits the base model license (Z-Image Apache-2.0)",
+ "jobConfigs": {
+ "zimage-turbo-character": {
+ "job": "extension",
+ "config": {
+ "name": "fuobe_zimage_char",
+ "process": [
+ {
+ "type": "diffusion_trainer",
+ "training_folder": "/data/fuobe/aitk-output",
+ "device": "cuda",
+ "trigger_word": "fuobechar",
+ "network": {
+ "type": "lora",
+ "linear": 16,
+ "linear_alpha": 16
+ },
+ "save": {
+ "dtype": "bf16",
+ "save_every": 500,
+ "max_step_saves_to_keep": 3,
+ "save_format": "safetensors"
+ },
+ "datasets": [
+ {
+ "folder_path": "/data/fuobe/datasets/<userId>/<characterId>",
+ "caption_ext": "txt",
+ "caption_dropout_rate": 0.05,
+ "cache_latents_to_disk": true,
+ "resolution": [
+ 512,
+ 768,
+ 1024
+ ],
+ "num_repeats": 1
+ }
+ ],
+ "train": {
+ "batch_size": 1,
+ "gradient_accumulation": 1,
+ "train_unet": true,
+ "train_text_encoder": false,
+ "gradient_checkpointing": true,
+ "noise_scheduler": "flowmatch",
+ "optimizer": "adamw8bit",
+ "lr": 0.0001,
+ "optimizer_params": {
+ "weight_decay": 0.0001
+ },
+ "dtype": "bf16",
+ "cache_text_embeddings": true,
+ "ema_config": {
+ "use_ema": false
+ },
+ "steps": 2500,
+ "timestep_type": "weighted"
+ },
+ "model": {
+ "name_or_path": "Tongyi-MAI/Z-Image-Turbo",
+ "arch": "zimage:turbo",
+ "assistant_lora_path": "ostris/zimage_turbo_training_adapter/zimage_turbo_training_adapter_v2.safetensors",
+ "quantize": true,
+ "qtype": "qfloat8",
+ "quantize_te": true,
+ "qtype_te": "qfloat8",
+ "low_vram": true
+ },
+ "sample": {
+ "sampler": "flowmatch",
+ "sample_every": 500,
+ "width": 1024,
+ "height": 1024,
+ "seed": 42,
+ "walk_seed": true,
+ "prompts": [
+ "photo of fuobechar woman, close-up portrait, natural window light",
+ "fuobechar woman walking in a neon-lit street at night, full body"
+ ],
+ "neg": "",
+ "guidance_scale": 1,
+ "sample_steps": 9
+ }
+ }
+ ]
+ },
+ "meta": {
+ "name": "[name]",
+ "version": "1.0"
+ }
+ },
+ "flux3-klein-base-character": {
+ "job": "extension",
+ "config": {
+ "name": "fuobe_flux3_char",
+ "process": [
+ {
+ "type": "diffusion_trainer",
+ "training_folder": "/data/fuobe/aitk-output",
+ "device": "cuda",
+ "trigger_word": "fuobechar",
+ "network": {
+ "type": "lora",
+ "linear": 32,
+ "linear_alpha": 32
+ },
+ "save": {
+ "dtype": "bf16",
+ "save_every": 500,
+ "max_step_saves_to_keep": 3,
+ "save_format": "safetensors"
+ },
+ "datasets": [
+ {
+ "folder_path": "/data/fuobe/datasets/<userId>/<characterId>",
+ "caption_ext": "txt",
+ "caption_dropout_rate": 0.05,
+ "cache_latents_to_disk": true,
+ "resolution": [
+ 512,
+ 768,
+ 1024
+ ],
+ "num_repeats": 1
+ }
+ ],
+ "train": {
+ "batch_size": 1,
+ "gradient_accumulation": 1,
+ "train_unet": true,
+ "train_text_encoder": false,
+ "gradient_checkpointing": true,
+ "noise_scheduler": "flowmatch",
+ "optimizer": "adamw8bit",
+ "lr": 0.0001,
+ "optimizer_params": {
+ "weight_decay": 0.0001
+ },
+ "dtype": "bf16",
+ "cache_text_embeddings": true,
+ "ema_config": {
+ "use_ema": false
+ },
+ "steps": 2500,
+ "timestep_type": "shift"
+ },
+ "model": {
+ "name_or_path": "black-forest-labs/flux-3-image-klein-base",
+ "arch": "flux3",
+ "quantize": true,
+ "qtype": "convrot8",
+ "quantize_te": true,
+ "qtype_te": "convrot8",
+ "low_vram": true
+ },
+ "sample": {
+ "sampler": "flowmatch",
+ "sample_every": 500,
+ "width": 1024,
+ "height": 1024,
+ "seed": 42,
+ "walk_seed": true,
+ "prompts": [
+ "photo of fuobechar woman, close-up portrait, natural window light",
+ "fuobechar woman walking in a neon-lit street at night, full body"
+ ],
+ "neg": "",
+ "guidance_scale": 3.5,
+ "sample_steps": 28
+ }
+ }
+ ]
+ },
+ "meta": {
+ "name": "[name]",
+ "version": "1.0"
+ }
+ },
+ "flux1-dev-character": {
+ "job": "extension",
+ "config": {
+ "name": "fuobe_flux1_char",
+ "process": [
+ {
+ "type": "diffusion_trainer",
+ "training_folder": "/data/fuobe/aitk-output",
+ "device": "cuda",
+ "trigger_word": "fuobechar",
+ "network": {
+ "type": "lora",
+ "linear": 16,
+ "linear_alpha": 16
+ },
+ "save": {
+ "dtype": "bf16",
+ "save_every": 500,
+ "max_step_saves_to_keep": 3,
+ "save_format": "safetensors"
+ },
+ "datasets": [
+ {
+ "folder_path": "/data/fuobe/datasets/<userId>/<characterId>",
+ "caption_ext": "txt",
+ "caption_dropout_rate": 0.05,
+ "cache_latents_to_disk": true,
+ "resolution": [
+ 512,
+ 768,
+ 1024
+ ],
+ "num_repeats": 1
+ }
+ ],
+ "train": {
+ "batch_size": 1,
+ "gradient_accumulation": 1,
+ "train_unet": true,
+ "train_text_encoder": false,
+ "gradient_checkpointing": true,
+ "noise_scheduler": "flowmatch",
+ "optimizer": "adamw8bit",
+ "lr": 0.0001,
+ "optimizer_params": {
+ "weight_decay": 0.0001
+ },
+ "dtype": "bf16",
+ "cache_text_embeddings": true,
+ "ema_config": {
+ "use_ema": false
+ },
+ "steps": 2000,
+ "timestep_type": "sigmoid"
+ },
+ "model": {
+ "name_or_path": "black-forest-labs/FLUX.1-dev",
+ "is_flux": true,
+ "quantize": true
+ },
+ "sample": {
+ "sampler": "flowmatch",
+ "sample_every": 500,
+ "width": 1024,
+ "height": 1024,
+ "seed": 42,
+ "walk_seed": true,
+ "prompts": [
+ "photo of fuobechar woman, close-up portrait, natural window light",
+ "fuobechar woman walking in a neon-lit street at night, full body"
+ ],
+ "neg": "",
+ "guidance_scale": 4,
+ "sample_steps": 20
+ }
+ }
+ ]
+ },
+ "meta": {
+ "name": "[name]",
+ "version": "1.0"
+ }
+ },
+ "qwen-image-2512-character": {
+ "job": "extension",
+ "config": {
+ "name": "fuobe_qwen2512_char",
+ "process": [
+ {
+ "type": "diffusion_trainer",
+ "training_folder": "/data/fuobe/aitk-output",
+ "device": "cuda",
+ "trigger_word": "fuobechar",
+ "network": {
+ "type": "lora",
+ "linear": 16,
+ "linear_alpha": 16
+ },
+ "save": {
+ "dtype": "bf16",
+ "save_every": 500,
+ "max_step_saves_to_keep": 3,
+ "save_format": "safetensors"
+ },
+ "datasets": [
+ {
+ "folder_path": "/data/fuobe/datasets/<userId>/<characterId>",
+ "caption_ext": "txt",
+ "caption_dropout_rate": 0.05,
+ "cache_latents_to_disk": true,
+ "resolution": [
+ 512,
+ 768,
+ 1024
+ ],
+ "num_repeats": 1
+ }
+ ],
+ "train": {
+ "batch_size": 1,
+ "gradient_accumulation": 1,
+ "train_unet": true,
+ "train_text_encoder": false,
+ "gradient_checkpointing": true,
+ "noise_scheduler": "flowmatch",
+ "optimizer": "adamw8bit",
+ "lr": 0.0001,
+ "optimizer_params": {
+ "weight_decay": 0.0001
+ },
+ "dtype": "bf16",
+ "cache_text_embeddings": true,
+ "ema_config": {
+ "use_ema": false
+ },
+ "steps": 2500,
+ "timestep_type": "weighted"
+ },
+ "model": {
+ "name_or_path": "Qwen/Qwen-Image-2512",
+ "arch": "qwen_image:2512",
+ "quantize": true,
+ "qtype": "uint3|ostris/accuracy_recovery_adapters/qwen_image_2512_torchao_uint3.safetensors",
+ "quantize_te": true,
+ "qtype_te": "qfloat8",
+ "low_vram": true
+ },
+ "sample": {
+ "sampler": "flowmatch",
+ "sample_every": 500,
+ "width": 1024,
+ "height": 1024,
+ "seed": 42,
+ "walk_seed": true,
+ "prompts": [
+ "photo of fuobechar woman, close-up portrait, natural window light",
+ "fuobechar woman walking in a neon-lit street at night, full body"
+ ],
+ "neg": "",
+ "guidance_scale": 3,
+ "sample_steps": 25
+ }
+ }
+ ]
+ },
+ "meta": {
+ "name": "[name]",
+ "version": "1.0"
+ }
+ },
+ "wan22-14b-t2v-character": {
+ "job": "extension",
+ "config": {
+ "name": "fuobe_wan22_char",
+ "process": [
+ {
+ "type": "diffusion_trainer",
+ "training_folder": "/data/fuobe/aitk-output",
+ "device": "cuda",
+ "trigger_word": "fuobechar",
+ "network": {
+ "type": "lora",
+ "linear": 32,
+ "linear_alpha": 32
+ },
+ "save": {
+ "dtype": "bf16",
+ "save_every": 500,
+ "max_step_saves_to_keep": 3,
+ "save_format": "safetensors"
+ },
+ "datasets": [
+ {
+ "folder_path": "/data/fuobe/datasets/<userId>/<characterId>",
+ "caption_ext": "txt",
+ "caption_dropout_rate": 0.05,
+ "cache_latents_to_disk": true,
+ "resolution": [
+ 512,
+ 768,
+ 1024
+ ],
+ "num_repeats": 1,
+ "num_frames": 1
+ }
+ ],
+ "train": {
+ "batch_size": 1,
+ "gradient_accumulation": 1,
+ "train_unet": true,
+ "train_text_encoder": false,
+ "gradient_checkpointing": true,
+ "noise_scheduler": "flowmatch",
+ "optimizer": "adamw8bit",
+ "lr": 0.0001,
+ "optimizer_params": {
+ "weight_decay": 0.0001
+ },
+ "dtype": "bf16",
+ "cache_text_embeddings": true,
+ "ema_config": {
+ "use_ema": false
+ },
+ "steps": 2500,
+ "timestep_type": "linear",
+ "switch_boundary_every": 10
+ },
+ "model": {
+ "name_or_path": "ai-toolkit/Wan2.2-T2V-A14B-Diffusers-bf16",
+ "arch": "wan22_14b",
+ "quantize": true,
+ "qtype": "uint4|ostris/accuracy_recovery_adapters/wan22_14b_t2i_torchao_uint4.safetensors",
+ "quantize_te": true,
+ "qtype_te": "qfloat8",
+ "low_vram": true,
+ "model_kwargs": {
+ "train_high_noise": true,
+ "train_low_noise": true
+ }
+ },
+ "sample": {
+ "sampler": "flowmatch",
+ "sample_every": 500,
+ "width": 1024,
+ "height": 1024,
+ "seed": 42,
+ "walk_seed": true,
+ "prompts": [
+ "photo of fuobechar woman, close-up portrait, natural window light",
+ "fuobechar woman walking in a neon-lit street at night, full body"
+ ],
+ "neg": "",
+ "num_frames": 1,
+ "fps": 16,
+ "guidance_scale": 3.5,
+ "sample_steps": 25
+ }
+ }
+ ]
+ },
+ "meta": {
+ "name": "[name]",
+ "version": "1.0"
+ }
+ }
+ },
+ "headless": {
+ "cli": "python run.py /data/fuobe/jobs/<jobId>.yaml [-n <name>] [-l <logfile>] # run.py args: config_file_list (1..n), -r/--recover, -n/--name (replaces [name]), -l/--log",
+ "uiApi": {
+ "base": "http://<host>:8675 (npm run build_and_start in ui/; worker + Next.js on 8675)",
+ "auth": "if env AI_TOOLKIT_AUTH is set, every /api/* call needs 'Authorization: Bearer <AI_TOOLKIT_AUTH>' (ui/src/middleware.ts); /api/img, /api/files, /api/audio/art are public",
+ "create": "POST /api/jobs {name, gpu_ids: '0', job_config: <job object as in jobConfigs>} -> job row {id, ...} (409 if name exists)",
+ "start": "GET /api/jobs/<id>/start (puts job in queue, ensures queue for gpu is running)",
+ "status": "GET /api/jobs?id=<id> -> {status: stopped|queued|running|stopping|completed|error, step, total_steps, info}",
+ "log": "GET /api/jobs/<id>/log",
+ "artifacts": "GET /api/jobs/<id>/files (lists *.safetensors in <training_folder>/<name>)",
+ "stop": "GET /api/jobs/<id>/stop",
+ "samples": "GET /api/jobs/<id>/samples"
+ },
+ "dataset": "folder of jpg/jpeg/png + same-name .txt captions (img01.jpg + img01.txt); webp unsupported; no cropping needed (aspect buckets, never upscaled). Put '[trigger]' in captions and set trigger_word, or write the token directly. 15-30 varied photos (face close-ups, half/full body, different light/outfits), captions describe everything except identity ('photo of fuobechar woman, wearing a red coat, street at night'). Auto-caption: /api/img/caption (UI) or Fuobe's prompt-enhance (Qwen3-VL TextGenerate).",
+ "typical": "rank 16-32, lr 1e-4, 2000-3000 steps at batch 1, save every 500 and keep the best checkpoint by sample review; Z-Image Turbo 1500-2500 steps (adapter v2), Wan 2.2 2000-3000 steps on stills (num_frames 1) or short clips",
+ "output": "<training_folder>/<name>/<name>.safetensors (+ step checkpoints) -> copy to ComfyUI models/loras/fuobe/<userId>/ and inject LoraLoaderModelOnly (Fuobe's injectLoras)"
+ },
+ "notes": "Arch names are the UI arch ids (model.arch 'zimage:turbo' is split at ':' -> 'zimage' in toolkit/config_modules.py; the UI variant only changes defaults). Z-Image Turbo requires assistant_lora_path = ostris/zimage_turbo_training_adapter v2 (de-distill adapter, training-only) so the distilled model can be trained; the saved LoRA is applied to z_image_turbo at inference. VRAM (low_vram + qfloat8): Z-Image ~16-24 GB, Qwen-Image-2512 24 GB with uint3 ARA, FLUX 3 Klein base ~24 GB, Wan 2.2 14B 24 GB with uint4 ARA (both experts, switch_boundary_every 10).",
+ "inferred": [
+ "VRAM numbers are ai-toolkit preset targets ('24gb' configs, low_vram presets), not measured",
+ "step counts are community norms"
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "ComfyUI core TrainLoraNode (Z-Image Turbo, LoadImageTextDataSetFromFolder -> MakeTrainingDataset -> TrainLoraNode -> SaveLoRA)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "graph": {
+ "1": {
+ "class_type": "LoadImageTextDataSetFromFolder",
+ "inputs": {
+ "folder": "fuobe_dataset"
+ }
+ },
+ "2": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "z_image_turbo_bf16.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "3": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen_3_4b.safetensors",
+ "type": "lumina2",
+ "device": "default"
+ }
+ },
+ "4": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "ae.safetensors"
+ }
+ },
+ "5": {
+ "class_type": "MakeTrainingDataset",
+ "inputs": {
+ "images": [
+ "1",
+ 0
+ ],
+ "vae": [
+ "4",
+ 0
+ ],
+ "clip": [
+ "3",
+ 0
+ ],
+ "texts": [
+ "1",
+ 1
+ ]
+ }
+ },
+ "6": {
+ "class_type": "TrainLoraNode",
+ "inputs": {
+ "model": [
+ "2",
+ 0
+ ],
+ "latents": [
+ "5",
+ 0
+ ],
+ "positive": [
+ "5",
+ 1
+ ],
+ "batch_size": 1,
+ "grad_accumulation_steps": 1,
+ "steps": 1500,
+ "learning_rate": 0.0001,
+ "rank": 16,
+ "optimizer": "AdamW",
+ "loss_function": "MSE",
+ "seed": 0,
+ "training_dtype": "bf16",
+ "lora_dtype": "bf16",
+ "quantized_backward": false,
+ "algorithm": "LoRA",
+ "gradient_checkpointing": true,
+ "checkpoint_depth": 1,
+ "offloading": false,
+ "existing_lora": "[None]",
+ "bucket_mode": true,
+ "bypass_mode": false
+ }
+ },
+ "7": {
+ "class_type": "SaveLoRA",
+ "inputs": {
+ "lora": [
+ "6",
+ 0
+ ],
+ "prefix": "loras/fuobe/character",
+ "steps": [
+ "6",
+ 2
+ ]
+ }
+ }
+ },
+ "bindings": {
+ "datasetFolder": [
+ {
+ "node": "1",
+ "input": "folder"
+ }
+ ],
+ "steps": [
+ {
+ "node": "6",
+ "input": "steps"
+ }
+ ],
+ "learningRate": [
+ {
+ "node": "6",
+ "input": "learning_rate"
+ }
+ ],
+ "rank": [
+ {
+ "node": "6",
+ "input": "rank"
+ }
+ ],
+ "seed": [
+ {
+ "node": "6",
+ "input": "seed"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "7",
+ "input": "prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "7",
+ "kind": "lora"
+ }
+ ],
+ "models": [
+ {
+ "file": "z_image_turbo_bf16.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 12.31
+ },
+ {
+ "file": "qwen_3_4b.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 8.04
+ },
+ {
+ "file": "ae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.34
+ }
+ ],
+ "vramGB": 32,
+ "license": "GPL-3.0 (ComfyUI); LoRA inherits base license",
+ "notes": "Dataset = ComfyUI input/<folder>/ with img + same-name .txt (LoadImageTextDataSetFromFolder lists input subfolders). TrainLoraNode is experimental, is_input_list; options: optimizer AdamW/Adam/SGD/RMSprop, loss MSE/L1/Huber/SmoothL1, algorithm LoRA/LoHa/LoKr/OFT, gradient_checkpointing, offloading, bucket_mode, existing_lora (resume). SaveLoRA writes output/<prefix>_<steps>_steps_<counter>_.safetensors (ComfyUI output dir, not models/loras - move it). Training a distilled Turbo model without a de-distill adapter degrades it; prefer Z-Image (base) for training then apply to Turbo.",
+ "inferred": [
+ "VRAM (bf16 6B model + activations; offloading=true for 24 GB)"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadImageTextDataSetFromFolder",
+ "inputs": {
+ "folder": {
+ "type": "COMBO",
+ "options": [
+ "3d",
+ "fuobe_dataset"
+ ]
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "STRING:texts"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "MakeTrainingDataset",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "vae": {
+ "type": "VAE"
+ },
+ "clip": {
+ "type": "CLIP"
+ },
+ "texts": {
+ "type": "STRING",
+ "multiline": false,
+ "forceInput": true,
+ "optional": true
+ }
+ },
+ "outputs": [
+ "LATENT:latents",
+ "CONDITIONING:conditioning"
+ ]
+ },
+ {
+ "class_type": "TrainLoraNode",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "latents": {
+ "type": "LATENT"
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "batch_size": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 10000
+ },
+ "grad_accumulation_steps": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 1024
+ },
+ "steps": {
+ "type": "INT",
+ "default": 16,
+ "min": 1,
+ "max": 100000
+ },
+ "learning_rate": {
+ "type": "FLOAT",
+ "default": 0.0005,
+ "min": 1e-07,
+ "max": 1.0,
+ "step": 1e-07
+ },
+ "rank": {
+ "type": "INT",
+ "default": 8,
+ "min": 1,
+ "max": 128
+ },
+ "optimizer": {
+ "type": "COMBO",
+ "options": [
+ "AdamW",
+ "Adam",
+ "SGD",
+ "RMSprop"
+ ],
+ "default": "AdamW"
+ },
+ "loss_function": {
+ "type": "COMBO",
+ "options": [
+ "MSE",
+ "L1",
+ "Huber",
+ "SmoothL1"
+ ],
+ "default": "MSE"
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "training_dtype": {
+ "type": "COMBO",
+ "options": [
+ "bf16",
+ "fp32",
+ "none"
+ ],
+ "default": "bf16"
+ },
+ "lora_dtype": {
+ "type": "COMBO",
+ "options": [
+ "bf16",
+ "fp32"
+ ],
+ "default": "bf16"
+ },
+ "quantized_backward": {
+ "type": "BOOLEAN",
+ "default": false
+ },
+ "algorithm": {
+ "type": "COMBO",
+ "options": [
+ "LoRA",
+ "LoHa",
+ "LoKr",
+ "OFT"
+ ],
+ "default": "LoRA"
+ },
+ "gradient_checkpointing": {
+ "type": "BOOLEAN",
+ "default": true
+ },
+ "checkpoint_depth": {
+ "type": "INT",
+ "default": 1,
+ "min": 1,
+ "max": 5
+ },
+ "offloading": {
+ "type": "BOOLEAN",
+ "default": false
+ },
+ "existing_lora": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors",
+ "[None]"
+ ],
+ "default": "[None]"
+ },
+ "bucket_mode": {
+ "type": "BOOLEAN",
+ "default": false
+ },
+ "bypass_mode": {
+ "type": "BOOLEAN",
+ "default": false
+ }
+ },
+ "outputs": [
+ "LORA_MODEL:lora",
+ "LOSS_MAP:loss_map",
+ "INT:steps"
+ ]
+ },
+ {
+ "class_type": "SaveLoRA",
+ "inputs": {
+ "lora": {
+ "type": "LORA_MODEL"
+ },
+ "prefix": {
+ "type": "STRING",
+ "default": "loras/ComfyUI_trained_lora",
+ "multiline": false
+ },
+ "steps": {
+ "type": "INT",
+ "optional": true
+ }
+ },
+ "outputs": []
+ }
+ ]
+ },
+ {
+ "name": "kohya-ss/musubi-tuner (Wan 2.1/2.2, Qwen-Image, Z-Image, FLUX.2, HunyuanVideo 1.5)",
+ "nodePack": {
+ "url": "https://github.com/kohya-ss/musubi-tuner",
+ "ref": "main"
+ },
+ "license": "Apache-2.0",
+ "notes": "Scriptable CLI alternative, strongest for video LoRAs; no job API.",
+ "models": []
+ },
+ {
+ "name": "kijai/ComfyUI-FluxTrainer (FLUX.1 only, kohya backend)",
+ "nodePack": {
+ "url": "https://github.com/kijai/ComfyUI-FluxTrainer",
+ "ref": "09fef403d12affdf2f035ac0c39a4668d25ad881 (2025-04-02, stale)"
+ },
+ "license": "Apache-2.0 pack; FLUX.1 dev NC",
+ "notes": "Nodes: InitFluxLoRATraining, FluxTrainModelSelect, TrainDatasetGeneralConfig, TrainDatasetAdd, OptimizerConfig*, FluxTrainLoop, FluxTrainAndValidateLoop, FluxTrainValidate, FluxTrainSave, FluxTrainEnd, VisualizeLoss, ExtractFluxLoRA. Stale since 2025-04 and FLUX.1-only - not recommended.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": [
+ "Training jobs hold the GPU 20-90 min - run ai-toolkit on a separate GPU/worker from ComfyUI or pause the ComfyUI queue.",
+ "Gated base models (FLUX) need an HF token in the worker env (HF_TOKEN)."
+ ]
+ },
+ {
+ "id": "storyboard",
+ "title": "Storyboard / consistent image sequence (Popcorn parity)",
+ "gap": 9,
+ "higgsfield": "Popcorn (consistent multi-frame storyboards from references)",
+ "summary": "Chain Qwen-Image-Edit-2509 + next-scene LoRA v2 (MIT): panel N = edit(panel N-1, 'Next Scene: <camera/story beat>') with the character reference as image2 for identity. For 'N panels from references' without chaining, use the library's qwen-image-edit-2511-multi (Apache) or flux2-dev-multiref (NC).",
+ "recommended": {
+ "name": "Qwen-Image-Edit-2509 + next-scene LoRA v2 chained (previous panel + character reference)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "graph": {
+ "78": {
+ "inputs": {
+ "image": "previous_panel.png"
+ },
+ "class_type": "LoadImage",
+ "_meta": {
+ "title": "Load Image"
+ }
+ },
+ "469": {
+ "inputs": {
+ "filename_prefix": "fuobe/storyboard-next-scene",
+ "format": "png",
+ "format.bit_depth": "8-bit",
+ "format.input_color_space": "sRGB",
+ "images": [
+ "433:8",
+ 0
+ ]
+ },
+ "class_type": "SaveImageAdvanced",
+ "_meta": {
+ "title": "Save Image (Advanced)"
+ }
+ },
+ "433:3": {
+ "inputs": {
+ "seed": 362225868152841,
+ "steps": [
+ "433:436",
+ 0
+ ],
+ "cfg": [
+ "433:437",
+ 0
+ ],
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1,
+ "model": [
+ "433:75",
+ 0
+ ],
+ "positive": [
+ "433:111",
+ 0
+ ],
+ "negative": [
+ "433:110",
+ 0
+ ],
+ "latent_image": [
+ "433:88",
+ 0
+ ]
+ },
+ "class_type": "KSampler",
+ "_meta": {
+ "title": "KSampler"
+ }
+ },
+ "433:8": {
+ "inputs": {
+ "samples": [
+ "433:3",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ]
+ },
+ "class_type": "VAEDecode",
+ "_meta": {
+ "title": "VAE Decode"
+ }
+ },
+ "433:37": {
+ "inputs": {
+ "unet_name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "weight_dtype": "default"
+ },
+ "class_type": "UNETLoader",
+ "_meta": {
+ "title": "Load Diffusion Model"
+ }
+ },
+ "433:38": {
+ "inputs": {
+ "clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "type": "qwen_image",
+ "device": "default"
+ },
+ "class_type": "CLIPLoader",
+ "_meta": {
+ "title": "Load CLIP"
+ }
+ },
+ "433:39": {
+ "inputs": {
+ "vae_name": "qwen_image_vae.safetensors"
+ },
+ "class_type": "VAELoader",
+ "_meta": {
+ "title": "Load VAE"
+ }
+ },
+ "433:66": {
+ "inputs": {
+ "shift": 3,
+ "sampling": "flow",
+ "model": [
+ "1001",
+ 0
+ ]
+ },
+ "class_type": "ModelSamplingAuraFlow",
+ "_meta": {
+ "title": "ModelSamplingAuraFlow"
+ }
+ },
+ "433:75": {
+ "inputs": {
+ "strength": 1,
+ "pre_cfg": false,
+ "model": [
+ "433:66",
+ 0
+ ]
+ },
+ "class_type": "CFGNorm",
+ "_meta": {
+ "title": "CFGNorm"
+ }
+ },
+ "433:88": {
+ "inputs": {
+ "pixels": [
+ "433:117",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ]
+ },
+ "class_type": "VAEEncode",
+ "_meta": {
+ "title": "VAE Encode"
+ }
+ },
+ "433:89": {
+ "inputs": {
+ "lora_name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "strength_model": 1,
+ "model": [
+ "433:37",
+ 0
+ ]
+ },
+ "class_type": "LoraLoaderModelOnly",
+ "_meta": {
+ "title": "Load LoRA"
+ }
+ },
+ "433:110": {
+ "inputs": {
+ "prompt": "",
+ "clip": [
+ "433:38",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ],
+ "image1": [
+ "433:117",
+ 0
+ ],
+ "image2": [
+ "1003",
+ 0
+ ]
+ },
+ "class_type": "TextEncodeQwenImageEditPlus",
+ "_meta": {
+ "title": "Text Encode Qwen Image Edit Plus"
+ }
+ },
+ "433:111": {
+ "inputs": {
+ "prompt": [
+ "1002",
+ 0
+ ],
+ "clip": [
+ "433:38",
+ 0
+ ],
+ "vae": [
+ "433:39",
+ 0
+ ],
+ "image1": [
+ "433:117",
+ 0
+ ],
+ "image2": [
+ "1003",
+ 0
+ ]
+ },
+ "class_type": "TextEncodeQwenImageEditPlus",
+ "_meta": {
+ "title": "Text Encode Qwen Image Edit Plus"
+ }
+ },
+ "433:117": {
+ "inputs": {
+ "image": [
+ "78",
+ 0
+ ]
+ },
+ "class_type": "FluxKontextImageScale",
+ "_meta": {
+ "title": "FluxKontextImageScale"
+ }
+ },
+ "433:436": {
+ "inputs": {
+ "value": 4
+ },
+ "class_type": "PrimitiveInt",
+ "_meta": {
+ "title": "Stpes"
+ }
+ },
+ "433:437": {
+ "inputs": {
+ "value": 1
+ },
+ "class_type": "PrimitiveFloat",
+ "_meta": {
+ "title": "CFG"
+ }
+ },
+ "1001": {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": [
+ "433:89",
+ 0
+ ],
+ "lora_name": "next-scene_lora-v2-3000.safetensors",
+ "strength_model": 0.75
+ }
+ },
+ "1002": {
+ "class_type": "StringConcatenate",
+ "inputs": {
+ "string_a": "Next Scene:",
+ "string_b": "The camera pulls back to a wide shot, revealing the heroine standing at the edge of the rooftop at dusk.",
+ "delimiter": " "
+ }
+ },
+ "1003": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "character_reference.png"
+ }
+ }
+ },
+ "bindings": {
+ "prompt": [
+ {
+ "node": "1002",
+ "input": "string_b"
+ }
+ ],
+ "image": [
+ {
+ "node": "78",
+ "input": "image"
+ }
+ ],
+ "image2": [
+ {
+ "node": "1003",
+ "input": "image"
+ }
+ ],
+ "seed": [
+ {
+ "node": "433:3",
+ "input": "seed"
+ }
+ ],
+ "steps": [
+ {
+ "node": "433:436",
+ "input": "value"
+ }
+ ],
+ "cfg": [
+ {
+ "node": "433:437",
+ "input": "value"
+ }
+ ],
+ "loraStrength": [
+ {
+ "node": "1001",
+ "input": "strength_model"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "469",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "469",
+ "kind": "image"
+ }
+ ],
+ "defaults": {
+ "steps": 4,
+ "cfg": 1,
+ "loraStrength": 0.75
+ },
+ "models": [
+ {
+ "file": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "folder": "diffusion_models",
+ "sizeGB": 20.43
+ },
+ {
+ "file": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "folder": "text_encoders",
+ "sizeGB": 9.38
+ },
+ {
+ "file": "qwen_image_vae.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
+ "folder": "vae",
+ "sizeGB": 0.25
+ },
+ {
+ "file": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "folder": "loras",
+ "sizeGB": 0.85
+ },
+ {
+ "file": "next-scene_lora-v2-3000.safetensors",
+ "url": "https://huggingface.co/lovis93/next-scene-qwen-image-lora-2509/resolve/main/next-scene_lora-v2-3000.safetensors",
+ "folder": "loras",
+ "note": "prompt prefix 'Next Scene:'; strength 0.7-0.8 (model card)",
+ "sizeGB": 0.3
+ }
+ ],
+ "vramGB": 24,
+ "license": "Apache-2.0 base; next-scene LoRA MIT",
+ "notes": "Run once per panel; image = previous panel (or the first keyframe from t2i), image2 = character/product reference (keeps identity), prompt = camera move + story beat ('The camera pulls back...'). 'Next Scene:' is prefixed by node 1002. Model card: strength 0.7-0.8. Start panel 1 with z-image-turbo-t2i + the user's character LoRA for Soul-ID consistency.",
+ "inferred": [
+ "identity hold over >6 chained panels (drift accumulates; re-inject the original reference every panel as done here)"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE",
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "SaveImageAdvanced",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ }
+ },
+ "outputs": [
+ "IMAGE:images"
+ ]
+ },
+ {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "seed": {
+ "type": "INT",
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709551615
+ },
+ "steps": {
+ "type": "INT",
+ "default": 20,
+ "min": 1,
+ "max": 10000
+ },
+ "cfg": {
+ "type": "FLOAT",
+ "default": 8.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.1
+ },
+ "sampler_name": {
+ "type": "COMBO",
+ "options": [
+ "euler",
+ "euler_cfg_pp",
+ "euler_ancestral",
+ "euler_ancestral_cfg_pp",
+ "heun",
+ "heunpp2",
+ "exp_heun_2_x0",
+ "exp_heun_2_x0_sde",
+ "dpm_2",
+ "dpm_2_ancestral",
+ "lms",
+ "dpm_fast",
+ "dpm_adaptive",
+ "dpmpp_2s_ancestral",
+ "dpmpp_2s_ancestral_cfg_pp",
+ "dpmpp_sde",
+ "dpmpp_sde_gpu",
+ "dpmpp_2m",
+ "dpmpp_2m_cfg_pp",
+ "dpmpp_2m_sde",
+ "dpmpp_2m_sde_gpu",
+ "dpmpp_2m_sde_heun",
+ "dpmpp_2m_sde_heun_gpu",
+ "dpmpp_3m_sde",
+ "... (45 total)"
+ ]
+ },
+ "scheduler": {
+ "type": "COMBO",
+ "options": [
+ "simple",
+ "sgm_uniform",
+ "karras",
+ "exponential",
+ "ddim_uniform",
+ "beta",
+ "normal",
+ "linear_quadratic",
+ "kl_optimal"
+ ]
+ },
+ "positive": {
+ "type": "CONDITIONING"
+ },
+ "negative": {
+ "type": "CONDITIONING"
+ },
+ "latent_image": {
+ "type": "LATENT"
+ },
+ "denoise": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": {
+ "type": "LATENT"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": {
+ "type": "COMBO",
+ "options": [
+ "Wan21-WanMove_fp8_scaled_e4m3fn_KJ.safetensors",
+ "Wan2_1-I2V-ATI-14B_fp8_e4m3fn.safetensors",
+ "iclight_sd15_fc.safetensors",
+ "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
+ "wan2.1_vace_14B_fp16.safetensors",
+ "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
+ "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
+ "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
+ "z_image_turbo_bf16.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp8_e4m3fn",
+ "fp8_e4m3fn_fast",
+ "fp8_e5m2"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": {
+ "type": "COMBO",
+ "options": [
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
+ "qwen_3_4b.safetensors",
+ "umt5_xxl_fp16.safetensors",
+ "umt5_xxl_fp8_e4m3fn_scaled.safetensors"
+ ]
+ },
+ "type": {
+ "type": "COMBO",
+ "options": [
+ "stable_diffusion",
+ "stable_cascade",
+ "sd3",
+ "stable_audio",
+ "mochi",
+ "ltxv",
+ "pixart",
+ "cosmos",
+ "lumina2",
+ "wan",
+ "hidream",
+ "chroma",
+ "ace",
+ "omnigen2",
+ "qwen_image",
+ "hunyuan_image",
+ "flux2",
+ "ovis",
+ "longcat_image",
+ "cogvideox",
+ "lens",
+ "pixeldit",
+ "ideogram4",
+ "boogu",
+ "... (31 total)"
+ ]
+ },
+ "device": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "cpu"
+ ],
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CLIP:CLIP"
+ ]
+ },
+ {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": {
+ "type": "COMBO",
+ "options": [
+ "ae.safetensors",
+ "qwen_image_vae.safetensors",
+ "wan_2.1_vae.safetensors",
+ "pixel_space"
+ ]
+ }
+ },
+ "outputs": [
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "ModelSamplingAuraFlow",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "shift": {
+ "type": "FLOAT",
+ "default": 1.73,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ },
+ "sampling": {
+ "type": "COMBO",
+ "options": [
+ "flow",
+ "img_to_img_velocity"
+ ],
+ "default": "flow",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "CFGNorm",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "strength": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 100.0,
+ "step": 0.01
+ },
+ "pre_cfg": {
+ "type": "BOOLEAN",
+ "default": false,
+ "optional": true
+ }
+ },
+ "outputs": [
+ "MODEL:patched_model"
+ ]
+ },
+ {
+ "class_type": "VAEEncode",
+ "inputs": {
+ "pixels": {
+ "type": "IMAGE"
+ },
+ "vae": {
+ "type": "VAE"
+ }
+ },
+ "outputs": [
+ "LATENT:LATENT"
+ ]
+ },
+ {
+ "class_type": "LoraLoaderModelOnly",
+ "inputs": {
+ "model": {
+ "type": "MODEL"
+ },
+ "lora_name": {
+ "type": "COMBO",
+ "options": [
+ "Qwen-Image-Edit-2509-Light-Migration.safetensors",
+ "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
+ "Qwen-Image-Edit-2509-Relight.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_HIGH_lora_rank_128_fp16.safetensors",
+ "SVI_v2_PRO_Wan2.2-I2V-A14B_LOW_lora_rank_128_fp16.safetensors",
+ "Wan21_CausVid_14B_T2V_lora_rank32.safetensors",
+ "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
+ "lightx2v_T2V_14B_cfg_step_distill_v2_lora_rank64_bf16.safetensors",
+ "next-scene_lora-v2-3000.safetensors",
+ "svi-shot_lora_rank_128_fp16.safetensors",
+ "wan2.2_animate_14B_relight_lora_bf16.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
+ "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
+ "wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors"
+ ]
+ },
+ "strength_model": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": -100.0,
+ "max": 100.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL"
+ ]
+ },
+ {
+ "class_type": "TextEncodeQwenImageEditPlus",
+ "inputs": {
+ "clip": {
+ "type": "CLIP"
+ },
+ "prompt": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "vae": {
+ "type": "VAE",
+ "optional": true
+ },
+ "image1": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "image2": {
+ "type": "IMAGE",
+ "optional": true
+ },
+ "image3": {
+ "type": "IMAGE",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "FluxKontextImageScale",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "PrimitiveInt",
+ "inputs": {
+ "value": {
+ "type": "INT",
+ "min": -9223372036854775807,
+ "max": 9223372036854775807
+ }
+ },
+ "outputs": [
+ "INT:INT"
+ ]
+ },
+ {
+ "class_type": "PrimitiveFloat",
+ "inputs": {
+ "value": {
+ "type": "FLOAT",
+ "min": -9223372036854775807,
+ "max": 9223372036854775807,
+ "step": 0.1
+ }
+ },
+ "outputs": [
+ "FLOAT:FLOAT"
+ ]
+ },
+ {
+ "class_type": "StringConcatenate",
+ "inputs": {
+ "string_a": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "string_b": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "delimiter": {
+ "type": "STRING",
+ "default": "",
+ "multiline": false
+ }
+ },
+ "outputs": [
+ "STRING:STRING"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "Qwen-Image-Edit-2511 multi-reference (library qwen-image-edit-2511-multi)",
+ "reusesWorkflows": [
+ "qwen-image-edit-2511-multi"
+ ],
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "license": "Apache-2.0",
+ "vramGB": 24,
+ "notes": "Up to 3 references per panel (character, product, location); generate each panel independently from the same refs = no drift but less shot-to-shot continuity. next-scene LoRA was trained on 2509; on 2511 it loads (same architecture) but is untested.",
+ "models": []
+ },
+ {
+ "name": "FLUX.2 [dev] multi-reference (library flux2-dev-multiref)",
+ "reusesWorkflows": [
+ "flux2-dev-multiref"
+ ],
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "license": "FLUX.2 [dev] Non-Commercial",
+ "vramGB": 32,
+ "notes": "Strongest multi-ref consistency (up to 10 refs) and hex-color control; NC license.",
+ "models": []
+ },
+ {
+ "name": "Qwen Image 2.1 + Next-Scene LoRA (akhaliq/Qwen-Image-2.1-Next-Scene-LoRA)",
+ "license": "LoRA Apache-2.0; Qwen Image 2.1 research/non-commercial",
+ "notes": "Best quality chain in Oct 2026 but NC base.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": []
+ },
+ {
+ "id": "video-bg-remove",
+ "title": "Video background removal / alpha matte",
+ "gap": 10,
+ "higgsfield": "Remove background (video), green-screen",
+ "summary": "Core RemoveBackground + BiRefNet (MIT) processes IMAGE batches frame by frame (verified: comfy/bg_removal_model.py loops over the batch), JoinImageWithAlpha builds RGBA and core SaveWEBM writes VP9 yuva420p with real transparency. For 'remove everything except <object>' use SAM 3.1 video tracking (core SAM3_VideoTrack, text-prompted, temporally consistent).",
+ "recommended": {
+ "name": "BiRefNet per-frame matte (core RemoveBackground) -> RGBA WebM (VP9 alpha) + matte MP4",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "utility_birefnet_remove_background (image) applied to GetVideoComponents frames",
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "LoadBackgroundRemovalModel",
+ "inputs": {
+ "bg_removal_name": "birefnet.safetensors"
+ }
+ },
+ "4": {
+ "class_type": "RemoveBackground",
+ "inputs": {
+ "bg_removal_model": [
+ "3",
+ 0
+ ],
+ "image": [
+ "2",
+ 0
+ ]
+ }
+ },
+ "5": {
+ "class_type": "InvertMask",
+ "inputs": {
+ "mask": [
+ "4",
+ 0
+ ]
+ }
+ },
+ "6": {
+ "class_type": "JoinImageWithAlpha",
+ "inputs": {
+ "image": [
+ "2",
+ 0
+ ],
+ "alpha": [
+ "5",
+ 0
+ ]
+ }
+ },
+ "7": {
+ "class_type": "SaveWEBM",
+ "inputs": {
+ "images": [
+ "6",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-alpha-birefnet",
+ "codec": "vp9",
+ "fps": 24.0,
+ "crf": 24.0
+ }
+ },
+ "8": {
+ "class_type": "MaskToImage",
+ "inputs": {
+ "mask": [
+ "4",
+ 0
+ ]
+ }
+ },
+ "9": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "8",
+ 0
+ ],
+ "fps": [
+ "2",
+ 2
+ ],
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "10": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "9",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-matte-birefnet",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "fps": [
+ {
+ "node": "7",
+ "input": "fps"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "7",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "7",
+ "kind": "video"
+ },
+ {
+ "node": "10",
+ "kind": "video"
+ }
+ ],
+ "models": [
+ {
+ "file": "birefnet.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors",
+ "folder": "background_removal",
+ "sizeGB": 0.44
+ }
+ ],
+ "vramGB": 4,
+ "license": "MIT",
+ "notes": "Outputs: node 7 = transparent .webm (SaveWEBM: 'RGBA images are saved with their alpha channel as transparency (vp9 codec only)', reported under ui.images with animated preview), node 10 = black/white matte .mp4 for compositing. RemoveBackground returns foreground=1; InvertMask is required because JoinImageWithAlpha stores 1-mask as alpha (same as the library's bg-remove-birefnet). fps on SaveWEBM is a literal (bind source fps). Edge flicker is possible on hair; Comfy-Org/BiRefNet also ships lucida.safetensors (0.88 GB) usable in the same loader.",
+ "inferred": [
+ "temporal stability (BiRefNet is per-frame)"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "LoadBackgroundRemovalModel",
+ "inputs": {
+ "bg_removal_name": {
+ "type": "COMBO",
+ "options": [
+ "birefnet.safetensors"
+ ]
+ }
+ },
+ "outputs": [
+ "BACKGROUND_REMOVAL:bg_model"
+ ]
+ },
+ {
+ "class_type": "RemoveBackground",
+ "inputs": {
+ "bg_removal_model": {
+ "type": "BACKGROUND_REMOVAL"
+ },
+ "image": {
+ "type": "IMAGE"
+ }
+ },
+ "outputs": [
+ "MASK:mask"
+ ]
+ },
+ {
+ "class_type": "InvertMask",
+ "inputs": {
+ "mask": {
+ "type": "MASK"
+ }
+ },
+ "outputs": [
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "JoinImageWithAlpha",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "alpha": {
+ "type": "MASK"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "SaveWEBM",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "ComfyUI",
+ "multiline": false
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "vp9",
+ "av1"
+ ]
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 24.0,
+ "min": 0.01,
+ "max": 1000.0,
+ "step": 0.01
+ },
+ "crf": {
+ "type": "FLOAT",
+ "default": 32.0,
+ "min": 0,
+ "max": 63.0,
+ "step": 1
+ }
+ },
+ "outputs": [
+ "IMAGE:images"
+ ]
+ },
+ {
+ "class_type": "MaskToImage",
+ "inputs": {
+ "mask": {
+ "type": "MASK"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "SAM 3.1 text-prompted video tracking (core SAM3_VideoTrack -> SAM3_TrackToMask)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "utility_video_segment_sam3",
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "CheckpointLoaderSimple",
+ "inputs": {
+ "ckpt_name": "sam3.1_multiplex_fp16.safetensors"
+ }
+ },
+ "4": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": "person",
+ "clip": [
+ "3",
+ 1
+ ]
+ }
+ },
+ "5": {
+ "class_type": "SAM3_VideoTrack",
+ "inputs": {
+ "images": [
+ "2",
+ 0
+ ],
+ "model": [
+ "3",
+ 0
+ ],
+ "conditioning": [
+ "4",
+ 0
+ ],
+ "detection_threshold": 0.5,
+ "max_objects": 4,
+ "detect_interval": 1
+ }
+ },
+ "6": {
+ "class_type": "SAM3_TrackToMask",
+ "inputs": {
+ "track_data": [
+ "5",
+ 0
+ ],
+ "object_indices": ""
+ }
+ },
+ "7": {
+ "class_type": "InvertMask",
+ "inputs": {
+ "mask": [
+ "6",
+ 0
+ ]
+ }
+ },
+ "8": {
+ "class_type": "JoinImageWithAlpha",
+ "inputs": {
+ "image": [
+ "2",
+ 0
+ ],
+ "alpha": [
+ "7",
+ 0
+ ]
+ }
+ },
+ "9": {
+ "class_type": "SaveWEBM",
+ "inputs": {
+ "images": [
+ "8",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-alpha-sam3",
+ "codec": "vp9",
+ "fps": 24.0,
+ "crf": 24.0
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "prompt": [
+ {
+ "node": "4",
+ "input": "text"
+ }
+ ],
+ "objectIndices": [
+ {
+ "node": "6",
+ "input": "object_indices"
+ }
+ ],
+ "fps": [
+ {
+ "node": "9",
+ "input": "fps"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "9",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "9",
+ "kind": "video"
+ }
+ ],
+ "models": [
+ {
+ "file": "sam3.1_multiplex_fp16.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/sam3.1/resolve/main/checkpoints/sam3.1_multiplex_fp16.safetensors",
+ "folder": "checkpoints",
+ "sizeGB": 1.75
+ }
+ ],
+ "vramGB": 6,
+ "license": "Meta SAM License (royalty-free, commercial use allowed, attribution + acceptable-use terms)",
+ "notes": "prompt = object to keep ('person', 'red car'); SAM3_VideoTrack(images, model, [initial_mask], [conditioning], detection_threshold=0.5, max_objects=4, detect_interval=1); SAM3_TrackToMask(object_indices='' = all, or '0,2'). The official template instead runs SAM3_Detect per frame. Masks are hard-edged - combine with BiRefNet (multiply masks) for hair detail.",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "CheckpointLoaderSimple",
+ "inputs": {
+ "ckpt_name": {
+ "type": "COMBO",
+ "options": [
+ "sam3.1_multiplex_fp16.safetensors"
+ ]
+ }
+ },
+ "outputs": [
+ "MODEL:MODEL",
+ "CLIP:CLIP",
+ "VAE:VAE"
+ ]
+ },
+ {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "text": {
+ "type": "STRING",
+ "multiline": true
+ },
+ "clip": {
+ "type": "CLIP"
+ }
+ },
+ "outputs": [
+ "CONDITIONING:CONDITIONING"
+ ]
+ },
+ {
+ "class_type": "SAM3_VideoTrack",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "model": {
+ "type": "MODEL"
+ },
+ "detection_threshold": {
+ "type": "FLOAT",
+ "default": 0.5,
+ "min": 0.0,
+ "max": 1.0,
+ "step": 0.01
+ },
+ "max_objects": {
+ "type": "INT",
+ "default": 4,
+ "min": 0,
+ "max": 64
+ },
+ "detect_interval": {
+ "type": "INT",
+ "default": 1,
+ "min": 1
+ },
+ "initial_mask": {
+ "type": "MASK",
+ "optional": true
+ },
+ "conditioning": {
+ "type": "CONDITIONING",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "SAM3_TRACK_DATA:track_data"
+ ]
+ },
+ {
+ "class_type": "SAM3_TrackToMask",
+ "inputs": {
+ "track_data": {
+ "type": "SAM3_TRACK_DATA"
+ },
+ "object_indices": {
+ "type": "STRING",
+ "default": "",
+ "multiline": false
+ }
+ },
+ "outputs": [
+ "MASK:masks"
+ ]
+ },
+ {
+ "class_type": "InvertMask",
+ "inputs": {
+ "mask": {
+ "type": "MASK"
+ }
+ },
+ "outputs": [
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "JoinImageWithAlpha",
+ "inputs": {
+ "image": {
+ "type": "IMAGE"
+ },
+ "alpha": {
+ "type": "MASK"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "SaveWEBM",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "ComfyUI",
+ "multiline": false
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "vp9",
+ "av1"
+ ]
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 24.0,
+ "min": 0.01,
+ "max": 1000.0,
+ "step": 0.01
+ },
+ "crf": {
+ "type": "FLOAT",
+ "default": 32.0,
+ "min": 0,
+ "max": 63.0,
+ "step": 1
+ }
+ },
+ "outputs": [
+ "IMAGE:images"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "ComfyUI-RMBG video (BEN2 / BiRefNet-HR / SAM3 nodes)",
+ "nodePack": {
+ "url": "https://github.com/1038lab/ComfyUI-RMBG",
+ "ref": "229529e0ea63fb7085848225d74f91f6dc164956 (2026-09-30)"
+ },
+ "license": "pack GPL-3.0; BEN2 MIT; RMBG-2.0 CC BY-NC",
+ "notes": "Already in the library install; more model choices.",
+ "models": []
+ },
+ {
+ "name": "Wan 2.1 Alpha T2V (template video_wan2.1_alpha_t2v_14B)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "notes": "Generates new RGBA video (not matting existing footage).",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": []
+ },
+ {
+ "id": "video-depth",
+ "title": "Video depth estimation",
+ "gap": 10,
+ "higgsfield": "(internal) depth for relight/VFX/control",
+ "summary": "Core Depth Anything 3 (DA3 mono large, Apache-2.0, template utility_depth_anything3_video_depth_estimation) is native and sharp but per-frame; Video Depth Anything Small (Apache-2.0) via yuvraj108c pack is temporally consistent (Large is CC-BY-NC).",
+ "recommended": {
+ "name": "Depth Anything 3 mono-large (core LoadDA3Model -> DA3Inference -> DA3Render)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "officialTemplate": "utility_depth_anything3_video_depth_estimation",
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "LoadDA3Model",
+ "inputs": {
+ "model_name": "depth_anything_3_mono_large.safetensors",
+ "weight_dtype": "default"
+ }
+ },
+ "4": {
+ "class_type": "DA3Inference",
+ "inputs": {
+ "da3_model": [
+ "3",
+ 0
+ ],
+ "image": [
+ "2",
+ 0
+ ],
+ "resolution": 504,
+ "resize_method": "lower_bound_resize",
+ "mode": "mono"
+ }
+ },
+ "5": {
+ "class_type": "DA3Render",
+ "inputs": {
+ "da3_geometry": [
+ "4",
+ 0
+ ],
+ "output": "depth",
+ "output.normalization": "v2_style",
+ "output.apply_sky_clip": false
+ }
+ },
+ "6": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "5",
+ 0
+ ],
+ "fps": [
+ "2",
+ 2
+ ],
+ "audio": [
+ "2",
+ 1
+ ],
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "7": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "6",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-depth-da3",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "resolution": [
+ {
+ "node": "4",
+ "input": "resolution"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "7",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "7",
+ "kind": "video"
+ }
+ ],
+ "models": [
+ {
+ "file": "depth_anything_3_mono_large.safetensors",
+ "url": "https://huggingface.co/Comfy-Org/Depth-Anything-3/resolve/main/geometry_estimation/depth_anything_3_mono_large.safetensors",
+ "folder": "geometry_estimation",
+ "sizeGB": 1.34
+ }
+ ],
+ "vramGB": 4,
+ "license": "Apache-2.0 (DA3MONO-LARGE; DA3-LARGE/GIANT are CC-BY-NC)",
+ "notes": "DynamicCombo inputs in API format: DA3Inference mode='mono' (or 'multiview' + mode.ref_view_strategy / mode.pose_method), DA3Render output='depth' + 'output.normalization' (v2_style|min_max|raw) + 'output.apply_sky_clip'. resolution step 14 (504 default). Also renders depth_colored, sky_mask, confidence; DA3GeometryToMesh / PointCloud for 3D.",
+ "inferred": [
+ "flicker level across frames (per-frame model with v2_style normalization)"
+ ],
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "LoadDA3Model",
+ "inputs": {
+ "model_name": {
+ "type": "COMBO",
+ "options": [
+ "depth_anything_3_mono_large.safetensors"
+ ]
+ },
+ "weight_dtype": {
+ "type": "COMBO",
+ "options": [
+ "default",
+ "fp16",
+ "bf16",
+ "fp32"
+ ],
+ "default": "default"
+ }
+ },
+ "outputs": [
+ "DA3_MODEL:DA3_MODEL"
+ ]
+ },
+ {
+ "class_type": "DA3Inference",
+ "inputs": {
+ "da3_model": {
+ "type": "DA3_MODEL"
+ },
+ "image": {
+ "type": "IMAGE"
+ },
+ "resolution": {
+ "type": "INT",
+ "default": 504,
+ "min": 140,
+ "max": 2520,
+ "step": 14
+ },
+ "resize_method": {
+ "type": "COMBO",
+ "options": [
+ "upper_bound_resize",
+ "lower_bound_resize"
+ ],
+ "default": "upper_bound_resize"
+ },
+ "mode": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ }
+ },
+ "outputs": [
+ "DA3_GEOMETRY:da3_geometry"
+ ]
+ },
+ {
+ "class_type": "DA3Render",
+ "inputs": {
+ "da3_geometry": {
+ "type": "DA3_GEOMETRY"
+ },
+ "output": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "Video Depth Anything Small (yuvraj108c pack)",
+ "nodePack": {
+ "url": "https://github.com/yuvraj108c/ComfyUI-Video-Depth-Anything",
+ "ref": "a0db08e63d1ea571601c45cde4aaee0acdd0544d (2026-01-08)"
+ },
+ "graph": {
+ "1": {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": "input_video.mp4"
+ }
+ },
+ "2": {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": [
+ "1",
+ 0
+ ]
+ }
+ },
+ "3": {
+ "class_type": "LoadVideoDepthAnythingModel",
+ "inputs": {
+ "model": "video_depth_anything_vits.pth"
+ }
+ },
+ "4": {
+ "class_type": "VideoDepthAnythingProcess",
+ "inputs": {
+ "vda_model": [
+ "3",
+ 0
+ ],
+ "images": [
+ "2",
+ 0
+ ],
+ "input_size": 518,
+ "max_res": 1280,
+ "precision": "fp16"
+ }
+ },
+ "5": {
+ "class_type": "VideoDepthAnythingOutput",
+ "inputs": {
+ "depths": [
+ "4",
+ 0
+ ],
+ "colormap": "gray"
+ }
+ },
+ "6": {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": [
+ "5",
+ 0
+ ],
+ "fps": [
+ "2",
+ 2
+ ],
+ "bit_depth": "auto",
+ "color_space": "sRGB",
+ "codec": "none"
+ }
+ },
+ "7": {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": [
+ "6",
+ 0
+ ],
+ "filename_prefix": "fuobe/video-depth-vda",
+ "format": "auto",
+ "format.codec": "auto",
+ "codec": "auto"
+ }
+ }
+ },
+ "bindings": {
+ "video": [
+ {
+ "node": "1",
+ "input": "file"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "7",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "7",
+ "kind": "video"
+ }
+ ],
+ "models": [
+ {
+ "file": "video_depth_anything_vits.pth",
+ "url": "https://huggingface.co/depth-anything/Video-Depth-Anything-Small/resolve/main/video_depth_anything_vits.pth",
+ "folder": "custom (models/videodepthanything, auto-download)",
+ "sizeGB": 0.12
+ }
+ ],
+ "vramGB": 4,
+ "license": "Apache-2.0 (Small); Base/Large and metric Large are CC-BY-NC-4.0",
+ "notes": "Temporally consistent (designed for long videos). LoadVideoDepthAnythingModel's declared default 'video_depth_anything_vits.safetensors' is not in its own option list - always pass model explicitly (found via /object_info). VideoDepthAnythingSaveEXR writes float EXR sequences.",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadVideo",
+ "inputs": {
+ "file": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "GetVideoComponents",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ }
+ },
+ "outputs": [
+ "IMAGE:images",
+ "AUDIO:audio",
+ "FLOAT:fps",
+ "COMBO:bit_depth",
+ "COMBO:color_space"
+ ]
+ },
+ {
+ "class_type": "LoadVideoDepthAnythingModel",
+ "inputs": {
+ "model": {
+ "type": "COMBO",
+ "options": [
+ "video_depth_anything_vits.pth",
+ "video_depth_anything_vitb.pth",
+ "video_depth_anything_vitl.pth",
+ "metric_video_depth_anything_vits.pth",
+ "metric_video_depth_anything_vitb.pth",
+ "metric_video_depth_anything_vitl.pth"
+ ],
+ "default": "video_depth_anything_vits.safetensors"
+ }
+ },
+ "outputs": [
+ "VDAMODEL:vda_model"
+ ]
+ },
+ {
+ "class_type": "VideoDepthAnythingProcess",
+ "inputs": {
+ "vda_model": {
+ "type": "VDAMODEL"
+ },
+ "images": {
+ "type": "IMAGE"
+ },
+ "input_size": {
+ "type": "INT",
+ "default": 518
+ },
+ "max_res": {
+ "type": "INT",
+ "default": 1280
+ },
+ "precision": {
+ "type": "COMBO",
+ "options": [
+ "fp16",
+ "fp32"
+ ],
+ "default": "fp16"
+ }
+ },
+ "outputs": [
+ "DEPTHS:depths"
+ ]
+ },
+ {
+ "class_type": "VideoDepthAnythingOutput",
+ "inputs": {
+ "depths": {
+ "type": "DEPTHS"
+ },
+ "colormap": {
+ "type": "COMBO",
+ "options": [
+ "inferno",
+ "gray"
+ ],
+ "default": "gray"
+ }
+ },
+ "outputs": [
+ "IMAGE:images"
+ ]
+ },
+ {
+ "class_type": "CreateVideo",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "fps": {
+ "type": "FLOAT",
+ "default": 30.0,
+ "min": 1.0,
+ "max": 120.0,
+ "step": 1.0
+ },
+ "audio": {
+ "type": "AUDIO",
+ "optional": true
+ },
+ "bit_depth": {
+ "type": "COMBO",
+ "options": [
+ "auto",
+ 8,
+ 10
+ ],
+ "default": "auto",
+ "optional": true
+ },
+ "color_space": {
+ "type": "COMBO",
+ "options": [
+ "sRGB",
+ "HDR",
+ "HDR PQ"
+ ],
+ "default": "sRGB",
+ "optional": true
+ },
+ "codec": {
+ "type": "COMBO",
+ "options": [
+ "none",
+ "auto",
+ "h264",
+ "av1"
+ ],
+ "default": "none",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:VIDEO"
+ ]
+ },
+ {
+ "class_type": "SaveVideo",
+ "inputs": {
+ "video": {
+ "type": "VIDEO"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "video/ComfyUI",
+ "multiline": false
+ },
+ "format": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "codec": {
+ "type": "COMFY_DYNAMICCOMBO_V3",
+ "optional": true
+ }
+ },
+ "outputs": [
+ "VIDEO:video"
+ ]
+ }
+ ]
+ },
+ {
+ "name": "Depth Anything V2 relative video (template utility-depthAnything-v2-relative-video, comfyui_controlnet_aux)",
+ "license": "Small Apache-2.0; Base/Large CC-BY-NC",
+ "notes": "Older.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": []
+ },
+ {
+ "id": "palette",
+ "title": "Color palette control (Soul HEX parity)",
+ "gap": 11,
+ "higgsfield": "Soul HEX / color palette presets",
+ "summary": "Two layers: (1) generation - FLUX.2 understands hex codes in prompts (BFL prompting guide: 'FLUX.2 supports precise color matching using hex codes'), so palette presets become prompt text on flux2-dev-t2i (NC) or FLUX.2 klein (Apache, inferred to share the behaviour); (2) deterministic lock - core ColorTransfer (reinhard_lab | mkl_lab | histogram) maps any generated image or video onto a palette swatch image rendered client-side.",
+ "recommended": {
+ "name": "Palette lock: core ColorTransfer against a client-rendered swatch (post-process any image/video)",
+ "nodePack": {
+ "url": "https://github.com/comfyanonymous/ComfyUI",
+ "ref": "fc04da91b2ab12f99e4716371a7e4f98ac982597 (v0.41.0-7)"
+ },
+ "graph": {
+ "1": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "generated.png"
+ }
+ },
+ "2": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "palette_swatch.png"
+ }
+ },
+ "3": {
+ "class_type": "ColorTransfer",
+ "inputs": {
+ "image_target": [
+ "1",
+ 0
+ ],
+ "image_ref": [
+ "2",
+ 0
+ ],
+ "method": "mkl_lab",
+ "source_stats": "per_frame",
+ "strength": 0.8
+ }
+ },
+ "4": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "images": [
+ "3",
+ 0
+ ],
+ "filename_prefix": "fuobe/palette-transfer"
+ }
+ }
+ },
+ "bindings": {
+ "image": [
+ {
+ "node": "1",
+ "input": "image"
+ }
+ ],
+ "image2": [
+ {
+ "node": "2",
+ "input": "image"
+ }
+ ],
+ "method": [
+ {
+ "node": "3",
+ "input": "method"
+ }
+ ],
+ "strength": [
+ {
+ "node": "3",
+ "input": "strength"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "4",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "4",
+ "kind": "image"
+ }
+ ],
+ "defaults": {
+ "method": "mkl_lab",
+ "strength": 0.8
+ },
+ "models": [],
+ "vramGB": 0,
+ "license": "GPL-3.0 (ComfyUI core); no model",
+ "notes": "image = generated result, image2 = palette swatch PNG the app renders from the HEX list (e.g. 512x512 vertical bands weighted by intended coverage). ColorTransfer(image_target, image_ref, method, source_stats=per_frame|uniform|target_frame (+source_stats.target_index), strength 0-10). For video use source_stats='uniform' to avoid per-frame flicker (pools stats across frames). Pair with prompt hex codes for semantic placement ('the jacket in color #E4572E'). Fully deterministic client-side alternative: k-means palette extraction + LAB histogram matching in a WebGL/canvas pass.",
+ "validation": {
+ "postPrompt": true,
+ "bindingIssues": []
+ },
+ "nodes": [
+ {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": {
+ "type": "COMBO",
+ "options": "file names from the ComfyUI models/<folder> or input/ directory"
+ }
+ },
+ "outputs": [
+ "IMAGE:IMAGE",
+ "MASK:MASK"
+ ]
+ },
+ {
+ "class_type": "ColorTransfer",
+ "inputs": {
+ "image_target": {
+ "type": "IMAGE"
+ },
+ "image_ref": {
+ "type": "IMAGE"
+ },
+ "method": {
+ "type": "COMBO",
+ "options": [
+ "reinhard_lab",
+ "mkl_lab",
+ "histogram"
+ ]
+ },
+ "source_stats": {
+ "type": "COMFY_DYNAMICCOMBO_V3"
+ },
+ "strength": {
+ "type": "FLOAT",
+ "default": 1.0,
+ "min": 0.0,
+ "max": 10.0,
+ "step": 0.01
+ }
+ },
+ "outputs": [
+ "IMAGE:image"
+ ]
+ },
+ {
+ "class_type": "SaveImage",
+ "inputs": {
+ "images": {
+ "type": "IMAGE"
+ },
+ "filename_prefix": {
+ "type": "STRING",
+ "default": "ComfyUI"
+ }
+ },
+ "outputs": [
+ "IMAGE:images"
+ ]
+ }
+ ]
+ },
+ "alternatives": [
+ {
+ "name": "FLUX.2 hex-code prompting (library flux2-dev-t2i / flux2-dev-edit; FLUX.2 klein 4B template image_flux2_klein_text_to_image)",
+ "reusesWorkflows": [
+ "flux2-dev-t2i",
+ "flux2-dev-edit"
+ ],
+ "license": "FLUX.2 [dev] Non-Commercial; FLUX.2 klein 4B Apache-2.0",
+ "vramGB": 32,
+ "notes": "Syntax from docs.bfl.ai prompting guide: 'color'/'hex' keyword + code, e.g. 'Walls: #C4725A, Sofa: #1B6B6F', gradients 'starting with color #02eb3c and finishing with color #edfa3c'. klein support for hex is inferred.",
+ "models": []
+ },
+ {
+ "name": "Qwen-Image-Edit-2511 multi-ref with palette swatch as image2 ('recolor image 1 using the palette in image 2')",
+ "reusesWorkflows": [
+ "qwen-image-edit-2511-multi"
+ ],
+ "license": "Apache-2.0",
+ "notes": "Semantic recolor; less exact than ColorTransfer.",
+ "models": []
+ },
+ {
+ "name": "KJNodes ColorMatch (color-matcher: mkl, hm, reinhard, mvgd, hm-mvgd-hm, hm-mkl-hm)",
+ "nodePack": {
+ "url": "https://github.com/kijai/ComfyUI-KJNodes",
+ "ref": "17195fcfa8a05f601b766a0f09c9733284f47416 (2026-10-15)"
+ },
+ "license": "GPL-3.0 pack",
+ "notes": "More algorithms than core ColorTransfer; ColorMatch(image_ref, image_target, method, strength, multithread).",
+ "models": []
+ },
+ {
+ "name": "Recraft color control (template api_recraft_image_gen_with_color_control)",
+ "license": "paid API",
+ "notes": "Closest closed equivalent of Soul HEX.",
+ "models": []
+ }
+ ],
+ "verified": true,
+ "risks": [
+ "Histogram matching recolors skin too - mask skin (SAM3 'person face') and blend, or keep strength <= 0.8."
+ ]
+ }
+ ]
+}
diff --git a/docs/research/paid-model-apis-2.json b/docs/research/paid-model-apis-2.json
index 11396414..936501ed 100644
--- a/docs/research/paid-model-apis-2.json
+++ b/docs/research/paid-model-apis-2.json
@@ -140,7 +140,7 @@
"fal-ai/wan-move (deprecated; trajectories)",
"minimax/h3-max/camera-controls (camera path)"
],
- "fields": "track:[[{x,y}...]] pixel coords <=121 pts/track"
+ "fields": "image_url = annotated frame, prompt ('follow the drawn arrows, then remove all annotations'); trajectory alt: track / trajectories = [[{x,y},...]] pixel coords (<=121 pts per track)"
},
{
"feature": "Storyboard",
@@ -161,7 +161,7 @@
"ElevenLabs Instant Voice Cloning is not on fal or Replicate; fal ElevenLabs endpoints accept premade voice names/ids only (a voice_id from your own ElevenLabs account cannot be used because fal uses its own key - unverified, no test call made).",
"No Sync Labs or Kling video-translate endpoint on fal. Lip-synced translation = HeyGen translate; or ElevenLabs dubbing + a lipsync model.",
"fal-ai/dia-tts/voice-clone schema exposes only 'text' (no reference audio) - not usable for cloning; use Replicate zsxkib/dia.",
- "Trajectory draw-to-video endpoints on fal (fal-ai/wan-ati, fal-ai/wan-move) are marked deprecated in the catalog; no Kling motion-brush endpoint exists on fal or Replicate (bytedance/ati, zsxkib/ati 404 on Replicate).",
+ "Trajectory draw-to-video endpoints on fal (fal-ai/wan-ati, fal-ai/wan-move) are marked deprecated in the catalog; no Kling motion-brush endpoint was found on fal or Replicate (probed fal-ai/kling-video/v1*/motion-brush and Replicate bytedance/ati, zsxkib/ati: all 404).",
"No video color-grade endpoint; only image color correction (fal-ai/post-processing/color-correction) and LTX IC-LoRA effects (colorization, day-to-night, hdr)."
],
"elevenlabsVoices": {
diff --git a/docs/research/paid-model-apis-2.md b/docs/research/paid-model-apis-2.md
new file mode 100644
index 00000000..e5fd7d98
--- /dev/null
+++ b/docs/research/paid-model-apis-2.md
@@ -0,0 +1,459 @@
+# Paid model APIs, part 2: editing, audio, training and control endpoints
+
+As of **2026-10-16**. This extends [`paid-model-apis.md`](./paid-model-apis.md). It covers the Higgsfield features that part 1 left open: multi-shot, draft mode, extend, reframe, relight, inpaint and erase, voice tools, dubbing, LoRA (Soul ID) training, draw-to-video and storyboards.
+The machine-readable companion is [`paid-model-apis-2.json`](./paid-model-apis-2.json). It holds **202 endpoint records**: 184 fal and 18 Replicate. The JSON also holds the recommendations, the gaps and the ElevenLabs premade voice list.
+## How this was verified
+
+- **fal schemas** come from each endpoint's OpenAPI document, `https://fal.ai/api/openapi/queue/openapi.json?endpoint_id=<id>`, which was parsed by a script. So field names, enums, defaults and limits were not retyped by hand. Nested objects and arrays keep their full sub-schema, as `itemSchema` and `fields`.
+- **fal prices** come from `https://fal.ai/models/<id>/llms.txt`. **fal status** comes from the catalog at `https://api.fal.ai/v1/models` (1,516 active endpoints).
+- **Unlisted endpoints** were found by guessing ids and probing the OpenAPI URL. A `null` body means the endpoint does not exist.
+- **Replicate schemas** come from the `dereferenced_openapi_schema` and `billingConfig` embedded in each model page.
+- **ElevenLabs voices** come from `https://api.elevenlabs.io/v1/voices`, which is public and needs no key.
+- **No paid inference calls were made.** Runtime behaviour that the schemas do not state is marked *unverified*.
+## 1. Recommended default per Higgsfield feature
+
+| Higgsfield feature | Default endpoint(s) | Exact key fields | Price | Alternatives |
+|---|---|---|---|---|
+| **Multi-shot** | `fal-ai/kling-video/v3/pro/text-to-video` | multi_prompt:[{prompt, duration:'1'..'15'}] (1-6 shots, sum<=duration<=15s), shot_type:'customize'\|'intelligent'; prompt XOR multi_prompt | $0.112/s (audio off), $0.168/s (audio on) | fal-ai/kling-video/o3/pro/reference-to-video; wan/v2.6/text-to-video; bytedance/seedance-2.5/text-to-video (prompt-driven) |
+| **Draft mode** | `bytedance/seedance-2.5/{text,image,reference}-to-video + bytedance/seedance-2.5/draft/complete` | draft:true -> output.draft_id (7 days, same account) -> draft/complete {draft_id} -> 1080p | 480p draft ≈ $0.22/s, then 1080p completion ≈ $1.164/s | blackforestlabs/flux-3/*/draft + blackforestlabs/flux-3/draft-enhance |
+| **Extend** | `minimax/h3-max-turbo/extend-video` | video_url, prompt, duration (number 0.71-15), resolution '768P', output 'extended'\|'continuation' | $0.04/s at 768P | bytedance/seedance-2.5/reference-to-video task:'extension'; fal-ai/veo3.1/fast/extend-video (until 2026-11-17); fal-ai/ltx-2.3/extend-video; blackforestlabs/flux-3/extend-video; fal-ai/pixverse/v6/extend; xai/grok-imagine-video/extend-video; Kling: ffmpeg-api/extract-frame(last) -> kling i2v -> ffmpeg-api/merge-videos |
+| **Reframe** | `luma/agent/ray/v3.2/reframe` | video_url (<=10s), prompt, aspect_ratio (required), resolution 540p\|720p\|1080p, source_position{x_norm,y_norm,w_norm,h_norm} | $0.06/s at 540p, $0.12/s at 720p, $0.36/s at 1080p (per source second) | fal-ai/ltx-2.3/reframe (cheaper, no prompt); fal-ai/wan-vace-14b/reframe |
+| **Relight video** | `minimax/h3-max/relight` | video_url (<=15s), reference_image_url (sphere render of target lighting), resolution '768P' | $0.08/s at 768P | fal-ai/lightx/relight (ic + relight_prompt + bg_source); fal-ai/id-v2v/relight (relit first frame) |
+| **Inpaint / Draw to Edit** | `fal-ai/flux-pro/v1/fill` | image_url, mask_url (white = fill, same size), prompt | $0.05/MP | ideogram/v4.5/edit (mask inverted); fal-ai/z-image/turbo/inpaint (mask_image_url); fal-ai/flux-lora-fill (with Soul ID LoRA); fal-ai/chrono-edit-lora-gallery/paintbrush (sketch); fal-ai/nano-banana-pro/edit (no mask: composite strokes) |
+| **Erase / remove object** | `fal-ai/flux-pro/v1/erase` | image_url, mask_url (white = erase), dilate_pixels | $0.03 for the first MP | fal-ai/object-removal/mask; fal-ai/bria/eraser; fal-ai/finegrain-eraser/mask; video: bria/video/erase/mask, fal-ai/void-video-inpainting |
+| **TTS voice picker** | `elevenlabs/tts/eleven-v4` | text, voice (premade name or voice_id), stability 0-1 (0.5), similarity_boost 0-1 (0.75); speed only on multilingual-v2/turbo-v2.5 (0.7-1.2) | $0.08 per 1k characters | fal-ai/elevenlabs/tts/eleven-v3; fal-ai/elevenlabs/tts/multilingual-v2 (speed/style); fal-ai/minimax/speech-2.8-hd |
+| **Voice change** | `fal-ai/elevenlabs/voice-changer` | audio_url, voice, remove_background_noise; for video: elevenlabs/audio-isolation(video_url) -> voice-changer -> ffmpeg-api/merge-audio-video | $0.30/min | fal-ai/chatterbox/speech-to-speech (any target voice from a sample); resemble-ai/chatterboxhd/speech-to-speech |
+| **Voice clone** | `fal-ai/minimax/voice-clone -> fal-ai/minimax/speech-2.8-hd` | audio_url (>=10s) -> custom_voice_id -> voice_setting.voice_id (use within 7 days) | $1.50 per clone, then $0.10 per 1k characters | fal-ai/qwen-3-tts/clone-voice/1.7b -> qwen-3-tts/text-to-speech/1.7b; fal-ai/chatterbox/text-to-speech (zero-shot audio_url); fal-ai/index-tts-2/text-to-speech; fal-ai/kling-video/create-voice (for Kling elements) |
+| **Translate / dub** | `fal-ai/heygen/v2/translate/precision` | video_url (<=8 min), output_language (display-name enum e.g. 'Spanish'), translate_audio_only, enable_caption | $0.10/s | fal-ai/heygen/v2/translate/speed; fal-ai/elevenlabs/dubbing (+ sync lipsync); replicate heygen/video-translate (cheaper) |
+| **Soul ID training** | `fal-ai/z-image-turbo-trainer-v2 -> fal-ai/z-image/turbo/lora` | image_data_url (zip, ROOT.txt captions), steps, learning_rate, default_caption -> diffusers_lora_file.url -> loras:[{path,scale}] | $0.85 per 1,000 steps (500-step floor), then $0.0085/MP | fal-ai/flux-lora-fast-training -> fal-ai/flux-lora; fal-ai/flux-2-trainer -> fal-ai/flux-2/lora; fal-ai/qwen-image-2512-trainer -> fal-ai/qwen-image-2512/lora; fal-ai/wan-22-image-trainer -> fal-ai/wan/v2.2-a14b/text-to-image/lora |
+| **Draw to video** | Client-side composite of arrows/notes onto the frame -> image-to-video (bytedance/seedance-2.5/image-to-video or fal-ai/kling-video/o3/pro/image-to-video) with an instruction to follow and then remove the annotations | image_url = annotated frame, prompt ('follow the drawn arrows, then remove all annotations'); trajectory alt: track / trajectories = [[{x,y},...]] pixel coords (<=121 pts per track) | model price | fal-ai/wan-ati (deprecated; track); fal-ai/wan-move (deprecated; trajectories); minimax/h3-max/camera-controls (camera path) |
+| **Storyboard** | `blackforestlabs/flux-3/keyframes-to-video` | keyframes:[{image_url,frame_index}] (1-10), duration (required) | $0.17/s at 720p | fal-ai/kling-image/o3/text-to-image result_type:'series'; fal-ai/ltx-2.3-quality/ingredient |
+
+## 2. Multi-shot and draft mode
+
+**Kling 3.0 and Kling O3** use the field `multi_prompt`, an array of `{prompt, duration}`.
+- `duration` is a **string** enum, `"1"` to `"15"`. It defaults to `"5"`, and `prompt` is required in each item.
+- `prompt` and `multi_prompt` are mutually exclusive.
+- The Turbo schema states the limits: 1 to 6 shots, with a total of 15 s or less. Replicate's `kwaivgi/kling-v3-video` states that the shot durations must add up exactly to `duration`.
+- `shot_type` takes `customize` (the default, which uses your shots) or `intelligent` (the model splits one prompt into shots). Turbo has no `shot_type`.
+- On Replicate, `multi_prompt` is a **JSON string**, not an array.
+
+**Seedance 2.5 and 2.0** have **no multi-shot field**. Multi-shot is driven by the prompt: describe the shots and cuts in the text.
+
+**Wan 2.6** uses `multi_shots`, a boolean.
+- It defaults to true on t2v and r2v and to false on i2v.
+- It works only when `enable_prompt_expansion` is true.
+- For explicit shots, write them in the prompt as `Shot 1 [0-3s] ... Shot 2 [3-6s] ...`.
+- Wan 2.7 r2v also has `multi_shots`, defaulting to false. Wan 2.7 t2v/i2v and Wan 3.0 do not.
+
+**PixVerse V6** has `generate_multi_clip_switch`. It cuts automatically and takes no per-shot prompts.
+
+**Seedance 2.5 draft mode** works in two steps:
+1. Send `draft: true` to `bytedance/seedance-2.5/{text,image,reference}-to-video`. The model renders at 480p and the output gains a `draft_id`.
+2. POST `{draft_id}` to `bytedance/seedance-2.5/draft/complete` to get the 1080p render. Only 1080p is allowed.
+
+The `draft_id` is valid for 7 days and only for the account that created it.
+
+**FLUX 3** has its own draft flow. Each `*/draft` endpoint returns `draft_cache`. Pass its URL as `draft_cache_url` to `blackforestlabs/flux-3/draft-enhance`, which renders 1080p at $0.29/s.
+
+| Endpoint | Provider / status | Key fields (* = required) | Notes | Price |
+|---|---|---|---|---|
+| `fal-ai/kling-video/v3/pro/text-to-video` | fal / active | `prompt`, `aspect_ratio`, `duration`, `generate_audio`, `negative_prompt`, `multi_prompt`, `shot_type` | multi_prompt[{prompt,duration}] 1-6 shots; duration per shot is a STRING enum '1'..'15'; total must not exceed top-level duration (<=15s). prompt and multi_prompt are mutually exclusive. shot_type 'intelligent' lets model split a single prompt. | For every second of video you generated, you will be charged $0.112 (audio off) or $0.168 (audio on), if voice control … |
+| `fal-ai/kling-video/v3/pro/image-to-video` | fal / active | `prompt`, `start_image_url`*, `end_image_url`, `duration`, `generate_audio`, `negative_prompt`, `multi_prompt`, `shot_type`, `elements`, `elements[].voice_id` | Image field is start_image_url (not image_url). Also takes elements[] with voice_id from fal-ai/kling-video/create-voice. | For every second of video you generated, you will be charged $0.112 (audio off) or $0.168 (audio on), if voice control … |
+| `fal-ai/kling-video/v3/standard/text-to-video` | fal / active | `prompt`, `aspect_ratio`, `duration`, `generate_audio`, `negative_prompt`, `multi_prompt`, `shot_type` | Same multi_prompt/shot_type schema as Pro; cheaper ($0.084/s audio off). | For every second of video you generated, you will be charged $0.084 (audio off) or $0.126 (audio on), if voice control … |
+| `fal-ai/kling-video/v3/turbo/pro/text-to-video` | fal / active | `prompt`, `aspect_ratio`, `duration`, `multi_prompt` | Schema states the limits explicitly: 1-6 shots, total <=15s, mutually exclusive with prompt. No shot_type field. | For every second of video you generate, you will be charged $0.14 . For example, a 5s video will cost $0.70. |
+| `fal-ai/kling-video/o3/pro/text-to-video` | fal / active | `prompt`, `aspect_ratio`, `duration`, `generate_audio`, `multi_prompt`, `shot_type` | multi_prompt + shot_type like v3. | For every second of video you generated, you will be charged $0.112 (audio off) or $0.14 (audio on). For example, a 5s … |
+| `fal-ai/kling-video/o3/pro/image-to-video` | fal / active | `prompt`, `image_url`*, `end_image_url`, `duration`, `generate_audio`, `multi_prompt`, `shot_type` | Image field is image_url (v3 uses start_image_url). | For every second of video you generated, you will be charged $0.112 (audio off) or $0.14 (audio on). For example, a 5s … |
+| `fal-ai/kling-video/o3/pro/reference-to-video` | fal / active | `prompt`, `start_image_url`, `image_urls`, `end_image_url`, `aspect_ratio`, `duration`, `generate_audio`, `multi_prompt`, `shot_type`, `elements`, `elements[].voice_id` | multi_prompt + elements (@Element1) + image_urls (@Image1); max 4 elements+refs when a video element is used. | For every second of video you generated, you will be charged $0.112 (audio off) or $0.14 (audio on). For example, a 5s … |
+| `bytedance/seedance-2.5/text-to-video` | fal / active | `prompt`*, `aspect_ratio`, `resolution`, `duration`, `generate_audio`, `draft` | No multi-shot field: multi-shot is prompt-driven (describe shots/cuts in prompt). draft:true -> 480p preview + draft_id. | For 480p, your request will cost roughly $0.2205 per second of generated video, for 720p, you will be charged roughly … |
+| `bytedance/seedance-2.5/image-to-video` | fal / active | `prompt`, `image_url`*, `end_image_url`, `aspect_ratio`, `resolution`, `duration`, `generate_audio`, `draft` | Prompt-driven multi-shot; draft:true supported. | For 480p, your request will cost roughly $0.2205 per second of generated video, for 720p, you will be charged roughly … |
+| `bytedance/seedance-2.5/draft/complete` | fal / active | `resolution`, `draft_id`* | Draft mode step 2: send draft_id (from a draft:true run, valid 7 days, same account) -> 1080p render. Only 1080p. | Your request will cost roughly $1.164 per second of generated video. Your request will cost roughly $0.0234 per 1000 … |
+| `bytedance/seedance-2.0/text-to-video` | fal / active | `prompt`*, `aspect_ratio`, `resolution`, `duration`, `generate_audio` | Prompt-driven multi-shot ('multi-shot editing' per fal description); no draft field; 4-15s; 4k resolution option. | For every second of 720p video you generated, you will be charged $0.3034/second and for 1080p you will be charged … |
+| `bytedance/seedance-2.0/image-to-video` | fal / active | `prompt`*, `image_url`*, `end_image_url`, `aspect_ratio`, `resolution`, `duration`, `generate_audio` | Prompt-driven multi-shot; no draft. | For every second of 720p video you generated, you will be charged $0.3034/second and for 1080p you will be charged … |
+| `bytedance/seedance-2.0/reference-to-video` | fal / active | `prompt`*, `image_urls`, `video_urls`, `aspect_ratio`, `resolution`, `duration`, `generate_audio` | No task field (no extension mode on 2.0). <=9 images, <=3 videos (2-15s combined), <=3 audios; total <=12 files. | For every second of 720p video you generated, you will be charged $0.3034/second and for 1080p you will be charged … |
+| `wan/v2.6/text-to-video` | fal / active | `prompt`*, `audio_url`, `aspect_ratio`, `resolution`, `duration`, `seed`, `negative_prompt`, `multi_shots` | multi_shots boolean (default true) only works with enable_prompt_expansion=true. Explicit shots via prompt syntax 'Shot 1 [0-3s] ... Shot 2 [3-6s] ...'. duration 5\|10\|15 (string enum). | Your request will cost $0.10 per second for 720p, $0.15 per second for 1080p. |
+| `wan/v2.6/image-to-video` | fal / active | `prompt`*, `image_url`*, `audio_url`, `resolution`, `duration`, `seed`, `negative_prompt`, `multi_shots` | multi_shots default FALSE on i2v. | Your request will cost $0.10 per second for 720p, $0.15 per second for 1080p. |
+| `wan/v2.6/reference-to-video` | fal / active | `prompt`*, `video_urls`*, `aspect_ratio`, `resolution`, `duration`, `seed`, `negative_prompt`, `multi_shots` | video_urls (1-3, @Video1..3, >=16fps); duration 5\|10; multi_shots default true; prompt '[0-3s] Shot 1. [3-6s] Shot 2.' | Your request will cost $0.10 per second for 720p, $0.15 per second for 1080p. |
+| `fal-ai/wan/v2.7/text-to-video` | fal / active | `prompt`*, `audio_url`, `aspect_ratio`, `resolution`, `duration`, `seed`, `negative_prompt` | No multi_shots field on 2.7 t2v (duration is an integer enum 2..15). | Your request will cost $0.1 per second for 720p resolution. For 1080p your request will cost $0.15 per second. |
+| `fal-ai/wan/v2.7/image-to-video` | fal / active | `prompt`, `image_url`, `end_image_url`, `video_url`, `audio_url`, `resolution`, `duration`, `seed`, `negative_prompt` | No multi_shots field; takes video_url too (continuation). | Your request will cost $0.1 per second for 720p resolution. For 1080p your request will cost $0.15 per second. |
+| `fal-ai/wan/v2.7/reference-to-video` | fal / active | `prompt`*, `reference_image_urls`, `aspect_ratio`, `resolution`, `duration`, `seed`, `negative_prompt`, `multi_shots` | multi_shots default false; reference_image_urls / reference_video_urls; duration integer 2..10; billed input+output seconds when videos given. | Your request will cost $0.10 per second. When video inputs are provided, billing duration is calculated as input video … |
+| `alibaba/wan-3.0/text-to-video` | fal / active | `prompt`*, `audio`, `aspect_ratio`, `resolution`, `duration`, `seed` | No multi-shot field; duration integer 2..30 (null = smart); audio boolean (not generate_audio). | For every second of video you generate, you will be charged $0.05 480p, $0.10 720p, or $0.20 1080p. For example, a 5s … |
+| `alibaba/wan-3.0/image-to-video` | fal / active | `prompt`, `start_image_url`*, `end_image_url`, `audio`, `aspect_ratio`, `resolution`, `duration`, `seed` | start_image_url required; audio boolean. | For every second of video you generate, you will be charged $0.05 480p, $0.10 720p, or $0.20 1080p. For example, a 5s … |
+| `fal-ai/pixverse/v6/text-to-video` | fal / active | `prompt`*, `aspect_ratio`, `resolution`, `duration`, `generate_audio_switch`, `seed`, `negative_prompt`, `generate_multi_clip_switch` | generate_multi_clip_switch boolean = automatic multi-clip with camera changes (no per-shot prompts). | Billing is calculated per second of video generated. For 360p, your request will cost $0.025 per second without audio … |
+| `blackforestlabs/flux-3/text-to-video/draft` | fal / active | `prompt`*, `aspect_ratio`, `duration`, `generate_audio` | FLUX 3 draft mode: $0.06/s 720p preview; returns draft_cache (file) -> pass its url as draft_cache_url to blackforestlabs/flux-3/draft-enhance for 1080p. | Your request will be charged at 0.06 $ per second of generated draft video (720p). |
+| `blackforestlabs/flux-3/draft-enhance` | fal / active | `draft_cache_url`* | draft_cache_url from any flux-3 */draft endpoint; $0.29/s 1080p. | Your request will be charged at 0.29 $ per second of the enhanced video (full-quality 1080p render). Synchronized audio … |
+| `kwaivgi/kling-v3-video` | replicate | `prompt`*, `start_image`, `end_image`, `aspect_ratio`, `duration`, `generate_audio`, `negative_prompt`, `multi_prompt` | multi_prompt is a JSON STRING here: '[{"prompt":...,"duration":N}]', max 6 shots, >=1s each, total must EQUAL duration. | $0.168 per second of output video (standard [{"description": "no", "subtype": "boolean", "title": "with audio", "type": … |
+
+## 3. Extend
+
+**Seedance 2.5 has no extend endpoint.** Every id guessed for one returned 404. The extend path is `bytedance/seedance-2.5/reference-to-video` with `task: "extension"` and `video_urls: [source]`. The same `task` field also takes `editing` and `reference`.
+
+**Kling has no extend endpoint on fal.** Fuobe can build one from three calls: `fal-ai/ffmpeg-api/extract-frame` with `frame_type: "last"`, then a Kling i2v call, then `fal-ai/ffmpeg-api/merge-videos`.
+
+| Endpoint | Provider / status | Key fields (* = required) | Notes | Price |
+|---|---|---|---|---|
+| `bytedance/seedance-2.5/reference-to-video` | fal / active | `prompt`, `image_urls`, `video_urls`, `aspect_ratio`, `resolution`, `duration`, `generate_audio`, `seed`, `draft`, `task` | THIS is Seedance 2.5 extend/edit: task enum reference\|editing\|extension with video_urls (@Video1). extension coerces aspect_ratio=auto. Up to 30 images, 10 videos (1.8-30.2s each, combined <=30.2s), 10 audios; total files <=50. Also draft:true. | For 480p, your request will cost roughly $0.2205 per second of generated video, for 720p, you will be charged roughly … |
+| `fal-ai/veo3.1/extend-video` | fal / unlisted | `prompt`*, `video_url`*, `aspect_ratio`, `resolution`, `duration`, `generate_audio`, `seed`, `negative_prompt` | Unlisted; fal banner: deprecated Nov 17 2026. video_url must be 720p/1080p 16:9 or 9:16. duration string default '7s'. | For every second of video you generated, you will be charged $0.20 (audio off) or $0.40 (audio on). For example, a 5s … |
+| `fal-ai/veo3.1/fast/extend-video` | fal / unlisted | `prompt`*, `video_url`*, `aspect_ratio`, `resolution`, `duration`, `generate_audio`, `seed`, `negative_prompt` | Unlisted; deprecated Nov 17 2026. | For every second of video you generated, you will be charged $0.10 (audio off) or $0.15 (audio on). For example, a 5s … |
+| `minimax/h3-max/extend-video` | fal / active | `prompt`*, `video_url`*, `aspect_ratio`, `resolution`, `duration`, `seed`, `reference_audio_urls`, `output` | duration is a NUMBER 0.71-15 (s of new footage). output 'extended' (source+new) or 'continuation'. resolution enum is UPPERCASE '768P'. Source 1.625-60s, <=50MB. | Billing is calculated per second of generated video, plus reference input charges beyond the included allowance. Video … |
+| `minimax/h3-max-turbo/extend-video` | fal / active | `prompt`*, `video_url`*, `aspect_ratio`, `resolution`, `duration`, `seed`, `reference_audio_urls`, `output` | Same schema as H3 Max extend at half price. | Billing is calculated per second of newly generated video. Your request will cost $0.025 per second at 480p, $0.04 per … |
+| `fal-ai/pixverse/v6/extend` | fal / active | `prompt`*, `video_url`*, `resolution`, `duration`, `generate_audio_switch`, `seed`, `negative_prompt` | duration integer 1-15. | Billing is calculated per second of video generated. For 360p, your request will cost $0.025 per second without audio … |
+| `fal-ai/pixverse/extend` | fal / active | `prompt`*, `video_url`*, `resolution`, `duration`, `generate_audio_switch`, `seed`, `negative_prompt` | model enum v3.5..v6 (default v4.5); duration string enum 5\|8. | For 5s video your request will cost $0.15 for 360p and 540p, $0.2 for 720p and $0.4 for 1080p. For $1 you can run this … |
+| `fal-ai/pixverse/extend/fast` | fal / active | `prompt`*, `video_url`*, `resolution`, `generate_audio_switch`, `seed`, `negative_prompt` | Fast variant; no duration field. | For 5s video your request will cost 0.3$ for 360p and 540p, 0.4$ for 720p and 0.8$ for 1080p. For $1 you can run this … |
+| `fal-ai/ltx-2.3/extend-video` | fal / active | `prompt`, `video_url`*, `duration`, `mode` | mode 'start'\|'end' (extend backwards or forwards); duration 2-20 s number; context 1-20 s. | Your request will cost $0.10 per second. |
+| `fal-ai/ltx-2.3-quality/extend-video` | fal / active | `prompt`*, `end_image_url`, `video_url`*, `resolution`, `generate_audio`, `seed`, `negative_prompt`, `extend_direction` | extend_direction forward\|backward; num_frames 9-481 incl. num_context_frames overlap; end_image_url keyframe; billed per MP of new frames only. | Your request will cost $0.0024075 per megapixel of generated video data (width × height × num_frames), rounded up. Only … |
+| `fal-ai/ltx-2.3-22b/extend-video` | fal / active | `prompt`*, `end_image_url`, `video_url`*, `generate_audio`, `seed`, `negative_prompt`, `extend_direction` | extend_direction, num_context_frames, end_image_url; many sampler knobs. | Your request will cost $0.001605 per megapixel of generated video data (width × height × frames), rounded up. For … |
+| `blackforestlabs/flux-3/extend-video` | fal / active | `prompt`*, `video_url`*, `aspect_ratio`, `resolution`, `duration`, `generate_audio` | video_url MP4 <50MB, <15s; duration auto\|5..20 (string enum); resolution up to 2160p. | Your request will be charged at 0.41 $ per second of generated video at 720p, and 0.53 $ per second at 1080p. |
+| `blackforestlabs/flux-3/extend-video/draft` | fal / active | `prompt`*, `video_url`*, `aspect_ratio`, `duration`, `generate_audio` | Draft extend ($0.12/s) -> draft_cache -> flux-3/draft-enhance. | Your request will be charged at 0.12 $ per second of generated draft video (720p). |
+| `xai/grok-imagine-video/extend-video` | fal / active | `prompt`*, `video_url`*, `duration` | duration integer 2-10; source MP4 2-15s. | For a 6s 480p video your request will cost $0.36 ($0.05 per second of video output + $0.01 per second of video input). … |
+| `fal-ai/magi-distilled/extend-video` | fal / active | `prompt`*, `video_url`*, `aspect_ratio`, `resolution`, `seed` | start_frame + num_frames. | Your request will cost $0.32 to generate one four-second video. For $1 you can run this model approximately 3 times. … |
+| `fal-ai/ffmpeg-api/extract-frame` | fal / active | `video_url`* | frame_type 'last' -> feed to any i2v model as a fallback 'extend' for models with no extend endpoint (Kling). | $0.0002 per seconds |
+| `fal-ai/ffmpeg-api/merge-videos` | fal / active | `video_urls`*, `resolution` | Stitch source + continuation clips (Kling fallback extend, client-side multi-shot). | $0 per compute seconds |
+| `fal-ai/ffmpeg-api/merge-audio-video` | fal / active | `video_url`*, `audio_url`* | Remux changed/dubbed audio back onto a video (Voice Change for video inputs). | $0.0002 per seconds |
+| `minimax/h3-max/insert-video` | fal / active | `prompt`, `reference_image_urls`, `video_url`*, `resolution`, `duration`, `seed`, `start_time`*, `resume_time`* | Inserts a generated scene between start_time and resume_time (mid-clip extend). | Your request will cost $0.05 per second of generated scene at 480p or $0.06 per second at 768p. Only the newly … |
+| `fal-ai/elevenlabs/audio-isolation` | fal / active | `video_url`, `audio_url` | Accepts video_url -> clean voice audio. | $0.1 per minutes |
+
+## 4. Reframe, relight, restyle and colour
+
+**Higgsfield-style relight presets.** `minimax/h3-max/relight` takes `reference_image_url`, which must be a **sphere render** that shows the target lighting. Fuobe can render a lit sphere on the client, for example with three.js, from preset lights or from up to 2 custom lights (colour, angle, brightness), then upload that image.
+
+`fal-ai/lightx/relight` is controlled by text instead. Use `relit_cond_type: "ic"` with `relight_parameters: {relight_prompt, bg_source: Left|Right|Top|Bottom}`.
+
+**There is no video colour-grade endpoint.**
+
+| Endpoint | Provider / status | Key fields (* = required) | Notes | Price |
+|---|---|---|---|---|
+| `luma/agent/ray/v3.2/reframe` | fal / active | `prompt`*, `video_url`*, `aspect_ratio`*, `resolution`, `duration`, `source_position` | Source <=10s; aspect_ratio required; resolution 540p\|720p\|1080p; source_position {x_norm,y_norm,w_norm,h_norm}. Billed per source second. | Reframe is billed per started source second: $0.06/s at 540p, $0.12/s at 720p and $0.36/s at 1080p. A 5s source will … |
+| `fal-ai/luma-dream-machine/ray-2/reframe` | fal / unlisted | `prompt`, `image_url`, `video_url`*, `aspect_ratio`* | Unlisted; Ray 2 family deprecated 2026-10-25. Pixel coords x_start/x_end/y_start/y_end, grid_position_x/y. | $0.2 per seconds |
+| `fal-ai/ltx-2.3/reframe` | fal / active | `video_url`*, `aspect_ratio`, `resolution` | Simplest reframe: video_url + aspect_ratio (1:1,4:5,5:4,9:16,16:9) + resolution 720p\|1080p. No prompt. | Your request will cost $0.10 per second for 720p output or $0.20 per second for 1080p output, billed on the duration of … |
+| `fal-ai/ltx-2.3-quality/outpaint` | fal / active | `prompt`*, `video_url`*, `aspect_ratio`, `resolution`, `generate_audio`, `seed`, `negative_prompt` | Video outpaint with prompt + aspect_ratio + source_scale. | Your request will cost $0.0024075 per megapixel of generated video data (width × height × frames), rounded up. For … |
+| `fal-ai/wan-vace-14b/reframe` | fal / active | `prompt`, `first_frame_url`, `last_frame_url`, `video_url`*, `aspect_ratio`, `resolution`, `seed`, `negative_prompt` | Open-weights reframe; aspect_ratio only auto\|16:9\|1:1\|9:16; <=241 frames. | Your request will cost $0.08 per video second for 720p, $0.06 per video second for 580p, $0.04 per video second for … |
+| `fal-ai/wan-vace-apps/long-reframe` | fal / active | `prompt`, `video_url`*, `aspect_ratio`, `resolution`, `seed`, `negative_prompt` | Scene-split long-video reframe; paste_back. | Your request will cost $0.08 per 2 seconds of output video for 720p, $0.06 per 2 seconds of output video for 580p, abd … |
+| `fal-ai/wan-22-vace-fun-a14b/reframe` | fal / active | `prompt`, `first_frame_url`, `last_frame_url`, `video_url`*, `aspect_ratio`, `resolution`, `seed`, `negative_prompt` | Reframe via Wan 2.2 VACE Fun. | Your request will cost $0.10 per video second for 720p, $0.075 per video second for 580p, $0.05 per video second for … |
+| `minimax/h3-max/relight` | fal / active | `video_url`*, `aspect_ratio`, `resolution`, `seed`, `reference_image_url`* | reference_image_url = a SPHERE RENDER of the target lighting (Fuobe can render a lit sphere client-side from Higgsfield-style light presets). Source <=15s, resampled to 24fps. | Billing is calculated per second of generated video, which matches the source video length. Video costs $0.05 per … |
+| `fal-ai/lightx/relight` | fal / active | `prompt`, `video_url`*, `seed`, `relight_parameters.relight_prompt`, `relight_parameters.bg_source`, `relit_cond_img_url` | relit_cond_type ic\|ref\|hdr\|bg. ic: relight_parameters{relight_prompt,bg_source Left\|Right\|Top\|Bottom,cfg,use_sky_mask}. ref/hdr/bg: relit_cond_img_url. ~49 frames. | Your request will cost 0.1$ per output video second. |
+| `fal-ai/lightx/recamera` | fal / active | `prompt`, `video_url`*, `seed` | Camera re-render (not lighting): camera traj\|target, trajectory{theta[],phi[],radius[]}. | Your request will cost 0.1$ per output video second. |
+| `fal-ai/id-v2v/relight` | fal / active | `prompt`*, `image_url`*, `video_url`*, `resolution`, `seed`, `keyframes` | Restyle driven by an edited FIRST FRAME (image_url) + keyframes[{frame_index,image_url}] <=5. Pair with an image relight/edit model on frame 1. | $0.2 per seconds |
+| `decart/lucy-restyle` | fal / active | `prompt`*, `video_url`*, `resolution`, `seed` | Cheapest restyle ($0.01/s); prompt-only. | $0.01 per seconds |
+| `luma/agent/ray/v3.2/video-to-video` | fal / active | `prompt`*, `start_image_url`, `video_url`*, `resolution`, `duration`, `keyframes` | Prompt edit with edit_strength adhere_1..reimagine_3, start_image_url or keyframes[]+keyframe_indexes[] (<=64), controls{trajectory,normals,pose,face,depth}, hdr/exr_export. | For 5s video your request will cost $0.72 for 540p, $1.08 for 720p and $2.16 for 1080p. For 10s, $1.44 at 540p, $2.16 … |
+| `fal-ai/ltx-2.3-quality/day-to-night` | fal / active | `prompt`, `video_url`*, `resolution`, `generate_audio`, `seed`, `negative_prompt` | Fixed effect: day->night. | Your request will cost $0.0024075 per megapixel of generated video data (width × height × frames), rounded up. For … |
+| `fal-ai/ltx-2.3-quality/colorization` | fal / active | `prompt`, `video_url`*, `resolution`, `generate_audio`, `seed`, `negative_prompt` | Colorize B&W video. | $0.0024075 per megapixels |
+| `fal-ai/ltx-2.3-quality/hdr` | fal / active | `prompt`*, `video_url`*, `resolution`, `generate_audio`, `seed`, `negative_prompt` | SDR->HDR; outputs preview_video + exr_frames_url (not video). | Your request will cost $0.0027075 per megapixel of generated HDR video data (width × height × frames), rounded up. For … |
+| `fal-ai/post-processing/color-correction` | fal / active | `image_url`* | IMAGE only: temperature/brightness/contrast/saturation/gamma. No video color-grade endpoint exists on fal; grade video client-side (WebGL/ffmpeg LUT) or per-frame. | $0.001 per images |
+| `fal-ai/image-editing/color-correction` | fal / active | `image_url`*, `aspect_ratio`, `seed` | IMAGE only, generative. | $0.04 per images |
+| `luma/reframe-video` | replicate | `prompt`, `video_url`, `aspect_ratio` | aspect_ratio + video/video_url + x/y start/end, grid_position_x/y. | $0.06 per second of output video |
+| `luma/modify-video` | replicate | `prompt`, `first_frame_url`, `video_url` | mode (adhere/flex/reimagine) + prompt + first_frame. | $0.019 per million output video pixels (total) |
+
+## 5. Video background removal, segmentation, depth and object removal
+
+| Endpoint | Provider / status | Key fields (* = required) | Notes | Price |
+|---|---|---|---|---|
+| `fal-ai/ben/v2/video` | fal / active | `video_url`*, `seed` | Cheapest ($0.001/MP); background_color [r,g,b] else transparent. | $0.001 per megapixels |
+| `fal-ai/birefnet/v2/video` | fal / active | `video_url`* | video_output_type 'VP9 (.webm)' or 'PRORES4444 (.mov)' for alpha; output_mask -> mask_video. | $0 per compute seconds |
+| `bria/video/background-removal/v3` | fal / active | `video_url`* | $0.05/s; background_color enum incl. Transparent; output_container_and_codec default webm_vp9; auto_zoom. | Your request will cost $0.05 per second. |
+| `bria/video/background-removal` | fal / active | `video_url`* | $0.14/s; <30s, <4000x4000. | Your request will cost $0.14 per second. |
+| `veed/video-background-removal` | fal / active | `video_url`* | Output is an ARRAY video[] (vp9 alpha = 1 file; h264 = rgb + alpha files). | Your request will cost $0.0225 per 30 frames (Refine Foreground Edges: ON) / $0.015 (Refine: OFF). |
+| `veed/video-background-removal/fast` | fal / active | `video_url`* | Same as VEED, cheaper. | Your request will cost $0.012 per 30 frames (Refine Foreground Edges: ON) / $0.008 cents (Refine: OFF). |
+| `veed/video-background-removal/green-screen` | fal / active | `video_url`* | Chroma key with spill_suppression_strength. | Your request will cost $0.025 per 30 frames. |
+| `pixelcut/video-background-removal` | fal / active | `video_url`* | background transparent\|black\|white\|green\|blue\|magenta\|custom + background_color{r,g,b}. | Your request will cost $0.022 per 30 frames. |
+| `fal-ai/sam-3/video` | fal / active | `prompt`, `video_url`*, `point_prompts`, `box_prompts` | Text prompt ('person, cloth'), point_prompts[{x,y,label,object_id}], box_prompts[]; apply_mask overlays; use for masks feeding erase/inpaint. | Your request will cost $0.005 per 16 frames of video input. |
+| `fal-ai/sam-3-1/video` | fal / active | `prompt`, `video_url`*, `point_prompts`, `box_prompts` | Adds max_num_objects (<=128). | Your request will cost $0.01 per 16 frames of video input. |
+| `fal-ai/depth-anything-video` | fal / active | `video_url`*, `resolution` | model VDA-Small\|Base\|Large; colormap; side_by_side; include_raw_depths .npz; max_frames <=2400. | Your request will cost $0.04 per second of video. |
+| `fal-ai/wan-vace-14b/depth` | fal / active | `prompt`*, `first_frame_url`, `last_frame_url`, `video_url`*, `aspect_ratio`, `resolution`, `seed`, `negative_prompt` | Depth-CONDITIONED generation (not depth estimation). | Your request will cost $0.08 per video second for 720p, $0.06 per video second for 580p, $0.04 per video second for … |
+| `bria/video/erase/mask` | fal / active | `video_url`*, `mask_video_url`* | mask_video_url; source must be <5s (auto_trim). | $0.14 per seconds |
+| `bria/video/erase/prompt` | fal / active | `prompt`*, `video_url`* | prompt names object; <5s. | $0.14 per seconds |
+| `bria/video/erase/keypoints` | fal / active | `video_url`*, `keypoints`* | keypoints array of strings like {'x':100,'y':100,'type':'positive'}; <5s. | $0.14 per seconds |
+| `fal-ai/void-video-inpainting` | fal / active | `prompt`*, `video_url`*, `quad_mask_video_url`, `seed`, `negative_prompt` | $0.05/video; quad_mask_video_url or mask_prompt (auto SAM-3 mask +$0.05); prompt = desired background. | Your request will cost $0.05 per video. With Pass2 enabled it will cost $0.1 per video. Sam3 quad mask generation will … |
+| `fal-ai/ltx-2.3-quality/clean-plate` | fal / active | `prompt`, `video_url`*, `resolution`, `generate_audio`, `seed`, `negative_prompt` | Removes foreground subjects to produce a clean plate. | Your request will cost $0.0024075 per megapixel of generated video data (width × height × frames), rounded up. For … |
+| `fal-ai/ltx-2.3-quality/inpaint` | fal / active | `prompt`*, `video_url`*, `mask_video_url`*, `generate_audio`, `seed`, `negative_prompt` | mask_video_url: WHITE regenerated, black preserved. | $0.0024075 per megapixels |
+| `fal-ai/wan-vace-14b/inpainting` | fal / active | `prompt`*, `first_frame_url`, `last_frame_url`, `video_url`*, `mask_image_url`, `aspect_ratio`, `resolution`, `seed`, `negative_prompt` | mask_video_url or mask_image_url. | Your request will cost $0.08 per video second for 720p, $0.06 per video second for 580p, $0.04 per video second for … |
+| `fal-ai/wan-vace-14b` | fal / active | `prompt`*, `first_frame_url`, `last_frame_url`, `video_url`, `mask_image_url`, `aspect_ratio`, `resolution`, `seed`, `negative_prompt`, `task` | task enum selects depth\|inpainting\|pose\|... | Your request will cost $0.08 per video second for 720p, $0.06 per video second for 580p, $0.04 per video second for … |
+
+## 6. Image inpaint, erase and Draw to Edit
+
+**Mask polarity varies by endpoint.** Normalise it in the adapter.
+
+| Endpoint | Mask field | Area that changes |
+|---|---|---|
+| FLUX fill/erase, `fal-ai/object-removal/mask`, Finegrain, `fal-ai/ideogram/object-removal`, LTX video inpaint | `mask_url` (LTX: `mask_video_url`) | **white** |
+| `ideogram/v4.5/edit` | `mask_url` | **black** (white is preserved) |
+| `fal-ai/chrono-edit-lora-gallery/paintbrush` | `mask_url` | **black** (the sketched region) |
+| `openai/gpt-image-2/edit` | `mask_url` | transparent pixels (OpenAI convention) |
+| `fal-ai/z-image/turbo/inpaint` | `mask_image_url` | — |
+| Nano Banana, FLUX.2, FLUX 3, Recraft | no mask field | — |
+
+For a mask-free edit model, composite the brush strokes onto the image and describe the region in the prompt.
+
+| Endpoint | Provider / status | Key fields (* = required) | Notes | Price |
+|---|---|---|---|---|
+| `fal-ai/flux-pro/v1/fill` | fal / active | `prompt`*, `image_url`*, `mask_url`*, `seed`, `num_images` | mask_url same dims as image; white = fill (BFL convention). $0.05/MP. | $0.05 per megapixels |
+| `fal-ai/flux-pro/v1/erase` | fal / active | `image_url`*, `mask_url`* | No prompt. mask white(255)=erase; dilate_pixels 0-100 (default 10). | Your request will cost $0.03 for the first megapixel generated, then $0.004 for each subsequent megapixel. Each … |
+| `fal-ai/flux-lora-fill` | fal / active | `prompt`, `image_url`*, `mask_url`*, `seed`, `num_images`, `loras` | Accepts loras[] (Soul ID inpaint); fill_image for in-context fill; paste_back. | $0.035 per megapixels |
+| `fal-ai/flux-kontext-lora/inpaint` | fal / active | `prompt`*, `image_url`*, `mask_url`*, `seed`, `num_images`, `loras`, `reference_image_url`* | Requires reference_image_url + mask_url; loras[]. | $0.035 per megapixels |
+| `fal-ai/flux-kontext/inpaint` | fal / active | `prompt`*, `image_url`*, `mask_url`*, `seed`, `num_images`, `loras`, `reference_image_url`* | Same as flux-kontext-lora/inpaint. | $0 per compute seconds |
+| `fal-ai/flux-general/inpainting` | fal / active | `prompt`*, `image_url`*, `mask_url`*, `seed`, `num_images`, `negative_prompt`, `loras` | Kitchen-sink FLUX dev inpaint (loras, controlnets, ip_adapters). | $0.075 per megapixels |
+| `fal-ai/qwen-image-edit/inpaint` | fal / active | `prompt`*, `image_url`*, `mask_url`*, `seed`, `num_images`, `negative_prompt` | mask_url; strength 0.93. | $0.03 per megapixels |
+| `fal-ai/z-image/turbo/inpaint` | fal / active | `prompt`*, `image_url`*, `mask_image_url`*, `seed`, `num_images` | Field is mask_image_url (not mask_url). $0.01/MP - cheapest. | $0.01 per megapixels |
+| `fal-ai/ideogram/v3/edit` | fal / active | `prompt`*, `image_url`*, `image_urls`, `mask_url`*, `seed`, `num_images` | mask_url REQUIRED, exact same dims as image_url. | Your request will cost $0.03 with TURBO, $0.06 with BALANCED, and $0.09 with QUALITY. |
+| `ideogram/v4.5/edit` | fal / active | `prompt`*, `image_url`*, `reference_image_urls`, `mask_url`, `seed`, `num_images` | mask_url OPTIONAL and INVERTED: BLACK = edit, white = preserve. edit_precision regular\|high. | Your request will cost $0.008 per image with Very Low, $0.03 with Low, $0.06 with Medium, and $0.22 with High quality. … |
+| `openai/gpt-image-2/edit` | fal / active | `prompt`*, `image_urls`*, `mask_url`, `num_images` | mask_url optional (OpenAI convention: transparent pixels = edit area); image_urls[]. | Text tokens (per 1M): $5.00 input, $1.25 cached, $10.00 output. Image tokens (per 1M): $8.00 input, $2.00 cached, … |
+| `fal-ai/nano-banana-pro/edit` | fal / active | `prompt`*, `image_urls`*, `aspect_ratio`, `resolution`, `seed`, `num_images` | NO mask field. 'Draw to Edit' with Nano Banana = composite the brush strokes onto the image (or pass as 2nd image) and describe the region in the prompt. | Your request will cost $0.15 per image. For $1.00, you can run this model 7 times. 4K outputs will be charged at double … |
+| `fal-ai/nano-banana-2/edit` | fal / active | `prompt`*, `image_urls`, `video_url`, `audio_url`, `aspect_ratio`, `resolution`, `seed`, `num_images` | NO mask field (same as Pro). | Your request will cost $0.08 per image. For $1.00, you can run this model 12 times. 2K and 4K outputs will be charged … |
+| `blackforestlabs/flux-3/edit-image` | fal / active | `prompt`*, `image_urls`*, `aspect_ratio`, `resolution` | NO mask field; image_urls 1-10. | Image pricing varies by resolution. A 1K (1 MP) image costs $0.048. |
+| `fal-ai/flux-2-pro/edit` | fal / active | `prompt`*, `image_urls`*, `seed` | NO mask field; there is no FLUX.2 fill endpoint on fal (flux-2*/fill all 404). | Your request will cost $0.03 for the first megapixel of output, plus $0.015 per extra megapixel of input and output, … |
+| `fal-ai/flux-2/edit` | fal / active | `prompt`*, `image_urls`*, `seed`, `num_images` | NO mask field. | Requests cost $0.012 per megapixel of input and output. Input images will be resized to 1MP. For example, a 1024x1024 … |
+| `fal-ai/flux-2-pro/outpaint` | fal / active | `image_url`* | expand_top/bottom/left/right px. | Your request will cost $0.03 for the first megapixel of output, plus $0.015 per extra megapixel of input and output, … |
+| `fal-ai/recraft/v3/image-to-image` | fal / active | `prompt`*, `image_url`*, `negative_prompt` | NO mask; Recraft inpaint/erase is NOT on fal (all guesses 404). Recraft native API has /images/inpaint. | Your request will cost $0.04 per image (or $0.08 if you are using a vector style). For $1 you can run this model … |
+| `fal-ai/bria/eraser` | fal / active | `image_url`*, `mask_url`* | mask_type manual (brush) \| automatic (SAM); preserve_alpha. Output image (singular). | $0.04 per generations |
+| `fal-ai/bria/genfill` | fal / active | `prompt`*, `image_url`*, `mask_url`*, `seed`, `num_images`, `negative_prompt` | mask_url + prompt; output images[]. | $0.04 per generations |
+| `bria/genfill/v2` | fal / active | `instruction`*, `image_url`*, `mask_url`*, `seed` | Prompt field is 'instruction'; steps_num. | $0.04 per megapixels |
+| `bria/fibo-edit/erase_by_text` | fal / active | `object_name`*, `image_url`* | object_name only (no mask). | $0.04 per images |
+| `fal-ai/object-removal` | fal / active | `prompt`*, `image_url`* | prompt names object; model low_quality..best_quality; mask_expansion. | Your request will cost $0.006 with Low Quality, $0.012 with Medium Quality, $0.018 with High Quality, and $0.024 with … |
+| `fal-ai/object-removal/mask` | fal / active | `image_url`*, `mask_url`* | mask_url white=remove; $0.006-$0.024. | Your request will cost $0.006 with Low Quality, $0.012 with Medium Quality, $0.018 with High Quality, and $0.024 with … |
+| `fal-ai/object-removal/bbox` | fal / active | `image_url`*, `box_prompts` | box_prompts normalised 0-1. | Your request will cost $0.006 with Low Quality, $0.012 with Medium Quality, $0.018 with High Quality, and $0.024 with … |
+| `fal-ai/finegrain-eraser` | fal / active | `prompt`*, `image_url`*, `seed` | mode express\|standard\|premium; removes shadows/reflections too. | Your request will cost $0.18 with Express, $0.27 with Standard, and $0.36 with Premium. |
+| `fal-ai/finegrain-eraser/mask` | fal / active | `image_url`*, `mask_url`*, `seed` | mask white=erase. | Your request will cost $0.04 with Express, $0.13 with Standard, and $0.22 with Premium. |
+| `fal-ai/ideogram/object-removal` | fal / active | `image_url`*, `mask_url`* | mask white=remove; $0.03. | Your request will cost $0.03 per generation. |
+| `fal-ai/image-editing/object-removal` | fal / active | `prompt`, `image_url`*, `aspect_ratio`, `seed` | prompt default 'background people'. | $0.04 per images |
+| `fal-ai/chrono-edit-lora-gallery/paintbrush` | fal / active | `prompt`*, `image_url`*, `mask_url`, `resolution`, `seed`, `loras` | Closest to Higgsfield 'Draw to Edit': user sketches on the image; optional mask_url (BLACK = sketched region). | Your request will cost $0.02 per image for 480p or $0.03 per image for 720p. |
+| `black-forest-labs/flux-fill-pro` | replicate | `prompt`*, `image`*, `mask`, `seed`, `steps` | image + mask (white = fill) + outpaint preset. | $0.05 per output image |
+| `bria/eraser` | replicate | `image_url`, `mask_url` | image/mask or image_url/mask_url; mask_type. | $0.04 per output image |
+| `bria/genfill` | replicate | `prompt`*, `image`, `mask`, `seed`, `negative_prompt` | image + mask + prompt. | $0.04 per output image |
+
+## 7. Audio: TTS, voice change, voice clone and dubbing
+
+### 7.1 ElevenLabs `voice` field
+
+On every fal ElevenLabs endpoint, `voice` is a **free string**, not an enum. Its default is `"Rachel"`. The dialogue schema describes it as *"the name or the ID of the voice"*. The schema's own example list is:
+
+`Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill`
+
+ElevenLabs' current public list has 21 premade voices. Fuobe can use this list for its voice picker, sending either the name or the `voice_id`:
+
+| Name | voice_id | Gender | Accent | Age | Use case |
+|---|---|---|---|---|---|
+| Roger | `CwhRBWXzGAHq8TQ4Fs17` | male | american | middle_aged | conversational |
+| Sarah | `EXAVITQu4vr4xnSDxMaL` | female | american | young | entertainment_tv |
+| Laura | `FGY2WhTYpPnrIDTdsKH5` | female | american | young | social_media |
+| Charlie | `IKne3meq5aSn9XLyUdCD` | male | australian | young | conversational |
+| George | `JBFqnCBsd6RMkjVDRZzb` | male | british | middle_aged | narrative_story |
+| Callum | `N2lVS1w4EtoT3dr4eOWO` | male | american | middle_aged | characters_animation |
+| River | `SAz9YHcvj6GT2YYXdXww` | neutral | american | middle_aged | conversational |
+| Harry | `SOYHLrjzK2X1ezoPC6cr` | male | american | young | characters_animation |
+| Liam | `TX3LPaxmHKxFdv7VOQHJ` | male | american | young | social_media |
+| Alice | `Xb7hH8MSUJpSbSDYk0k2` | female | british | middle_aged | informative_educational |
+| Matilda | `XrExE9yKIg1WjnnlVkGX` | female | american | middle_aged | informative_educational |
+| Will | `bIHbv24MWmeRgasZH58o` | male | american | young | conversational |
+| Jessica | `cgSgspJ2msm6clMCkdW9` | female | american | young | conversational |
+| Eric | `cjVigY5qzO86Huf0OWal` | male | american | middle_aged | conversational |
+| Bella | `hpp4J3VqNfWAUOO0d1Us` | female | american | middle_aged | informative_educational |
+| Chris | `iP95p4xoKVk53GoZ742B` | male | american | middle_aged | conversational |
+| Brian | `nPczCjzI2devNBz1zQrb` | male | american | middle_aged | social_media |
+| Daniel | `onwK4e9ZLuTAKqWW03F9` | male | british | middle_aged | informative_educational |
+| Lily | `pFZP5JQG7iQjIQuC4Bku` | female | british | middle_aged | informative_educational |
+| Adam | `pNInz6obpgDQGcFmaJgB` | male | american | middle_aged | social_media |
+| Bill | `pqHfZKP75CvOlQylNhV4` | male | american | old | advertisement |
+
+**Quirks:**
+- Aria, Charlotte and Rachel are in fal's examples and default but are no longer in ElevenLabs' public list. Whether fal still accepts them is *unverified*.
+- Harry, Bella and Adam are in the current list but not in fal's examples.
+- Prefer the `voice_id`.
+
+**Settings by model:**
+
+| Model | stability | similarity_boost | style | speed | Other |
+|---|---|---|---|---|---|
+| eleven-v3 | 0–1 (0.5) | — | — | — | |
+| multilingual-v2, turbo-v2.5 | 0–1 (0.5) | 0–1 (0.75) | 0–1 (0) | 0.7–1.2 (1) | `previous_text`, `next_text` |
+| eleven-v4, v4-turbo | 0–1 (0.5) | 0–1 (0.75) | — | — | `seed`, `output_format` |
+| text-to-dialogue/eleven-v3 | yes | — | — | — | `inputs:[{text, voice}]`, `use_speaker_boost` |
+
+### 7.2 Voice change, clone, design and dub
+
+**Voice Change on a video.** `fal-ai/elevenlabs/voice-changer` takes `audio_url` only. For a video:
+1. Send the video to `fal-ai/elevenlabs/audio-isolation` as `video_url`.
+2. Send the isolated audio to `fal-ai/elevenlabs/voice-changer` as `audio_url`.
+3. Put the new audio back on the video with `fal-ai/ffmpeg-api/merge-audio-video`.
+
+Isolation drops the music and ambience. To keep them, use `fal-ai/chatterbox/speech-to-speech`, which takes any `target_voice_audio_url`.
+
+**MiniMax voice clone.** `fal-ai/minimax/voice-clone` takes `audio_url` (at least 10 s) and returns `custom_voice_id`. Pass it as `voice_setting.voice_id` to `fal-ai/minimax/speech-2.8-hd` **within 7 days**, or MiniMax deletes the voice. Also set `output_format: "url"`, because the default is `hex`.
+
+**Qwen3-TTS clone** is a two-step flow that returns a file, not an id. `fal-ai/qwen-3-tts/clone-voice/1.7b` returns `speaker_embedding.url`, which goes into `speaker_voice_embedding_file_url`.
+
+**Kling voices.** `fal-ai/kling-video/create-voice` takes a 5–30 s `voice_url` and returns a `voice_id` for Kling's `elements[].voice_id`.
+
+**ElevenLabs Instant Voice Clone is not on fal or Replicate.**
+
+| Endpoint | Provider / status | Key fields (* = required) | Notes | Price |
+|---|---|---|---|---|
+| `fal-ai/elevenlabs/tts/eleven-v3` | fal / active | `text`*, `voice`, `stability` | voice = name or voice_id (free string, default 'Rachel'); only stability (no similarity/speed/style). text <=5000. Audio tags like [whispers]. | $0.1 per 1000 characters |
+| `fal-ai/elevenlabs/tts/multilingual-v2` | fal / active | `text`*, `voice`, `stability`, `similarity_boost`, `speed` | stability, similarity_boost, style, speed 0.7-1.2, previous_text/next_text. | $0.1 per 1000 characters |
+| `fal-ai/elevenlabs/tts/turbo-v2.5` | fal / active | `text`*, `voice`, `stability`, `similarity_boost`, `speed` | Same knobs as multilingual-v2; half price. | $0.05 per 1000 characters |
+| `elevenlabs/tts/eleven-v4` | fal / active | `text`*, `seed`, `voice`, `stability`, `similarity_boost` | stability + similarity_boost (no speed/style); seed; output_format codec_rate_bitrate. | $0.08 per 1000 characters |
+| `elevenlabs/tts/eleven-v4-turbo` | fal / active | `text`*, `seed`, `voice`, `stability`, `similarity_boost` | Same as v4; $0.04/1k chars. | $0.04 per 1000 characters |
+| `fal-ai/elevenlabs/text-to-dialogue/eleven-v3` | fal / active | `seed`, `stability`, `inputs`*, `inputs[].voice` | inputs[{text,voice}] (both required); stability; use_speaker_boost. | $0.1 per 1000 characters |
+| `fal-ai/elevenlabs/voice-changer` | fal / active | `audio_url`*, `seed`, `voice` | audio_url (audio only) + voice (premade name/id); remove_background_noise. $0.3/min. For video: audio-isolation(video_url) -> voice-changer -> ffmpeg merge-audio-video. | $0.3 per minutes |
+| `fal-ai/elevenlabs/dubbing` | fal / active | `video_url`, `audio_url`, `target_lang`*, `source_lang` | video_url or audio_url + target_lang (ISO 639-1, free string); returns video + audio. No lip-sync. $0.6/min rounded up. | Your request will cost $0.6 per minute. The calculation will be based on the closest minute after rounding upwards. |
+| `fal-ai/minimax/voice-clone` | fal / active | `text`, `audio_url`* | audio_url >=10s -> custom_voice_id (+preview audio). Use as voice_setting.voice_id in fal-ai/minimax/speech-2.8-hd within 7 days or it is deleted. $1.50/clone. | Each voice clone request will cost $1.5, with preview inputs costing $0.3 per 1000 characters. |
+| `fal-ai/minimax/voice-design` | fal / active | `prompt`*, `preview_text`* | prompt (voice description) + preview_text -> custom_voice_id. $3/voice. | Designing a voice will cost $3 per created voice, with 0.03 per 1000 preview characters |
+| `fal-ai/minimax/speech-2.8-hd` | fal / active | `prompt`*, `voice_setting.voice_id`, `voice_setting.speed` | voice_setting{voice_id,speed 0.5-2,vol,pitch -12..12,emotion}; voice_id accepts preset ids or custom_voice_id from voice-clone/voice-design. output_format default 'hex' -> set 'url'. | $0.1 per 1000 characters |
+| `fal-ai/chatterbox/text-to-speech` | fal / active | `text`*, `audio_url`, `seed` | Zero-shot clone: audio_url reference (defaults to a demo voice!). exaggeration, temperature, cfg. $0.025/1k chars. | Your request will cost $0.025 per 1000 characters. |
+| `fal-ai/chatterbox/text-to-speech/multilingual` | fal / active | `text`*, `seed`, `voice` | text <=300 chars; 'voice' = language code or a custom audio URL + custom_audio_language. | $0.025 per 1000 characters |
+| `fal-ai/chatterbox/speech-to-speech` | fal / active | `source_audio_url`*, `target_voice_audio_url` | source_audio_url + target_voice_audio_url: zero-shot voice conversion to ANY voice. $0.015/min. | $0.015 per minutes |
+| `resemble-ai/chatterboxhd/text-to-speech` | fal / active | `text`, `audio_url`, `seed`, `voice` | voice enum Aurora\|Blade\|Britney\|Carl\|Cliff\|Richard\|Rico\|Siobhan\|Vicky or audio_url clone; output audio is typed 'any'. | Your request will cost $0.04 per 1000 characters. |
+| `resemble-ai/chatterboxhd/speech-to-speech` | fal / active | `source_audio_url`*, `target_voice`, `target_voice_audio_url` | target_voice enum or target_voice_audio_url. | $0.02 per minutes |
+| `fal-ai/index-tts-2/text-to-speech` | fal / active | `audio_url`*, `prompt`* | Field names: audio_url (speaker ref, required) + prompt (the text). Emotion via emotional_audio_url / emotional_strengths{...} / emotion_prompt. | Your request will cost 0.002 per generated audio seconds. |
+| `fal-ai/vibevoice` | fal / active | `script`*, `seed`, `speakers`*, `speakers[].audio_url` | script 'Speaker 0: ...' + speakers[{preset\|audio_url}] (zero-shot clone per speaker); up to ~90k chars. | Your request will cost $0.04 per generated minute, rounded to the nearest 15 seconds. For $1.00 you can generate up to … |
+| `fal-ai/vibevoice/7b` | fal / active | `script`*, `seed`, `speakers`*, `speakers[].audio_url` | Same as 1.5B; script <=30k chars. | Your request will cost $0.04 per generated minute, rounded to the nearest 15 seconds. For $1.00 you can generate up to … |
+| `fal-ai/dia-tts/voice-clone` | fal / active | `text`* | BROKEN SCHEMA: fal exposes only 'text' (no reference audio field) - cannot actually clone via fal today. Use Replicate zsxkib/dia (audio_prompt) instead. | $0.04 per 1000 characters |
+| `fal-ai/qwen-3-tts/clone-voice/1.7b` | fal / active | `audio_url`* | Step 1: audio_url (<=5 min) -> speaker_embedding (safetensors file). Step 2: qwen-3-tts/text-to-speech/1.7b with speaker_voice_embedding_file_url. Very cheap. | $0.0008 per minutes |
+| `fal-ai/qwen-3-tts/text-to-speech/1.7b` | fal / active | `prompt`, `voice`, `speaker_voice_embedding_file_url`, `text`* | voice enum Vivian\|Serena\|Uncle_Fu\|Dylan\|Eric\|Ryan\|Aiden\|Ono_Anna\|Sohee, or speaker_voice_embedding_file_url. | $0.09 per 1000 characters |
+| `fal-ai/qwen-3-tts/voice-design/1.7b` | fal / active | `prompt`*, `text`* | prompt describes the voice; returns audio only (no reusable id) - clone the result to reuse. | $0.09 per 1000 characters |
+| `fal-ai/zonos2` | fal / active | `text`, `reference_audio_url`*, `seed` | reference_audio_url + text; accurate_mode; $0.01/min. | $0.01 per minutes |
+| `fal-ai/f5-tts` | fal / active | `gen_text`*, `ref_audio_url`*, `model_type`* | gen_text + ref_audio_url (+ref_text); model_type F5-TTS\|E2-TTS required; output key is audio_url{url}. | $0.05 per 1000 characters |
+| `fal-ai/kling-video/create-voice` | fal / active | `voice_url`* | voice_url 5-30s (audio or video) -> voice_id for Kling elements[].voice_id / voice_ids. | $0.007 per generations |
+| `fal-ai/heygen/v2/translate/precision` | fal / active | `video_url`*, `output_language`*, `translate_audio_only` | Lip-synced translation; output_language is a display-name enum (e.g. 'Spanish', 'Japanese (Japan)'); <=8 min; $0.1/s. | Your request will cost $0.1 per output video second. |
+| `fal-ai/heygen/v2/translate/speed` | fal / active | `video_url`*, `output_language`*, `translate_audio_only` | $0.05/s; same schema. | Your request will cost $0.05 per output video second. |
+| `minimax/voice-cloning` | replicate | `voice_file`* | voice_file -> output {voice_id, preview, model}; use voice_id with minimax/speech-02-hd / speech-2.8-hd. | $3 per output |
+| `resemble-ai/chatterbox` | replicate | `prompt`*, `audio_prompt`, `seed` | prompt (text) + audio_prompt (reference) zero-shot clone; cfg_weight. | $0.025 per thousand input characters |
+| `resemble-ai/chatterbox-pro` | replicate | `prompt`*, `custom_voice`, `seed`, `voice` | voice preset or custom_voice (reference audio). | $0.04 per thousand input characters |
+| `resemble-ai/chatterbox-multilingual` | replicate | `text`*, `reference_audio`, `seed` | language + reference_audio. | — |
+| `zsxkib/dia` | replicate | `text`*, `audio_prompt`, `seed` | Working Dia clone: audio_prompt + audio_prompt_text; text with [S1]/[S2] tags. | — |
+| `lucataco/xtts-v2` | replicate | `text`, `speaker`* | speaker (reference audio) + language; community model (needs version hash). | — |
+| `elevenlabs/dubbing` | replicate | `audio_or_video_file`, `target_language`*, `source_language` | target_language BCP-47 enum incl. dialects; audio_or_video_file or source_url (YouTube/TikTok OK); cloning_strength. | $0.0366667 per second of output audio |
+| `heygen/video-translate` | replicate | `video`*, `output_language` | video + output_language + mode speed\|precision; cheaper than fal ($0.0333/$0.0667 per s). | $0.0333 per second of output video (Speed [{"description": "speed", "subtype": "string", "title": "model variant", … |
+| `minimax/speech-2.8-hd` | replicate | `text`*, `voice_id`, `speed` | Flat fields: voice_id, speed, volume, pitch, emotion (no voice_setting wrapper). | $0.10 per thousand input tokens |
+| `sync/lipsync-2-pro` | replicate | `video`*, `audio`* | Use after a non-lip-synced dub (ElevenLabs dubbing) to re-sync lips: video + audio. | $0.08325 per second of output video |
+
+## 8. Soul ID: LoRA training and inference
+
+**Flow:**
+1. Zip the photos, with an optional `ROOT.txt` caption beside each image.
+2. Upload the zip to the fal CDN.
+3. Call the trainer. It returns `diffusers_lora_file.url` (some trainers say `lora_file.url`).
+4. Pass that URL as `loras: [{path: <url>, scale: 1}]` to the matching inference endpoint. Most take at most 3 LoRAs, each with `scale` from 0 to 4.
+
+| Base | Trainer (data field / trigger field) | Price | Output key | Inference endpoint |
+|---|---|---|---|---|
+| Z-Image Turbo | `fal-ai/z-image-turbo-trainer-v2` (`image_data_url` / `default_caption`, no trigger field) | $0.85 per 1,000 steps, 500-step floor | `diffusers_lora_file` | `fal-ai/z-image/turbo/lora` |
+| Z-Image base | `fal-ai/z-image-trainer` (`image_data_url` / `default_caption`; `training_type`) | $2.26 per 1,000 steps | `diffusers_lora_file` | `fal-ai/z-image/base/lora` |
+| FLUX.1 dev | `fal-ai/flux-lora-fast-training` (**`images_data_url`** / `trigger_word`; `create_masks`, `is_style`) | $2 per run | `diffusers_lora_file` | `fal-ai/flux-lora`, `fal-ai/flux-lora-fill` |
+| FLUX.1 portrait | `fal-ai/flux-lora-portrait-trainer` (`images_data_url` / `trigger_phrase`) | $0.0024/step, 1,000-step minimum | `diffusers_lora_file` | `fal-ai/flux-lora` |
+| FLUX.2 dev | `fal-ai/flux-2-trainer(-v2)` (`image_data_url` / `default_caption`) | $0.0064/step | `diffusers_lora_file` | `fal-ai/flux-2/lora`, `fal-ai/flux-2/lora/edit` |
+| FLUX.2 Klein 9B | `fal-ai/flux-2-klein-9b-base-trainer` | $0.0043/step | `diffusers_lora_file` | `fal-ai/flux-2/klein/9b/base/lora` |
+| Qwen-Image 2512 | `fal-ai/qwen-image-2512-trainer` (`image_data_url` / `default_caption`) | $0.0015/step, 500-step minimum | `diffusers_lora_file` | `fal-ai/qwen-image-2512/lora` |
+| Wan 2.2 image | `fal-ai/wan-22-image-trainer` (**`training_data_url`** / **`trigger_phrase` required**) | $0.0045/step | `diffusers_lora_file` + `high_noise_lora` | `fal-ai/wan/v2.2-a14b/text-to-image/lora`, loading both files with `transformer: "low"` and `"high"` |
+| Wan 2.2 video | `fal-ai/wan-22-trainer/{t2v,i2v}-a14b` (`training_data_url` / `trigger_phrase`; **`number_of_steps`**) | $0.004 or $0.005 per step | `lora_file` | `fal-ai/wan/v2.2-a14b/{text,image}-to-video/lora` |
+| Ideogram V4 | `ideogram/v4/trainer` (`images_data_url`) | $0.00675/step | `diffusers_lora_file` | `ideogram/v4/lora` |
+| Krea 2 | `fal-ai/krea-2-trainer` (`images_data_url` / `trigger_phrase`; `auto_captioning`) | $0.003/step | `lora_file` | `fal-ai/krea-2/turbo/lora` |
+| MiniMax H3 (video) | `minimax/h3/i2v/trainer` (`training_data_url` of clips) | $0.01/step | `lora_file` | `minimax/h3/image-to-video/lora` |
+
+| Endpoint | Provider / status | Key fields (* = required) | Notes | Price |
+|---|---|---|---|---|
+| `fal-ai/z-image-trainer` | fal / active | `image_data_url`*, `default_caption`, `steps` | image_data_url zip (ROOT.txt captions); NO trigger field -> put trigger in captions or default_caption; training_type content\|style\|balanced; $2.26/1000 steps. | Your request will cost $2.26 per 1000-step training run. It scales per step, so a 2000-step training run costs $4.52. … |
+| `fal-ai/z-image-turbo-trainer-v2` | fal / active | `image_data_url`*, `default_caption`, `steps` | Cheapest image LoRA trainer: $0.85/1000 steps (500-step billing floor); steps default 2000; lr 5e-4; no trigger field (use default_caption). | Your request will cost $0.85 per 1000-step training run. It scales per step, so a 2000-step training run will cost … |
+| `fal-ai/flux-lora-fast-training` | fal / active | `images_data_url`*, `trigger_word`, `steps` | images_data_url (note plural 'images_'); trigger_word; create_masks (face masks); is_style. $2/run. | Your request will cost $2 per training run (scales linearly with steps). For $2 you can run this model with … |
+| `fal-ai/flux-lora-portrait-trainer` | fal / active | `images_data_url`*, `trigger_phrase`, `steps` | images_data_url; trigger_phrase; subject_crop; 2500 steps default; $0.0024/step, min 1000 billed. | Your request will cost $0.0024 cents per step. A minimum of 1000 steps will be billed. |
+| `fal-ai/flux-2-trainer` | fal / active | `image_data_url`*, `default_caption`, `steps` | image_data_url; default_caption (no trigger); output_lora_format fal\|comfy; $0.0064/step. | The cost of training depends on the number of steps. The formula is: 0.0064 * steps. With 1000 steps, your request will … |
+| `fal-ai/flux-2-trainer-v2` | fal / active | `image_data_url`*, `default_caption`, `steps` | steps up to 20000; same price. | The cost of training depends on the number of steps. The formula is: 0.0064 * steps. With 1000 steps, your request will … |
+| `fal-ai/flux-2-klein-9b-base-trainer` | fal / active | `image_data_url`*, `default_caption`, `steps` | $0.0043/step; inference via fal-ai/flux-2/klein/9b/base/lora. | The cost of training depends on the number of steps. The formula is: 0.0043 * steps. With 1000 steps, your request will … |
+| `fal-ai/qwen-image-trainer` | fal / deprecated | `image_data_url`*, `trigger_phrase`, `steps` | DEPRECATED in catalog; output key lora_file (not diffusers_lora_file). | Your request will cost $0.002 per step (minimum of 250 steps is charged). For $2 you can fine-tune a LoRA for 1000 … |
+| `fal-ai/qwen-image-2512-trainer` | fal / active | `image_data_url`*, `default_caption`, `steps` | image_data_url; default_caption; $0.0015/step (min 500). | Your request will cost $0.0015 per step (minimum of 500 steps is charged). For $1.5 you can fine-tune a LoRA for 1000 … |
+| `fal-ai/qwen-image-edit-2509-trainer` | fal / active | `image_data_url`*, `default_caption`, `steps` | Edit-pair LoRA trainer; $4/1000 steps. | Your request will cost $4.0 per 1000-step training run. It scales per step, so a 2000-step training run costs $8. Note: … |
+| `fal-ai/wan-22-image-trainer` | fal / active | `training_data_url`*, `trigger_phrase`*, `steps` | Field is training_data_url; trigger_phrase REQUIRED; face detection/cropping/masks; outputs diffusers_lora_file (low-noise) + high_noise_lora -> load both with transformer 'low'/'high'. | Your request will cost $0.0045 per step (minimum of 100 steps is charged). For $4.5 you can fine-tune a LoRA for 1000 … |
+| `fal-ai/wan-22-trainer/t2v-a14b` | fal / active | `training_data_url`*, `trigger_phrase`, `number_of_steps` | training_data_url (images and/or videos); number_of_steps (not steps); output lora_file. | Your request will cost $0.004 per step (minimum of 100 steps is charged). For $4 you can fine-tune a LoRA for 1000 … |
+| `fal-ai/wan-22-trainer/i2v-a14b` | fal / active | `training_data_url`*, `trigger_phrase`, `number_of_steps` | Same fields as t2v trainer; $0.005/step. | Your request will cost $0.005 per step (minimum of 100 steps is charged). For $5 you can fine-tune a LoRA for 1000 … |
+| `ideogram/v4/trainer` | fal / active | `resolution`, `images_data_url`*, `default_caption`, `steps` | images_data_url; $0.00675/step. | The cost of training depends on the number of steps. The formula is: 0.00675 * steps. With 1000 steps, your request … |
+| `fal-ai/krea-2-trainer` | fal / active | `resolution`, `images_data_url`*, `trigger_phrase`, `steps` | images_data_url; trigger_phrase; auto_captioning Off\|Object/Character\|Style\|Custom; output lora_file. | Your request will cost $0.003 per step (minimum of 100 steps is charged). For $3.00 you can fine-tune a LoRA for 1000 … |
+| `minimax/h3/i2v/trainer` | fal / active | `aspect_ratio`, `resolution`, `training_data_url`*, `trigger_phrase`, `number_of_steps` | Video LoRA (motion/character); training_data_url of clips; number_of_frames %17==5; $0.01/step. | The cost of training depends on the number of steps. The formula is: 0.01 * steps. With 1000 steps, your request will … |
+| `fal-ai/z-image/turbo/lora` | fal / active | `prompt`*, `seed`, `num_images`, `loras` | loras[{path,scale 0-4}] max 3; $0.0085/MP. | $0.0085 per megapixels |
+| `fal-ai/z-image/base/lora` | fal / active | `prompt`*, `seed`, `num_images`, `negative_prompt`, `loras` | loras max 3; negative_prompt. | $0.012 per megapixels |
+| `fal-ai/flux-lora` | fal / active | `prompt`*, `seed`, `num_images`, `loras` | loras unlimited (merged). | $0.035 per megapixels |
+| `fal-ai/flux-2/lora` | fal / active | `prompt`*, `seed`, `num_images`, `loras` | loras max 3 (URL, HF repo id); >2GB loras cost more. | Your request will cost $0.021 per megapixel. LoRAs over 2GB in size will accrue an extra 50% charge per GB (2-3GB total … |
+| `fal-ai/flux-2/lora/edit` | fal / active | `prompt`*, `image_urls`*, `seed`, `num_images`, `loras` | Soul-ID-style edit with a character LoRA. | Requests cost $0.021 per megapixel of input and output. Input images will be resized to 1MP. For example, a 1024x1024 … |
+| `fal-ai/flux-2/klein/9b/base/lora` | fal / active | `prompt`*, `seed`, `num_images`, `negative_prompt`, `loras` | loras max 3. | $0.02 per megapixels |
+| `fal-ai/qwen-image-2512/lora` | fal / active | `prompt`*, `seed`, `num_images`, `negative_prompt`, `loras` | loras max 3. | $0.035 per megapixels |
+| `fal-ai/wan/v2.2-a14b/text-to-image/lora` | fal / active | `prompt`*, `seed`, `negative_prompt`, `loras` | loras[{path,scale,transformer high\|low\|both,weight_name}]. | $0.05 per images |
+| `fal-ai/wan/v2.2-a14b/text-to-video/lora` | fal / active | `prompt`*, `aspect_ratio`, `resolution`, `seed`, `negative_prompt`, `loras` | loras with transformer high\|low\|both. | $0.1 per seconds |
+| `fal-ai/wan/v2.2-a14b/image-to-video/lora` | fal / active | `prompt`*, `image_url`*, `end_image_url`, `aspect_ratio`, `resolution`, `seed`, `negative_prompt`, `loras` | loras with transformer; end_image_url. | $0.1 per seconds |
+| `ideogram/v4/lora` | fal / active | `prompt`*, `seed`, `num_images`, `loras` | loras maxItems 3. | Your request will cost $0.01125 per megapixel in TURBO mode, $0.0225 per megapixel in BALANCED mode, or $0.0375 per … |
+| `minimax/h3/image-to-video/lora` | fal / active | `prompt`*, `image_url`, `end_image_url`, `resolution`, `duration`, `seed`, `loras`* | loras REQUIRED (1-3) with weight_name. | Video costs $0.0625 per second at 480p, $0.075 per second at 768p, $0.1625 per second at 2K and $0.20 per second at 4K. |
+| `fal-ai/krea-2/turbo/lora` | fal / active | `prompt`*, `seed`, `num_images`, `loras` | loras max 3. | $0.01 per megapixels |
+| `replicate/fast-flux-trainer` | replicate | `seed`, `input_images`, `trigger_word`, `training_steps` | input_images zip + trigger_word + lora_type subject\|style + training_steps. Training API: POST /v1/models/replicate/fast-flux-trainer/versions/{id}/trainings with destination. | — |
+| `ostris/flux-dev-lora-trainer` | replicate | `resolution`, `input_images`, `trigger_word`, `steps` | input_images + trigger_word + steps + lora_rank; trainings API. | — |
+
+## 9. Draw to video, trajectory and motion
+
+Higgsfield's *Draw to Video* lets the user draw arrows and notes on the frame and then sends that image to a normal i2v model; the inventory lists Hailuo, Seedance, Veo and 'Banana' draw variants. On fal, this means compositing the drawing on the client and calling an i2v endpoint, with an instruction to follow the annotations and then remove them.
+
+True trajectory control exists only in `fal-ai/wan-ati` (`track`) and `fal-ai/wan-move` (`trajectories`). Both take `[[{x, y}, ...], ...]` in pixel coordinates, and both are **deprecated** in fal's catalog although their schemas are still served. `minimax/h3-max/camera-controls` controls the camera path only.
+
+| Endpoint | Provider / status | Key fields (* = required) | Notes | Price |
+|---|---|---|---|---|
+| `fal-ai/wan-vace-14b/pose` | fal / active | `prompt`*, `first_frame_url`, `last_frame_url`, `video_url`*, `aspect_ratio`, `resolution`, `seed`, `negative_prompt` | Pose-video conditioned generation. | Your request will cost $0.08 per video second for 720p, $0.06 per video second for 580p, $0.04 per video second for … |
+| `fal-ai/wan-ati` | fal / deprecated | `prompt`*, `image_url`*, `resolution`, `seed`, `track`* | DEPRECATED in catalog (schema still served). track = [[{x,y},...],...] pixel coords, <=121 points per track (auto-padded). $0.15/video. | $0.15 per videos |
+| `fal-ai/wan-move` | fal / deprecated | `prompt`*, `image_url`*, `seed`, `negative_prompt`, `trajectories`* | DEPRECATED in catalog. trajectories = [[{x,y},...],...] one list per object; 480p; $0.2/video. | $0.2 per videos |
+| `minimax/h3-max/camera-controls` | fal / active | `prompt`, `image_url`*, `resolution`, `duration`, `seed`, `camera_trajectory`, `prompt_expansion_mode`* | Camera path only: camera_trajectory[{time 0-1,azimuth,elevation -90..90,distance}] 2-12 keyframes; prompt_expansion_mode is REQUIRED (disabled\|balanced\|quality). | Video costs $0.0325 per second at 480p, $0.052 per second at 768p, and $0.104 per second at 1080p. Note: these are … |
+| `fal-ai/wan-motion` | fal / active | `prompt`, `image_url`*, `video_url`*, `seed` | Driving video_url + character image_url. | Your request will cost $0.06 per video second for 720p. Video seconds are calculated at 24 frames per second. When … |
+| `fal-ai/kling-video/v3/pro/motion-control` | fal / active | `prompt`, `image_url`*, `video_url`*, `elements`, `character_orientation`* | character_orientation image\|video REQUIRED; elements (1) for face binding. | $0.168 per seconds |
+| `fal-ai/kling-video/v2.6/pro/motion-control` | fal / active | `prompt`, `image_url`*, `video_url`*, `character_orientation`* | Older motion transfer. | $0.112 per seconds |
+
+## 10. Storyboard and consistent multi-image
+
+| Endpoint | Provider / status | Key fields (* = required) | Notes | Price |
+|---|---|---|---|---|
+| `blackforestlabs/flux-3/keyframes-to-video` | fal / active | `prompt`*, `aspect_ratio`, `resolution`, `duration`, `generate_audio`, `keyframes`* | keyframes[{image_url,frame_index}] 1-10, unique frame_index; explicit duration required. Best fit for a storyboard -> video feature. | Your request will be charged at 0.17 $ per second of generated video at 720p, and 0.29 $ per second at 1080p. |
+| `fal-ai/ltx-2.3-quality/ingredient` | fal / active | `prompt`*, `image_url`*, `resolution`, `generate_audio`, `seed`, `negative_prompt` | image_url = a reference/character sheet or storyboard image; prompt 'Reference sheet: ... Generated video: ...'. | Your request will cost $0.0024075 per megapixel of generated video data (width × height × frames), rounded up. For … |
+| `fal-ai/kling-image/o3/text-to-image` | fal / active | `prompt`*, `aspect_ratio`, `resolution`, `num_images`, `elements`, `result_type`, `series_amount` | result_type 'series' + series_amount 2-9 = consistent multi-image set; elements for face control. | Your request will cost $0.028 per image for 1K/2K, price will be double for 4K |
+| `fal-ai/kling-image/o3/image-to-image` | fal / active | `prompt`*, `image_urls`*, `aspect_ratio`, `resolution`, `num_images`, `elements`, `result_type`, `series_amount` | Series from reference images (@Image1). | Your request will cost $0.028 per image for 1K/2K, price will be double for 4K |
+| `fal-ai/bytedance/seedream/v4.5/text-to-image` | fal / active | `prompt`*, `seed`, `num_images`, `max_images` | max_images 1-6 = multi-image sequential set per generation. | $0.04 per images |
+| `fal-ai/flux-pro/kontext/max/multi` | fal / active | `prompt`*, `image_urls`*, `aspect_ratio`, `seed`, `num_images` | Multi-reference image composition. | $0.08 per images |
+| `fal-ai/ideogram/character` | fal / active | `prompt`*, `image_urls`, `seed`, `num_images`, `negative_prompt`, `reference_image_urls`* | reference_image_urls (+reference_mask_urls) consistent character. | Your request will cost $0.1 with TURBO, $0.15 with BALANCED, and $0.20 with QUALITY. |
+| `fal-ai/minimax/image-01/subject-reference` | fal / active | `prompt`*, `image_url`*, `aspect_ratio`, `num_images` | Single subject image_url; $0.01/image. | $0.01 per images |
+
+## 11. Quirks to encode in the adapter
+
+- Kling i2v image field: v3 uses `start_image_url`, O3 uses `image_url`, and Replicate uses `start_image`.
+- Kling `multi_prompt[].duration` is a string enum. The top-level `duration` is a string enum as well.
+- MiniMax H3 extend and relight use upper-case resolutions (`480P`, `768P`, `1080P`, `2K`), and `duration` is a float. Insert-video uses lower-case `480p` and `768p`.
+- MiniMax H3 extend returns source plus continuation with `output: "extended"`, the default. With `output: "continuation"` the clip starts with a 1.625 s repeat of the source.
+- Veo 3.1 extend: `duration` is a string such as `"7s"`, and the source must be 720p or 1080p at 16:9 or 9:16. fal shows *deprecated on 2026-11-17*.
+- LTX-2.3 extend uses `mode: start|end`. LTX-2.3 Quality and 22B use `extend_direction: forward|backward`.
+- Luma Ray 3.2 reframe accepts sources of 10 s or less and requires `aspect_ratio`. Ray 2 reframe is unlisted and the Ray 2 family is deprecated on 2026-10-25.
+- Seedance 2.5 `task: "extension"` forces `aspect_ratio` to auto, and `editing` forces both aspect ratio and duration to auto. Video references must be 1.8–30.2 s each, with a combined total of 30.2 s or less.
+- Mask polarity differs by endpoint; see section 6. `fal-ai/z-image/turbo/inpaint` names its field `mask_image_url`.
+- `veed/video-background-removal*` returns `video` as an **array**: one VP9 file with alpha, or separate RGB and alpha H.264 files.
+- Alpha output: BiRefNet needs `video_output_type` VP9 or ProRes 4444, Bria needs `background_color: "Transparent"` with webm_vp9 or mov_proresks, and BEN v2 is transparent unless `background_color` is set.
+- Bria video erase only works on clips under 5 s, and `auto_trim` trims to 5 s.
+- `fal-ai/minimax/speech-2.8-hd` defaults to `output_format: "hex"`, so set it to `"url"`.
+- Chatterbox `audio_url` defaults to a demo voice. Always set it.
+- `fal-ai/dia-tts/voice-clone` exposes only `text`, so it cannot clone. Use Replicate `zsxkib/dia` (`audio_prompt`).
+- `fal-ai/f5-tts` returns `audio_url.url`, not `audio.url`, and `model_type` is required.
+- Trainer field names vary: `image_data_url`, `images_data_url` or `training_data_url`; `steps` or `number_of_steps`; `trigger_word`, `trigger_phrase` or `default_caption`. Output is `diffusers_lora_file` or `lora_file`.
+- `minimax/h3/image-to-video/lora` requires `loras` (1–3).
+- HeyGen translate `output_language` is a display-name enum such as `"Spanish"` or `"Japanese (Japan)"`. ElevenLabs dubbing `target_lang` is a free ISO 639-1 string on fal and a BCP-47 enum on Replicate.
+- `minimax/h3-max/camera-controls` requires `prompt_expansion_mode`, which takes `disabled`, `balanced` or `quality`.
+
+## 12. Gaps and blockers
+
+- No dedicated Seedance extend endpoint (bytedance/seedance-2.5/extend*, /video-extend, seedance-2.0/extend-video all 404). Extend = bytedance/seedance-2.5/reference-to-video with task:'extension' and video_urls:[source]. Seedance 2.0 r2v has no task field.
+- No Kling extend on fal (all fal-ai/kling-video/*extend* guesses 404). Kling extend exists only in Kling's native API. Fallback: extract last frame + i2v + merge.
+- No Luma Ray 3.2 extend and no Wan 2.7 / Gemini Omni extend endpoint on fal.
+- No FLUX.2 fill/inpaint endpoint (fal-ai/flux-2*/fill 404). Use FLUX.1 fill (fal-ai/flux-pro/v1/fill) or FLUX.2 edit without mask.
+- Nano Banana / Gemini edit endpoints have no mask field; Recraft inpaint/erase is not on fal (Recraft native API only).
+- ElevenLabs Instant Voice Cloning is not on fal or Replicate; fal ElevenLabs endpoints accept premade voice names/ids only (a voice_id from your own ElevenLabs account cannot be used because fal uses its own key - unverified, no test call made).
+- No Sync Labs or Kling video-translate endpoint on fal. Lip-synced translation = HeyGen translate; or ElevenLabs dubbing + a lipsync model.
+- fal-ai/dia-tts/voice-clone schema exposes only 'text' (no reference audio) - not usable for cloning; use Replicate zsxkib/dia.
+- Trajectory draw-to-video endpoints on fal (fal-ai/wan-ati, fal-ai/wan-move) are marked deprecated in the catalog; no Kling motion-brush endpoint was found on fal or Replicate (probed fal-ai/kling-video/v1*/motion-brush and Replicate bytedance/ati, zsxkib/ati: all 404).
+- No video color-grade endpoint; only image color correction (fal-ai/post-processing/color-correction) and LTX IC-LoRA effects (colorization, day-to-night, hdr).
+- No test calls were made because no FAL_KEY was used, so runtime-only behaviour is *unverified*. That covers voice-name resolution and whether deprecated endpoints still run.
+
+## 13. Sources
+
+- fal OpenAPI: `https://fal.ai/api/openapi/queue/openapi.json?endpoint_id=<id>` (the `schemaUrl` of each record)
+- fal pricing and docs: `https://fal.ai/models/<id>/llms.txt`
+- fal catalog: `https://api.fal.ai/v1/models` and `?endpoint_id=`
+- Replicate model pages: `https://replicate.com/<owner>/<name>`
+- ElevenLabs premade voices: `https://api.elevenlabs.io/v1/voices`
+- Higgsfield feature definitions: [`higgsfield-inventory.md`](./higgsfield-inventory.md)
diff --git a/src/app/(studio)/color-grade/page.tsx b/src/app/(studio)/color-grade/page.tsx
new file mode 100644
index 00000000..2ea00388
--- /dev/null
+++ b/src/app/(studio)/color-grade/page.tsx
@@ -0,0 +1,8 @@
+import type { Metadata } from "next";
+import { ColorGradeView } from "@/components/color-grade-view";
+
+export const metadata: Metadata = { title: "Color grading" };
+
+export default function Page() {
+ return <ColorGradeView />;
+}
diff --git a/src/app/api/generations/local/route.ts b/src/app/api/generations/local/route.ts
new file mode 100644
index 00000000..4387fa3e
--- /dev/null
+++ b/src/app/api/generations/local/route.ts
@@ -0,0 +1,23 @@
+import { z } from "zod";
+import { recordLocalGeneration } from "@/server/generations";
+
+const Body = z.object({
+ feature: z.string().min(1).max(80),
+ modelId: z.string().min(1),
+ op: z.literal("grade"),
+ prompt: z.string().max(2000),
+ inputs: z.object({ images: z.array(z.string()).max(1).optional(), video: z.string().optional() }),
+ params: z.object({ extra: z.record(z.string(), z.unknown()).optional() }).optional(),
+ output: z.object({ url: z.string().startsWith("/api/files/"), kind: z.enum(["image", "video"]), contentType: z.string().optional() }),
+});
+
+/** Record a result rendered in the browser (e.g. a colour grade) so it shows up in the library. */
+export async function POST(request: Request) {
+ const parsed = Body.safeParse(await request.json().catch(() => null));
+ if (!parsed.success) return Response.json({ error: "Invalid result" }, { status: 400 });
+ try {
+ return Response.json(recordLocalGeneration(parsed.data), { status: 201 });
+ } catch (e) {
+ return Response.json({ error: (e as Error).message }, { status: 422 });
+ }
+}
diff --git a/src/components/app-sidebar.tsx b/src/components/app-sidebar.tsx
index cdf66aff..2f9e092b 100644
--- a/src/components/app-sidebar.tsx
+++ b/src/components/app-sidebar.tsx
@@ -20,6 +20,7 @@ import {
Moon,
Plus,
Settings,
+ SlidersHorizontal,
Sparkles,
Star,
Sun,
@@ -57,6 +58,7 @@ const NAV = [
{ href: "/video", label: "Video", icon: Video },
{ href: "/edit", label: "Edit", icon: Wand2 },
{ href: "/inpaint", label: "Inpaint", icon: Brush },
+ { href: "/color-grade", label: "Color grading", icon: SlidersHorizontal },
{ href: "/motions", label: "Camera motions", icon: Film },
{ href: "/effects", label: "Effects", icon: Sparkles },
{ href: "/apps", label: "Apps", icon: LayoutGrid },
diff --git a/src/components/color-grade-view.tsx b/src/components/color-grade-view.tsx
new file mode 100644
index 00000000..142d7a67
--- /dev/null
+++ b/src/components/color-grade-view.tsx
@@ -0,0 +1,446 @@
+"use client";
+
+import { Columns2, Download, ImagePlus, Loader2, RotateCcw, Save } from "lucide-react";
+import Link from "next/link";
+import { useSearchParams } from "next/navigation";
+import { Suspense, useEffect, useMemo, useRef, useState } from "react";
+import { toast } from "sonner";
+import { Button } from "@/components/ui/button";
+import { SidebarTrigger } from "@/components/ui/sidebar";
+import { Slider } from "@/components/ui/slider";
+import { MediaSlot, type SlotValue } from "@/components/studio/media-slot";
+import { uploadFile } from "@/lib/api";
+import { applyPreset, CONTROLS, describeGrade, FRAGMENT, isNeutral, NEUTRAL, PRESETS, uniforms, VERTEX, type Grade } from "@/lib/grade";
+import { cn } from "@/lib/utils";
+
+type Source = HTMLImageElement | HTMLVideoElement;
+
+/** One WebGL context that grades an image or video frame into its canvas. */
+class GradeRenderer {
+ gl: WebGLRenderingContext;
+ prog: WebGLProgram;
+ tex: WebGLTexture;
+ loc = new Map<string, WebGLUniformLocation | null>();
+
+ constructor(public canvas: HTMLCanvasElement) {
+ const gl = canvas.getContext("webgl", { preserveDrawingBuffer: true, premultipliedAlpha: false });
+ if (!gl) throw new Error("WebGL isn't available in this browser");
+ this.gl = gl;
+ const sh = (type: number, src: string) => {
+ const s = gl.createShader(type)!;
+ gl.shaderSource(s, src);
+ gl.compileShader(s);
+ if (!gl.getShaderParameter(s, gl.COMPILE_STATUS)) throw new Error(gl.getShaderInfoLog(s) ?? "shader error");
+ return s;
+ };
+ const prog = gl.createProgram()!;
+ gl.attachShader(prog, sh(gl.VERTEX_SHADER, VERTEX));
+ gl.attachShader(prog, sh(gl.FRAGMENT_SHADER, FRAGMENT));
+ gl.linkProgram(prog);
+ gl.useProgram(prog);
+ this.prog = prog;
+ const buf = gl.createBuffer();
+ gl.bindBuffer(gl.ARRAY_BUFFER, buf);
+ gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([-1, -1, 1, -1, -1, 1, 1, 1]), gl.STATIC_DRAW);
+ const pos = gl.getAttribLocation(prog, "a_pos");
+ gl.enableVertexAttribArray(pos);
+ gl.vertexAttribPointer(pos, 2, gl.FLOAT, false, 0, 0);
+ this.tex = gl.createTexture()!;
+ gl.bindTexture(gl.TEXTURE_2D, this.tex);
+ for (const [k, v] of [
+ [gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE],
+ [gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE],
+ [gl.TEXTURE_MIN_FILTER, gl.LINEAR],
+ [gl.TEXTURE_MAG_FILTER, gl.LINEAR],
+ ])
+ gl.texParameteri(gl.TEXTURE_2D, k, v);
+ }
+
+ get maxSize() {
+ return this.gl.getParameter(this.gl.MAX_TEXTURE_SIZE) as number;
+ }
+
+ private u(name: string) {
+ if (!this.loc.has(name)) this.loc.set(name, this.gl.getUniformLocation(this.prog, name));
+ return this.loc.get(name)!;
+ }
+
+ render(src: Source, grade: Grade, width: number, height: number, original = false) {
+ const gl = this.gl;
+ if (this.canvas.width !== width || this.canvas.height !== height) {
+ this.canvas.width = width;
+ this.canvas.height = height;
+ }
+ gl.viewport(0, 0, width, height);
+ gl.bindTexture(gl.TEXTURE_2D, this.tex);
+ gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGB, gl.RGB, gl.UNSIGNED_BYTE, src);
+ const u = uniforms(original ? NEUTRAL : grade);
+ for (const [k, v] of Object.entries(u)) {
+ if (Array.isArray(v)) gl.uniform3f(this.u(k), v[0], v[1], v[2]);
+ else gl.uniform1f(this.u(k), v);
+ }
+ const sw = src instanceof HTMLVideoElement ? src.videoWidth : src.naturalWidth;
+ const shh = src instanceof HTMLVideoElement ? src.videoHeight : src.naturalHeight;
+ gl.uniform2f(this.u("u_texel"), 1 / Math.max(1, sw), 1 / Math.max(1, shh));
+ gl.uniform1f(this.u("u_seed"), src instanceof HTMLVideoElement ? (src.currentTime * 7.31) % 100 : 1.0);
+ gl.drawArrays(gl.TRIANGLE_STRIP, 0, 4);
+ }
+}
+
+function loadSource(url: string, kind: "image" | "video"): Promise<Source> {
+ return new Promise((resolve, reject) => {
+ if (kind === "video") {
+ const v = document.createElement("video");
+ v.crossOrigin = "anonymous";
+ v.src = url;
+ v.loop = true;
+ v.muted = true;
+ v.playsInline = true;
+ v.onloadeddata = () => resolve(v);
+ v.onerror = () => reject(new Error("Couldn't load the video"));
+ return;
+ }
+ const img = new Image();
+ img.crossOrigin = "anonymous";
+ img.onload = () => resolve(img);
+ img.onerror = () => reject(new Error("Couldn't load the image"));
+ img.src = url;
+ });
+}
+
+const dims = (s: Source) => (s instanceof HTMLVideoElement ? [s.videoWidth, s.videoHeight] : [s.naturalWidth, s.naturalHeight]);
+
+function Grader() {
+ const sp = useSearchParams();
+ const initial = sp.get("video") ? { url: sp.get("video")!, kind: "video" as const } : sp.get("image") ? { url: sp.get("image")!, kind: "image" as const } : null;
+ const [input, setInput] = useState<{ url: string; kind: "image" | "video" } | null>(initial);
+ const [source, setSource] = useState<Source | null>(null);
+ const [grade, setGrade] = useState<Grade>(NEUTRAL);
+ const [preset, setPreset] = useState<string | undefined>();
+ const [holding, setHolding] = useState(false);
+ const [saving, setSaving] = useState<null | "image" | number>(null);
+ const [saved, setSaved] = useState<string | null>(null);
+ const box = useRef<HTMLDivElement>(null);
+ const canvas = useRef<HTMLCanvasElement>(null);
+ const renderer = useRef<GradeRenderer | null>(null);
+ const [view, setView] = useState({ w: 0, h: 0 });
+
+ useEffect(() => {
+ if (!input) return;
+ let cancelled = false;
+ loadSource(input.url, input.kind).then(
+ (s) => {
+ if (cancelled) return;
+ setSource(s);
+ if (s instanceof HTMLVideoElement) void s.play().catch(() => {});
+ },
+ (e) => toast.error((e as Error).message),
+ );
+ return () => {
+ cancelled = true;
+ };
+ }, [input]);
+
+ // Fit the preview to the stage.
+ useEffect(() => {
+ if (!source || !box.current) return;
+ const [w, h] = dims(source);
+ const fit = () => {
+ const r = box.current!.getBoundingClientRect();
+ const s = Math.min(r.width / w, r.height / h, 2);
+ setView({ w: Math.round(w * s), h: Math.round(h * s) });
+ };
+ fit();
+ const ro = new ResizeObserver(fit);
+ ro.observe(box.current);
+ return () => ro.disconnect();
+ }, [source]);
+
+ // Draw (every frame for video).
+ useEffect(() => {
+ if (!source || !canvas.current || !view.w) return;
+ try {
+ renderer.current ??= new GradeRenderer(canvas.current);
+ } catch (e) {
+ toast.error((e as Error).message);
+ return;
+ }
+ const dpr = Math.min(window.devicePixelRatio || 1, 2);
+ const draw = () => renderer.current!.render(source, grade, Math.round(view.w * dpr), Math.round(view.h * dpr), holding);
+ if (!(source instanceof HTMLVideoElement)) {
+ draw();
+ return;
+ }
+ let raf = 0;
+ const loop = () => {
+ draw();
+ raf = requestAnimationFrame(loop);
+ };
+ loop();
+ return () => cancelAnimationFrame(raf);
+ }, [source, grade, view, holding]);
+
+ // Preset thumbnails, rendered once per source with a throwaway WebGL context.
+ const thumbs = useMemo(() => {
+ const out: Record<string, string> = {};
+ if (!source) return out;
+ const c = document.createElement("canvas");
+ let r: GradeRenderer;
+ try {
+ r = new GradeRenderer(c);
+ } catch {
+ return out;
+ }
+ const [w, h] = dims(source);
+ const s = 120 / Math.max(w, h);
+ for (const p of PRESETS) {
+ r.render(source, applyPreset(p), Math.round(w * s), Math.round(h * s));
+ out[p.id] = c.toDataURL("image/jpeg", 0.8);
+ }
+ r.gl.getExtension("WEBGL_lose_context")?.loseContext();
+ return out;
+ }, [source]);
+
+ const set = (k: keyof Grade, v: number) => {
+ setPreset(undefined);
+ setGrade((g) => ({ ...g, [k]: v }));
+ };
+
+ const record = async (file: File, kind: "image" | "video") => {
+ const asset = await uploadFile(file);
+ const res = await fetch("/api/generations/local", {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({
+ feature: "grade",
+ modelId: "local-color-grade",
+ op: "grade",
+ prompt: describeGrade(grade, PRESETS.find((p) => p.id === preset)?.name),
+ inputs: kind === "video" ? { video: input!.url } : { images: [input!.url] },
+ params: { extra: { grade } },
+ output: { url: asset.url, kind, contentType: asset.contentType },
+ }),
+ });
+ if (!res.ok) throw new Error(((await res.json()) as { error?: string }).error ?? "Couldn't save");
+ setSaved(asset.url);
+ toast.success("Saved to your library");
+ };
+
+ const exportImage = async () => {
+ if (!source || source instanceof HTMLVideoElement) return;
+ setSaving("image");
+ try {
+ const c = document.createElement("canvas");
+ const r = new GradeRenderer(c);
+ const [w, h] = dims(source);
+ const s = Math.min(1, r.maxSize / Math.max(w, h));
+ r.render(source, grade, Math.round(w * s), Math.round(h * s));
+ const blob = await new Promise<Blob | null>((res) => c.toBlob(res, "image/png"));
+ r.gl.getExtension("WEBGL_lose_context")?.loseContext();
+ if (!blob) throw new Error("Couldn't export the image");
+ await record(new File([blob], "graded.png", { type: "image/png" }), "image");
+ } catch (e) {
+ toast.error((e as Error).message);
+ } finally {
+ setSaving(null);
+ }
+ };
+
+ /** Re-plays the clip once through the grader and records the canvas (WebM, with the original audio when the browser allows). */
+ const exportVideo = async () => {
+ if (!(source instanceof HTMLVideoElement)) return;
+ setSaving(0);
+ try {
+ const c = document.createElement("canvas");
+ const r = new GradeRenderer(c);
+ const [w, h] = dims(source);
+ const s = Math.min(1, 1920 / Math.max(w, h));
+ const W = Math.round((w * s) / 2) * 2;
+ const H = Math.round((h * s) / 2) * 2;
+ const v = (await loadSource(input!.url, "video")) as HTMLVideoElement;
+ v.loop = false;
+ v.muted = false;
+ v.volume = 0.0001;
+ const stream = c.captureStream(30);
+ try {
+ const audio = (v as HTMLVideoElement & { captureStream?: () => MediaStream }).captureStream?.().getAudioTracks() ?? [];
+ audio.forEach((t) => stream.addTrack(t));
+ } catch {}
+ const type = ["video/webm;codecs=vp9,opus", "video/webm;codecs=vp8,opus", "video/webm"].find((t) => MediaRecorder.isTypeSupported(t)) ?? "video/webm";
+ const rec = new MediaRecorder(stream, { mimeType: type, videoBitsPerSecond: 12_000_000 });
+ const chunks: Blob[] = [];
+ rec.ondataavailable = (e) => e.data.size && chunks.push(e.data);
+ const done = new Promise<void>((res) => (rec.onstop = () => res()));
+ r.render(v, grade, W, H);
+ rec.start(250);
+ await v.play();
+ await new Promise<void>((res) => {
+ const tick = () => {
+ r.render(v, grade, W, H);
+ setSaving(Math.min(0.99, v.currentTime / (v.duration || 1)));
+ if (v.ended) res();
+ else requestAnimationFrame(tick);
+ };
+ tick();
+ });
+ rec.stop();
+ await done;
+ r.gl.getExtension("WEBGL_lose_context")?.loseContext();
+ await record(new File(chunks, "graded.webm", { type: "video/webm" }), "video");
+ } catch (e) {
+ toast.error((e as Error).message);
+ } finally {
+ setSaving(null);
+ }
+ };
+
+ const groups = useMemo(() => [...new Set(CONTROLS.map((c) => c.group))], []);
+ const neutral = isNeutral(grade);
+
+ const pick = (v: SlotValue | null) => {
+ if (!v?.ref || v.uploading) return;
+ renderer.current = null;
+ setSource(null);
+ setSaved(null);
+ setInput({ url: v.ref, kind: v.kind === "video" ? "video" : "image" });
+ };
+
+ return (
+ <div className="flex h-svh flex-col">
+ <header className="flex h-14 shrink-0 items-center gap-2 px-3 sm:px-6">
+ <SidebarTrigger className="md:hidden" />
+ <h1 className="font-heading text-[22px] leading-none">Color grading</h1>
+ <span className="ml-2 hidden rounded-full bg-success/15 px-2 py-0.5 text-[11px] font-medium text-success sm:inline">Free · runs in your browser</span>
+ <div className="ml-auto flex items-center gap-2">
+ {input && <MediaSlot label="Replace" kind={input.kind} value={null} onChange={pick} />}
+ </div>
+ </header>
+ <div className="flex min-h-0 flex-1 flex-col gap-3 px-3 pb-3 sm:px-6 lg:flex-row">
+ <div ref={box} className="relative grid min-h-[40vh] flex-1 place-items-center overflow-hidden rounded-xl bg-media">
+ {!input ? (
+ <div className="flex flex-col items-center gap-4 text-center text-white/80">
+ <ImagePlus className="size-8" />
+ <div>
+ <p className="font-heading text-[24px] text-white">Grade a photo or a clip</p>
+ <p className="mt-1 text-[13px]">Drop a file, or pick one from your library. Nothing is uploaded until you save.</p>
+ </div>
+ <div className="flex gap-2">
+ <MediaSlot label="Image" kind="image" value={null} onChange={pick} size="lg" />
+ <MediaSlot label="Video" kind="video" value={null} onChange={pick} size="lg" />
+ </div>
+ </div>
+ ) : !source ? (
+ <Loader2 className="size-5 animate-spin text-white/70" />
+ ) : (
+ <canvas ref={canvas} style={{ width: view.w, height: view.h }} className="rounded-sm" />
+ )}
+ {source && (
+ <button
+ onPointerDown={() => setHolding(true)}
+ onPointerUp={() => setHolding(false)}
+ onPointerLeave={() => setHolding(false)}
+ className={cn(
+ "absolute bottom-4 left-1/2 inline-flex h-9 -translate-x-1/2 items-center gap-1.5 rounded-full px-4 text-[13px] font-medium backdrop-blur transition-colors select-none",
+ holding ? "bg-white text-black" : "bg-white/15 text-white hover:bg-white/25",
+ )}
+ >
+ <Columns2 className="size-4" /> {holding ? "Original" : "Hold to compare"}
+ </button>
+ )}
+ </div>
+
+ <aside className="flex w-full shrink-0 flex-col overflow-hidden rounded-xl border bg-card lg:w-[340px]">
+ <div className="min-h-0 flex-1 space-y-5 overflow-y-auto p-4">
+ <div>
+ <p className="mb-2 text-[12px] font-medium tracking-wide text-muted-foreground uppercase">Looks</p>
+ <div className="grid grid-cols-4 gap-1.5">
+ {PRESETS.map((p) => (
+ <button
+ key={p.id}
+ onClick={() => {
+ setPreset(p.id);
+ setGrade(applyPreset(p));
+ }}
+ disabled={!source}
+ className={cn("group flex flex-col gap-1 rounded-lg p-1 text-left ring-primary transition hover:bg-accent disabled:opacity-50", preset === p.id && "ring-2")}
+ >
+ <span className="aspect-square w-full overflow-hidden rounded-md bg-muted">
+ {thumbs[p.id] && (
+ // eslint-disable-next-line @next/next/no-img-element
+ <img src={thumbs[p.id]} alt="" className="size-full object-cover" />
+ )}
+ </span>
+ <span className="truncate px-0.5 text-[11px] font-medium">{p.name}</span>
+ </button>
+ ))}
+ </div>
+ </div>
+ {groups.map((g) => (
+ <div key={g} className="space-y-3">
+ <p className="text-[12px] font-medium tracking-wide text-muted-foreground uppercase">{g}</p>
+ {CONTROLS.filter((c) => c.group === g).map((c) => (
+ <div key={c.key} className="space-y-1.5">
+ <div className="flex items-center justify-between text-[13px]">
+ <span>{c.label}</span>
+ <button
+ onDoubleClick={() => set(c.key, NEUTRAL[c.key])}
+ title="Double-click to reset"
+ className={cn("font-mono text-[12px] text-muted-foreground tabular-nums", grade[c.key] !== NEUTRAL[c.key] && "text-brand-text")}
+ >
+ {c.min < 0 && grade[c.key] > 0 ? "+" : ""}
+ {grade[c.key]}
+ {c.max === 360 ? "°" : ""}
+ </button>
+ </div>
+ <Slider
+ value={[grade[c.key]]}
+ min={c.min}
+ max={c.max}
+ step={1}
+ disabled={!source}
+ onValueChange={([v]) => set(c.key, v)}
+ />
+ </div>
+ ))}
+ </div>
+ ))}
+ </div>
+ <div className="space-y-2 border-t p-3">
+ {typeof saving === "number" && (
+ <div className="h-1 overflow-hidden rounded-full bg-muted">
+ <div className="h-full bg-primary transition-[width]" style={{ width: `${saving * 100}%` }} />
+ </div>
+ )}
+ <div className="flex gap-2">
+ <Button variant="ghost" size="sm" disabled={neutral} onClick={() => (setGrade(NEUTRAL), setPreset(undefined))}>
+ <RotateCcw /> Reset
+ </Button>
+ <Button className="flex-1" size="sm" disabled={!source || neutral || saving !== null} onClick={input?.kind === "video" ? exportVideo : exportImage}>
+ {saving !== null ? <Loader2 className="animate-spin" /> : <Save />}
+ {typeof saving === "number" ? `Rendering ${Math.round(saving * 100)}%` : "Save to library"}
+ </Button>
+ </div>
+ {saved && (
+ <div className="flex gap-2 text-[12px]">
+ <Link href="/library" className="text-brand-text hover:underline">
+ Open library
+ </Link>
+ <a href={`${saved}?download=graded.${input?.kind === "video" ? "webm" : "png"}`} className="ml-auto inline-flex items-center gap-1 text-muted-foreground hover:text-foreground">
+ <Download className="size-3" /> Download
+ </a>
+ </div>
+ )}
+ </div>
+ </aside>
+ </div>
+ </div>
+ );
+}
+
+export function ColorGradeView() {
+ return (
+ <Suspense fallback={null}>
+ <Grader />
+ </Suspense>
+ );
+}
diff --git a/src/components/studio/feed.tsx b/src/components/studio/feed.tsx
index c591ac4c..444a87cf 100644
--- a/src/components/studio/feed.tsx
+++ b/src/components/studio/feed.tsx
@@ -191,7 +191,7 @@ export function GenerationGroup({
<p className="mt-0.5 flex flex-wrap items-center gap-x-1.5 text-[12px] text-muted-foreground">
<span className="inline-flex items-center gap-1">
{g.engine === "open" ? <Cpu className="size-3" /> : <Cloud className="size-3" />}
- {g.provider === "mock" ? "Demo" : g.engine === "open" ? "Open source" : "Cloud"}
+ {g.provider === "mock" ? "Demo" : g.provider === "local" ? "Browser" : g.engine === "open" ? "Open source" : "Cloud"}
</span>
{meta.map((m, i) => (
<span key={i} className="before:mr-1.5 before:content-['·']">
diff --git a/src/components/studio/viewer.tsx b/src/components/studio/viewer.tsx
index 99ad9710..eb15c237 100644
--- a/src/components/studio/viewer.tsx
+++ b/src/components/studio/viewer.tsx
@@ -1,6 +1,6 @@
"use client";
-import { ChevronLeft, ChevronRight, Clapperboard, Columns2, Copy, Download, Heart, RotateCcw, Trash2, Wand2, X, ZoomIn } from "lucide-react";
+import { ChevronLeft, ChevronRight, Clapperboard, Columns2, SlidersHorizontal, Copy, Download, Heart, RotateCcw, Trash2, Wand2, X, ZoomIn } from "lucide-react";
import Link from "next/link";
import { useEffect, useState } from "react";
import { toast } from "sonner";
@@ -137,7 +137,7 @@ export function Viewer({
</div>
<div className="divide-y rounded-lg border px-3">
<Row label="Model" value={model?.name ?? g.modelId} />
- <Row label="Engine" value={g.provider === "mock" ? "Demo" : g.engine === "open" ? "Open source · ComfyUI" : `Cloud · ${g.provider}`} />
+ <Row label="Engine" value={g.provider === "mock" ? "Demo" : g.provider === "local" ? "In your browser" : g.engine === "open" ? "Open source · ComfyUI" : `Cloud · ${g.provider}`} />
<Row label="Mode" value={OPERATION_LABELS[g.op]} />
<Row label="Preset" value={preset?.name} />
<Row label="Aspect ratio" value={p.aspectRatio} />
@@ -171,6 +171,13 @@ export function Viewer({
</Button>
</>
)}
+ {(o.kind === "image" || o.kind === "video") && (
+ <Button asChild variant="secondary" size="sm">
+ <Link href={`/color-grade?${o.kind}=${encodeURIComponent(o.url)}`}>
+ <SlidersHorizontal /> Grade
+ </Link>
+ </Button>
+ )}
<Button asChild variant="secondary" size="sm">
<Link href={`/upscale?${o.kind === "video" ? "video" : "image"}=${encodeURIComponent(o.url)}`}>
<ZoomIn /> Upscale
diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.ts
index 91a9d09d..bd7fe175 100644
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@ -442,4 +442,20 @@ const cloud: ModelDef[] = [
...HIGGSFIELD_MODELS,
];
-export const MODELS: ModelDef[] = [...cloud, ...open];
+/** Tools that run entirely in the browser; recorded in the library like any other result. */
+const local: ModelDef[] = [
+ {
+ id: "local-color-grade",
+ name: "Color Grading",
+ vendor: "Fuobe",
+ family: "local",
+ engine: "open",
+ kind: "image",
+ tagline: "Real-time WebGL grading in your browser — free, nothing leaves your machine",
+ routes: [{ op: "grade", provider: "local", endpoint: "webgl" }],
+ options: {},
+ hidden: true,
+ },
+];
+
+export const MODELS: ModelDef[] = [...cloud, ...open, ...local];
diff --git a/src/lib/catalog/types.ts b/src/lib/catalog/types.ts
index d3c3e7c7..2b0592a4 100644
--- a/src/lib/catalog/types.ts
+++ b/src/lib/catalog/types.ts
@@ -34,7 +34,8 @@ export type Operation =
| "music"
| "v2a" // video → audio/foley
| "interpolate"
- | "extend"; // video → the same clip, continued
+ | "extend" // video → the same clip, continued
+ | "grade"; // colour grade, rendered in the browser
export const OPERATION_LABELS: Record<Operation, string> = {
t2i: "Text to image",
@@ -59,6 +60,7 @@ export const OPERATION_LABELS: Record<Operation, string> = {
v2a: "Video to audio",
interpolate: "Frame interpolation",
extend: "Extend video",
+ grade: "Color grade",
};
export const OPERATION_OUTPUT: Record<Operation, MediaKind> = {
@@ -84,9 +86,10 @@ export const OPERATION_OUTPUT: Record<Operation, MediaKind> = {
v2a: "video",
interpolate: "video",
extend: "video",
+ grade: "image",
};
-export type ProviderId = "fal" | "replicate" | "higgsfield" | "openai" | "google" | "comfyui" | "mock";
+export type ProviderId = "fal" | "replicate" | "higgsfield" | "openai" | "google" | "comfyui" | "mock" | "local";
/** Duration encodings differ between APIs ("5" vs 5 vs "5s"). */
export interface DurationField {
diff --git a/src/lib/grade.ts b/src/lib/grade.ts
new file mode 100644
index 00000000..ffb95110
--- /dev/null
+++ b/src/lib/grade.ts
@@ -0,0 +1,205 @@
+/**
+ * Colour grading that runs in the browser (WebGL): Higgsfield's free "Color Grading" tool.
+ * Every slider is -100…100 (0 = untouched) except grain/vignette/sharpness/fade (0…100).
+ */
+
+export interface Grade {
+ exposure: number;
+ contrast: number;
+ highlights: number;
+ shadows: number;
+ temperature: number;
+ tint: number;
+ hue: number;
+ saturation: number;
+ vibrance: number;
+ fade: number;
+ sharpness: number;
+ grain: number;
+ vignette: number;
+ /** Split toning: hue (0–360) and strength (0–100) for shadows and highlights. */
+ splitShadowHue: number;
+ splitHighlightHue: number;
+ splitAmount: number;
+}
+
+export const NEUTRAL: Grade = {
+ exposure: 0,
+ contrast: 0,
+ highlights: 0,
+ shadows: 0,
+ temperature: 0,
+ tint: 0,
+ hue: 0,
+ saturation: 0,
+ vibrance: 0,
+ fade: 0,
+ sharpness: 0,
+ grain: 0,
+ vignette: 0,
+ splitShadowHue: 210,
+ splitHighlightHue: 35,
+ splitAmount: 0,
+};
+
+export interface GradeControl {
+ key: keyof Grade;
+ label: string;
+ min: number;
+ max: number;
+ group: "Light" | "Color" | "Effects" | "Split tone";
+}
+
+export const CONTROLS: GradeControl[] = [
+ { key: "exposure", label: "Exposure", min: -100, max: 100, group: "Light" },
+ { key: "contrast", label: "Contrast", min: -100, max: 100, group: "Light" },
+ { key: "highlights", label: "Highlights", min: -100, max: 100, group: "Light" },
+ { key: "shadows", label: "Shadows", min: -100, max: 100, group: "Light" },
+ { key: "fade", label: "Fade", min: 0, max: 100, group: "Light" },
+ { key: "temperature", label: "Temperature", min: -100, max: 100, group: "Color" },
+ { key: "tint", label: "Tint", min: -100, max: 100, group: "Color" },
+ { key: "hue", label: "Hue", min: -100, max: 100, group: "Color" },
+ { key: "saturation", label: "Saturation", min: -100, max: 100, group: "Color" },
+ { key: "vibrance", label: "Vibrance", min: -100, max: 100, group: "Color" },
+ { key: "splitAmount", label: "Strength", min: 0, max: 100, group: "Split tone" },
+ { key: "splitShadowHue", label: "Shadow hue", min: 0, max: 360, group: "Split tone" },
+ { key: "splitHighlightHue", label: "Highlight hue", min: 0, max: 360, group: "Split tone" },
+ { key: "sharpness", label: "Sharpness", min: 0, max: 100, group: "Effects" },
+ { key: "grain", label: "Film grain", min: 0, max: 100, group: "Effects" },
+ { key: "vignette", label: "Vignette", min: 0, max: 100, group: "Effects" },
+];
+
+export interface GradePreset {
+ id: string;
+ name: string;
+ grade: Partial<Grade>;
+}
+
+/** Higgsfield's five (Natural, Split Tone, Soft Skin, Old Lens, 16mm) plus a few classic film looks. */
+export const PRESETS: GradePreset[] = [
+ { id: "natural", name: "Natural", grade: { contrast: 8, vibrance: 12, highlights: -10, shadows: 8, sharpness: 15 } },
+ { id: "split-tone", name: "Split Tone", grade: { contrast: 12, saturation: -10, splitAmount: 45, splitShadowHue: 200, splitHighlightHue: 32 } },
+ { id: "soft-skin", name: "Soft Skin", grade: { exposure: 6, contrast: -14, highlights: -18, temperature: 10, tint: 6, saturation: -6, fade: 12 } },
+ { id: "old-lens", name: "Old Lens", grade: { contrast: -10, temperature: 18, saturation: -22, fade: 25, vignette: 55, grain: 25, sharpness: 0 } },
+ { id: "16mm", name: "16mm", grade: { contrast: 18, temperature: 12, saturation: -14, fade: 18, grain: 65, vignette: 35, splitAmount: 20, splitShadowHue: 170, splitHighlightHue: 40 } },
+ { id: "teal-orange", name: "Teal & Orange", grade: { contrast: 20, saturation: 8, splitAmount: 60, splitShadowHue: 190, splitHighlightHue: 28, highlights: -10 } },
+ { id: "portra", name: "Portra 400", grade: { exposure: 8, contrast: -8, temperature: 14, tint: 4, saturation: -8, vibrance: 10, fade: 10, grain: 20 } },
+ { id: "noir", name: "Noir", grade: { contrast: 45, saturation: -100, shadows: -20, vignette: 45, grain: 35 } },
+ { id: "faded", name: "Faded Film", grade: { contrast: -25, fade: 40, saturation: -18, temperature: 6, grain: 15 } },
+ { id: "golden-hour", name: "Golden Hour", grade: { exposure: 5, temperature: 38, tint: 8, vibrance: 18, highlights: -12, vignette: 20 } },
+ { id: "cold-steel", name: "Cold Steel", grade: { contrast: 22, temperature: -40, saturation: -25, shadows: -10, splitAmount: 25, splitShadowHue: 215, splitHighlightHue: 200 } },
+ { id: "pop", name: "Pop", grade: { contrast: 25, saturation: 30, vibrance: 25, sharpness: 30 } },
+];
+
+export function applyPreset(p: GradePreset): Grade {
+ return { ...NEUTRAL, ...p.grade };
+}
+
+/** True when nothing visible changes (split-tone hues don't matter at zero strength). */
+export function isNeutral(g: Grade): boolean {
+ return CONTROLS.every((c) => (c.group === "Split tone" && c.key !== "splitAmount") || g[c.key] === NEUTRAL[c.key]);
+}
+
+export const VERTEX = `
+attribute vec2 a_pos;
+varying vec2 v_uv;
+void main() {
+ v_uv = vec2(a_pos.x * 0.5 + 0.5, 0.5 - a_pos.y * 0.5);
+ gl_Position = vec4(a_pos, 0.0, 1.0);
+}`;
+
+export const FRAGMENT = `
+precision highp float;
+varying vec2 v_uv;
+uniform sampler2D u_tex;
+uniform vec2 u_texel;
+uniform float u_exposure, u_contrast, u_highlights, u_shadows, u_temperature, u_tint, u_hue, u_saturation, u_vibrance, u_fade, u_sharpness, u_grain, u_vignette, u_seed;
+uniform vec3 u_splitShadow, u_splitHighlight;
+uniform float u_splitAmount;
+
+float luma(vec3 c) { return dot(c, vec3(0.2126, 0.7152, 0.0722)); }
+float hash(vec2 p) { return fract(sin(dot(p, vec2(12.9898, 78.233)) + u_seed) * 43758.5453); }
+
+vec3 hueRotate(vec3 c, float a) {
+ // Rotate around the grey axis (YIQ).
+ float y = dot(c, vec3(0.299, 0.587, 0.114));
+ float i = dot(c, vec3(0.596, -0.274, -0.322));
+ float q = dot(c, vec3(0.211, -0.523, 0.312));
+ float h = atan(q, i) + a;
+ float chroma = sqrt(i * i + q * q);
+ i = chroma * cos(h);
+ q = chroma * sin(h);
+ return vec3(y + 0.956 * i + 0.621 * q, y - 0.272 * i - 0.647 * q, y - 1.106 * i + 1.703 * q);
+}
+
+void main() {
+ vec3 c = texture2D(u_tex, v_uv).rgb;
+ if (u_sharpness > 0.0) {
+ vec3 blur = (texture2D(u_tex, v_uv + vec2(u_texel.x, 0.0)).rgb + texture2D(u_tex, v_uv - vec2(u_texel.x, 0.0)).rgb +
+ texture2D(u_tex, v_uv + vec2(0.0, u_texel.y)).rgb + texture2D(u_tex, v_uv - vec2(0.0, u_texel.y)).rgb) * 0.25;
+ c += (c - blur) * u_sharpness * 2.0;
+ }
+ c *= pow(2.0, u_exposure * 1.5);
+ // White balance: warm/cool along blue–amber, tint along green–magenta.
+ c *= vec3(1.0 + u_temperature * 0.18, 1.0 - u_tint * 0.12, 1.0 - u_temperature * 0.18);
+ c.rb *= 1.0 + u_tint * 0.06;
+ float l = luma(c);
+ c += u_highlights * 0.35 * smoothstep(0.45, 1.0, l) * (u_highlights < 0.0 ? l : 1.0 - l);
+ c += u_shadows * 0.35 * (1.0 - smoothstep(0.0, 0.55, l)) * (u_shadows > 0.0 ? 1.0 - l : l);
+ c = (c - 0.5) * (1.0 + u_contrast) + 0.5;
+ c = hueRotate(c, u_hue * 3.14159);
+ l = luma(c);
+ float sat = max(max(c.r, c.g), c.b) - min(min(c.r, c.g), c.b);
+ c = mix(vec3(l), c, 1.0 + u_saturation + u_vibrance * (1.0 - sat));
+ if (u_splitAmount > 0.0) {
+ l = clamp(luma(c), 0.0, 1.0);
+ vec3 tone = mix(u_splitShadow, u_splitHighlight, smoothstep(0.2, 0.8, l)) - 0.5;
+ c += tone * u_splitAmount * 0.35;
+ }
+ c = mix(c, vec3(0.08) + c * 0.84, u_fade);
+ if (u_vignette > 0.0) {
+ vec2 d = v_uv - 0.5;
+ c *= 1.0 - u_vignette * smoothstep(0.25, 0.85, length(d) * 1.25);
+ }
+ if (u_grain > 0.0) c += (hash(v_uv / u_texel) - 0.5) * u_grain * 0.22;
+ gl_FragColor = vec4(clamp(c, 0.0, 1.0), 1.0);
+}`;
+
+function hueToRgb(h: number): [number, number, number] {
+ const f = (n: number) => {
+ const k = (n + h / 30) % 12;
+ return 0.5 - 0.5 * Math.max(-1, Math.min(k - 3, 9 - k, 1));
+ };
+ return [f(0), f(8), f(4)];
+}
+
+/** Uniform values for a grade (sliders normalised to -1…1 / 0…1). */
+export function uniforms(g: Grade): Record<string, number | [number, number, number]> {
+ const n = (v: number) => v / 100;
+ return {
+ u_exposure: n(g.exposure),
+ u_contrast: n(g.contrast) * 0.8,
+ u_highlights: n(g.highlights),
+ u_shadows: n(g.shadows),
+ u_temperature: n(g.temperature),
+ u_tint: n(g.tint),
+ u_hue: n(g.hue) * 0.5,
+ u_saturation: n(g.saturation),
+ u_vibrance: n(g.vibrance) * 0.8,
+ u_fade: n(g.fade) * 0.5,
+ u_sharpness: n(g.sharpness),
+ u_grain: n(g.grain) * 0.6,
+ u_vignette: n(g.vignette) * 0.8,
+ u_splitAmount: n(g.splitAmount),
+ u_splitShadow: hueToRgb(g.splitShadowHue),
+ u_splitHighlight: hueToRgb(g.splitHighlightHue),
+ };
+}
+
+/** Short description stored as the library prompt, e.g. "Color grade · 16mm · grain 65". */
+export function describeGrade(g: Grade, presetName?: string): string {
+ const changed = CONTROLS.filter((c) => g[c.key] !== NEUTRAL[c.key] && !(c.group === "Split tone" && c.key !== "splitAmount"))
+ .slice(0, 4)
+ .map((c) => `${c.label.toLowerCase()} ${g[c.key] > 0 && c.min < 0 ? "+" : ""}${g[c.key]}`);
+ return ["Color grade", presetName, ...changed].filter(Boolean).join(" · ");
+}
diff --git a/src/server/generations.ts b/src/server/generations.ts
index 67df6737..2a1e01bb 100644
--- a/src/server/generations.ts
+++ b/src/server/generations.ts
@@ -404,3 +404,51 @@ export async function cancelGeneration(id: string): Promise<void> {
}
update(id, { status: "canceled", completed_at: Date.now(), message: null });
}
+
+// ---------------------------------------------------------------------------
+// Results made in the browser (colour grading): stored as finished generations.
+
+export function recordLocalGeneration(input: {
+ feature: string;
+ modelId: string;
+ op: Generation["op"];
+ prompt: string;
+ inputs: GenerationRequest["inputs"];
+ params?: GenerationRequest["params"];
+ output: { url: string; kind: OutputFile["kind"]; contentType?: string };
+}): Generation {
+ const model = getModel(input.modelId);
+ if (!model || !model.routes.some((r) => r.provider === "local")) throw new Error("Not a browser tool");
+ const now = Date.now();
+ const req: GenerationRequest = { feature: input.feature, modelId: input.modelId, op: input.op, prompt: input.prompt, inputs: input.inputs, params: input.params };
+ const row: Row = {
+ id: nanoid(12),
+ batch_id: null,
+ feature: input.feature,
+ preset_id: null,
+ model_id: model.id,
+ engine: model.engine,
+ provider: "local",
+ op: input.op,
+ kind: input.output.kind,
+ status: "succeeded",
+ progress: 1,
+ message: null,
+ prompt: input.prompt,
+ request_json: JSON.stringify(req),
+ provider_input_json: null,
+ external_id: "local",
+ external_meta_json: null,
+ outputs_json: JSON.stringify([input.output]),
+ error: null,
+ cost_usd: 0,
+ favorite: 0,
+ created_at: now,
+ updated_at: now,
+ completed_at: now,
+ };
+ db()
+ .prepare(`INSERT INTO generations (${Object.keys(row).join(", ")}) VALUES (${Object.keys(row).map((k) => `@${k}`).join(", ")})`)
+ .run(row);
+ return toGeneration(row);
+}
diff --git a/src/server/providers/index.ts b/src/server/providers/index.ts
index 02dd7275..56499da3 100644
--- a/src/server/providers/index.ts
+++ b/src/server/providers/index.ts
@@ -20,12 +20,27 @@ const notImplemented = (id: ProviderId, label: string): ProviderAdapter => ({
poll: async () => ({ state: "failed", error: `${label} adapter is not implemented yet` }),
});
+/** Work done in the browser (colour grading) and recorded afterwards; never submitted or polled. */
+const localProvider: ProviderAdapter = {
+ id: "local",
+ label: "In your browser",
+ isConfigured: () => true,
+ prepareFile: async () => {
+ throw new Error("Runs in the browser");
+ },
+ submit: async () => {
+ throw new Error("Runs in the browser");
+ },
+ poll: async () => ({ state: "failed", error: "Runs in the browser" }),
+};
+
export const PROVIDERS: Record<ProviderId, ProviderAdapter> = {
fal: falProvider,
replicate: replicateProvider,
higgsfield: higgsfieldProvider,
comfyui: comfyProvider,
mock: mockProvider,
+ local: localProvider,
openai: notImplemented("openai", "OpenAI"),
google: notImplemented("google", "Google"),
};