Z-Image-Turbo Text to Image

The Z-Image-Turbo Text to Image workflow is designed to efficiently generate images from textual descriptions using the Z-Image-Turbo model. This workflow leverages a Single-Stream Diffusion Transformer, which supports both English and Chinese languages, making it versatile for a wide range of applications. The core of this workflow involves the f2fdebf6-dfaf-43b6-9eb2-7f70613cfdc1 node, which processes text inputs and generates high-quality images. The SaveImage node is then used to store the generated images, while the MarkdownNote node provides documentation and notes within the workflow for better understanding and tracking of the process.

Technically, the workflow capitalizes on the efficiency of the Z-Image-Turbo model, which is optimized for speed and quality. The model uses a diffusion process that progressively refines the image, starting from noise and moving towards a coherent image that reflects the input text. This approach not only ensures high-quality outputs but also allows for faster generation times compared to traditional methods. The inclusion of multilingual support broadens the usability of this workflow, making it an excellent tool for global applications.

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_z_image_turbo.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 "Z-Image-Turbo Text to Image" (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_z_image_turbo_api.json");

const job = await client.run(wf);
await job.getOutputs("9")[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.

FAQ

Frequently Asked Questions

View all workflows
Showing 30 of 30 templates