
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.
GET https://comfy.org/workflows/download/eb986f4b9142.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run "Z-Image-Turbo Text to Image" (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("image_z_image_turbo_api.json")
job = client.run(wf)
for output in job.get_outputs("9"): # SaveImage
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ














