이미지 → 비디오 (신규)
Wan2.2 14B를 사용해 입력 이미지에서 비디오를 생성
워크플로 내부
소스 템플릿의 읽기 전용 미리보기입니다. Cloud에서 열어 노드를 살펴보고 변경할 수 있습니다.
Loading the graph
Open full-size workflow preview코드에서 이 모델 호출하기
아래 요청은 Playground와 동일하게 준비된 그래프와 설정을 사용합니다. 제출할 때마다 유료 실행이 시작될 수 있으므로 결과를 알 수 없는 제출을 자동으로 재시도하지 마세요.
What you need
- Runs on
- Comfy Cloud
- 키
- COMFY_API_KEY
- 내 파일
- 코드가 해당 URL에서 업로드
유료 Cloud 요금제와 크레딧이 필요합니다.
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"97": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_FILENAME"
},
"_meta": {
"title": "Start Frame Image"
}
},
"108": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/Wan2.2_image_to_video",
"format": "auto",
"format.codec": "auto",
"video": [
"116:94",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"116:101": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "wan2.2_i2v_lightx2v_4steps_lora_v1_high_noise.safetensors",
"model": [
"116:95",
0
],
"strength_model": 1.0000000000000002
},
"_meta": {
"title": "Load LoRA"
}
},
"116:102": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "wan2.2_i2v_lightx2v_4steps_lora_v1_low_noise.safetensors",
"model": [
"116:96",
0
],
"strength_model": 1.0000000000000002
},
"_meta": {
"title": "Load LoRA"
}
},
"116:103": {
"class_type": "ModelSamplingSD3",
"inputs": {
"model": [
"116:102",
0
],
"shift": 5.000000000000001
},
"_meta": {
"title": "ModelSamplingSD3"
}
},
"116:104": {
"class_type": "ModelSamplingSD3",
"inputs": {
"model": [
"116:101",
0
],
"shift": 5.000000000000001
},
"_meta": {
"title": "ModelSamplingSD3"
}
},
"116:84": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"device": "default",
"type": "wan"
},
"_meta": {
"title": "Load CLIP"
}
},
"116:85": {
"class_type": "KSamplerAdvanced",
"inputs": {
"add_noise": "disable",
"cfg": 1,
"end_at_step": 4,
"latent_image": [
"116:86",
0
],
"model": [
"116:103",
0
],
"negative": [
"116:98",
1
],
"noise_seed": 0,
"positive": [
"116:98",
0
],
"return_with_leftover_noise": "disable",
"sampler_name": "euler",
"scheduler": "simple",
"start_at_step": 2,
"steps": 4
},
"_meta": {
"title": "KSampler (Advanced)"
}
},
"116:86": {
"class_type": "KSamplerAdvanced",
"inputs": {
"add_noise": "enable",
"cfg": 1,
"end_at_step": 2,
"latent_image": [
"116:98",
2
],
"model": [
"116:104",
0
],
"negative": [
"116:98",
1
],
"noise_seed": 950349635748642,
"positive": [
"116:98",
0
],
"return_with_leftover_noise": "enable",
"sampler_name": "euler",
"scheduler": "simple",
"start_at_step": 0,
"steps": 4
},
"_meta": {
"title": "KSampler (Advanced)"
}
},
"116:87": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"116:85",
0
],
"vae": [
"116:90",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"116:89": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"116:84",
0
],
"text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
},
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"116:90": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "wan_2.1_vae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"116:93": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"116:84",
0
],
"text": "The charcoal-furred dog stands in the black void and slowly turns its head from the right toward the camera, amber eyes catching the light, ears lifting alert. Its nostrils flare as it sniffs the air, then it lowers its chin slightly and lets out a calm breath, chest rising and falling. The chrome spiked collar shifts and glints with every movement, throwing small sparks of reflected light. The electric blue rim light traces the ridge of its back and brow as the camera slowly orbits a quarter turn around the dog from its side toward its face while gently pushing in. Fine short hairs ripple along the shoulders; the darkness behind stays deep and still. Cinematic, moody, high-contrast studio lighting, smooth natural motion, shallow depth of field, crisp detail."
},
"_meta": {
"title": "CLIP Text Encode (Positive Prompt)"
}
},
"116:94": {
"class_type": "CreateVideo",
"inputs": {
"bit_depth": "auto",
"codec": "none",
"color_space": "sRGB",
"fps": 16,
"images": [
"116:87",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"116:95": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "wan2.2_i2v_high_noise_14B_fp8_scaled.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"116:96": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "wan2.2_i2v_low_noise_14B_fp8_scaled.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"116:98": {
"class_type": "WanImageToVideo",
"inputs": {
"batch_size": 1,
"height": 720,
"length": 81,
"negative": [
"116:89",
0
],
"positive": [
"116:93",
0
],
"start_image": [
"97",
0
],
"vae": [
"116:90",
0
],
"width": 1280
},
"_meta": {
"title": "WanImageToVideo"
}
}
})
workflow.set_input("97", "image", client.assets.from_url("https://comfy.org/catalog-media/62c24908-ceff-4862-a07b-875ca5b4dc6b/64d6b10e-3b97-452c-ba6e-6327610d9247"))
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)
for output in job.get_outputs("108"):
output.to_file(output.name)예시 사용해 보기
이 워크플로 정보
Wan2.2 14B 모델을 활용한 Image to Video 워크플로는 AI 기반 비디오 생성 영역에서 큰 도약을 보여줍니다. 이 접근 방식은 Wan2.2 모델의 고급 기능을 활용해 정지 이미지를 동적인 비디오로 변환할 수 있게 합니다. 이 기법의 차별점은 생성된 비디오에서 높은 충실도와 일관성을 유지한다는 점으로, 현실적인 모션을 추가하면서도 원본 이미지의 분위기와 디테일을 보존합니다. Wan2.2 모델은 Wan 시리즈의 후속 모델로, 복잡한 변환을 더 높은 연산 효율로 처리하도록 설계되어 이미지에서 전례 없는 디테일과 부드러움으로 고품질 비디오를 생성할 수 있습니다.
이 워크플로는 변환에 필요한 정교한 과정을 캡슐화한 전용 노드인 Wan2.2 Image to Video 서브그래프를 사용한다는 점에서 특히 돋보입니다. 이 서브그래프는 포괄적인 Wan2.2 워크플로를 성능과 사용 편의성에 맞게 축약한 버전입니다. 사용자는 최소한의 입력으로 최대의 출력 품질을 얻을 수 있는 간소화된 프로세스를 활용할 수 있습니다. 이 고급 모델을 ComfyUI 생태계에 통합하면 비디오 생성 과정이 단순해질 뿐 아니라, 시각적 스토리텔링의 새로운 차원을 탐색하려는 아티스트, 영화 제작자, 콘텐츠 크리에이터의 창작 가능성도 넓어집니다.
질문과 답변
Wan2.2 모델은 복잡한 이미지 변환을 높은 충실도로 처리하도록 설계되어, 결과 비디오가 원본 이미지의 품질과 디테일을 유지하도록 합니다.
이 워크플로는 효율적으로 처리하고 고품질 비디오를 생성하기 위해 20GB를 초과하는 높은 VRAM 용량이 필요합니다.
예. 이 워크플로는 상업적 사용에 적합하며, 다양한 용도로 이미지를 기반으로 프로페셔널 수준의 비디오를 생성할 수 있습니다.
Wan2.2 서브그래프는 복잡한 작업을 단일 노드로 캡슐화해, 사용자가 더 쉽게 접근하고 더 효율적으로 워크플로를 사용할 수 있게 합니다.
관련 워크플로
- Wan2.1, Wan
Wan 2.1 ControlNet
- Wan2.1, Wan
Wan 2.1 Fun 카메라 1.3B
- Wan2.1, Wan
Wan 2.1 Fun 카메라 14B
- Wan2.1, Wan
Wan 2.1 시작-끝 프레임 비디오 720p F16
- Wan2.1, Wan
Wan 2.1 이미지 기반 비디오 생성
- Wan2.1, Wan
Wan 2.1 인페인팅
- Wan2.1, Wan
Wan 2.1 텍스트 기반 비디오 생성
- Wan2.2, Wan
Wan 2.2 14B Fun 인페인팅
- Wan2.2, Wan
Wan 2.2 14B Fun 제어
- Wan2.2, Wan
Wan 2.2 14B Fun 카메라 제어
- Wan, Wan2.2
Wan 2.2 14B 이미지 기반 비디오 생성
- Wan2.2, Wan
Wan 2.2 14B 첫 번째-마지막 프레임 비디오