Qwen千問-圖像:文生圖

此 ComfyUI 工作流程運用 Qwen-Image 模型,生成具備進階多語言文字渲染與編輯能力的圖片。核心為 20B MMDiT 模型,擅長處理多語言文字轉圖片任務。流程整合 SaveImage 與 MarkdownNote 節點,協助生成與儲存高品質圖片。e5cfe5ba-2ae0-4bc4-869f-ab2228cb44d3 節點負責資料流管理,確保模型輸出正確捕捉與儲存。此流程特別適合需精確將文字整合進圖片的應用,如多語言廣告或教育內容製作。

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.

image_qwen_image.json
Fetching workflow JSON…

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千問-圖像:文生圖" (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_api.json");

const job = await client.run(wf);
await job.getOutputs("60")[0].toFile("output.png"); // SaveImage

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.

常見問題

常見問題

查看所有工作流
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates