The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
{
"1": {
"class_type": "VHS_LoadVideo",
"inputs": {
"video": "segment.mp4",
"force_rate": 16,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": [
"30",
0
],
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "Wan"
},
"_meta": {
"title": "the clip resampled to 16 fps, at most `frames` frames, cut to 4n+1 (VHS Wan format)"
}
},
"3": {
"class_type": "ImageScale",
"inputs": {
"image": [
"1",
0
],
"upscale_method": "lanczos",
"width": 832,
"height": 480,
"crop": "center"
},
"_meta": {
"title": "ImageScale"
}
},
"4": {
"class_type": "LoadImage",
"inputs": {
"image": "restyled_first_frame.png"
},
"_meta": {
"title": "the segment's first frame, taken toward the direction (Qwen-Image-Edit 2511)"
}
},
"5": {
"class_type": "ImageScale",
"inputs": {
"image": [
"4",
0
],
"upscale_method": "lanczos",
"width": 832,
"height": 480,
"crop": "center"
},
"_meta": {
"title": "ImageScale"
}
},
"6": {
"class_type": "LoadDA3Model",
"inputs": {
"model_name": "depth_anything_3_mono_large.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "LoadDA3Model"
}
},
"7": {
"class_type": "DA3Inference",
"inputs": {
"da3_model": [
"6",
0
],
"image": [
"3",
0
],
"resolution": 504,
"resize_method": "lower_bound_resize",
"mode": "mono"
},
"_meta": {
"title": "DA3Inference"
}
},
"8": {
"class_type": "DA3Render",
"inputs": {
"da3_geometry": [
"7",
0
],
"output": "depth",
"output.normalization": "v2_style",
"output.apply_sky_clip": false
},
"_meta": {
"title": "DA3Render"
}
},
"9": {
"class_type": "ImageScale",
"inputs": {
"image": [
"8",
0
],
"upscale_method": "bilinear",
"width": 832,
"height": 480,
"crop": "center"
},
"_meta": {
"title": "ImageScale"
}
},
"11": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"type": "wan",
"device": "default"
},
"_meta": {
"title": "CLIPLoader"
}
},
"12": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"11",
0
],
"text": "the same scene reimagined as a lush overgrown greenhouse at golden hour, the same people and motion"
},
"_meta": {
"title": "CLIPTextEncode"
}
},
"13": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"11",
0
],
"text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
},
"_meta": {
"title": "CLIPTextEncode"
}
},
"14": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "wan_2.1_vae.safetensors"
},
"_meta": {
"title": "VAELoader"
}
},
"15": {
"class_type": "WanVaceToVideo",
"inputs": {
"positive": [
"12",
0
],
"negative": [
"13",
0
],
"vae": [
"14",
0
],
"width": 832,
"height": 480,
"length": [
"1",
1
],
"batch_size": 1,
"strength": 1.0,
"control_video": [
"9",
0
],
"reference_image": [
"5",
0
]
},
"_meta": {
"title": "WanVaceToVideo (depth control, the direction frame as reference)"
}
},
"16": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "wan2.2_fun_vace_high_noise_14B_fp8_scaled.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "UNETLoader"
}
},
"17": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "wan2.2_fun_vace_low_noise_14B_fp8_scaled.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "UNETLoader"
}
},
"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
},
"_meta": {
"title": "LoraLoaderModelOnly"
}
},
"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
},
"_meta": {
"title": "LoraLoaderModelOnly"
}
},
"20": {
"class_type": "ModelSamplingSD3",
"inputs": {
"model": [
"18",
0
],
"shift": [
"50",
0
]
},
"_meta": {
"title": "ModelSamplingSD3"
}
},
"21": {
"class_type": "ModelSamplingSD3",
"inputs": {
"model": [
"19",
0
],
"shift": [
"50",
0
]
},
"_meta": {
"title": "ModelSamplingSD3"
}
},
"22": {
"class_type": "KSamplerAdvanced",
"inputs": {
"model": [
"52",
0
],
"add_noise": "enable",
"noise_seed": 0,
"steps": [
"47",
1
],
"cfg": 1.0,
"sampler_name": "euler",
"scheduler": "simple",
"positive": [
"15",
0
],
"negative": [
"15",
1
],
"latent_image": [
"44",
0
],
"start_at_step": [
"48",
1
],
"end_at_step": [
"49",
1
],
"return_with_leftover_noise": "enable"
},
"_meta": {
"title": "KSamplerAdvanced"
}
},
"23": {
"class_type": "KSamplerAdvanced",
"inputs": {
"model": [
"21",
0
],
"add_noise": "disable",
"noise_seed": 0,
"steps": [
"47",
1
],
"cfg": 1.0,
"sampler_name": "euler",
"scheduler": "simple",
"positive": [
"15",
0
],
"negative": [
"15",
1
],
"latent_image": [
"22",
0
],
"start_at_step": [
"49",
1
],
"end_at_step": 10000,
"return_with_leftover_noise": "disable"
},
"_meta": {
"title": "KSamplerAdvanced"
}
},
"24": {
"class_type": "TrimVideoLatent",
"inputs": {
"samples": [
"23",
0
],
"trim_amount": [
"15",
3
]
},
"_meta": {
"title": "TrimVideoLatent"
}
},
"25": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"24",
0
],
"vae": [
"14",
0
]
},
"_meta": {
"title": "VAEDecode"
}
},
"26": {
"class_type": "CreateVideo",
"inputs": {
"images": [
"25",
0
],
"fps": 16.0,
"audio": [
"1",
2
],
"bit_depth": "auto",
"color_space": "sRGB",
"codec": "none"
},
"_meta": {
"title": "CreateVideo"
}
},
"27": {
"class_type": "SaveVideo",
"inputs": {
"video": [
"26",
0
],
"filename_prefix": "fuobe/video-evolution-wan22-fun-vace",
"format": "auto",
"format.codec": "auto",
"codec": "auto"
},
"_meta": {
"title": "SaveVideo"
}
},
"30": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 81
},
"_meta": {
"title": "frames asked for (4n+1): the loader's cap; the graph runs as many as the clip has"
}
},
"42": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"3",
0
],
"vae": [
"14",
0
]
},
"_meta": {
"title": "source latent"
}
},
"43": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"5",
0
],
"vae": [
"14",
0
]
},
"_meta": {
"title": "reference latent (VACE prepends it)"
}
},
"44": {
"class_type": "LatentConcat",
"inputs": {
"samples1": [
"43",
0
],
"samples2": [
"42",
0
],
"dim": "t"
},
"_meta": {
"title": "reference + source, like WanVaceToVideo's latent"
}
},
"45": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 0.65
},
"_meta": {
"title": "denoise = the noise level the segment starts from (change intensity: low 0.45, medium 0.65, high 0.85)"
}
},
"46": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 4
},
"_meta": {
"title": "sampling steps actually run (Lightx2v 4-step)"
}
},
"47": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "max(a, round(a * (c - (c - 1) * min(b, 1)) / max(b, 0.02)))",
"values.a": [
"46",
0
],
"values.b": [
"45",
0
],
"values.c": [
"50",
0
]
},
"_meta": {
"title": "schedule length N: the simple scheduler's sigma is the denoise `steps` steps before its end (shift c)"
}
},
"48": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "b - a",
"values.a": [
"46",
0
],
"values.b": [
"47",
1
]
},
"_meta": {
"title": "first step run (N - steps)"
}
},
"49": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "b - a + max(1, c)",
"values.a": [
"46",
0
],
"values.b": [
"47",
1
],
"values.c": [
"53",
1
]
},
"_meta": {
"title": "first step of the low-noise expert"
}
},
"50": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 5.0
},
"_meta": {
"title": "shift (ModelSamplingSD3, both experts)"
}
},
"51": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 0.875
},
"_meta": {
"title": "Wan 2.2 A14B's expert switch point (sigma 0.875: the high-noise expert at or above it)"
}
},
"52": {
"class_type": "ComfySwitchNode",
"inputs": {
"switch": [
"53",
2
],
"on_false": [
"21",
0
],
"on_true": [
"20",
0
]
},
"_meta": {
"title": "the first sampler's expert: high-noise only when the run starts at or above the switch point"
}
},
"53": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "min(a - 1, max(0, floor(b * (1 - d / (c - (c - 1) * d))) - (b - a) + 1))",
"values.a": [
"46",
0
],
"values.b": [
"47",
1
],
"values.c": [
"50",
0
],
"values.d": [
"51",
0
]
},
"_meta": {
"title": "steps at or above the switch point (the high-noise expert's; at least one step is left to the low-noise one)"
}
}
}