使用3D相機節點產生多個角度
使用易於使用的3D相機角度節點,產生輸入的相機角度變化。
下載工作流程在 Cloud 中試用 API 文件
工作流程內部
來源範本的唯讀預覽。請在 Cloud 中開啟,以探索節點並進行變更。
從您的程式碼呼叫此模型
以下請求使用與 Playground 相同的已準備節點圖和設定。每次提交都可能啟動付費執行;若提交結果不明,請勿自動重試提交。
1 取得 API 金鑰 ↗
What you need
- Runs on
- Comfy Cloud
- 金鑰
- COMFY_API_KEY
- 您的檔案
- 由程式碼透過其 URL 上傳
需要付費 Cloud 方案與點數。
下載 API JSONAPI 文件 ↗
# 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 中細緻調整相機設定。
相關工作流程
- Qwen-Image-Edit
Change a material
- Qwen-Image-Edit
See your subject from a new angle
- Qwen-Image-Edit
Match lighting from a reference
- Qwen-Image-Edit, Wan2.2
1個圖像輸入分割堆疊 - Qwen多角度 + Wan 2.2
- Flux.2 Dev, Flux.2 Klein, GPT-Image-1.5, Grok, Nano Banana Pro, Qwen-Image-Edit, Seedream
1個輸入與多個編輯模型對比
- Qwen-Image-Edit
Image Editing (New)
- Qwen-Image-Edit
Qwen Image Edit 2511 - 材質替換
- Qwen-Image-Edit
Qwen Image Edit 插畫版 v 1.0
- Qwen-Image-Edit
Qwen圖像編輯
- Qwen-Image-Edit
SYSTMS ACTION:QWEN IMAGE EDIT 2511
- Qwen-Image-Edit
一鍵多角度場景
- Qwen-Image-Edit
一鍵多角度角色