1 Clique Múltiplos Ângulos de Personagem
Carregue uma imagem do seu personagem e obtenha múltiplas visualizações dessa imagem de diferentes ângulos
Dentro do workflow
Uma prévia somente leitura do modelo de origem. Abra-o no Cloud para explorar os nós e fazer alterações.
Chame este modelo pelo seu código
A solicitação abaixo usa o mesmo grafo e as mesmas configurações preparadas no Playground. Cada envio pode iniciar uma execução paga; não tente novamente automaticamente um envio cujo resultado seja desconhecido.
What you need
- Runs on
- Comfy Cloud
- Chave
- COMFY_API_KEY
- Seus arquivos
- Enviados pelo código a partir de suas URLs
Requer um plano pago do Cloud e 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 Character 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": 1106429432136498,
"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": 864993937066247,
"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": 405868421823137,
"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": 507933693362283,
"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": 202646758175812,
"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": 757958372345700,
"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": 495293742630408,
"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": 941061162245235,
"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/5a8f6573-c380-4ea3-a93c-b7a81c4eb1d6/1d5ccfd7-18b1-499b-92c5-0a41614a5eac"))
# 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)Experimente um exemplo
Sobre este fluxo de trabalho
Este fluxo de trabalho ComfyUI, chamado '1 Clique Vários Ângulos de Personagem', foi criado para transformar uma única imagem de personagem em múltiplas visualizações de diferentes ângulos. Utilizando o modelo Qwen-Image-Edit, o fluxo processa a imagem de entrada para gerar perspectivas variadas, sendo especialmente útil para artistas e designers que precisam visualizar personagens em espaço 3D sem redesenhar manualmente cada ângulo. O fluxo emprega nós-chave como LoadImage para importar a imagem do personagem e SaveImage para exportar as novas visualizações. Os nós 0f47377a-2933-4dba-9791-a9c54b078226 e b7908082-f5ff-497d-8e80-e4b0ffde0419 são essenciais no processamento e transformação das imagens, garantindo alta qualidade na saída. Este fluxo não só economiza tempo, como também estimula a criatividade ao fornecer perspectivas visuais diversas com mínimo esforço.
Perguntas e respostas
Imagens com personagens claros, distintos e com fundo mínimo produzem os melhores resultados.
Atualmente, o fluxo gera automaticamente ângulos predefinidos. Recursos de personalização podem ser adicionados em futuras atualizações.
Embora projetado para personagens, o fluxo pode processar outros objetos, mas os resultados podem variar conforme a complexidade da imagem.
Você pode relatar problemas seguindo o link fornecido na seção de notas do autor do fluxo.