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

2.5 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.

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 Tested?
F-T2I-01 baseline 1.3 6 euler_cfg_pp Flux2Scheduler No
F-T2I-02 1.3 4 euler_cfg_pp Flux2Scheduler No
F-T2I-03 1.3 8 euler_cfg_pp Flux2Scheduler No
F-T2I-04 1.3 6 euler Flux2Scheduler No
F-T2I-05 1.3 6 res_multistep Flux2Scheduler No
F-T2I-06 1.2 6 euler_cfg_pp Flux2Scheduler No
F-T2I-07 1.4 6 euler_cfg_pp Flux2Scheduler No
F-T2I-08 1.3 8 res_multistep Flux2Scheduler No

Expanded sweep plan

The next sweep should use the same static variables and cover finer CFG values and sampler families. Every row remains Untested.

Sweep CFG values Steps Samplers Scheduler Tested?
F-T2I-CFG-low 1.0, 1.1, 1.2, 1.3, 1.4, 1.5 6 euler_cfg_pp Flux2Scheduler No
F-T2I-CFG-euler 1.0, 1.1, 1.2, 1.3, 1.4, 1.5 6 euler Flux2Scheduler No
F-T2I-CFG-ancestral 1.0, 1.1, 1.2, 1.3, 1.4, 1.5 6 euler_ancestral, euler_ancestral_cfg_pp Flux2Scheduler No
F-T2I-CFG-res 1.0, 1.1, 1.2, 1.3, 1.4, 1.5 6 res_multistep, res_multistep_cfg_pp Flux2Scheduler No
F-T2I-steps 1.0, 1.1, 1.2, 1.3, 1.4 4, 5, 6, 7, 8 euler_cfg_pp Flux2Scheduler 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.