Qwen Image 2512: 360 Panorama Image
Generate 360-degree equirectangular projection images from text descriptions using a rank 128 LoRA on the 20B MMDiT model.
İş Akışını İndirCloud'da deneyin API belgeleri
Hakkında
Generate 360-degree equirectangular projection images from text descriptions using a rank 128 LoRA on the 20B MMDiT model.
Sağladıklarınız
- İş akışı okunuyor
ComfyUI'da çalışır. Bu iş akışı bu sayfada çalışamaz. İndirin ve ComfyUI'da açın.
İş Akışını İndirBu iş akışı için henüz örnek çıktı yok.
İş akışının içinde
Düğüm grafiğinin salt okunur önizlemesi. Düğümleri düzenlemek için bunu Comfy Cloud'da açın veya indirin.
Loading the graph
Open full-size workflow previewBu iş akışındaki dosyalar
- Comfy Cloud
- Evet
- Yazar
- Yazar kullanılamıyor
Özel düğümler gerektirir
- İş akışı okunuyor
Bu iş akışını koddan kullanın
Mümkün olduğunda iş akışı grafiği ve girdilerden oluşturulur; aksi hâlde kayıtlı örnekler gösterilir. Ücret doğurabilecek kodu çalıştırmadan önce kimlik bilgilerini ve uç noktaları gözden geçirin.
1 API anahtarı al ↗
What you need
- Runs on
- Comfy Cloud
- Anahtar
- COMFY_API_KEY
Ücretli bir Cloud planı ve kredi gerektirir.
API JSON'ını indirAPI belgeleri ↗
# 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({
"60": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "Qwen-Image-2512",
"images": [
"238:231",
0
]
},
"_meta": {
"title": "Save Image"
}
},
"266": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "equirectangular 360 image, "
},
"_meta": {
"title": "String (Trigger Word)"
}
},
"267": {
"class_type": "StringConcatenate",
"inputs": {
"delimiter": "",
"string_a": [
"266",
0
],
"string_b": [
"269",
0
]
},
"_meta": {
"title": "Concatenate Text"
}
},
"269": {
"class_type": "PrimitiveStringMultiline",
"inputs": {
"value": "A spacious warm living room, soft sunlight through window, soft sofa, delicate decor, green potted plants, clean tidy space, gentle ambient light"
},
"_meta": {
"title": "String (Prompt)"
}
},
"238:218": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 1
},
"_meta": {
"title": "Float (CFG)"
}
},
"238:219": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"device": "default",
"type": "qwen_image"
},
"_meta": {
"title": "Load CLIP"
}
},
"238:220": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "qwen_image_vae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"238:221": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "Qwen-Image-2512-Lightning-4steps-V1.0-fp32.safetensors",
"model": [
"238:264",
0
],
"strength_model": 1
},
"_meta": {
"title": "Load LoRA"
}
},
"238:222": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"238:233",
0
],
"sampling": "flow",
"shift": 3.1000000000000005
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"238:223": {
"class_type": "PrimitiveFloat",
"inputs": {
"value": 4
},
"_meta": {
"title": "Float (CFG)"
}
},
"238:224": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 50
},
"_meta": {
"title": "Int (Steps)"
}
},
"238:225": {
"class_type": "PrimitiveInt",
"inputs": {
"value": 4
},
"_meta": {
"title": "Int (Steps)"
}
},
"238:226": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "qwen_image_2512_fp8_e4m3fn.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"238:227": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"238:219",
0
],
"text": [
"267",
0
]
},
"_meta": {
"title": "CLIP Text Encode (Positive Prompt)"
}
},
"238:228": {
"class_type": "CLIPTextEncode",
"inputs": {
"clip": [
"238:219",
0
],
"text": "低分辨率,低画质,肢体畸形,手指畸形,画面过饱和,蜡像感,人脸无细节,过度光滑,画面具有AI感。构图混乱。文字模糊,扭曲"
},
"_meta": {
"title": "CLIP Text Encode (Negative Prompt)"
}
},
"238:229": {
"class_type": "PrimitiveBoolean",
"inputs": {
"value": False
},
"_meta": {
"title": "Enable 4 Steps LoRA?"
}
},
"238:230": {
"class_type": "KSampler",
"inputs": {
"cfg": [
"238:243",
0
],
"denoise": 1,
"latent_image": [
"238:232",
0
],
"model": [
"238:222",
0
],
"negative": [
"238:228",
0
],
"positive": [
"238:227",
0
],
"sampler_name": "euler",
"scheduler": "simple",
"seed": 662848447520565,
"steps": [
"238:240",
0
]
},
"_meta": {
"title": "KSampler"
}
},
"238:231": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"238:230",
0
],
"vae": [
"238:220",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"238:232": {
"class_type": "EmptySD3LatentImage",
"inputs": {
"batch_size": 1,
"height": 1024,
"width": 2048
},
"_meta": {
"title": "EmptySD3LatentImage"
}
},
"238:233": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"238:264",
0
],
"on_true": [
"238:221",
0
],
"switch": [
"238:229",
0
]
},
"_meta": {
"title": "Switch (model)"
}
},
"238:240": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"238:224",
0
],
"on_true": [
"238:225",
0
],
"switch": [
"238:229",
0
]
},
"_meta": {
"title": "Switch (steps)"
}
},
"238:243": {
"class_type": "ComfySwitchNode",
"inputs": {
"on_false": [
"238:223",
0
],
"on_true": [
"238:218",
0
],
"switch": [
"238:229",
0
]
},
"_meta": {
"title": "Switch (cfg)"
}
},
"238:264": {
"class_type": "LoraLoaderModelOnly",
"inputs": {
"lora_name": "qwen-360-diffusion-2512-int8-bf16-v2.safetensors",
"model": [
"238:226",
0
],
"strength_model": 1
},
"_meta": {
"title": "Load LoRA"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)