스킨 강화기 + 업스케일러
원클릭 워크플로로 캐릭터 초상화를 생성하고, 피부 세부 정보를 개선/추가하며, 4k로 업스케일합니다. 모두 60초 이내에 완료됩니다.
정보
'스킨 개선 + 업스케일러' 워크플로는 피부 디테일 개선과 이미지 업스케일링을 하나의 효율적인 워크플로로 통합해, 고품질 캐릭터 인물 이미지를 만드는 과정을 단순화하도록 설계되었습니다. Z-Image-Turbo 및 SDXL 모델을 활용해, 1분 이내에 피부 텍스처가 정돈된 디테일한 인물 이미지를 생성하고 최종 이미지를 4K 해상도로 업스케일링할 수 있습니다. LoadImage 및 SaveImage 같은 핵심 노드는 입력/출력 과정을 담당하고, comfyui-kjnodes 및 comfyui_essentials의 커스텀 노드가 피부 디테일 정제와 업스케일링 같은 세부 작업을 처리합니다. 얼굴 특징을 강화한 고해상도 이미지를 빠르게 만들어야 하는 아티스트 및 디자이너에게 유용합니다.
기술적으로 이 워크플로는 fb45acca-28ee-4342-9487-e4e2369c9883 및 eeeed90f-caa6-493b-8da1-03f72f13e685 같은 노드를 사용해 사용자 프롬프트를 기반으로 얼굴 특징을 파싱하고 개선합니다. 사용자는 주근깨, 수염, 메이크업 선호도 같은 특성을 지정할 수 있으며, 이를 처리해 인물의 외형을 정제합니다. ComfySwitchNode 및 ImageCompare 노드를 통해 서로 다른 이미지 처리 옵션을 전환할 수 있어 최종 출력에 유연성이 생깁니다. 최소한의 조작으로 인물 이미지를 개선하고 효율적으로 결과를 내고자 할 때 적합하며, 전문 및 개인 프로젝트 모두에 활용할 수 있습니다.
제공할 항목
- 워크플로 읽는 중
ComfyUI에서 실행됩니다. 이 워크플로는 이 페이지에서 실행할 수 없습니다. 모든 항목이 로드된 Comfy Cloud에서 열거나, 자체 ComfyUI에서 사용하려면 다운로드하세요.
Cloud에서 사용해 보기워크플로 내부
노드 그래프의 읽기 전용 미리보기입니다. 노드를 편집하려면 Comfy Cloud에서 열거나 다운로드하세요.
코드에서 이 워크플로 사용하기
가능한 경우 워크플로 그래프와 입력을 기반으로 생성되며, 그렇지 않은 경우 저장된 예시가 표시됩니다. 비용이 발생할 수 있으므로 코드를 실행하기 전에 자격 증명과 엔드포인트를 검토하세요.
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({
"17": {
"class_type": "LoadImage",
"inputs": {
"image": "input_face-1.png"
},
"_meta": {
"title": "Load Image"
}
},
"282": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "portrait-upscaled",
"images": [
"283:27",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"286": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "portrait-z-image-turbo",
"images": [
"285:8",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"300": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"285:8",
0
],
"on_true": [
"17",
0
],
"switch": False
},
"_meta": {
"title": "Image Switch"
}
},
"302": {
"class_type": "ImageCompare",
"inputs": {
"compare_view": {
"__value__": [
"",
""
]
},
"image_a": [
"283:27",
0
],
"image_b": [
"300",
0
]
},
"_meta": {
"title": "Image Compare (Before/After)"
}
},
"283:21": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"284:180",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"283:22": {
"class_type": "SeedVR2LoadVAEModel",
"inputs": {
"cache_model": False,
"decode_tile_overlap": 128,
"decode_tile_size": 1024,
"decode_tiled": True,
"device": "cuda:0",
"encode_tile_overlap": 128,
"encode_tile_size": 1024,
"encode_tiled": True,
"model": "ema_vae_fp16.safetensors",
"offload_device": "none",
"tile_debug": "false"
},
"_meta": {
"title": "SeedVR2 (Down)Load VAE Model"
}
},
"283:25": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"283:43",
0
],
"b": [
"283:30",
0
],
"value": "a*b"
},
"_meta": {
"title": "Upscale to Shortest Edge (pixels)"
}
},
"283:27": {
"class_type": "SeedVR2VideoUpscaler",
"inputs": {
"batch_size": 1,
"color_correction": "lab",
"dit": [
"283:28",
0
],
"enable_debug": False,
"image": [
"284:180",
0
],
"input_noise_scale": 0,
"latent_noise_scale": 0,
"max_resolution": 0,
"offload_device": "cpu",
"prepend_frames": 0,
"resolution": [
"283:25",
0
],
"seed": 74825977,
"temporal_overlap": 0,
"uniform_batch_size": False,
"vae": [
"283:22",
0
]
},
"_meta": {
"title": "SeedVR2 Video Upscaler (v2.5.24)"
}
},
"283:28": {
"class_type": "SeedVR2LoadDiTModel",
"inputs": {
"attention_mode": "sdpa",
"blocks_to_swap": 0,
"cache_model": False,
"device": "cuda:0",
"model": "seedvr2_ema_7b_fp16.safetensors",
"offload_device": "cpu",
"swap_io_components": False
},
"_meta": {
"title": "SeedVR2 (Down)Load DiT Model"
}
},
"283:30": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 4
},
"_meta": {
"title": "Upscale Factor"
}
},
"283:40": {
"class_type": "ImpactCompare",
"inputs": {
"a": [
"283:21",
0
],
"b": [
"283:21",
1
],
"cmp": "a <= b"
},
"_meta": {
"title": "ImpactCompare"
}
},
"283:43": {
"class_type": "LayerUtility: If ",
"inputs": {
"if_condition": [
"283:40",
0
],
"when_FALSE": [
"283:21",
1
],
"when_TRUE": [
"283:21",
0
]
},
"_meta": {
"title": "IfElse"
}
},
"284:116": {
"class_type": "CheckpointLoaderSimple",
"inputs": {
"ckpt_name": "Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors"
},
"_meta": {
"title": "Load Checkpoint"
}
},
"284:117": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"284:116",
1
],
"text": "plastic, smooth, glossy, cartoon, anime, worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch, anime"
},
"_meta": {
"title": "Negative Prompt"
}
},
"284:156": {
"class_type": "FaceParsingResultsParser(FaceParsing)",
"inputs": {
"background": False,
"cloth": False,
"ear_r": False,
"eye_g": False,
"hair": False,
"hat": False,
"l_brow": True,
"l_ear": False,
"l_eye": False,
"l_lip": True,
"mouth": False,
"neck": False,
"neck_l": False,
"nose": True,
"r_brow": True,
"r_ear": False,
"r_eye": False,
"result": [
"284:161",
1
],
"skin": True,
"u_lip": True
},
"_meta": {
"title": "FaceParsingResultsParser(FaceParsing)"
}
},
"284:157": {
"class_type": "FaceParsingModelLoader(FaceParsing)",
"inputs": {
"device": "cuda"
},
"_meta": {
"title": "FaceParsingModelLoader(FaceParsing)"
}
},
"284:159": {
"class_type": "BBoxDetectorLoader(FaceParsing)",
"inputs": {
"model_name": "bbox/face_yolov8m.pt"
},
"_meta": {
"title": "BBoxDetectorLoader(FaceParsing)"
}
},
"284:160": {
"class_type": "BBoxDetect(FaceParsing)",
"inputs": {
"bbox_detector": [
"284:159",
0
],
"by_ratio": False,
"dilation": 8,
"dilation_ratio": 0.2,
"image": [
"300",
0
],
"threshold": 0.3
},
"_meta": {
"title": "BBoxDetect(FaceParsing)"
}
},
"284:161": {
"class_type": "FaceParse(FaceParsing)",
"inputs": {
"image": [
"284:163",
0
],
"model": [
"284:157",
0
],
"processor": [
"284:165",
0
]
},
"_meta": {
"title": "FaceParse(FaceParsing)"
}
},
"284:162": {
"class_type": "BBoxListItemSelect(FaceParsing)",
"inputs": {
"bbox_list": [
"284:160",
0
],
"index": 0
},
"_meta": {
"title": "BBoxListItemSelect(FaceParsing)"
}
},
"284:163": {
"class_type": "ImageCropWithBBox(FaceParsing)",
"inputs": {
"bbox": [
"284:162",
0
],
"image": [
"300",
0
]
},
"_meta": {
"title": "ImageCropWithBBox(FaceParsing)"
}
},
"284:165": {
"class_type": "FaceParsingProcessorLoader(FaceParsing)",
"inputs": {},
"_meta": {
"title": "FaceParsingProcessorLoader(FaceParsing)"
}
},
"284:176": {
"class_type": "ImageCompositeMasked",
"inputs": {
"destination": [
"284:163",
0
],
"mask": [
"284:179",
0
],
"resize_source": False,
"source": [
"284:196",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "Image Composite Masked"
}
},
"284:179": {
"class_type": "GrowMaskWithBlur",
"inputs": {
"blur_radius": 8,
"decay_factor": 1,
"expand": -4,
"fill_holes": False,
"flip_input": False,
"incremental_expandrate": 0,
"lerp_alpha": 1,
"mask": [
"284:156",
0
],
"tapered_corners": True
},
"_meta": {
"title": "Grow Mask With Blur"
}
},
"284:180": {
"class_type": "ImageInsertWithBBox(FaceParsing)",
"inputs": {
"bbox": [
"284:162",
0
],
"image": [
"284:176",
0
],
"image_src": [
"300",
0
]
},
"_meta": {
"title": "ImageInsertWithBBox(FaceParsing)"
}
},
"284:193": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"284:163",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"284:196": {
"class_type": "ImageResizeKJv2",
"inputs": {
"crop_position": "center",
"device": "cpu",
"divisible_by": 2,
"height": [
"284:193",
1
],
"image": [
"284:76",
0
],
"keep_proportion": "stretch",
"pad_color": "0, 0, 0",
"upscale_method": "lanczos",
"width": [
"284:193",
0
]
},
"_meta": {
"title": "Resize Image v2"
}
},
"284:227": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "sdxl-skin_realism_acne_skin_details_imperfections.safetensors",
"model": [
"284:116",
0
],
"strength_model": 0.6
},
"_meta": {
"title": "Load LoRA"
}
},
"284:72": {
"class_type": "UpscaleModelLoader",
"inputs": {
"model_name": "8xNMKDFaces160000G_v10.pt"
},
"_meta": {
"title": "Load Upscale Model"
}
},
"284:76": {
"class_type": "UltimateSDUpscale",
"inputs": {
"cfg": 4,
"denoise": 0.2,
"force_uniform_tiles": True,
"image": [
"284:163",
0
],
"mask_blur": 32,
"mode_type": "Linear",
"model": [
"284:227",
0
],
"negative": [
"284:117",
0
],
"positive": [
"284:78",
0
],
"sampler_name": "dpmpp_2m_sde",
"scheduler": "karras",
"seam_fix_denoise": 1,
"seam_fix_mask_blur": 8,
"seam_fix_mode": "None",
"seam_fix_padding": 16,
"seam_fix_width": 64,
"seed": 900811593556971,
"steps": 35,
"tile_height": 1024,
"tile_padding": 32,
"tile_width": 1024,
"tiled_decode": False,
"upscale_by": [
"284:98",
0
],
"upscale_model": [
"284:72",
0
],
"vae": [
"284:116",
2
]
},
"_meta": {
"title": "Ultimate SD Upscale"
}
},
"284:78": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"284:116",
1
],
"text": "Close-up professional photograph of a woman, detailed face skin and visible skin pores, detailed natural skin and blemishes without-makeup, detailed skin texure, detailed lips, natural skin pores, subtle skin imperfections, visible skin pores, slightly cracked lips, skin discoloration, intricate detailed iris, perfect eyes, soft freckles"
},
"_meta": {
"title": "Positive Prompt"
}
},
"284:98": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 2
},
"_meta": {
"title": "Upscale By"
}
},
"285:11": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"285:287",
0
],
"sampling": "flow",
"shift": 3
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"285:13": {
"class_type": "EmptySD3LatentImage",
"inputs": {
"batch_size": 1,
"height": 1152,
"width": 896
},
"_meta": {
"title": "EmptySD3LatentImage"
}
},
"285:287": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "zimage-grainscape_ultrareal.safetensors",
"model": [
"285:289",
0
],
"strength_model": 1
},
"_meta": {
"title": "Load LoRA"
}
},
"285:288": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_3_4b.safetensors",
"device": "default",
"type": "lumina2"
},
"_meta": {
"title": "Load CLIP"
}
},
"285:289": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "z_image_turbo_bf16.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"285:29": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "ae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"285:290": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"285:288",
0
],
"text": "A clean, high-key studio portrait features a central subject captured in a sharp headshot composition against a solid, vibrant cerulean blue backdrop. The lighting is soft and even, characteristic of a professional beauty dish or large softbox, which minimizes harsh shadows and creates a subtle, healthy glow across the skin. The focus is tack-sharp on the eyes, with a shallow depth of field that gently softens the texture of the hair as it recedes toward the shoulders.\n\nThe subject possesses a symmetrical, heart-shaped face with a neutral, poised expression and a direct gaze. Their hair is a bright, cool-toned platinum blonde, styled in a sleek, center-parted bob that falls just to the collarbone with slightly textured ends. Their complexion is smooth and radiant, complemented by a light application of makeup that emphasizes the natural arch of the well-defined, dark blonde eyebrows. The eyes are a warm hazel-brown, framed by dark, delicate lashes, while the lips are a soft, natural rose-pink with a slight satin finish.\n\nThe subject wears a crisp, minimalist white turtleneck sweater made of a fine-ribbed, lightweight knit fabric. The garment's clean lines and bright tone provide a high-contrast transition between the subject and the saturated blue background. The overall atmosphere is modern and clinical yet approachable, defined by the precision of the studio environment and the clarity of the facial features."
},
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"285:3": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"285:13",
0
],
"model": [
"285:11",
0
],
"negative": [
"285:33",
0
],
"positive": [
"285:290",
0
],
"sampler_name": "res_multistep",
"scheduler": "simple",
"seed": 223832286985235,
"steps": 8
},
"_meta": {
"title": "KSampler"
}
},
"285:33": {
"class_type": "ConditioningZeroOut",
"inputs": {
"conditioning": [
"285:290",
0
]
},
"_meta": {
"title": "Conditioning Zero Out"
}
},
"285:8": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"285:3",
0
],
"vae": [
"285:29",
0
]
},
"_meta": {
"title": "VAE Decode"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)질문과 답변
얼굴 특징이 선명한 인물 사진이 이상적이며, 워크플로가 얼굴 디테일 개선과 업스케일링에 최적화되어 있습니다.
네. 얼굴 특징을 개선할 수 있는 형태라면 비인간 캐릭터에도 효과적으로 적용할 수 있습니다.
denoise 값이 높을수록 얼굴에 더 큰 변화가 생기며, 더 강한 개선 효과를 얻을 수 있습니다.
특징 토글과 denoise 설정을 조정하거나, 원하는 결과에 맞게 입력 프롬프트를 더 구체적으로 다듬어 보세요.
관련 워크플로
- ZZ-Image-Turbo
1.1 Starter - Text to Image
- ZZ-Image-Turbo
2.1 Creator - 디퓨전 기초
- ZZ-Image-Turbo
2.2 Creator - 디퓨전 가이드
- ZZ-Image-Turbo
2.3 Creator: 이미지 업스케일 & 분석
- Wan2.2, Z-Image-Turbo
AIrt MAchIne
- Google Gemini, Kling 3.0, Z-Image-Turbo
AIrt MAchIne(API 버전)
- ZZ-Image-Turbo
Text to Image (New)
- ZZ-Image-Turbo
Z-Image-Turbo 제어 이미지 생성
- ZZ-Image-Turbo
Z-Image-Turbo: 텍스트 기반 이미지 생성
- ZZ-Image-Turbo
Z-Image-Turbo_Oldschool-Hud-Graphics
- ZZ-Image-Turbo
노드 전환
- Grok, Z-Image-Turbo
리얼한 2K 이미지 - 빠른 변형