캐릭터 ×4 장면 탐색
레퍼런스 이미지를 업로드하고 1x4 그리드를 생성합니다. 원하는 이미지를 선택하고 Nano Banana Pro로 업스케일/개선합니다.
정보
'Character × 4 Scene Explorer' 워크플로는 단일 레퍼런스 이미지를 기반으로 다양한 캐릭터 이미지를 생성할 수 있도록 설계되었습니다. 이 워크플로는 Google Gemini Image 및 Nano Banana Pro 모델을 활용해 캐릭터 변형 1x4 그리드를 생성합니다. LoadImage 및 GeminiImage2Node 같은 노드를 사용해 먼저 입력 이미지를 처리하고, 네 개의 서로 다른 캐릭터 장면을 만듭니다. 생성 후에는 선호하는 이미지를 선택해 Nano Banana Pro 모델로 추가 개선 및 업스케일링을 수행하여 고품질 출력을 확보할 수 있습니다.
기술적으로 이 워크플로는 comfyui-kjnodes 및 comfyui_essentials의 노드를 포함한 여러 커스텀 노드를 사용해 이미지 처리 및 개선 작업을 간소화합니다. Reroute, PrimitiveInt, RegexReplace 같은 노드는 데이터 흐름을 관리하고 입력을 효율적으로 변환하는 데 사용됩니다. 이 워크플로는 여러 캐릭터 디자인 옵션을 빠르게 탐색하려는 아티스트와 디자이너에게 특히 유용하며, 생성 및 개선 과정을 자동화해 시간을 절약하고 창작 탐색을 돕습니다.
제공할 항목
- 워크플로 읽는 중
ComfyUI에서 실행됩니다. 이 워크플로는 이 페이지에서 실행할 수 없습니다. 모든 항목이 로드된 Comfy Cloud에서 열거나, 자체 ComfyUI에서 사용하려면 다운로드하세요.
Cloud에서 사용해 보기워크플로 내부
노드 그래프의 읽기 전용 미리보기입니다. 노드를 편집하려면 Comfy Cloud에서 열거나 다운로드하세요.
Loading the graph
Open full-size workflow preview- 작성자
- Rob
사용자 지정 노드 필요
- 워크플로 읽는 중
코드에서 이 워크플로 사용하기
가능한 경우 워크플로 그래프와 입력을 기반으로 생성되며, 그렇지 않은 경우 저장된 예시가 표시됩니다. 비용이 발생할 수 있으므로 코드를 실행하기 전에 자격 증명과 엔드포인트를 검토하세요.
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({
"1": {
"class_type": "LoadImage",
"inputs": {
"image": "cube_robot.jpg"
},
"_meta": {
"title": "Load Image"
}
},
"2": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "9:16",
"images": [
"1",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": [
"24",
0
],
"resolution": "4K",
"response_modalities": "IMAGE+TEXT",
"seed": 123,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"3": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-split_stack",
"images": [
"2",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"10": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-image_1",
"images": [
"7:29",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"11": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-image_2",
"images": [
"7:101",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"12": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-image_2",
"images": [
"7:187",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"13": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-image_1",
"images": [
"7:145",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"15": {
"class_type": "GeminiImage2Node",
"inputs": {
"aspect_ratio": "16:9",
"images": [
"14:78",
0
],
"model": "gemini-3-pro-image-preview",
"prompt": "Upscale image 1 and add subtle details. Crop if necessary.",
"resolution": "4K",
"response_modalities": "IMAGE+TEXT",
"seed": 321,
"system_prompt": "You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
},
"_meta": {
"title": "Nano Banana Pro (Google Gemini Image)"
}
},
"16": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-selected_image-upscaled",
"images": [
"15",
0
]
},
"_meta": {
"title": "Save Upscaled Image"
}
},
"18": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-selected_image",
"images": [
"14:78",
0
]
},
"_meta": {
"title": "Save Selected Image"
}
},
"21": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 1
},
"_meta": {
"title": "Select Image Number"
}
},
"22": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "The subject is inside a giant computer motherboard landscape - towering capacitors, circuit trace pathways like roads, and LED lights creating a Tron-like microverse where the robot fits the scale perfectly. Dark eerie atmosphere."
},
"_meta": {
"title": "Describe the Scene"
}
},
"23": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Use the input image. Divide the frame in 4 different stacked 16:9 frames.\nFor each frame choose the angle and type of shot (close up, extreme close up, dutch, over-shoulder, wide shot, Cowboy shot, full shot, etc).\n\nEnsure that subject is present in each frame and the environment is consistent between frames:\n{scene}"
},
"_meta": {
"title": "Prompt Template"
}
},
"24": {
"class_type": "RegexReplace",
"inputs": {
"case_insensitive": True,
"count": 0,
"dotall": False,
"multiline": False,
"regex_pattern": "{scene}",
"replace": [
"22",
0
],
"string": [
"23",
0
]
},
"_meta": {
"title": "Replace Text (Regex)"
}
},
"14:78": {
"class_type": "ImageFromBatch",
"inputs": {
"batch_index": [
"14:89",
0
],
"image": [
"7:333",
0
],
"length": 1
},
"_meta": {
"title": "Get Image from Batch"
}
},
"14:83": {
"class_type": "ResizeAndPadImage",
"inputs": {
"image": [
"1",
0
],
"interpolation": "area",
"padding_color": "white",
"target_height": [
"14:86",
1
],
"target_width": [
"14:86",
0
]
},
"_meta": {
"title": "Resize And Pad Image"
}
},
"14:86": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"14:78",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"14:87": {
"class_type": "ImageBatch",
"inputs": {
"image1": [
"14:78",
0
],
"image2": [
"14:83",
0
]
},
"_meta": {
"title": "Batch Images (DEPRECATED)"
}
},
"14:89": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"21",
0
],
"b": 0,
"value": "a - 1"
},
"_meta": {
"title": "Image # as index"
}
},
"7:101": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"7:66",
0
],
"image": [
"2",
0
],
"width": [
"7:65",
0
],
"x": 0,
"y": [
"7:63",
0
]
},
"_meta": {
"title": "2"
}
},
"7:109": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"7:101",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"7:136": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"7:145",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"7:144": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"7:66",
0
],
"b": 0,
"value": "2*a"
},
"_meta": {
"title": "Row 3 - Y val"
}
},
"7:145": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"7:66",
0
],
"image": [
"2",
0
],
"width": [
"7:65",
0
],
"x": 0,
"y": [
"7:144",
0
]
},
"_meta": {
"title": "3"
}
},
"7:164": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"7:187",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"7:172": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"7:66",
0
],
"b": 0,
"value": "3*a"
},
"_meta": {
"title": "Row 4 - Y val"
}
},
"7:18": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"2",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"7:187": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"7:66",
0
],
"image": [
"2",
0
],
"width": [
"7:65",
0
],
"x": 0,
"y": [
"7:172",
0
]
},
"_meta": {
"title": "4"
}
},
"7:29": {
"class_type": "ImageCrop",
"inputs": {
"height": [
"7:66",
0
],
"image": [
"2",
0
],
"width": [
"7:65",
0
],
"x": 0,
"y": 0
},
"_meta": {
"title": "1"
}
},
"7:32": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"7:29",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"7:333": {
"class_type": "ImageBatchMulti",
"inputs": {
"image_1": [
"7:29",
0
],
"image_2": [
"7:101",
0
],
"image_3": [
"7:145",
0
],
"image_4": [
"7:187",
0
],
"inputcount": 4
},
"_meta": {
"title": "Image Batch Multi"
}
},
"7:353": {
"class_type": "SimpleMath+",
"inputs": {
"a": 0,
"b": 0,
"value": "(2*a) + (3*b)"
},
"_meta": {
"title": "Row 3 - Y val"
}
},
"7:63": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"7:66",
0
],
"b": 0,
"value": "a"
},
"_meta": {
"title": "Row 2 - Y val"
}
},
"7:65": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"7:18",
0
],
"b": 0,
"value": "a"
},
"_meta": {
"title": "WIDTH"
}
},
"7:66": {
"class_type": "SimpleMath+",
"inputs": {
"a": [
"7:18",
1
],
"b": 0,
"value": "a / 4"
},
"_meta": {
"title": "HEIGHT"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)질문과 답변
네, 어떤 이미지든 레퍼런스로 업로드할 수 있지만, 결과는 이미지의 품질과 콘텐츠에 따라 달라질 수 있습니다.
다른 파라미터로 워크플로를 다시 실행하거나 새로운 레퍼런스 이미지로 재실행해 새로운 변형을 생성할 수 있습니다.
Nano Banana Pro 모델은 이미지를 개선하고 업스케일링하여 디테일과 해상도를 향상시키고, 마감된 최종 출력에 가깝게 만듭니다.
네. 단계별 안내가 포함되어 있어 사용자가 과정을 따라가며 실행할 수 있도록 사용자 친화적으로 설계되었습니다.
관련 워크플로
- Google, Google Gemini Image, Nano Banana Pro
도면으로 브랜드 패키지 생성
- Google Gemini Image, Nano Banana Pro, Google, Gemini3 Pro Image Preview
셀카 + 텍스트 프롬프트에서 스튜디오 포토슛 낙서로
- Google Gemini Image, Nano Banana Pro, Google, Kling, Kling O1, OpenAI
캐릭터·액세서리로 패션영상
- Nano Banana Pro, Google, Google Gemini Image
패션 에디토리얼 샷
- ZZ-Image-Turbo
1.1 Starter - Text to Image
- ZZ-Image-Turbo
2.1 Creator - 디퓨전 기초
- Nano Banana 2 Text-to-Image
3x3 Contact Sheet
- 파파트너 노드
AI on the Lot 2026 - Z-Image Turbo - t2i
- 파파트너 노드
Anima Base v1: 텍스트 → 이미지
- CChroma
Chroma1 Radiance 텍스트 기반 이미지 생성
- CChroma, Flux
Chroma: 텍스트 기반 이미지 생성
- Flux, Flux.1
FLUX.1 [Pro]:텍스트 기반 이미지 생성