
Qwen-Image 2512 Turbo 工作流专为快速图像生成设计,利用 Qwen-Image 2512 模型的精简流程。适合需要从文本提示快速获得视觉输出的场景,画质略有牺牲以换取更高速度。流程集成了 VAELoader、CLIPLoader 和 UNETLoader 等关键节点,用于加载和处理模型组件。KSampler 节点负责生成潜变量图像,LoraLoaderModelOnly 节点用于应用 LoRA(低秩适配)技术提升模型效率。
流程分三步:加载所需模型、设置图片尺寸、处理文本提示。ModelSamplingAuraFlow 节点负责采样和优化输出,确保结果贴合用户提示。CLIPTextEncode 节点将文本提示转为视觉概念,VAEDecode 节点解码为图片。ConditioningZeroOut 节点管理条件输入,保证生成过程一致。适合对速度优先于高保真的场景,如快速原型和概念可视化。
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
// Install (beta)
npm i @comfyorg/sdk
// Run "Qwen-Image 2512 Turbo" (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("image_qwen_image_2512_with_2steps_lora_api.json");
wf.setInput("108", "text", "your prompt here"); // CLIPTextEncode
const job = await client.run(wf);
await job.getOutputs("123")[0].toFile("output.png"); // SaveImageThe SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).
Comfy Cloud API access requires a plan with an API key.
常见问题














