Upscale a video
Increase video resolution and restore detail across the clip.
워크플로 다운로드Cloud에서 사용해 보기 API 문서
00:00
워크플로 내부
소스 템플릿의 읽기 전용 미리보기입니다. Cloud에서 열어 노드를 살펴보고 변경할 수 있습니다.
Loading the graph
Open full-size workflow preview코드에서 이 모델 호출하기
아래 요청은 Playground와 동일하게 준비된 그래프와 설정을 사용합니다. 제출할 때마다 유료 실행이 시작될 수 있으므로 결과를 알 수 없는 제출을 자동으로 재시도하지 마세요.
1 API 키 가져오기 ↗
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({
"73": {
"class_type": "LoadVideo",
"inputs": {
"file": "UPLOADED_video_FILENAME"
},
"_meta": {
"title": "Load Video"
}
},
"76": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/Upscaled_seedVR2",
"format": "auto",
"format.codec": "auto",
"video": [
"66:75",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"66:100": {
"class_type": "SeedVR2TemporalMerge",
"inputs": {
"latents": [
"66:54",
0
],
"temporal_overlap": [
"66:99",
1
]
},
"_meta": {
"title": "Merge SeedVR2 Latents"
}
},
"66:102": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"66:48",
0
],
"on_true": [
"66:99",
0
],
"switch": [
"66:105",
0
]
},
"_meta": {
"title": "If/Else Switch"
}
},
"66:103": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"66:54",
0
],
"on_true": [
"66:100",
0
],
"switch": [
"66:105",
0
]
},
"_meta": {
"title": "If/Else Switch"
}
},
"66:105": {
"class_type": "PrimitiveBoolean",
"inputs": {
"value": False
},
"_meta": {
"title": "Boolean (Split Latent)"
}
},
"66:48": {
"class_type": "VAEEncodeTiled",
"inputs": {
"overlap": 128,
"pixels": [
"66:58",
0
],
"temporal_overlap": 8,
"temporal_size": 64,
"tile_size": 512,
"vae": [
"66:51",
0
]
},
"_meta": {
"title": "VAE Encode (Tiled)"
}
},
"66:51": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "seedvr2_ema_vae_fp16.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"66:52": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "seedvr2_3b_int8_convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"66:54": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"66:102",
0
],
"model": [
"66:52",
0
],
"negative": [
"66:61",
1
],
"positive": [
"66:61",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 959948902156062,
"steps": 1
},
"_meta": {
"title": "KSampler"
}
},
"66:55": {
"class_type": "VAEDecodeTiled",
"inputs": {
"overlap": 128,
"samples": [
"66:103",
0
],
"temporal_overlap": 8,
"temporal_size": 64,
"tile_size": 512,
"vae": [
"66:51",
0
]
},
"_meta": {
"title": "VAE Decode (Tiled)"
}
},
"66:57": {
"class_type": "ResizeImageMaskNode",
"inputs": {
"input": [
"66:74",
0
],
"resize_type": "scale by multiplier",
"resize_type.multiplier": 2,
"scale_method": "lanczos"
},
"_meta": {
"title": "Resize Image/Mask"
}
},
"66:58": {
"class_type": "SeedVR2Preprocess",
"inputs": {
"resized_images": [
"66:57",
0
]
},
"_meta": {
"title": "Pre-Process SeedVR2 Input"
}
},
"66:59": {
"class_type": "SeedVR2PostProcessing",
"inputs": {
"color_correction_method": "none",
"images": [
"66:55",
0
],
"original_resized_images": [
"66:57",
0
]
},
"_meta": {
"title": "Post-Process SeedVR2 Output"
}
},
"66:61": {
"class_type": "SeedVR2Conditioning",
"inputs": {
"model": [
"66:52",
0
],
"vae_conditioning": [
"66:102",
0
]
},
"_meta": {
"title": "Apply SeedVR2 Conditioning"
}
},
"66:74": {
"class_type": "GetVideoComponents",
"inputs": {
"video": [
"66:81",
0
]
},
"_meta": {
"title": "Get Video Components"
}
},
"66:75": {
"class_type": "CreateVideo",
"inputs": {
"audio": [
"66:74",
1
],
"bit_depth": [
"66:74",
3
],
"codec": "none",
"color_space": "sRGB",
"fps": [
"66:74",
2
],
"images": [
"66:59",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"66:79": {
"class_type": "Video Slice",
"inputs": {
"duration": 0,
"start_time": 0,
"strict_duration": False,
"video": [
"73",
0
]
},
"_meta": {
"title": "Trim Video"
}
},
"66:81": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"73",
0
],
"on_true": [
"66:79",
0
],
"switch": False
},
"_meta": {
"title": "If/Else Switch"
}
},
"66:99": {
"class_type": "SeedVR2TemporalChunk",
"inputs": {
"chunking_mode": "auto",
"latent": [
"66:48",
0
],
"temporal_overlap": 0
},
"_meta": {
"title": "Split SeedVR2 Latent"
}
}
})
workflow.set_input("73", "file", client.assets.from_url("https://cdn.jsdelivr.net/gh/Comfy-Org/workflow_templates@90c71fb78b3726392d010ff62a8e79e92d7296ad/input/grainy_perfume_shot_crf32.mp4"))
# 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("76"):
output.to_file(output.name)예시 사용해 보기
관련 워크플로
- SSeedVR2
Upscale and restore detail
- SSeedVR2
SeedVR2: 비디오 업스케일
- SSeedVR2
SeedVR2: 이미지 업스케일
- SeedVR2, WaveSpeed
WaveSpeed: SeedVR2 기반 AI 이미지 복원
- Qwen-Image, SeedVR2
등거리원통투영 HDR 스카이박스 생성기
- Nano Banana Pro
Sharpen a product photo
- Topaz
Upscale an illustration
- HHitPaw
Restore portrait detail
- LTX-2.3
Restore archival footage
- ZZ-Image-Turbo
2.3 Creator: 이미지 업스케일 & 분석
- 파파트너 노드
AI on the Lot 2026 - QwenVL - 프롬프트 강화
- 파파트너 노드
AI on the Lot 2026 - Z-Image Turbo - t2i + 업스케일