Escena multiángulo 1 clic
Sube tu escena y genera varias vistas con un clic.
Dentro del flujo de trabajo
Una vista previa de solo lectura de la plantilla de origen. Ábrela en Cloud para explorar los nodos y hacer cambios.
Loading the graph
Open full-size workflow previewLlama a este modelo desde tu código
La solicitud a continuación utiliza el mismo grafo preparado y la misma configuración que el Playground. Cada envío puede iniciar una ejecución de pago; no reintentes automáticamente un envío cuyo resultado se desconozca.
What you need
- Runs on
- Comfy Cloud
- Clave
- COMFY_API_KEY
- Tus archivos
- El código los sube desde sus URL
Requiere un plan de pago de Cloud y créditos.
# 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)Probar un ejemplo
Acerca de este flujo de trabajo
El flujo de trabajo '1 clic Múltiples Ángulos de Escena' está diseñado para simplificar el proceso de generar múltiples perspectivas de una escena dada a partir de una sola imagen de entrada. Aprovechando el modelo Qwen-Image-Edit, este flujo analiza eficientemente la imagen de entrada y produce varios ángulos, enriqueciendo la narrativa visual con diferentes puntos de vista. Esto es especialmente útil en campos como arquitectura, diseño de videojuegos y realidad virtual, donde es crucial comprender una escena desde múltiples ángulos.
Técnicamente, el flujo comienza con el nodo LoadImage, que importa la imagen de la escena del usuario al sistema. El modelo Qwen-Image-Edit, identificado por el ID de nodo 0f47377a-2933-4dba-9791-a9c54b078226, procesa la imagen para generar nuevas perspectivas. Los resultados se guardan luego usando el nodo SaveImage. Este proceso simplificado permite a los usuarios lograr ediciones complejas de imagen con una entrada mínima, convirtiéndolo en una herramienta invaluable tanto para profesionales como para aficionados.
Preguntas y respuestas
Las imágenes de alta resolución y con detalles claros ofrecen los mejores resultados, ya que el modelo puede generar ángulos más precisos y diversos.
Actualmente, el flujo está configurado para generar un conjunto predefinido de ángulos. Futuras actualizaciones podrían permitir personalización.
Este flujo está optimizado para imágenes fijas. Para vídeo, considera usar una secuencia de imágenes extraídas del vídeo.
Intenta usar una imagen de entrada de mayor calidad o ajusta la composición de la escena para mejorar la capacidad del modelo de generar ángulos diversos.