From 05e121776f4a5b827b8b2dddc2eb592446524185 Mon Sep 17 00:00:00 2001 From: Morpheus Date: Sun, 9 Aug 2026 09:27:37 +0000 Subject: [PATCH] Fix Z-Image 3070 fast-start workflow --- .../zimage-turbo-3070-fast-start/README.md | 15 +- .../workflow.json | 128 ++++++++++++++++++ 2 files changed, 140 insertions(+), 3 deletions(-) create mode 100644 optimized/text-to-image/zimage-turbo-3070-fast-start/workflow.json diff --git a/optimized/text-to-image/zimage-turbo-3070-fast-start/README.md b/optimized/text-to-image/zimage-turbo-3070-fast-start/README.md index 1899970..88686e7 100644 --- a/optimized/text-to-image/zimage-turbo-3070-fast-start/README.md +++ b/optimized/text-to-image/zimage-turbo-3070-fast-start/README.md @@ -13,8 +13,10 @@ This master stays close to the official `Z-Image Turbo` example because that is ## Workflow asset +- `workflow.json` - `workflow.png` -- Load it by dragging the PNG into ComfyUI. +- Prefer `workflow.json` for current testing and editing. +- `workflow.png` is the original embedded example import. ## Direct test command @@ -22,7 +24,7 @@ You can also submit it straight to the live ComfyUI server with: `node scripts/submit-workflow-test.mjs --workflow optimized/text-to-image/zimage-turbo-3070-fast-start/workflow.png --prompt ""` -That path reads the embedded PNG `prompt` chunk, applies text-to-image overrides, submits the job, polls history, and downloads the outputs locally. +That path reads either the JSON workflow or the embedded PNG `prompt` chunk, applies text-to-image overrides, submits the job, polls history, and downloads the outputs locally. ## Built from @@ -38,7 +40,14 @@ That path reads the embedded PNG `prompt` chunk, applies text-to-image overrides - Official model wiring - Official `qwen_3_4b` text encoder path -- Embedded PNG workflow format for easy import +- The original embedded PNG workflow as a reference import + +## What I intentionally changed + +- switched the maintained test target to `workflow.json` +- repointed the loader names to the live server filenames +- lowered the default latent size to `768x768` +- lowered the default sampler steps to `6` ## What I intentionally did not add yet diff --git a/optimized/text-to-image/zimage-turbo-3070-fast-start/workflow.json b/optimized/text-to-image/zimage-turbo-3070-fast-start/workflow.json new file mode 100644 index 0000000..8dcac52 --- /dev/null +++ b/optimized/text-to-image/zimage-turbo-3070-fast-start/workflow.json @@ -0,0 +1,128 @@ +{ + "3": { + "inputs": { + "seed": 47447417949230, + "steps": 6, + "cfg": 1, + "sampler_name": "euler", + "scheduler": "simple", + "denoise": 1, + "model": [ + "16", + 0 + ], + "positive": [ + "6", + 0 + ], + "negative": [ + "7", + 0 + ], + "latent_image": [ + "13", + 0 + ] + }, + "class_type": "KSampler", + "_meta": { + "title": "KSampler" + } + }, + "6": { + "inputs": { + "text": "cute anime style girl with massive fluffy fennec ears and a big fluffy tail blonde messy long hair blue eyes wearing a maid outfit with a long black gold leaf pattern dress and a white apron, it is a postcard held by a hand in front of a beautiful realistic city at sunset and there is cursive writing that says \"ZImage, Now in ComfyUI\"", + "clip": [ + "18", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Positive Prompt)" + } + }, + "7": { + "inputs": { + "text": "blurry ugly bad", + "clip": [ + "18", + 0 + ] + }, + "class_type": "CLIPTextEncode", + "_meta": { + "title": "CLIP Text Encode (Negative Prompt)" + } + }, + "8": { + "inputs": { + "samples": [ + "3", + 0 + ], + "vae": [ + "17", + 0 + ] + }, + "class_type": "VAEDecode", + "_meta": { + "title": "VAE Decode" + } + }, + "9": { + "inputs": { + "filename_prefix": "zimage-3070-fast-start", + "images": [ + "8", + 0 + ] + }, + "class_type": "SaveImage", + "_meta": { + "title": "Save Image" + } + }, + "13": { + "inputs": { + "width": 768, + "height": 768, + "batch_size": 1 + }, + "class_type": "EmptySD3LatentImage", + "_meta": { + "title": "EmptySD3LatentImage" + } + }, + "16": { + "inputs": { + "unet_name": "zImageTurbo_turbo.safetensors", + "weight_dtype": "default" + }, + "class_type": "UNETLoader", + "_meta": { + "title": "Load Diffusion Model" + } + }, + "17": { + "inputs": { + "vae_name": "ae.safetensors" + }, + "class_type": "VAELoader", + "_meta": { + "title": "Load VAE" + } + }, + "18": { + "inputs": { + "clip_name": "Qwen\\qwen_3_4b.safetensors", + "type": "lumina2", + "device": "default" + }, + "class_type": "CLIPLoader", + "_meta": { + "title": "Load CLIP" + } + } +}