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": "LoadVideo",
"inputs": {
"file": "input_video.mp4"
},
"_meta": {
"title": "Source clip"
}
},
"2": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"1",
0
]
},
"_meta": {}
},
"3": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"type": "wan",
"device": "default"
},
"_meta": {}
},
"4": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "wan_2.1_vae.safetensors"
},
"_meta": {}
},
"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": " "
},
"_meta": {
"title": "Edit system prompt + user prompt"
}
},
"6": {
"class_type": "CLIPTextEncode",
"inputs": {
"text": [
"5",
0
],
"clip": [
"3",
0
]
},
"_meta": {}
},
"7": {
"class_type": "CLIPTextEncode",
"inputs": {
"text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
"clip": [
"3",
0
]
},
"_meta": {
"title": "Negative prompt"
}
},
"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
},
"_meta": {
"title": "BerniniConditioning"
}
},
"9": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "wan2.2_bernini_r_high_noise_fp8_scaled.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Bernini-R high noise"
}
},
"10": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "wan2.2_bernini_r_low_noise_fp8_scaled.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Bernini-R low noise"
}
},
"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
},
"_meta": {}
},
"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
},
"_meta": {}
},
"13": {
"class_type": "BasicScheduler",
"inputs": {
"model": [
"10",
0
],
"scheduler": "simple",
"steps": 6,
"denoise": 1.0
},
"_meta": {
"title": "Scheduler (steps)"
}
},
"14": {
"class_type": "SplitSigmas",
"inputs": {
"sigmas": [
"13",
0
],
"step": 3
},
"_meta": {
"title": "Split high/low"
}
},
"15": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "res_multistep"
},
"_meta": {}
},
"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
]
},
"_meta": {
"title": "Sampler high"
}
},
"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
]
},
"_meta": {
"title": "Sampler low"
}
},
"18": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"17",
0
],
"vae": [
"4",
0
]
},
"_meta": {}
},
"19": {
"class_type": "CreateVideo",
"inputs": {
"images": [
"18",
0
],
"fps": [
"2",
2
],
"bit_depth": "auto",
"color_space": "sRGB",
"codec": "none"
},
"_meta": {}
},
"20": {
"class_type": "SaveVideo",
"inputs": {
"video": [
"19",
0
],
"filename_prefix": "fuobe/video-relight-bernini",
"format": "auto",
"format.codec": "auto",
"codec": "auto"
},
"_meta": {
"title": "Save video"
}
}
}