The 'Z-Image-Turbo Fun Union ControlNet' workflow is a sophisticated image generation process that leverages multiple ControlNet models to enhance and manipulate images with precision. This workflow integrates various image preprocessing techniques, including Canny edge detection, HED (Holistically-Nested Edge Detection), Depth estimation, Pose recognition, and MLSD (Multi-Line Segment Detection). These techniques are orchestrated to refine and control the output of the Z-Image-Turbo model, allowing for nuanced and detailed image transformations. By utilizing nodes such as SaveImage, MarkdownNote, PreviewImage, and ImageScaleToMaxDimension, the workflow ensures that images are processed efficiently and effectively.
Technically, this workflow stands out due to its ability to handle multiple control inputs simultaneously, providing users with a high degree of control over the image generation process. The integration of various ControlNet models allows users to apply different preprocessing techniques to the input images, which are then scaled and transformed according to the desired output specifications. This makes the workflow particularly useful for applications that require precise image manipulation, such as digital art creation, augmented reality, and advanced photo editing.
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/7553d92529e0.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 Fun Union ControlNet" (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_fun_union_controlnet_api.json")
asset = client.assets.from_file("input.png")
wf.set_input("58", "image", asset) # LoadImage
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
















