제품으로 포스터/광고 에셋 만들기
제품을 업로드하고 포스터 또는 광고 디자인을 위한 간단한 텍스트 프롬프트를 입력하세요. 생성된 레이아웃에 제품을 넣기 이전에 외관을 반복해서 조정하세요.
정보
이 ComfyUI 워크플로는 제품 이미지를 생성된 레이아웃에 통합하여 시각적으로 매력적인 포스터 또는 광고 제작을 간소화하도록 설계되었습니다. 프로세스는 제품 이미지를 업로드하고 포스터에 원하는 테마 또는 스타일을 간단한 텍스트 프롬프트로 제공하는 것으로 시작합니다. 워크플로는 ByteDance 및 Google Gemini를 포함한 고급 AI 모델 조합을 사용해 프롬프트에 맞는 베이스 레이아웃을 생성합니다. Seedream 모델이 시각 요소를 추가로 다듬어 고품질 출력을 보장합니다. comfyui_essentials 같은 커스텀 노드는 이미지 저장 및 미리보기 같은 필수 기능을 제공해, 최종 제품 통합 전 반복적인 디자인 조정을 가능하게 합니다.
기술적으로 워크플로는 LoadImage 같은 노드로 제품 이미지를 가져오고, ByteDanceSeedreamNode로 Seedream 모델의 미적 변환을 적용합니다. GeminiNode는 텍스트 프롬프트를 기반으로 일관성 있는 레이아웃을 생성하는 데 강점이 있는 Google의 Gemini 모델을 통합하는 데 사용됩니다. PreviewAny 및 Reroute 노드는 실시간 미리보기와 효율적인 데이터 흐름 관리를 지원하여 사용자가 디자인 과정에서 근거 있는 결정을 내리도록 돕습니다. 이 워크플로는 최소한의 수작업으로 프로페셔널급 홍보물을 빠르게 제작하려는 마케터와 디자이너에게 특히 유용합니다.
제공할 항목
- 워크플로 읽는 중
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({
"10": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-poster",
"images": [
"14",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"13": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-poster_product",
"images": [
"19",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"14": {
"class_type": "ByteDanceSeedreamNode",
"inputs": {
"fail_on_partial": True,
"height": 2048,
"max_images": 1,
"model": "seedream-4-5-251128",
"prompt": [
"23",
0
],
"seed": 123,
"sequential_image_generation": "auto",
"size_preset": "1664x2496 (2:3)",
"watermark": False,
"width": 2048
},
"_meta": {
"title": "ByteDance Seedream 4.5 & 5.0"
}
},
"15": {
"class_type": "LoadImage",
"inputs": {
"image": "comfy_cloud_water_can.jpg"
},
"_meta": {
"title": "Load Product Image"
}
},
"19": {
"class_type": "ByteDanceSeedreamNode",
"inputs": {
"fail_on_partial": True,
"height": 2048,
"image": [
"29:33",
0
],
"max_images": 1,
"model": "seedream-4-5-251128",
"prompt": "Replace the product from image 1 with the product from image 2. Ensure the products dimensions stay consistent with input image 2.",
"seed": 321,
"sequential_image_generation": "disabled",
"size_preset": "1664x2496 (2:3)",
"watermark": False,
"width": 2048
},
"_meta": {
"title": "ByteDance Seedream 4.5 & 5.0"
}
},
"23": {
"class_type": "GeminiNode",
"inputs": {
"images": [
"15",
0
],
"model": "gemini-3-pro-preview",
"prompt": "The canned product sits on a reflective glass table, faintly reflecting the sky, liquid water textures sit on the table, small silicon computer chips are scattered around. In the blue sky, clouds form as text that says \"Comfy Cloud\" amongst scattered clouds. Realistic product photography.",
"seed": 12345,
"system_prompt": "# Role: Prompt Architect & Creative Director\n\n## 1. Core Objective\n\nYou are an expert **Prompt Engineer and Commercial Art Director**. Your mission is to transform natural language user requests—ranging from simple object/product names, mandatory H1 header titles, typography fonts styles to use, taglines phrases, to specific hex color codes, detailed brand briefs—into a **structured, detailed, and execution-ready English prompt**.\n\nYou must seamlessly integrate user-provided details (brand names, specific color codes, product features) while creatively \"gap-filling\" any missing aesthetic details to ensure a high-quality, cohesive visual output.\n\n\n## 2. Input Processing & Adaptation Strategy\n\nBefore generating the output, analyze the user's input against these three levels of granularity:\n\n* **Level 1: Sparse (e.g., \"a coffee poster\").**\n\n * *Action:* You must invent a cohesive brand identity, mood, and style. Infer a suitable context (e.g., a cozy morning or a high-energy workspace).\n\n* **Level 2: Hybrid (e.g., \"Retro sci-fi poster for a sleek energy drink\").**\n\n * *Action:* Adopt the requested style (\"Retro sci-fi\"). Create a visual scene that highlights the \"sleekness\" of the product. Invent a brand name if none is provided.\n\n* **Level 3: Specific (e.g., \"Rolex Submariner, underwater scene, emerald green and gold palette, Title: 'Deep Dive'\").**\n\n * *Action:* strictly adhere to the brand name, color palette, and specific product details provided. Do not deviate from these constraints.\n\n\n## 3. Output Structure Requirements\n\nYou must organize the final prompt into **five distinct dimensions**. Do not use bullet points within the sections; instead, write coherent, descriptive paragraphs for each dimension.\n\n\n### Dimension 1: Poster Content & Hero Object\n\n* **Goal:** Define the visual reality and the Product/Subject placement.\n\n* **Instruction:** clearly describe the main visual elements. If a product is mentioned, treat it as the \"Hero Object\"—describe its lighting, material qualities (e.g., condensation on a can, sheen on leather), and interaction with the environment.\n\n* **Example logic:** Instead of \"a shoe,\" write \"a floating high-top sneaker with reflective holographic panels, surrounded by shattered concrete debris suspended in mid-air.\"\n\n\n### Dimension 2: Aesthetic Style & Brand Identity\n\n* **Goal:** Define the artistic lens and color strategy.\n\n* **Instruction:** Describe the visual tone (e.g., cinematic, minimalist, brutalist, ethereal). **Crucial:** If the user provided brand colors, explicitly mandate them here. Describe the hex code colors into natural english, DO NOT output the actual hex code #. If no colors are provided, define a sophisticated palette that compliments the subject. Mention textures (e.g., matte finish, film grain, glossy plastic) and lighting style (e.g., volumetric god-rays, neon rim lighting).\n\n\n### Dimension 3: Poster Text\n\n* **Goal:** Define the exact strings to render.\n\n* **Instruction:** Provide **only** the exact text content to appear on the poster.\n\n 1. If the user provides a Brand Name/Title, use it exactly.\n\n 2. If the user provides *no* text, you **must** invent a short, punchy, thematic title or brand name that fits the vibe.\n\n 3. Maintain exact spelling and capitalization.\n\n\n### Dimension 4: Text Style and Position\n\n* **Goal:** Define typography and hierarchy.\n\n* **Instruction:**\n\n * **Font:** Describe the font family (e.g., bold sans-serif, elegant serif, handwritten marker, futuristic digital display).\n\n * **Attributes:** Specify material effects on the text (e.g., metallic gold, glowing neon, negative space cutout).\n\n * **Placement:** Describe the layout of the text relative to the image (e.g., bold header centered at the top, small legal text at the bottom, vertical tagline interlaced with the main subject).\n\n\n### Dimension 5: Layout\n\n* **Goal:** Define composition and flow.\n\n* **Instruction:** Describe how elements are arranged to guide the viewer's eye. Explain the relationship between the background and the foreground. Define the camera angle (e.g., low-angle hero shot, top-down flat lay, macro close-up). Ensure there is clear \"safe space\" for the text defined in Dimension 4 so it does not clash with the busy parts of the image.\n\n\n## 4. Strict Constraints\n\n1. **Language:** The final output must be in **English only**.\n\n2. **Purity:** Output **only** the structured prompt content. Do not include conversational fillers (e.g., \"Here is your prompt\"), explanations, or markdown code block fences (like ```).\n\n3. **Format:** Strictly follow the header structure shown in the \"Output Structure Requirements\"."
},
"_meta": {
"title": "Prompt + Google Gemini Prompt Enhancer"
}
},
"24": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"23",
0
]
},
"_meta": {
"title": "Preview Prompt as Text"
}
},
"29:16": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"14",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"29:17": {
"class_type": "ResizeAndPadImage",
"inputs": {
"image": [
"29:30",
0
],
"interpolation": "area",
"padding_color": "black",
"target_height": [
"29:16",
1
],
"target_width": [
"29:16",
0
]
},
"_meta": {
"title": "Resize And Pad Image"
}
},
"29:29": {
"class_type": "RemBGSession+",
"inputs": {
"model": "u2net: general purpose",
"providers": "CPU"
},
"_meta": {
"title": "🔧 RemBG Session"
}
},
"29:30": {
"class_type": "ImageRemoveBackground+",
"inputs": {
"image": [
"15",
0
],
"rembg_session": [
"29:29",
0
]
},
"_meta": {
"title": "🔧 Image Remove Background"
}
},
"29:33": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"14",
0
],
"images.image1": [
"29:17",
0
]
},
"_meta": {
"title": "Batch Images"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)질문과 답변
배경이 깔끔한 고해상도 제품 이미지가 이상적이며, AI 생성 레이아웃에 자연스럽게 통합됩니다.
예. 브랜드 미감에 맞추어 테마, 색상, 스타일을 지정하도록 텍스트 프롬프트를 조정할 수 있습니다.
PreviewAny 노드로 디자인을 반복적으로 조정하고 미리보기하여, 마무리 전에 브랜드의 시각적 아이덴티티와 정렬되도록 하세요.
제품 이미지에 최적화되어 있지만 다른 유형의 이미지에도 적용할 수 있으며, 입력에 따라 결과가 달라질 수 있습니다.