Files
comfyui-workflows/optimized/T2I/flux/README.md
T

2.8 KiB
Raw Blame History

Flux.2 Klein 9B — optimized T2I

This is the current best tested Flux.2 Klein text-to-image workflow for the 8 GB RTX 3070.

Files:

  • workflow.json — API-format prompt for /prompt automation.
  • ui-workflow.json — native ComfyUI workflow; load it from the web UI with Load.

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 included seed and prompt are a controlled baseline example. For reuse, replace the prompt, seed, and resolution; sampler, scheduler, steps, and CFG are the optimization controls.

The positive prompt is the shared T2I comparison prompt in ../qwen_prompt.txt, also used by the Qwen workflow.

Planned optimization matrix

All rows are intentionally Untested. Keep the prompt, seed, and resolution from ../variables.json fixed. Flux2Scheduler does not expose a selectable scheduler, so that value remains fixed.

ID CFG Steps Sampler Scheduler Runtime (s) Tested? Current Best
F-T2I-01 1.3 6 euler_cfg_pp Flux2Scheduler — No No
F-T2I-02 1.0 6 euler_cfg_pp Flux2Scheduler — No No
F-T2I-03 1.1 6 euler_cfg_pp Flux2Scheduler — No No
F-T2I-04 1.2 6 euler_cfg_pp Flux2Scheduler — No No
F-T2I-05 1.3 6 euler_cfg_pp Flux2Scheduler — No No
F-T2I-06 1.4 6 euler_cfg_pp Flux2Scheduler — No No
F-T2I-07 1.5 6 euler_cfg_pp Flux2Scheduler — No No
F-T2I-08 1.3 6 euler Flux2Scheduler — No No
F-T2I-09 1.3 6 euler_ancestral Flux2Scheduler — No No
F-T2I-10 1.3 6 euler_ancestral_cfg_pp Flux2Scheduler — No No
F-T2I-11 1.3 6 res_multistep Flux2Scheduler — No No
F-T2I-12 1.3 6 res_multistep_cfg_pp Flux2Scheduler — No No
F-T2I-13 1.3 4 euler_cfg_pp Flux2Scheduler — No No
F-T2I-14 1.3 5 euler_cfg_pp Flux2Scheduler — No No
F-T2I-15 1.3 7 euler_cfg_pp Flux2Scheduler — No No
F-T2I-16 1.3 8 euler_cfg_pp Flux2Scheduler — No No
F-T2I-17 1.3 4 euler_ancestral Flux2Scheduler — No No
F-T2I-18 1.3 4 res_multistep Flux2Scheduler — No No

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.