1 click Multiple Scene Angles
Upload an image of your scene and generate multiple views of your input scene with 1 click.
查看工作流内部
源模板的只读预览。在 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({
"25": {
"class_type": "LoadImage",
"inputs": {
"image": "UPLOADED_image_FILENAME"
},
"_meta": {
"title": "Load Scene Image"
}
},
"31": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-close_up",
"images": [
"65:33:19",
0
]
},
"_meta": {
"title": "Save Image - Close up"
}
},
"34": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-wide_shot",
"images": [
"65:35:19",
0
]
},
"_meta": {
"title": "Save Image - Wide shot"
}
},
"36": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-45_right",
"images": [
"65:37:19",
0
]
},
"_meta": {
"title": "Save Image - 45 right"
}
},
"38": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-90_right",
"images": [
"65:39:19",
0
]
},
"_meta": {
"title": "Save Image - 90 right"
}
},
"41": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-aerial_view",
"images": [
"65:42:19",
0
]
},
"_meta": {
"title": "Save Image - Aerial view"
}
},
"43": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-low_angle",
"images": [
"65:44:19",
0
]
},
"_meta": {
"title": "Save Image - Low angle"
}
},
"45": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-45_left",
"images": [
"65:46:19",
0
]
},
"_meta": {
"title": "Save Image - 45 left"
}
},
"47": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "ComfyUI-90_left",
"images": [
"65:40:19",
0
]
},
"_meta": {
"title": "Save Image - 90 left"
}
},
"66": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Turn the camera to a close-up.\n"
},
"_meta": {
"title": "Prompt Close up"
}
},
"67": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Turn the camera to a wide-angle lens.\n"
},
"_meta": {
"title": "Prompt Wide angle"
}
},
"68": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Rotate the camera 90 degrees to the right.\n"
},
"_meta": {
"title": "Prompt 90deg right"
}
},
"69": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Rotate the camera 45 degrees to the right.\n"
},
"_meta": {
"title": "Prompt 45deg right"
}
},
"70": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Turn the camera to an aerial view."
},
"_meta": {
"title": "Prompt Aerial view"
}
},
"71": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Turn the camera to a low-angle view."
},
"_meta": {
"title": "Prompt Low angle"
}
},
"72": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Rotate the camera 90 degrees to the left."
},
"_meta": {
"title": "Prompt 90deg"
}
},
"73": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "Rotate the camera 45 degrees to the left."
},
"_meta": {
"title": "Prompt Left 45deg"
}
},
"48:10": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"device": "default",
"type": "qwen_image"
},
"_meta": {
"title": "Load CLIP"
}
},
"48:12": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"48:20": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "Qwen-Edit-2509-Multiple-angles.safetensors",
"model": [
"48:26",
0
],
"strength_model": 1
},
"_meta": {
"title": "Load LoRA"
}
},
"48:26": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
"model": [
"48:12",
0
],
"strength_model": 1
},
"_meta": {
"title": "Load LoRA"
}
},
"48:9": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"65:33:11": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"48:20",
0
],
"sampling": "flow",
"shift": 3
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"65:33:13": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"65:33:28",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"65:33:14": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:33:28",
0
],
"prompt": "",
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:33:17": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:33:28",
0
],
"prompt": [
"66",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:33:19": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"65:33:21",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"65:33:21": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"65:33:13",
0
],
"model": [
"65:33:8",
0
],
"negative": [
"65:33:14",
0
],
"positive": [
"65:33:17",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 1077007216372824,
"steps": 4
},
"_meta": {
"title": "KSampler"
}
},
"65:33:28": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"25",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "nearest-exact"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"65:33:32": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"65:33:19",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"65:33:8": {
"class_type": "CFGNorm",
"inputs": {
"model": [
"65:33:11",
0
],
"pre_cfg": False,
"strength": 1
},
"_meta": {
"title": "CFGNorm"
}
},
"65:35:11": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"48:20",
0
],
"sampling": "flow",
"shift": 3
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"65:35:13": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"65:35:28",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"65:35:14": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:35:28",
0
],
"prompt": "",
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:35:17": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:35:28",
0
],
"prompt": [
"67",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:35:19": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"65:35:21",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"65:35:21": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"65:35:13",
0
],
"model": [
"65:35:8",
0
],
"negative": [
"65:35:14",
0
],
"positive": [
"65:35:17",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 953430930310581,
"steps": 4
},
"_meta": {
"title": "KSampler"
}
},
"65:35:28": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"25",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "nearest-exact"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"65:35:32": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"65:35:19",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"65:35:8": {
"class_type": "CFGNorm",
"inputs": {
"model": [
"65:35:11",
0
],
"pre_cfg": False,
"strength": 1
},
"_meta": {
"title": "CFGNorm"
}
},
"65:37:11": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"48:20",
0
],
"sampling": "flow",
"shift": 3
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"65:37:13": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"65:37:28",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"65:37:14": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:37:28",
0
],
"prompt": "",
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:37:17": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:37:28",
0
],
"prompt": [
"69",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:37:19": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"65:37:21",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"65:37:21": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"65:37:13",
0
],
"model": [
"65:37:8",
0
],
"negative": [
"65:37:14",
0
],
"positive": [
"65:37:17",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 1045599286507747,
"steps": 4
},
"_meta": {
"title": "KSampler"
}
},
"65:37:28": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"25",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "nearest-exact"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"65:37:32": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"65:37:19",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"65:37:8": {
"class_type": "CFGNorm",
"inputs": {
"model": [
"65:37:11",
0
],
"pre_cfg": False,
"strength": 1
},
"_meta": {
"title": "CFGNorm"
}
},
"65:39:11": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"48:20",
0
],
"sampling": "flow",
"shift": 3
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"65:39:13": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"65:39:28",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"65:39:14": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:39:28",
0
],
"prompt": "",
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:39:17": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:39:28",
0
],
"prompt": [
"68",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:39:19": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"65:39:21",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"65:39:21": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"65:39:13",
0
],
"model": [
"65:39:8",
0
],
"negative": [
"65:39:14",
0
],
"positive": [
"65:39:17",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 113699216259397,
"steps": 4
},
"_meta": {
"title": "KSampler"
}
},
"65:39:28": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"25",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "nearest-exact"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"65:39:32": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"65:39:19",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"65:39:8": {
"class_type": "CFGNorm",
"inputs": {
"model": [
"65:39:11",
0
],
"pre_cfg": False,
"strength": 1
},
"_meta": {
"title": "CFGNorm"
}
},
"65:40:11": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"48:20",
0
],
"sampling": "flow",
"shift": 3
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"65:40:13": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"65:40:28",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"65:40:14": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:40:28",
0
],
"prompt": "",
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:40:17": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:40:28",
0
],
"prompt": [
"72",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:40:19": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"65:40:21",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"65:40:21": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"65:40:13",
0
],
"model": [
"65:40:8",
0
],
"negative": [
"65:40:14",
0
],
"positive": [
"65:40:17",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 218463078341715,
"steps": 4
},
"_meta": {
"title": "KSampler"
}
},
"65:40:28": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"25",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "nearest-exact"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"65:40:32": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"65:40:19",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"65:40:8": {
"class_type": "CFGNorm",
"inputs": {
"model": [
"65:40:11",
0
],
"pre_cfg": False,
"strength": 1
},
"_meta": {
"title": "CFGNorm"
}
},
"65:42:11": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"48:20",
0
],
"sampling": "flow",
"shift": 3
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"65:42:13": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"65:42:28",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"65:42:14": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:42:28",
0
],
"prompt": "",
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:42:17": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:42:28",
0
],
"prompt": [
"70",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:42:19": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"65:42:21",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"65:42:21": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"65:42:13",
0
],
"model": [
"65:42:8",
0
],
"negative": [
"65:42:14",
0
],
"positive": [
"65:42:17",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 653850485123300,
"steps": 4
},
"_meta": {
"title": "KSampler"
}
},
"65:42:28": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"25",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "nearest-exact"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"65:42:32": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"65:42:19",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"65:42:8": {
"class_type": "CFGNorm",
"inputs": {
"model": [
"65:42:11",
0
],
"pre_cfg": False,
"strength": 1
},
"_meta": {
"title": "CFGNorm"
}
},
"65:44:11": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"48:20",
0
],
"sampling": "flow",
"shift": 3
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"65:44:13": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"65:44:28",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"65:44:14": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:44:28",
0
],
"prompt": "",
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:44:17": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:44:28",
0
],
"prompt": [
"71",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:44:19": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"65:44:21",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"65:44:21": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"65:44:13",
0
],
"model": [
"65:44:8",
0
],
"negative": [
"65:44:14",
0
],
"positive": [
"65:44:17",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 928311072042245,
"steps": 4
},
"_meta": {
"title": "KSampler"
}
},
"65:44:28": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"25",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "nearest-exact"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"65:44:32": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"65:44:19",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"65:44:8": {
"class_type": "CFGNorm",
"inputs": {
"model": [
"65:44:11",
0
],
"pre_cfg": False,
"strength": 1
},
"_meta": {
"title": "CFGNorm"
}
},
"65:46:11": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"48:20",
0
],
"sampling": "flow",
"shift": 3
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"65:46:13": {
"class_type": "VAEEncode",
"inputs": {
"pixels": [
"65:46:28",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Encode"
}
},
"65:46:14": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:46:28",
0
],
"prompt": "",
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:46:17": {
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": {
"clip": [
"48:10",
0
],
"image1": [
"65:46:28",
0
],
"prompt": [
"73",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "Text Encode Qwen Image Edit Plus"
}
},
"65:46:19": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"65:46:21",
0
],
"vae": [
"48:9",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"65:46:21": {
"class_type": "KSampler",
"inputs": {
"cfg": 1,
"denoise": 1,
"latent_image": [
"65:46:13",
0
],
"model": [
"65:46:8",
0
],
"negative": [
"65:46:14",
0
],
"positive": [
"65:46:17",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 922804940922314,
"steps": 4
},
"_meta": {
"title": "KSampler"
}
},
"65:46:28": {
"class_type": "ImageScaleToTotalPixels",
"inputs": {
"image": [
"25",
0
],
"megapixels": 1,
"resolution_steps": 1,
"upscale_method": "nearest-exact"
},
"_meta": {
"title": "Scale Image to Total Pixels"
}
},
"65:46:32": {
"class_type": "PreviewImage",
"inputs": {
"images": [
"65:46:19",
0
]
},
"_meta": {
"title": "Preview Image"
}
},
"65:46:8": {
"class_type": "CFGNorm",
"inputs": {
"model": [
"65:46:11",
0
],
"pre_cfg": False,
"strength": 1
},
"_meta": {
"title": "CFGNorm"
}
}
})
workflow.set_input("25", "image", client.assets.from_url("https://comfy.org/catalog-media/1a63f14f-095a-4063-ad5b-558594f02b08/d32751b1-0c19-495c-8efe-fd5b27aa3d6b"))
# 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("31"):
output.to_file(output.name)
for output in job.get_outputs("34"):
output.to_file(output.name)
for output in job.get_outputs("36"):
output.to_file(output.name)
for output in job.get_outputs("38"):
output.to_file(output.name)
for output in job.get_outputs("47"):
output.to_file(output.name)
for output in job.get_outputs("45"):
output.to_file(output.name)
for output in job.get_outputs("41"):
output.to_file(output.name)
for output in job.get_outputs("43"):
output.to_file(output.name)试试一个示例
关于此工作流
The '1 click Multiple Scene Angles' workflow is designed to simplify the process of generating multiple perspectives of a given scene from a single image input. By leveraging the Qwen-Image-Edit model, this workflow efficiently analyzes the input image and produces various angles, enriching the visual narrative with diverse viewpoints. This is particularly useful in fields such as architecture, game design, and virtual reality, where a comprehensive understanding of a scene from multiple angles is crucial.
Technically, the workflow begins with the LoadImage node, which imports the user's scene image into the system. The Qwen-Image-Edit model, identified by the node ID 0f47377a-2933-4dba-9791-a9c54b078226, processes the image to generate new perspectives. The results are then saved using the SaveImage node. This streamlined process allows users to achieve complex image edits with minimal input, making it an invaluable tool for professionals and hobbyists alike.
常见问答
High-resolution images with clear details yield the best results, as the model can generate more accurate and diverse angles.
Currently, the workflow is set to generate a predefined set of angles. Future updates may allow customization.
This workflow is optimized for still images. For video, consider using a sequence of images extracted from the video.
Try using a higher quality input image or adjusting the scene composition to enhance the model's ability to generate diverse angles.