3D 카메라 노드로 여러 각도 생성
사용하기 쉬운 3D 카메라 각도 노드를 사용하여 입력의 카메라 각도 변형을 생성합니다.
워크플로 내부
소스 템플릿의 읽기 전용 미리보기입니다. Cloud에서 열어 노드를 살펴보고 변경할 수 있습니다.
코드에서 이 모델 호출하기
아래 요청은 Playground와 동일하게 준비된 그래프와 설정을 사용합니다. 제출할 때마다 유료 실행이 시작될 수 있으므로 결과를 알 수 없는 제출을 자동으로 재시도하지 마세요.
What you need
- Runs on
- Comfy Cloud
- 키
- COMFY_API_KEY
- 내 파일
- 코드가 해당 URL에서 업로드
유료 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": "UPLOADED_image_FILENAME"
},
"_meta": {
"title": "Load Image"
}
},
"2": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "Qwen_Edit_2511",
"images": [
"4:102",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"3": {
"class_type": "QwenMultiangleCameraNode",
"inputs": {
"camera_view": False,
"default_prompts": False,
"horizontal_angle": 45,
"image": [
"1",
0
],
"vertical_angle": 30,
"zoom": 5.7
},
"_meta": {
"title": "Qwen Multiangle Camera"
}
},
"4:100": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"4:93",
0
],
"image1": [
"4:106",
0
],
"prompt": "",
"vae": [
"4:95",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"4:102": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"4:105",
0
],
"vae": [
"4:95",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"4:103": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"4:93",
0
],
"image1": [
"4:106",
0
],
"prompt": [
"3",
0
],
"vae": [
"4:95",
0
]
},
"_meta": {
"title": "TextEncodeQwenImageEditPlus (Positive)"
}
},
"4:104": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"4:106",
0
],
"vae": [
"4:95",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"4:105": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"4:104",
0
],
"model": [
"4:98",
0
],
"negative": [
"4:96",
0
],
"positive": [
"4:97",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 755111314014880,
"steps": 4
},
"_meta": {
"title": "KSampler"
}
},
"4:106": {
"class_type": "FluxKontextImageScale",
"inputs": {
"image": [
"1",
0
]
},
"_meta": {
"title": "FluxKontextImageScale"
}
},
"4:107": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
"model": [
"4:108",
0
],
"strength_model": 1
},
"_meta": {
"title": "Load LoRA"
}
},
"4:108": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "qwen_image_edit_2511_bf16.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"4:110": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "qwen-image-edit-2511-multiple-angles-lora.safetensors",
"model": [
"4:107",
0
],
"strength_model": 1
},
"_meta": {
"title": "Load LoRA"
}
},
"4:93": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_2.5_vl_7b.safetensors",
"device": "default",
"type": "qwen_image"
},
"_meta": {
"title": "Load CLIP"
}
},
"4:94": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"4:110",
0
],
"sampling": "flow",
"shift": 3.1
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"4:95": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"4:96": {
"class_type": "FluxKontextMultiReferenceLatentMethod",
"inputs": {
"conditioning": [
"4:100",
0
],
"reference_latents_method": "index_timestep_zero"
},
"_meta": {
"title": "Edit Model Reference Method"
}
},
"4:97": {
"class_type": "FluxKontextMultiReferenceLatentMethod",
"inputs": {
"conditioning": [
"4:103",
0
],
"reference_latents_method": "index_timestep_zero"
},
"_meta": {
"title": "Edit Model Reference Method"
}
},
"4:98": {
"class_type": "CFGNorm",
"inputs": {
"model": [
"4:94",
0
],
"pre_cfg": False,
"strength": 1
},
"_meta": {
"title": "CFGNorm"
}
}
})
workflow.set_input("1", "image", client.assets.from_url("https://comfy.org/catalog-media/3b0ef7a9-4a93-453e-9fce-32b6aa0fedbe/77e8af41-48bb-4103-a022-18a791445591"))
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)
for output in job.get_outputs("2"):
output.to_file(output.name)예시 사용해 보기
이 워크플로 정보
이 ComfyUI 워크플로는 QwenMultiangleCameraNode를 사용해 입력 이미지의 여러 카메라 각도 변형을 생성하도록 설계되었습니다. Qwen-Image-Edit 모델의 기능을 활용해 이미지의 다양한 시점을 탐색할 수 있으며, 제품 사진, 가상 투어, 3D 모델링 같은 분야에서 특히 유용합니다. 워크플로의 핵심은 QwenMultiangleCameraNode로, 카메라 각도를 조정하고 새로운 이미지 시점을 생성하기 위한 사용하기 쉬운 인터페이스를 제공합니다. LoadImage 노드로 초기 이미지를 가져온 뒤 QwenMultiangleCameraNode에서 처리하고, SaveImage 노드로 생성된 이미지를 저장합니다. 이 구성은 수동 편집을 많이 하지 않고도 동적인 시각 콘텐츠를 만들려는 사용자에게 효율적입니다.
질문과 답변
피사체가 뚜렷하고 조명이 좋은 이미지가 가장 좋은 결과를 내는 경향이 있습니다. Qwen-Image-Edit 모델이 이러한 특징을 더 효과적으로 보정 및 조정할 수 있기 때문입니다.
네. QwenMultiangleCameraNode에서 카메라 각도와 설정을 조정할 수 있어 생성되는 시점 변형을 제어할 수 있습니다.
이 워크플로는 주로 정지 이미지용으로 설계되었습니다. 비디오 콘텐츠의 경우 추가 처리 및 노드가 필요합니다.
입력 이미지를 고해상도 및 충분한 조명으로 준비하세요. 원하는 출력에 맞게 QwenMultiangleCameraNode의 카메라 설정을 신중히 조정하세요.