Reset optimized workflows to Flux2 Klein baseline

This commit is contained in:
Morpheus
2026-09-21 13:41:47 +00:00
parent 29e97994e7
commit cc51237840
44 changed files with 130 additions and 23400 deletions
+2 -16
View File
@@ -1,17 +1,3 @@
# Text-to-Image Masters
# Text-to-image
Home for maintained category masters focused on text-to-image generation.
This category should stay lean. Keep one maintained default unless a second path earns a clearly different role.
## Current master
- `zimage-turbo-3070-fast-start`
## Test submission
For direct server tests, use:
`node scripts/submit-workflow-test.mjs --workflow optimized/text-to-image/zimage-turbo-3070-fast-start/workflow.png --prompt "<your prompt>"`
The first version is intentionally scoped to direct ComfyUI text-to-image submission. It works best with prompt-style JSON workflows and PNG workflows that contain an embedded `prompt` text chunk.
The optimized text-to-image collection currently focuses on the tested Flux.2 Klein baseline.
@@ -0,0 +1,21 @@
# Flux.2 Klein 9B — RTX 3070 best baseline
This is the current best tested Flux.2 Klein text-to-image workflow for the 8 GB RTX 3070.
## Settings
- Model: `flux-2-klein-9b-fp8mixed.safetensors`
- Text encoder: `qwen_3_8b_fp8mixed.safetensors` (`flux2`)
- VAE: `flux2-vae.safetensors`
- Resolution: 1920×1080
- Sampler: `euler_cfg_pp`
- Steps: 6
- CFG: 1.3
- Seed: `20260920`
- Measured generation time: approximately 78 seconds
The seed and prompt are intentionally fixed so future sampler, scheduler, step, CFG, LoRA, and second-pass experiments can be compared consistently.
## Optional second pass
SeedVR2 3B FP8 produced a successful 2560×1440 output from this baseline. A 3840×2160 attempt ran out of the GPU's 8 GB VRAM. The SeedVR2 pass is therefore an optional export step, not part of the fast generation baseline.
@@ -0,0 +1,98 @@
{
"1": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "flux-2-klein-9b-fp8mixed.safetensors",
"weight_dtype": "default"
}
},
"2": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen_3_8b_fp8mixed.safetensors",
"type": "flux2",
"device": "default"
}
},
"3": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "flux2-vae.safetensors"
}
},
"4": {
"class_type": "CLIPTextEncode",
"inputs": {
"text": "Hyper-realistic cinematic documentary photograph inside the canteen of a deep-space exploration spaceship, a spacious lived-in dining hall with brushed titanium bulkheads, warm amber practical lights, cool cyan window spill, a huge panoramic observation window showing a blue nebula, distant stars and the curved limb of a planet, two adult human crew members in the foreground seated across from one another at a scratched metal table playing a tense friendly game of cards, a beautiful adult woman with natural facial features, expressive eyes, shoulder-length dark wavy hair, a fitted practical navy flight jacket over a cream knit top, subtle silver earrings and realistic skin texture, leaning forward holding a playing card, a muscular adult mixed-race man with short curly hair, trimmed beard, broad shoulders and powerful forearms, wearing a charcoal utility shirt with rolled sleeves and a worn leather wristband, studying the table with a half-smile, anatomically correct five-finger hands, orderly readable playing cards and coherent poker chips, steaming coffee, a glass of amber fruit drink, metal cutlery, ceramic bowls, half-eaten noodles, bread, fruit, condiments and scattered crumbs on the table, background crew in varied practical uniforms, one person using a wall-mounted food synthesizer, another carrying a tray, a cook behind a compact galley counter, illuminated panels with abstract non-legible interface graphics, utensils hanging from magnetic rails, food printers, refrigeration drawers, mugs secured in holders, subtle condensation, reflections in polished metal, believable spaceship engineering, cables and access panels, small personal photographs and mission patches, natural candid interaction, rich environmental storytelling, carefully composed wide medium shot at eye level, 35mm cinema lens, realistic perspective, moderate depth of field with both main players and the busy canteen readable, soft volumetric atmosphere, practical motivated lighting, gentle rim light on hair and shoulders, bounced fill light on faces, subtle lens bloom, restrained anamorphic horizontal flares, realistic film grain, high dynamic range, accurate color science, crisp micro-detail, premium science-fiction production design, photorealistic, ultra-detailed, physically plausible materials, cinematic lighting, no text or logos",
"clip": ["2", 0]
}
},
"5": {
"class_type": "CLIPTextEncode",
"inputs": {
"text": "cartoon, illustration, anime, CGI look, plastic skin, waxy faces, beauty filter, over-smoothed skin, duplicate people, extra limbs, missing limbs, malformed hands, fused fingers, unreadable cards, floating objects, distorted faces, crossed eyes, asymmetrical eyes, bad anatomy, warped perspective, overexposure, crushed blacks, muddy detail, extreme saturation, heavy vignette, excessive bloom, excessive lens flare, motion blur, low resolution, artifacts, watermark, caption, subtitle, logo, illegible text, celebrity likeness",
"clip": ["2", 0]
}
},
"6": {
"class_type": "CFGGuider",
"inputs": {
"cfg": 1.3,
"model": ["1", 0],
"positive": ["4", 0],
"negative": ["5", 0]
}
},
"7": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "euler_cfg_pp"
}
},
"8": {
"class_type": "Flux2Scheduler",
"inputs": {
"steps": 6,
"width": 1920,
"height": 1080
}
},
"9": {
"class_type": "RandomNoise",
"inputs": {
"noise_seed": 20260920
}
},
"10": {
"class_type": "EmptyFlux2LatentImage",
"inputs": {
"width": 1920,
"height": 1080,
"batch_size": 1
}
},
"11": {
"class_type": "SamplerCustomAdvanced",
"inputs": {
"noise": ["9", 0],
"guider": ["6", 0],
"sampler": ["7", 0],
"sigmas": ["8", 0],
"latent_image": ["10", 0]
}
},
"12": {
"class_type": "VAEDecode",
"inputs": {
"samples": ["11", 0],
"vae": ["3", 0]
}
},
"13": {
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "fluxExperiments/experiment/flux2klein_best_baseline",
"images": ["12", 0]
}
}
}
@@ -1,78 +0,0 @@
# Z-Image Turbo 3070 Fast Start
## Summary
Best current `text-to-image` starter for a lighter local box.
This master stays close to the official `Z-Image Turbo` example because that is still the cleanest and most portable `Z-Image` graph in the repo.
## Status
- `best-current`
- `not-yet-tested-on-chris-box`
## Workflow asset
- `workflow.json`
- `workflow.png`
- Prefer `workflow.json` for current testing and editing.
- `workflow.png` is the original embedded example import.
## Direct test command
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 "<your prompt>"`
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
- `models/zimage/z-image-turbo-official-example/`
## Why this is the current master
- Official source beats community guesswork for a first baseline.
- `Z-Image Turbo` looks like one of the strongest fast-image candidates for a `3070`.
- The graph is simple enough to troubleshoot without drowning in custom-node noise.
## What I intentionally kept
- Official model wiring
- Official `qwen_3_4b` text encoder path
- 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
- community patch nodes
- extra control branches
- reference-image complexity
- "magic" speed hacks without proof
## Required models
- `models/text_encoders/Qwen/qwen_3_4b.safetensors`
- `models/diffusion_models/zImageTurbo_turbo.safetensors`
- `models/vae/ae.safetensors`
## Required custom nodes
- none beyond current official Comfy support
## Monday test checklist
- Confirm it imports cleanly from PNG on your current Comfy build.
- Check whether it really feels lighter than your usual FLUX path.
- Check whether prompt adherence is good enough to justify keeping it as the `fast-start` master.
## Next optimization candidates
- merge in useful edit/reference ideas from the community `Z-Image` graphs
- build a stronger prompt preset if the base graph is good but inconsistent
@@ -1,128 +0,0 @@
{
"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"
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB