Qwen-Image-Edit 模型在图像编辑领域实现了重大突破,依托先进的开源技术,带来前所未有的灵活性和精度。与以往需多步手动调整的模型不同,Qwen-Image-Edit 通过集成前沿算法,能够理解并执行复杂编辑任务。该模型在背景替换、对象更换、角色服装变更等任务中表现出色,为用户带来流畅的编辑体验。
Qwen-Image-Edit 的独特之处在于,即使进行复杂编辑,也能保持高图像保真度。传统模型在大幅修改时常常难以保留原图质量,而 Qwen-Image-Edit 采用先进技术,确保最终输出与原图视觉一致。这使其成为对编辑精度和质量有高要求的专业人士和爱好者的理想工具。
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 this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");The 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.
常见问题
















