Files
aigc-home/docs/hel-892/supplied-api/07.api.json
T

1192 lines
21 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"189": {
"inputs": {
"image": "1.png"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image (Reference Image)"
}
},
"245": {
"inputs": {
"fps": [
"586",
0
],
"bit_depth": 8,
"color_space": "sRGB",
"codec": "none",
"images": [
"606:599",
2
],
"audio": [
"585",
2
]
},
"class_type": "CreateVideo",
"_meta": {
"title": "创建视频"
}
},
"246": {
"inputs": {
"filename_prefix": "video/ComfyUI",
"format": "auto",
"format.codec": "auto",
"codec": "auto",
"video": [
"245",
0
]
},
"class_type": "SaveVideo",
"_meta": {
"title": "保存视频"
}
},
"536": {
"inputs": {
"expression": "ceil(a / b)",
"values.a": [
"586",
1
],
"values.b": [
"580",
0
]
},
"class_type": "ComfyMathExpression",
"_meta": {
"title": "数学表达式"
}
},
"538": {
"inputs": {
"source": [
"536",
0
]
},
"class_type": "PreviewAny",
"_meta": {
"title": "子图需要执行的次数"
}
},
"579": {
"inputs": {
"use_custom_resolution": false,
"resolution": "480x854 (9:16) (竖屏)",
"custom_width": 1024,
"custom_height": 1024
},
"class_type": "TTResolutionSelector",
"_meta": {
"title": "TT分辨率选择器"
}
},
"580": {
"inputs": {
"value": 81
},
"class_type": "INTConstant",
"_meta": {
"title": "每阶段帧长"
}
},
"583": {
"inputs": {
"value": "一个女孩在跳舞"
},
"class_type": "PrimitiveStringMultiline",
"_meta": {
"title": "视频内容提示词"
}
},
"584": {
"inputs": {
"value": "一个女孩在跳舞"
},
"class_type": "PrimitiveStringMultiline",
"_meta": {
"title": "参考动作提示词"
}
},
"585": {
"inputs": {
"video": "抖音20261025-285806.mp4",
"force_rate": 16,
"custom_width": 0,
"custom_height": 0,
"frame_load_cap": 241,
"skip_first_frames": 0,
"select_every_nth": 1,
"format": "AnimateDiff"
},
"class_type": "VHS_LoadVideo",
"_meta": {
"title": "加载视频"
}
},
"586": {
"inputs": {
"video_info": [
"585",
3
]
},
"class_type": "VHS_VideoInfoLoaded",
"_meta": {
"title": "视频信息(已选中)"
}
},
"607": {
"inputs": {
"source": [
"606:596",
0
]
},
"class_type": "PreviewAny",
"_meta": {
"title": "预览任意"
}
},
"612": {
"inputs": {
"image": "225.jpg!detail.jpg"
},
"class_type": "LoadImage",
"_meta": {
"title": "加载图像"
}
},
"261:239": {
"inputs": {
"unet_name": "Wan/Wan_animate_2_int8_convrot.safetensors",
"weight_dtype": "default"
},
"class_type": "UNETLoader",
"_meta": {
"title": "UNet加载器"
}
},
"261:11": {
"inputs": {
"lora_name": "Wan/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
"strength_model": 1,
"model": [
"261:239",
0
]
},
"class_type": "LoraLoaderModelOnly",
"_meta": {
"title": "LoRA加载器(仅模型)"
}
},
"261:9": {
"inputs": {
"clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"type": "wan",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": {
"title": "加载CLIP"
}
},
"261:4": {
"inputs": {
"text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
"clip": [
"261:9",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"261:75": {
"inputs": {
"clip_name": "clip_vision_h.safetensors"
},
"class_type": "CLIPVisionLoader",
"_meta": {
"title": "加载CLIP视觉"
}
},
"261:7": {
"inputs": {
"vae_name": "Wan2_1_VAE_bf16.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "加载VAE"
}
},
"261:257": {
"inputs": {
"context_length": 21,
"context_overlap": 8,
"context_schedule": "standard_static",
"context_stride": 1,
"closed_loop": false,
"fuse_method": "pyramid",
"dim": 2,
"freenoise": true,
"cond_retain_index_list": "0",
"split_conds_to_windows": false,
"latent_retain_index_list": "",
"causal_window_fix": true,
"model": [
"261:11",
0
]
},
"class_type": "ContextWindowsManual",
"_meta": {
"title": "上下文窗口(手动)"
}
},
"261:247": {
"inputs": {
"width": [
"261:256",
0
],
"height": [
"261:256",
1
],
"length": [
"580",
0
],
"batch_size": 1,
"video_frame_offset": 0,
"pose_strength": 1,
"pose_start_percent": 0,
"pose_end_percent": 1,
"reference_image_strength": 1,
"positive": [
"261:3",
0
],
"negative": [
"261:4",
0
],
"vae": [
"261:7",
0
],
"reference_image": [
"261:244",
0
],
"pose_video": [
"261:243",
0
],
"clip_vision_output": [
"261:76",
0
],
"positive_pose": [
"261:222",
0
],
"clip_vision_output_pose": [
"261:220",
0
]
},
"class_type": "WanAnimate2ToVideo",
"_meta": {
"title": "WanAnimate2ToVideo"
}
},
"261:258": {
"inputs": {
"switch": false,
"on_false": [
"261:11",
0
],
"on_true": [
"261:257",
0
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "切换"
}
},
"261:76": {
"inputs": {
"crop": "none",
"clip_vision": [
"261:75",
0
],
"image": [
"261:244",
0
]
},
"class_type": "CLIPVisionEncode",
"_meta": {
"title": "CLIP视觉编码"
}
},
"261:244": {
"inputs": {
"resize_type": "scale dimensions",
"resize_type.width": [
"261:256",
0
],
"resize_type.height": [
"261:256",
1
],
"resize_type.crop": "center",
"scale_method": "area",
"input": [
"612",
0
]
},
"class_type": "ResizeImageMaskNode",
"_meta": {
"title": "调整图像/掩码大小"
}
},
"261:18": {
"inputs": {
"scheduler": "simple",
"steps": 6,
"denoise": 1,
"model": [
"261:224",
0
]
},
"class_type": "BasicScheduler",
"_meta": {
"title": "基本调度器"
}
},
"261:95": {
"inputs": {
"shift": 5,
"model": [
"261:224",
0
]
},
"class_type": "ModelSamplingSD3",
"_meta": {
"title": "采样算法(SD3)"
}
},
"261:27": {
"inputs": {
"sampler_name": "lcm"
},
"class_type": "KSamplerSelect",
"_meta": {
"title": "K采样器选择"
}
},
"261:224": {
"inputs": {
"device": "gpu",
"dtype": "int8",
"model": [
"261:258",
0
]
},
"class_type": "WanAnimate2Cache",
"_meta": {
"title": "WanAnimate2Cache"
}
},
"261:256": {
"inputs": {
"image": [
"261:243",
0
]
},
"class_type": "GetImageSize",
"_meta": {
"title": "获取图像尺寸"
}
},
"261:19": {
"inputs": {
"add_noise": true,
"noise_seed": 420158595241080,
"cfg": 1,
"model": [
"261:95",
0
],
"positive": [
"261:247",
0
],
"negative": [
"261:247",
1
],
"sampler": [
"261:27",
0
],
"sigmas": [
"261:18",
0
],
"latent_image": [
"261:247",
2
]
},
"class_type": "SamplerCustom",
"_meta": {
"title": "自定义采样器"
}
},
"261:220": {
"inputs": {
"crop": "none",
"clip_vision": [
"261:75",
0
],
"image": [
"261:236",
0
]
},
"class_type": "CLIPVisionEncode",
"_meta": {
"title": "CLIP视觉编码"
}
},
"261:236": {
"inputs": {
"batch_index": 0,
"length": 1,
"image": [
"261:243",
0
]
},
"class_type": "ImageFromBatch",
"_meta": {
"title": "从批次获取图像"
}
},
"261:243": {
"inputs": {
"resize_type": "scale dimensions",
"resize_type.width": [
"579",
0
],
"resize_type.height": [
"579",
1
],
"resize_type.crop": "center",
"scale_method": "area",
"input": [
"585",
0
]
},
"class_type": "ResizeImageMaskNode",
"_meta": {
"title": "调整图像/掩码大小"
}
},
"261:6": {
"inputs": {
"samples": [
"261:223",
0
],
"vae": [
"261:7",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE解码"
}
},
"261:223": {
"inputs": {
"trim_amount": [
"261:247",
3
],
"samples": [
"261:19",
0
]
},
"class_type": "TrimVideoLatent",
"_meta": {
"title": "修剪视频Latent"
}
},
"261:297": {
"inputs": {
"value": false
},
"class_type": "PrimitiveBoolean",
"_meta": {
"title": "布尔值"
}
},
"261:298": {
"inputs": {
"batch_index": 1,
"length": 4096,
"image": [
"261:6",
0
]
},
"class_type": "ImageFromBatch",
"_meta": {
"title": "从批次获取图像"
}
},
"261:299": {
"inputs": {
"switch": [
"261:297",
0
],
"on_false": [
"261:6",
0
],
"on_true": [
"261:298",
0
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "切换"
}
},
"261:222": {
"inputs": {
"text": [
"584",
0
],
"clip": [
"261:9",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP文本编码"
}
},
"261:3": {
"inputs": {
"text": [
"583",
0
],
"clip": [
"261:9",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Positive Prompt)"
}
},
"477:449": {
"inputs": {
"unet_name": "Wan/Wan_animate_2_int8_convrot.safetensors",
"weight_dtype": "default"
},
"class_type": "UNETLoader",
"_meta": {
"title": "UNet加载器"
}
},
"477:450": {
"inputs": {
"lora_name": "Wan/lightx2v_I2V_14B_480p_cfg_step_distill_rank64_bf16.safetensors",
"strength_model": 1,
"model": [
"477:449",
0
]
},
"class_type": "LoraLoaderModelOnly",
"_meta": {
"title": "LoRA加载器(仅模型)"
}
},
"477:451": {
"inputs": {
"clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"type": "wan",
"device": "default"
},
"class_type": "CLIPLoader",
"_meta": {
"title": "加载CLIP"
}
},
"477:452": {
"inputs": {
"text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走",
"clip": [
"477:451",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"477:453": {
"inputs": {
"text": [
"583",
0
],
"clip": [
"477:451",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode (Positive Prompt)"
}
},
"477:454": {
"inputs": {
"clip_name": "clip_vision_h.safetensors"
},
"class_type": "CLIPVisionLoader",
"_meta": {
"title": "加载CLIP视觉"
}
},
"477:455": {
"inputs": {
"vae_name": "Wan2_1_VAE_bf16.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "加载VAE"
}
},
"477:456": {
"inputs": {
"text": [
"584",
0
],
"clip": [
"477:451",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP文本编码"
}
},
"477:457": {
"inputs": {
"context_length": 21,
"context_overlap": 8,
"context_schedule": "standard_static",
"context_stride": 1,
"closed_loop": false,
"fuse_method": "pyramid",
"dim": 2,
"freenoise": true,
"cond_retain_index_list": "0",
"split_conds_to_windows": false,
"latent_retain_index_list": "",
"causal_window_fix": true,
"model": [
"477:450",
0
]
},
"class_type": "ContextWindowsManual",
"_meta": {
"title": "上下文窗口(手动)"
}
},
"477:458": {
"inputs": {
"width": [
"477:467",
0
],
"height": [
"477:467",
1
],
"length": [
"580",
0
],
"batch_size": 1,
"video_frame_offset": [
"606:590",
3
],
"pose_strength": 1,
"pose_start_percent": 0,
"pose_end_percent": 1,
"reference_image_strength": 1,
"positive": [
"477:453",
0
],
"negative": [
"477:452",
0
],
"vae": [
"477:455",
0
],
"reference_image": [
"477:461",
0
],
"pose_video": [
"477:471",
0
],
"clip_vision_output": [
"477:460",
0
],
"positive_pose": [
"477:456",
0
],
"clip_vision_output_pose": [
"477:469",
0
],
"continue_motion": [
"606:590",
2
]
},
"class_type": "WanAnimate2ToVideo",
"_meta": {
"title": "WanAnimate2ToVideo"
}
},
"477:459": {
"inputs": {
"switch": false,
"on_false": [
"477:450",
0
],
"on_true": [
"477:457",
0
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "切换"
}
},
"477:460": {
"inputs": {
"crop": "none",
"clip_vision": [
"477:454",
0
],
"image": [
"477:461",
0
]
},
"class_type": "CLIPVisionEncode",
"_meta": {
"title": "CLIP视觉编码"
}
},
"477:461": {
"inputs": {
"resize_type": "scale dimensions",
"resize_type.width": [
"477:467",
0
],
"resize_type.height": [
"477:467",
1
],
"resize_type.crop": "center",
"scale_method": "area",
"input": [
"612",
0
]
},
"class_type": "ResizeImageMaskNode",
"_meta": {
"title": "调整图像/掩码大小"
}
},
"477:462": {
"inputs": {
"scheduler": "simple",
"steps": 6,
"denoise": 1,
"model": [
"477:465",
0
]
},
"class_type": "BasicScheduler",
"_meta": {
"title": "基本调度器"
}
},
"477:463": {
"inputs": {
"shift": 5,
"model": [
"477:465",
0
]
},
"class_type": "ModelSamplingSD3",
"_meta": {
"title": "采样算法(SD3)"
}
},
"477:464": {
"inputs": {
"sampler_name": "lcm"
},
"class_type": "KSamplerSelect",
"_meta": {
"title": "K采样器选择"
}
},
"477:465": {
"inputs": {
"device": "gpu",
"dtype": "int8",
"model": [
"477:459",
0
]
},
"class_type": "WanAnimate2Cache",
"_meta": {
"title": "WanAnimate2Cache"
}
},
"477:467": {
"inputs": {
"image": [
"477:471",
0
]
},
"class_type": "GetImageSize",
"_meta": {
"title": "获取图像尺寸"
}
},
"477:468": {
"inputs": {
"add_noise": true,
"noise_seed": 2,
"cfg": 1,
"model": [
"477:463",
0
],
"positive": [
"477:458",
0
],
"negative": [
"477:458",
1
],
"sampler": [
"477:464",
0
],
"sigmas": [
"477:462",
0
],
"latent_image": [
"477:458",
2
]
},
"class_type": "SamplerCustom",
"_meta": {
"title": "自定义采样器"
}
},
"477:469": {
"inputs": {
"crop": "none",
"clip_vision": [
"477:454",
0
],
"image": [
"477:470",
0
]
},
"class_type": "CLIPVisionEncode",
"_meta": {
"title": "CLIP视觉编码"
}
},
"477:470": {
"inputs": {
"batch_index": 0,
"length": 1,
"image": [
"477:471",
0
]
},
"class_type": "ImageFromBatch",
"_meta": {
"title": "从批次获取图像"
}
},
"477:471": {
"inputs": {
"resize_type": "scale dimensions",
"resize_type.width": [
"579",
0
],
"resize_type.height": [
"579",
1
],
"resize_type.crop": "center",
"scale_method": "area",
"input": [
"585",
0
]
},
"class_type": "ResizeImageMaskNode",
"_meta": {
"title": "调整图像/掩码大小"
}
},
"477:472": {
"inputs": {
"samples": [
"477:473",
0
],
"vae": [
"477:455",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE解码"
}
},
"477:473": {
"inputs": {
"trim_amount": [
"477:458",
3
],
"samples": [
"477:468",
0
]
},
"class_type": "TrimVideoLatent",
"_meta": {
"title": "修剪视频Latent"
}
},
"477:474": {
"inputs": {
"value": true
},
"class_type": "PrimitiveBoolean",
"_meta": {
"title": "布尔值"
}
},
"477:475": {
"inputs": {
"batch_index": 1,
"length": 4096,
"image": [
"477:472",
0
]
},
"class_type": "ImageFromBatch",
"_meta": {
"title": "从批次获取图像"
}
},
"477:476": {
"inputs": {
"switch": [
"477:474",
0
],
"on_false": [
"477:472",
0
],
"on_true": [
"477:475",
0
]
},
"class_type": "ComfySwitchNode",
"_meta": {
"title": "切换"
}
},
"606:589": {
"inputs": {
"expression": "a-1",
"a": [
"536",
0
]
},
"class_type": "MathExpression|pysssss",
"_meta": {
"title": "Math Expression 🐍"
}
},
"606:590": {
"inputs": {
"total": [
"606:589",
0
],
"initial_value1": [
"261:6",
0
],
"initial_value2": [
"261:247",
5
],
"initial_value3": [
"261:299",
0
]
},
"class_type": "easy forLoopStart",
"_meta": {
"title": "For循环-开始"
}
},
"606:596": {
"inputs": {
"expression": "a+1",
"a": [
"606:590",
1
]
},
"class_type": "MathExpression|pysssss",
"_meta": {
"title": "循环 by Bright"
}
},
"606:593": {
"inputs": {
"images.image0": [
"606:590",
4
],
"images.image1": [
"477:476",
0
]
},
"class_type": "BatchImagesNode",
"_meta": {
"title": "批量图像"
}
},
"606:599": {
"inputs": {
"flow": [
"606:590",
0
],
"initial_value1": [
"477:472",
0
],
"initial_value2": [
"477:458",
5
],
"initial_value3": [
"606:593",
0
]
},
"class_type": "easy forLoopEnd",
"_meta": {
"title": "For循环-结束"
}
}
}