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
{
"189": {
"inputs": {
"image": "pink_hair_mech_arms_ref.png"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image (Reference Image)"
}
},
"240": {
"inputs": {
"file": "street_dance_drive.mp4"
},
"class_type": "LoadVideo",
"_meta": {
"title": "Load Video (Pose Video)"
}
},
"246": {
"inputs": {
"filename_prefix": "fuobe/wan-animate2",
"format": "auto",
"format.codec": "auto",
"codec": "auto",
"video": [
"672:245",
0
]
},
"class_type": "SaveVideo",
"_meta": {
"title": "Save Video"
}
},
"672:245": {
"inputs": {
"fps": [
"672:288",
2
],
"bit_depth": "auto",
"color_space": "sRGB",
"codec": "none",
"images": [
"672:671",
0
],
"audio": [
"672:288",
1
]
},
"class_type": "CreateVideo",
"_meta": {
"title": "Create Video"
}
},
"672:288": {
"inputs": {
"video": [
"240",
0
]
},
"class_type": "GetVideoComponents",
"_meta": {
"title": "Get Video Components"
}
},
"672:537": {
"inputs": {
"image": [
"672:288",
0
]
},
"class_type": "GetImageSize",
"_meta": {
"title": "Get Image Size"
}
},
"672:578": {
"inputs": {
"unet_name": "wan_animate_2_int8_convrot.safetensors",
"weight_dtype": "default"
},
"class_type": "UNETLoader",
"_meta": {
"title": "Load Diffusion Model"
}
},
"672:579": {
"inputs": {
"lora_name": "lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
"strength_model": 1,
"model": [
"672:578",
0
]
},
"class_type": "LoraLoaderModelOnly",
"_meta": {
"title": "Load LoRA"
}
},
"672:580": {
"inputs": {
"clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"type": "wan",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": {
"title": "Load CLIP"
}
},
"672:581": {
"inputs": {
"text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
"clip": [
"672:580",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"672:582": {
"inputs": {
"text": "Character Description: The person from the reference picture, with their own face, hair, body and complete outfit.\nBackground description: The setting, background and light of the reference picture.",
"clip": [
"672:580",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Positive Prompt)"
}
},
"672:583": {
"inputs": {
"clip_name": "clip_vision_h.safetensors"
},
"class_type": "CLIPVisionLoader",
"_meta": {
"title": "Load CLIP Vision"
}
},
"672:584": {
"inputs": {
"vae_name": "Wan2_1_VAE_bf16.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "Load VAE"
}
},
"672:585": {
"inputs": {
"text": "The character performs exactly the same movements as the person in the driving video, background stationary",
"clip": [
"672:580",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"672:587": {
"inputs": {
"width": [
"672:596",
0
],
"height": [
"672:596",
1
],
"length": [
"672:646",
0
],
"batch_size": 1,
"video_frame_offset": [
"672:652",
0
],
"pose_strength": 1,
"pose_start_percent": 0,
"pose_end_percent": 1,
"reference_image_strength": 1,
"positive": [
"672:582",
0
],
"negative": [
"672:581",
0
],
"vae": [
"672:584",
0
],
"reference_image": [
"672:590",
0
],
"pose_video": [
"672:600",
0
],
"clip_vision_output": [
"672:589",
0
],
"positive_pose": [
"672:585",
0
],
"clip_vision_output_pose": [
"672:598",
0
],
"continue_motion": [
"672:651",
0
]
},
"class_type": "WanAnimate2ToVideo",
"_meta": {
"title": "WanAnimate2ToVideo"
}
},
"672:589": {
"inputs": {
"crop": "none",
"clip_vision": [
"672:583",
0
],
"image": [
"672:590",
0
]
},
"class_type": "CLIPVisionEncode",
"_meta": {
"title": "CLIP Vision Encode"
}
},
"672:590": {
"inputs": {
"resize_type": "scale dimensions",
"resize_type.width": [
"672:596",
0
],
"resize_type.height": [
"672:596",
1
],
"resize_type.crop": "center",
"scale_method": "area",
"input": [
"189",
0
]
},
"class_type": "ResizeImageMaskNode",
"_meta": {
"title": "Resize Image/Mask"
}
},
"672:591": {
"inputs": {
"scheduler": "simple",
"steps": 6,
"denoise": 1,
"model": [
"672:594",
0
]
},
"class_type": "BasicScheduler",
"_meta": {
"title": "BasicScheduler"
}
},
"672:592": {
"inputs": {
"shift": 5,
"model": [
"672:594",
0
]
},
"class_type": "ModelSamplingSD3",
"_meta": {
"title": "ModelSamplingSD3"
}
},
"672:593": {
"inputs": {
"sampler_name": "lcm"
},
"class_type": "KSamplerSelect",
"_meta": {
"title": "KSamplerSelect"
}
},
"672:594": {
"inputs": {
"device": "cpu",
"dtype": "int8",
"model": [
"672:579",
0
]
},
"class_type": "WanAnimate2Cache",
"_meta": {
"title": "WanAnimate2Cache"
}
},
"672:595": {
"inputs": {
"video": [
"240",
0
]
},
"class_type": "GetVideoComponents",
"_meta": {
"title": "Get Video Components"
}
},
"672:596": {
"inputs": {
"image": [
"672:600",
0
]
},
"class_type": "GetImageSize",
"_meta": {
"title": "Get Image Size"
}
},
"672:597": {
"inputs": {
"add_noise": true,
"noise_seed": 582699151003550,
"cfg": 1,
"model": [
"672:592",
0
],
"positive": [
"672:587",
0
],
"negative": [
"672:587",
1
],
"sampler": [
"672:593",
0
],
"sigmas": [
"672:591",
0
],
"latent_image": [
"672:587",
2
]
},
"class_type": "SamplerCustom",
"_meta": {
"title": "SamplerCustom"
}
},
"672:598": {
"inputs": {
"crop": "none",
"clip_vision": [
"672:583",
0
],
"image": [
"672:599",
0
]
},
"class_type": "CLIPVisionEncode",
"_meta": {
"title": "CLIP Vision Encode"
}
},
"672:599": {
"inputs": {
"batch_index": 0,
"length": 1,
"image": [
"672:600",
0
]
},
"class_type": "ImageFromBatch",
"_meta": {
"title": "Get Image from Batch"
}
},
"672:600": {
"inputs": {
"resize_type": "scale dimensions",
"resize_type.width": 482,
"resize_type.height": 854,
"resize_type.crop": "center",
"scale_method": "area",
"input": [
"672:595",
0
]
},
"class_type": "ResizeImageMaskNode",
"_meta": {
"title": "Resize Image/Mask"
}
},
"672:601": {
"inputs": {
"samples": [
"672:602",
0
],
"vae": [
"672:584",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
},
"672:602": {
"inputs": {
"trim_amount": [
"672:587",
3
],
"samples": [
"672:597",
0
]
},
"class_type": "TrimVideoLatent",
"_meta": {
"title": "Trim Video Latent"
}
},
"672:604": {
"inputs": {
"batch_index": 1,
"length": 4096,
"image": [
"672:601",
0
]
},
"class_type": "ImageFromBatch",
"_meta": {
"title": "Get Image from Batch"
}
},
"672:605": {
"inputs": {
"switch": [
"672:642",
1
],
"on_false": [
"672:604",
0
],
"on_true": [
"672:601",
0
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "If/Else Switch"
}
},
"672:635": {
"inputs": {
"value": 81
},
"class_type": "PrimitiveInt",
"_meta": {
"title": "Int (fragment_length)"
}
},
"672:636": {
"inputs": {
"expression": "floor((a - 2) / (b - 1))",
"values.a": [
"672:537",
2
],
"values.b": [
"672:635",
0
]
},
"class_type": "ComfyMathExpression",
"_meta": {
"title": "Math Expression"
}
},
"672:639": {
"inputs": {
"expression": "4 * ceil((a - b * c + c - 1) / 4) + 1",
"values.a": [
"672:537",
2
],
"values.b": [
"672:635",
0
],
"values.c": [
"672:636",
1
]
},
"class_type": "ComfyMathExpression",
"_meta": {
"title": "Math Expression"
}
},
"672:642": {
"inputs": {
"mode": "simple",
"mode.num_iterations": [
"672:645",
1
],
"cache_iterations": false
},
"class_type": "StartLoop",
"_meta": {
"title": "Start Loop"
}
},
"672:645": {
"inputs": {
"expression": "a + 1",
"values.a": [
"672:636",
1
]
},
"class_type": "ComfyMathExpression",
"_meta": {
"title": "Math Expression"
}
},
"672:646": {
"inputs": {
"switch": [
"672:642",
2
],
"on_false": [
"672:635",
0
],
"on_true": [
"672:639",
1
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "If/Else Switch(length)"
}
},
"672:647": {
"inputs": {
"accumulate": true,
"output_value": [
"672:605",
0
],
"next_iteration_value": [
"672:648",
0
],
"terminations.termination0": [
"672:587",
5
]
},
"class_type": "EndLoop",
"_meta": {
"title": "End Loop"
}
},
"672:648": {
"inputs": {
"inputs.input0": [
"672:601",
0
],
"inputs.input1": [
"672:587",
5
]
},
"class_type": "CreateList",
"_meta": {
"title": "Create List"
}
},
"672:649": {
"inputs": {
"index": 0,
"list": [
"672:642",
4
]
},
"class_type": "GetItemFromList",
"_meta": {
"title": "Get Item From List"
}
},
"672:651": {
"inputs": {
"switch": [
"672:642",
1
],
"on_false": [
"672:649",
0
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "If/Else Switch (continue_motion)"
}
},
"672:652": {
"inputs": {
"switch": [
"672:642",
1
],
"on_false": [
"672:653",
0
],
"on_true": [
"672:654",
0
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "If/Else Switch(video_frame_offset)"
}
},
"672:653": {
"inputs": {
"index": 1,
"list": [
"672:642",
4
]
},
"class_type": "GetItemFromList",
"_meta": {
"title": "Get Item From List"
}
},
"672:654": {
"inputs": {
"value": 0
},
"class_type": "PrimitiveInt",
"_meta": {
"title": "Int"
}
},
"672:661": {
"inputs": {
"batch_size": [
"672:537",
2
],
"images": [
"672:647",
0
]
},
"class_type": "RebatchImages",
"_meta": {
"title": "Rebatch Images"
}
},
"672:667": {
"inputs": {
"expression": "(a % 4 == 1) and ((b - 1) % 4 == 0)",
"values.a": [
"672:537",
2
],
"values.b": [
"672:635",
0
]
},
"class_type": "ComfyMathExpression",
"_meta": {
"title": "Exact w/o trim? (F%4==1 and b%4==1)"
}
},
"672:670": {
"inputs": {
"batch_index": 0,
"length": [
"672:537",
2
],
"image": [
"672:661",
0
]
},
"class_type": "ImageFromBatch",
"_meta": {
"title": "Trim tail to F"
}
},
"672:671": {
"inputs": {
"switch": [
"672:667",
2
],
"on_false": [
"672:670",
0
],
"on_true": [
"672:661",
0
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "Apply tail trim?"
}
}
}