제품 배치 (FLUX.2 Klein)
최대 3장의 제품 사진과 참조 구도를 넣으면, 이 워크플로가 참조에 맞는 라벨 텍스트, 패키징 디테일, 조명을 유지한 채 제품을 장면에 배치합니다. 완전 오픈소스 스택: Qwen3-VL이 입력을 읽고 편집 프롬프트를 작성하며, FLUX.2 Klein 9B가 멀티 이미지 합성을 처리하고, LTX-2.3이 최종 배치를 제품 스팟으로 애니메이트합니다. 배치 연결 및 자동 스케일링으로 어떤 해상도에서도 입력을 선명하게 유지합니다. Comfy Cloud에서 기본으로 실행되며, 로컬 하드웨어에서도 실행 가능합니다. 폐쇄형 API 없음.
정보
이 ComfyUI 워크플로는 오픈소스 스택으로 사실적인 제품 배치를 자동화합니다. 최대 3장의 제품 사진과 참조 구도를 제공하면, 그래프가 텍스트를 인지하는 디테일과 참조를 따르는 조명으로 제품을 장면에 배치합니다. Qwen3-VL 단계가 입력을 점검해 컨텍스트가 풍부한 편집 프롬프트를 작성하고, FLUX.2 Klein 9B가 멀티 이미지 합성을 수행하며, LTX-2.3이 최종 스틸을 짧고 정리된 제품 스팟 비디오로 만듭니다. LoadImage, PreviewImage, PreviewAny, BatchImagesNode, StringConcatenate, SaveVideo 같은 핵심 유틸 노드로 반복 작업 및 내보내기가 쉽습니다.
기술적으로 제품 및 참조 이미지는 로드된 뒤 배치 처리되고 자동 스케일링되어, 소스 해상도와 관계없이 FLUX.2 Klein이 선명하고 일관된 입력을 받습니다. 프롬프트는 Qwen3-VL이 StringConcatenate로 유도되어 조립한 뒤 FLUX.2 샘플러로 전달되어 배치, 라벨 정확도, 장면 조명을 조건화합니다. PreviewImage/PreviewAny에서 합성을 승인하면 LTX-2.3이 최종 배치로부터 짧은 모션 세그먼트를 생성하고 SaveVideo가 결과를 디스크에 저장합니다. 커스텀 추론 노드(461b058e-342d-497e-aac1-a5fb6551e33a, fdd45ff8-8dff-43e8-b2c0-2d26053388b8, 6dbca6ef-ca4b-4af8-a99b-b834745f3a9b, 5c2c98c8-2e8f-47ca-9403-686e35a5ef94, 04e3b3b1-a711-485c-be05-f59f9507bd4e, ffacbfba-7659-45df-a3b8-7560f4800088)가 모델 러너와 스케일링/조건화 로직을 캡슐화하므로, 완전히 로컬 또는 Comfy Cloud에서 실행할 수 있으며 폐쇄형 API가 필요 없습니다.
제공할 항목
- 워크플로 읽는 중
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({
"1": {
"class_type": "LoadImage",
"inputs": {
"image": "product_1_product_placement.png"
},
"_meta": {
"title": "Load Image"
}
},
"2": {
"class_type": "LoadImage",
"inputs": {
"image": "560d57478ab8e80911888d2761ec1e84256eb5b8d773aa46a0beb40c0d5c74f9.png"
},
"_meta": {
"title": "Load Image"
}
},
"3": {
"class_type": "LoadImage",
"inputs": {
"image": "product_3_product_placement.png"
},
"_meta": {
"title": "Load Image"
}
},
"5": {
"class_type": "LoadImage",
"inputs": {
"image": "reference_image_product_placement.png"
},
"_meta": {
"title": "Load Image (Composition)"
}
},
"7": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"203:65",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"11": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"327:218",
0
]
},
"_meta": {
"title": "Preview as Text"
}
},
"326": {
"class_type": "SaveVideo",
"inputs": {
"filename_prefix": "video/LTX_2.3_i2v",
"format": "auto",
"format.codec": "auto",
"video": [
"325:310",
0
]
},
"_meta": {
"title": "Save Video"
}
},
"353": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"355:352",
1
]
},
"_meta": {
"title": "Preview as Text"
}
},
"354": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"355:351",
1
]
},
"_meta": {
"title": "Preview as Text"
}
},
"369": {
"class_type": "StringConcatenate",
"inputs": {
"delimiter": "",
"string_a": [
"373:372",
0
],
"string_b": [
"379:378",
0
]
},
"_meta": {
"title": "Concatenate Text"
}
},
"370": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"369",
0
]
},
"_meta": {
"title": "Preview as Text"
}
},
"374": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"373:372",
0
]
},
"_meta": {
"title": "Preview as Text"
}
},
"376": {
"class_type": "BatchImagesNode",
"inputs": {
"images.image0": [
"1",
0
],
"images.image1": [
"2",
0
],
"images.image2": [
"3",
0
]
},
"_meta": {
"title": "Batch Images"
}
},
"380": {
"class_type": "PreviewAny",
"inputs": {
"source": [
"379:378",
0
]
},
"_meta": {
"title": "Preview as Text"
}
},
"203:100": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"203:80",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"203:122": {
"class_type": "ReferenceLatent",
"inputs": {
"conditioning": [
"203:67",
0
],
"latent": [
"203:123",
0
]
},
"_meta": {
"title": "Set Reference Latent"
}
},
"203:123": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"203:80",
0
],
"vae": [
"203:202",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"203:124": {
"class_type": "ReferenceLatent",
"inputs": {
"conditioning": [
"203:74",
0
],
"latent": [
"203:123",
0
]
},
"_meta": {
"title": "Set Reference Latent"
}
},
"203:202": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "full_encoder_small_decoder.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"203:328": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"2",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "lanczos"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"203:329": {
"class_type": "ReferenceLatent",
"inputs": {
"conditioning": [
"203:122",
0
],
"latent": [
"203:330",
0
]
},
"_meta": {
"title": "Set Reference Latent"
}
},
"203:330": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"203:328",
0
],
"vae": [
"203:202",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"203:331": {
"class_type": "ReferenceLatent",
"inputs": {
"conditioning": [
"203:124",
0
],
"latent": [
"203:330",
0
]
},
"_meta": {
"title": "Set Reference Latent"
}
},
"203:332": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"3",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "lanczos"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"203:333": {
"class_type": "ReferenceLatent",
"inputs": {
"conditioning": [
"203:329",
0
],
"latent": [
"203:334",
0
]
},
"_meta": {
"title": "Set Reference Latent"
}
},
"203:334": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"203:332",
0
],
"vae": [
"203:202",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"203:335": {
"class_type": "ReferenceLatent",
"inputs": {
"conditioning": [
"203:331",
0
],
"latent": [
"203:334",
0
]
},
"_meta": {
"title": "Set Reference Latent"
}
},
"203:336": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"5",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "lanczos"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"203:337": {
"class_type": "ReferenceLatent",
"inputs": {
"conditioning": [
"203:333",
0
],
"latent": [
"203:338",
0
]
},
"_meta": {
"title": "Set Reference Latent"
}
},
"203:338": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"203:336",
0
],
"vae": [
"203:202",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"203:339": {
"class_type": "ReferenceLatent",
"inputs": {
"conditioning": [
"203:335",
0
],
"latent": [
"203:338",
0
]
},
"_meta": {
"title": "Set Reference Latent"
}
},
"203:61": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler"
},
"_meta": {
"title": "KSamplerSelect"
}
},
"203:62": {
"class_type": "Flux2Scheduler",
"inputs": {
"height": [
"203:100",
1
],
"steps": 20,
"width": [
"203:100",
0
]
},
"_meta": {
"title": "Flux2Scheduler"
}
},
"203:63": {
"class_type": "CFGGuider",
"inputs": {
"cfg": 5,
"model": [
"203:70",
0
],
"negative": [
"203:337",
0
],
"positive": [
"203:339",
0
]
},
"_meta": {
"title": "CFG Guider"
}
},
"203:64": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"203:63",
0
],
"latent_image": [
"203:66",
0
],
"noise": [
"203:73",
0
],
"sampler": [
"203:61",
0
],
"sigmas": [
"203:62",
0
]
},
"_meta": {
"title": "SamplerCustomAdvanced"
}
},
"203:65": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"203:64",
0
],
"vae": [
"203:202",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"203:66": {
"class_type": "EmptyFlux2LatentImage",
"inputs": {
"batch_size": 1,
"height": [
"203:100",
1
],
"width": [
"203:100",
0
]
},
"_meta": {
"title": "Empty Flux 2 Latent"
}
},
"203:67": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"203:71",
0
],
"text": ""
},
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"203:70": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "flux-2-klein-base-9b-fp8.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"203:71": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_3_8b_fp8mixed.safetensors",
"device": "default",
"type": "flux2"
},
"_meta": {
"title": "Load CLIP"
}
},
"203:73": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 1037480697784329
},
"_meta": {
"title": "RandomNoise"
}
},
"203:74": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"203:71",
0
],
"text": [
"369",
0
]
},
"_meta": {
"title": "CLIP Text Encode (Positive Prompt)"
}
},
"203:80": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"1",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "lanczos"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"325:276": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 42
},
"_meta": {
"title": "RandomNoise"
}
},
"325:277": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 305513163395821
},
"_meta": {
"title": "RandomNoise"
}
},
"325:278": {
"class_type": "LTXVConcatAVLatent",
"inputs": {
"audio_latent": [
"325:307",
1
],
"video_latent": [
"325:288",
0
]
},
"_meta": {
"title": "Concat AV Latent"
}
},
"325:279": {
"class_type": "LTXVAudioVAELoader",
"inputs": {
"ckpt_name": "ltx-2.3-22b-distilled-fp8.safetensors"
},
"_meta": {
"title": "Load LTXV Audio VAE"
}
},
"325:280": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler_cfg_pp"
},
"_meta": {
"title": "KSamplerSelect"
}
},
"325:281": {
"class_type": "ManualSigmas",
"inputs": {
"sigmas": "0.85, 0.7250, 0.4219, 0.0"
},
"_meta": {
"title": "ManualSigmas"
}
},
"325:282": {
"class_type": "CFGGuider",
"inputs": {
"cfg": 1,
"model": [
"325:285",
0
],
"negative": [
"325:284",
1
],
"positive": [
"325:284",
0
]
},
"_meta": {
"title": "CFG Guider"
}
},
"325:283": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"325:314",
0
],
"latent_image": [
"325:318",
0
],
"noise": [
"325:277",
0
],
"sampler": [
"325:291",
0
],
"sigmas": [
"325:306",
0
]
},
"_meta": {
"title": "SamplerCustomAdvanced"
}
},
"325:284": {
"class_type": "LTXVCropGuides",
"inputs": {
"latent": [
"325:307",
0
],
"negative": [
"325:304",
1
],
"positive": [
"325:304",
0
]
},
"_meta": {
"title": "LTXVCropGuides"
}
},
"325:285": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "ltx-2.3-22b-distilled-lora-384-1.1.safetensors",
"model": [
"325:316",
0
],
"strength_model": 0.5
},
"_meta": {
"title": "Load LoRA"
}
},
"325:286": {
"class_type": "ResizeImagesByLongerEdge",
"inputs": {
"images": [
"325:290",
0
],
"longer_edge": 1536
},
"_meta": {
"title": "Resize Images by Longer Edge (DEPRECATED)"
}
},
"325:287": {
"class_type": "LTXVLatentUpsampler",
"inputs": {
"samples": [
"325:307",
0
],
"upscale_model": [
"325:311",
0
],
"vae": [
"325:316",
2
]
},
"_meta": {
"title": "LTXVLatentUpsampler"
}
},
"325:288": {
"class_type": "LTXVImgToVideoInplace",
"inputs": {
"bypass": [
"325:302",
0
],
"image": [
"325:289",
0
],
"latent": [
"325:287",
0
],
"strength": 1,
"vae": [
"325:316",
2
]
},
"_meta": {
"title": "LTXVImgToVideoInplace"
}
},
"325:289": {
"class_type": "LTXVPreprocess",
"inputs": {
"image": [
"325:286",
0
],
"img_compression": 18
},
"_meta": {
"title": "LTXV Preprocess"
}
},
"325:290": {
"class_type": "ResizeImageMaskNode",
"inputs": {
"input": [
"203:65",
0
],
"resize_type": "scale dimensions",
"resize_type.crop": "center",
"resize_type.height": [
"325:299",
0
],
"resize_type.width": [
"325:312",
0
],
"scale_method": "lanczos"
},
"_meta": {
"title": "Resize Image/Mask"
}
},
"325:291": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler_ancestral_cfg_pp"
},
"_meta": {
"title": "KSamplerSelect"
}
},
"325:292": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a/2",
"values.a": [
"325:312",
0
]
},
"_meta": {
"title": "Math Expression"
}
},
"325:294": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a/2",
"values.a": [
"325:299",
0
]
},
"_meta": {
"title": "Math Expression"
}
},
"325:295": {
"class_type": "EmptyLTXVLatentVideo",
"inputs": {
"batch_size": 1,
"height": [
"325:294",
1
],
"length": [
"325:323",
1
],
"width": [
"325:292",
1
]
},
"_meta": {
"title": "Empty LTXV Latent Video"
}
},
"325:296": {
"class_type": "LTXVImgToVideoInplace",
"inputs": {
"bypass": [
"325:302",
0
],
"image": [
"325:289",
0
],
"latent": [
"325:295",
0
],
"strength": 0.7,
"vae": [
"325:316",
2
]
},
"_meta": {
"title": "LTXVImgToVideoInplace"
}
},
"325:297": {
"class_type": "LTXVAudioVAEDecode",
"inputs": {
"audio_vae": [
"325:279",
0
],
"samples": [
"325:309",
1
]
},
"_meta": {
"title": "LTXV Audio VAE Decode"
}
},
"325:298": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a",
"values.a": [
"325:300",
0
]
},
"_meta": {
"title": "Math Expression"
}
},
"325:299": {
"class_type": "PrimitiveInt",
"inputs": {
"value": [
"355:352",
1
]
},
"_meta": {
"title": "Height"
}
},
"325:300": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 25
},
"_meta": {
"title": "Frame Rate"
}
},
"325:301": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 5
},
"_meta": {
"title": "Duration"
}
},
"325:302": {
"class_type": "PrimitiveBoolean",
"inputs": {
"value": False
},
"_meta": {
"title": "Switch to Text to Video?"
}
},
"325:303": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"325:317",
0
],
"text": [
"325:319",
0
]
},
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"325:304": {
"class_type": "LTXVConditioning",
"inputs": {
"frame_rate": [
"325:298",
0
],
"negative": [
"325:313",
0
],
"positive": [
"325:303",
0
]
},
"_meta": {
"title": "LTXVConditioning"
}
},
"325:305": {
"class_type": "LTXVEmptyLatentAudio",
"inputs": {
"audio_vae": [
"325:279",
0
],
"batch_size": 1,
"frame_rate": [
"325:298",
1
],
"frames_number": [
"325:323",
1
]
},
"_meta": {
"title": "Empty LTXV Latent Audio"
}
},
"325:306": {
"class_type": "ManualSigmas",
"inputs": {
"sigmas": "1.0, 0.99375, 0.9875, 0.98125, 0.975, 0.909375, 0.725, 0.421875, 0.0"
},
"_meta": {
"title": "ManualSigmas"
}
},
"325:307": {
"class_type": "LTXVSeparateAVLatent",
"inputs": {
"av_latent": [
"325:283",
0
]
},
"_meta": {
"title": "Separate AV Latent"
}
},
"325:308": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"guider": [
"325:282",
0
],
"latent_image": [
"325:278",
0
],
"noise": [
"325:276",
0
],
"sampler": [
"325:280",
0
],
"sigmas": [
"325:281",
0
]
},
"_meta": {
"title": "SamplerCustomAdvanced"
}
},
"325:309": {
"class_type": "LTXVSeparateAVLatent",
"inputs": {
"av_latent": [
"325:308",
0
]
},
"_meta": {
"title": "Separate AV Latent"
}
},
"325:310": {
"class_type": "CreateVideo",
"inputs": {
"audio": [
"325:297",
0
],
"bit_depth": 8,
"codec": "none",
"color_space": "sRGB",
"fps": [
"325:298",
0
],
"images": [
"325:315",
0
]
},
"_meta": {
"title": "Create Video"
}
},
"325:311": {
"class_type": "LatentUpscaleModelLoader",
"inputs": {
"model_name": "ltx-2.3-spatial-upscaler-x2-1.1.safetensors"
},
"_meta": {
"title": "Load Latent Upscale Model"
}
},
"325:312": {
"class_type": "PrimitiveInt",
"inputs": {
"value": [
"355:351",
1
]
},
"_meta": {
"title": "Width"
}
},
"325:313": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"325:317",
0
],
"text": "pc game, console game, video game, cartoon, childish, ugly"
},
"_meta": {
"title": "CLIP Text Encode (Prompt)"
}
},
"325:314": {
"class_type": "CFGGuider",
"inputs": {
"cfg": 1,
"model": [
"325:285",
0
],
"negative": [
"325:304",
1
],
"positive": [
"325:304",
0
]
},
"_meta": {
"title": "CFG Guider"
}
},
"325:315": {
"class_type": "VAEDecodeTiled",
"inputs": {
"overlap": 64,
"samples": [
"325:309",
0
],
"temporal_overlap": 4,
"temporal_size": 4096,
"tile_size": 768,
"vae": [
"325:316",
2
]
},
"_meta": {
"title": "VAE Decode (Tiled)"
}
},
"325:316": {
"class_type": "CheckpointLoaderSimple",
"inputs": {
"ckpt_name": "ltx-2.3-22b-distilled-fp8.safetensors"
},
"_meta": {
"title": "Load Checkpoint"
}
},
"325:317": {
"class_type": "LTXAVTextEncoderLoader",
"inputs": {
"ckpt_name": "ltx-2.3-22b-distilled-fp8.safetensors",
"device": "default",
"text_encoder": "gemma_3_12B_it_fp4_mixed.safetensors"
},
"_meta": {
"title": "Load LTXV Audio Text Encoder"
}
},
"325:318": {
"class_type": "LTXVConcatAVLatent",
"inputs": {
"audio_latent": [
"325:305",
0
],
"video_latent": [
"325:296",
0
]
},
"_meta": {
"title": "Concat AV Latent"
}
},
"325:319": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": [
"327:218",
0
]
},
"_meta": {
"title": "Prompt"
}
},
"325:323": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "a * b + 1",
"values.a": [
"325:301",
0
],
"values.b": [
"325:300",
0
]
},
"_meta": {
"title": "Math Expression (length)"
}
},
"327:217": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_8b_nvfp4.safetensors",
"device": "default",
"type": "ideogram4"
},
"_meta": {
"title": "Load CLIP"
}
},
"327:218": {
"class_type": "TextGenerate",
"inputs": {
"clip": [
"327:217",
0
],
"image": [
"203:65",
0
],
"max_length": 512,
"mtp": "auto",
"prompt": "Write a prompt to create a realistic and dynamic motion for a video model based on this image\n\nGive me the prompt and nothing else",
"sampling_mode": "on",
"sampling_mode.min_p": 0.05,
"sampling_mode.presence_penalty": 0,
"sampling_mode.repetition_penalty": 1.05,
"sampling_mode.seed": 0,
"sampling_mode.temperature": 0.7,
"sampling_mode.top_k": 64,
"sampling_mode.top_p": 0.95,
"thinking": False,
"use_default_template": True
},
"_meta": {
"title": "Generate Text"
}
},
"355:350": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"5",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"355:351": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "720*(a/b < 0.75) + 1024*(a/b >= 0.75)*(a/b <= 4/3) + 1280*(a/b > 4/3)",
"values.a": [
"355:350",
0
],
"values.b": [
"355:350",
1
]
},
"_meta": {
"title": "Target WIDTH (use INT output, index 1)"
}
},
"355:352": {
"class_type": "ComfyMathExpression",
"inputs": {
"expression": "1280*(a/b < 0.75) + 1024*(a/b >= 0.75)*(a/b <= 4/3) + 720*(a/b > 4/3)",
"values.a": [
"355:350",
0
],
"values.b": [
"355:350",
1
]
},
"_meta": {
"title": "Target HEIGHT (use INT output, index 1)"
}
},
"373:371": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_8b_nvfp4.safetensors",
"device": "default",
"type": "ideogram4"
},
"_meta": {
"title": "Load CLIP"
}
},
"373:372": {
"class_type": "TextGenerate",
"inputs": {
"clip": [
"373:371",
0
],
"image": [
"5",
0
],
"max_length": 512,
"mtp": "auto",
"prompt": "You are writing the first half of an image editing prompt. Look at this\nphoto and describe the entire scene as a precise instruction, starting\nwith exactly: \"Create one full-frame photograph that fills the entire\ncanvas:\"A\n\nDescribe: the subject and pose (hand position, finger placement, how the\nitems are held or fanned), any accessories or jewelry, the background\nsurface and color, the lighting style, and the framing or crop.\n\nDo not describe the specific products being held. Refer to them only as\n\"three products\". They will be replaced.\n\nEnd with exactly this sentence: \"Replace the three products with the\nfollowing, each keeping its exact label text, colors and proportions:\"\n\nOutput only the prompt text. No commentary.",
"sampling_mode": "on",
"sampling_mode.min_p": 0.05,
"sampling_mode.presence_penalty": 0,
"sampling_mode.repetition_penalty": 1.05,
"sampling_mode.seed": 0,
"sampling_mode.temperature": 0.7,
"sampling_mode.top_k": 64,
"sampling_mode.top_p": 0.95,
"thinking": False,
"use_default_template": True
},
"_meta": {
"title": "Generate Text"
}
},
"379:377": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_8b_nvfp4.safetensors",
"device": "default",
"type": "ideogram4"
},
"_meta": {
"title": "Load CLIP"
}
},
"379:378": {
"class_type": "TextGenerate",
"inputs": {
"clip": [
"379:377",
0
],
"image": [
"376",
0
],
"max_length": 512,
"mtp": "auto",
"prompt": "The input contains three product photos in order. Describe each one on its own line, in this exact format:\n\nProduct 1: shape, colors, material, and exact label text transcribed word for word.\nProduct 2: same format.\nProduct 3: same format.A\n\nOutput only these three lines. No introduction, no extra commentary.",
"sampling_mode": "on",
"sampling_mode.min_p": 0.05,
"sampling_mode.presence_penalty": 0,
"sampling_mode.repetition_penalty": 1.05,
"sampling_mode.seed": 0,
"sampling_mode.temperature": 0.7,
"sampling_mode.top_k": 64,
"sampling_mode.top_p": 0.95,
"thinking": False,
"use_default_template": True
},
"_meta": {
"title": "Generate Text"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)질문과 답변
아니요. 이 워크플로는 1–3개 제품을 지원합니다. 사용하지 않는 LoadImage 노드는 비워 두면 되고, BatchImagesNode가 제공된 이미지만 처리합니다.
고해상도 제품 사진(가능하면 정면 라벨이 깨끗한 샷)을 사용하고, 가능하면 투명 PNG를 사용하세요. 참조 이미지는 목표 출력 해상도에 가깝게 준비하세요. 텍스트나 에지가 흐리면 입력 해상도를 올리거나, StringConcatenate로 Qwen3-VL 프롬프트를 다듬거나, 최종 출력 크기를 줄이세요.
네. 모든 단계는 커스텀 추론 노드(예: 461b058e…, fdd45ff8…, 6dbca6ef…, 5c2c98c8…, 04e3b3b1…, ffacbfba…)를 통해 오픈 모델(Qwen3-VL, FLUX.2 Klein 9B, LTX-2.3)로 로컬에서 실행됩니다. 모델 weights가 설치되어 있고 노드 설정에서 경로가 올바른지 확인하세요.
작업 해상도를 낮추거나, LTX-2.3 재생 시간을 줄이거나, 사용하지 않는 이미지 슬롯을 비활성화하세요. 또한 더 작은 크기로 먼저 합성을 만들고 좋은 seed를 고정한 다음, 하드웨어가 허용하면 업스케일로 최종 패스를 진행할 수 있습니다.
관련 워크플로
- Nano Banana Pro, Gemini3 Pro Image Preview, Google
Create a character turnaround
- Qwen-Image-Edit
Change a material
- Qwen-Image-Edit
See your subject from a new angle
- Flux.2 Dev, Flux
Create a product mockup
- Nano Banana Pro
Try an outfit on a character
- Seedream
Put your product in a new scene
- SSeedVR2
Upscale and restore detail
- Nano Banana Pro
Sharpen a product photo
- Topaz
Upscale an illustration
- HHitPaw
Restore portrait detail
- FLUX.1 Fill
Edit a selected region
- FLUX.1 Fill
Extend an image’s borders