ChronoEdit 14B: 이미지 편집
비디오 모델의 동적 이해를 기반으로 이미지를 편집하여, 캐릭터와 스타일의 일관성을 유지하면서 물리적으로 자연스러운 결과를 생성합니다。
정보
ChronoEdit 14B: Image Edit는 비디오 모델의 동적 이해를 단일 이미지 편집에 재활용해, 캐릭터 및 스타일 일관성을 유지하면서 물리적으로 그럴듯한 편집을 만들도록 설계된 ComfyUI 워크플로입니다. 핵심 경로는 단순합니다. LoadImage가 소스를 ChronoEdit 서브그래프(노드 id 2b61e18f-9327-49e6-98af-da8e557c2336)로 전달하고, 결과는 SaveImage로 저장됩니다. 주요 처리는 서브그래프 내부에서 이루어지며, Wan 2.1/ChronoEdit 가중치를 로드하고, 대형 텍스트 인코더(UMT5 XXL)로 프롬프트를 인코딩한 뒤, 구조/조명/아이덴티티를 유지하도록 설계된 편집 중심 디노이징 패스를 실행합니다.
기술적으로 비디오 모델을 단일 프레임에 활용하면, 샘플러가 보통 시간적 안정성을 강제하는 사전 지식을 활용하게 되며 여기서는 편집 중 기하와 스타일을 유지하는 데 도움이 됩니다. 프롬프트는 UMT5 XXL 텍스트 인코더(예: umt5_xxl_fp8_e4m3fn_scaled.safetensors)로 처리되어, 섬세한 변경에 필요한 언어 가이드를 제공합니다. 그래프의 MarkdownNote는 인라인 가이드를 제공하고, Subgraph는 포지티브/네거티브 프롬프트 텍스트, 편집 강도, 스텝, CFG 가이드, 시드, 해상도 같은 일반적인 제어를 캡슐화합니다. 결과적으로 아이덴티티나 구도를 깨지 않으면서 약한~중간 수준의 변경에 강한, 프롬프트 기반 이미지 편집기입니다.
제공할 항목
- 워크플로 읽는 중
ComfyUI에서 실행됩니다. 이 워크플로는 이 페이지에서 실행할 수 없습니다. 모든 항목이 로드된 Comfy Cloud에서 열거나, 자체 ComfyUI에서 사용하려면 다운로드하세요.
Cloud에서 사용해 보기워크플로 내부
노드 그래프의 읽기 전용 미리보기입니다. 노드를 편집하려면 Comfy Cloud에서 열거나 다운로드하세요.
Loading the graph
Open full-size workflow preview코드에서 이 워크플로 사용하기
가능한 경우 워크플로 그래프와 입력을 기반으로 생성되며, 그렇지 않은 경우 저장된 예시가 표시됩니다. 비용이 발생할 수 있으므로 코드를 실행하기 전에 자격 증명과 엔드포인트를 검토하세요.
What you need
- Runs on
- Comfy Cloud
- 키
- COMFY_API_KEY
유료 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({
"52": {
"class_type": "LoadImage",
"inputs": {
"image": "image_chrono_edit_input_image.png"
},
"_meta": {
"title": "Load Image"
}
},
"60": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "Chrono_Edit_14B",
"images": [
"97:103",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"97:100": {
"class_type": "CLIPVisionLoader",
"inputs": {
"clip_name": "clip_vision_h.safetensors"
},
"_meta": {
"title": "Load CLIP Vision"
}
},
"97:101": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "chrono_edit_14B_fp16.safetensors",
"weight_dtype": "fp8_e4m3fn"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"97:102": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"97:110",
0
],
"vae": [
"97:99",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"97:103": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": 4,
"image": [
"97:102",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"97:104": {
"class_type": "CLIPVisionEncode",
"inputs": {
"clip_vision": [
"97:100",
0
],
"crop": "none",
"image": [
"52",
0
]
},
"_meta": {
"title": "CLIP Vision Encode"
}
},
"97:105": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"97:108",
0
],
"text": "A bottle of facial cleansing foam and bubble shampoo, surrounded by white, round, foamy bubbles. The bubbles are very fluffy, crystal clear, giving a sense of fluffiness and comfort. There are also several bubbles floating in the air around, and the bottle is floating in the air. The background is light pink. The high-resolution picture creates a professional advertising style with high-definition images and high-quality details."
},
"_meta": {
"title": "CLIP Text Encode (Positive Prompt)"
}
},
"97:106": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"97:108",
0
],
"text": "色调艳丽,过曝,静态,细节模糊不清,字幕,风格,作品,画作,画面,静止,整体发灰,最差质量,低质量,JPEG压缩残留,丑陋的,残缺的,多余的手指,画得不好的手部,画得不好的脸部,畸形的,毁容的,形态畸形的肢体,手指融合,静止不动的画面,杂乱的背景,三条腿,背景人很多,倒着走"
},
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"97:107": {
"class_type": "ModelSamplingSD3",
"inputs": {
"model": [
"97:101",
0
],
"shift": 5
},
"_meta": {
"title": "ModelSamplingSD3"
}
},
"97:108": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"device": "default",
"type": "wan"
},
"_meta": {
"title": "Load CLIP"
}
},
"97:109": {
"class_type": "WanImageToVideo",
"inputs": {
"batch_size": 1,
"clip_vision_output": [
"97:104",
0
],
"height": 720,
"length": 5,
"negative": [
"97:106",
0
],
"positive": [
"97:105",
0
],
"start_image": [
"52",
0
],
"vae": [
"97:99",
0
],
"width": 720
},
"_meta": {
"title": "WanImageToVideo"
}
},
"97:110": {
"class_type": "KSampler",
"inputs": {
"cfg": [
"97:119",
0
],
"denoise": 1,
"latent_image": [
"97:109",
2
],
"model": [
"97:117",
0
],
"negative": [
"97:109",
1
],
"positive": [
"97:109",
0
],
"sampler_name": "uni_pc",
"scheduler": "simple",
"seed": 164026091171544,
"steps": [
"97:118",
0
]
},
"_meta": {
"title": "KSampler"
}
},
"97:111": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "chronoedit_distill_lora.safetensors",
"model": [
"97:98",
0
],
"strength_model": 1
},
"_meta": {
"title": "Load LoRA"
}
},
"97:113": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 20
},
"_meta": {
"title": "Step"
}
},
"97:116": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 4
},
"_meta": {
"title": "Step"
}
},
"97:117": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"97:98",
0
],
"on_true": [
"97:111",
0
],
"switch": [
"97:123",
0
]
},
"_meta": {
"title": "Switch (Model)"
}
},
"97:118": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"97:113",
0
],
"on_true": [
"97:116",
0
],
"switch": [
"97:123",
0
]
},
"_meta": {
"title": "Switch (Step)"
}
},
"97:119": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"97:122",
0
],
"on_true": [
"97:121",
0
],
"switch": [
"97:123",
0
]
},
"_meta": {
"title": "Switch (CFG)"
}
},
"97:121": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 1
},
"_meta": {
"title": "CFG"
}
},
"97:122": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 4
},
"_meta": {
"title": "CFG"
}
},
"97:123": {
"class_type": "PrimitiveBoolean",
"inputs": {
"value": False
},
"_meta": {
"title": "Enable Distll LoRA"
}
},
"97:98": {
"class_type": "ScaleROPE",
"inputs": {
"model": [
"97:107",
0
],
"scale_t": 7,
"scale_x": 1,
"scale_y": 1,
"shift_t": 0,
"shift_x": 0,
"shift_y": 0
},
"_meta": {
"title": "ScaleROPE"
}
},
"97:99": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "wan_2.1_vae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)질문과 답변
ChronoEdit는 편집용으로 단일 프레임에 맞게 적응된 비디오-모델 백본(Wan 2.1)을 사용합니다. 그 시간적 프라이어가 편집 중 구조와 스타일 일관성을 더 강하게 유지하는 데 도움이 됩니다. img2img처럼 변경을 프롬프트로 지시하지만, 조명/기하/아이덴티티를 더 안정적으로 보존하는 경향이 있습니다. 전역 편집에는 마스크가 필수는 아니며, 국소 변경은 편집 강도를 적당히 유지하고 프롬프트를 정밀하게 작성하세요.
이 워크플로는 ComfyUI에서 NVIDIA GPU를 대상으로 합니다. 512–768 px 편집 기준으로 12–16GB VRAM의 최신 CUDA 지원 GPU가 현실적인 시작점입니다. 메모리 부족 오류가 나면 해상도, 스텝, 배치 크기를 줄이세요. 더 큰 이미지나 무거운 설정은 더 많은 VRAM이 필요할 수 있습니다.
UMT5 XXL 텍스트 인코더(예: umt5_xxl_fp8_e4m3fn_scaled.safetensors)를 ComfyUI/models/text_encoders 또는 사용 중인 모델 팩이 지정한 디렉토리에 넣으세요. Wan 2.1/ChronoEdit 가중치는 문서에 따라 설치하세요. Subgraph는 실행 시 이 경로들을 참조합니다.
포지티브 프롬프트에 명확하고 반복 가능한 설명자를 사용하고, 반복 중에는 seed를 고정하며, 낮은 편집 강도에서 시작하세요. 필요할 때만 강도를 올리세요. 네거티브 프롬프트는 원치 않는 스타일 드리프트를 억제하는 데 도움이 됩니다. 스텝과 CFG를 작게, 점진적으로 조정해 충실도와 창의성의 균형을 맞추세요.