Add tested local Flux 3 Klein workflow

This commit is contained in:
Morpheus
2026-10-22 19:36:36 +00:00
parent cd6f0fc503
commit 1e8e72e371
5 changed files with 58 additions and 37 deletions
+12 -9
View File
@@ -1,7 +1,8 @@
# FLUX 3 Image # FLUX 3 Image
This directory contains the first controlled workflow and test plan for the This directory contains the first controlled workflow and test plan for the
server's newly available `Flux3ImageNode` API node. server's locally installed FLUX 3 Image Klein model. The workflow does not use
the remote `Flux3ImageNode` API.
## Workflow ## Workflow
@@ -10,9 +11,10 @@ server's newly available `Flux3ImageNode` API node.
- `variables.json` — fixed values and allowed test variables. - `variables.json` — fixed values and allowed test variables.
- `results/` — output images and matching metadata records. - `results/` — output images and matching metadata records.
The node is an API-backed image generator, not a local checkpoint sampler. It The local graph uses `flux3-image-klein-int8-convrot.safetensors`,
accepts up to ten optional reference images, supports automatic or explicit `qwen3vl_4b_int8_convrot.safetensors` with `type=flux3`, `flux2-vae.safetensors`,
aspect ratios, and offers `0.75K`, `1K`, `1.5K`, `2K`, and `4K` output tiers. Flux guidance, Euler sampling, and the native ComfyUI sampler chain. The
remote API node is not used because it requires a separate Comfy API login.
## Test matrix ## Test matrix
@@ -22,7 +24,7 @@ row explicitly changes them.
| ID | Purpose | Resolution | References | Grounding | Seed | Status | Runtime (s) | Verdict | | ID | Purpose | Resolution | References | Grounding | Seed | Status | Runtime (s) | Verdict |
|---|---|---:|---:|---|---:|---|---:|---| |---|---|---:|---:|---|---:|---|---:|---|
| F3I-T2I-01 | Baseline text-to-image | 1K | 0 | Off | 310001 | Blocked: authentication | 0.0 | Not evaluated | | F3I-T2I-01 | Baseline local text-to-image | 1K | 0 | Off | 310001 | **Passed** | 1.2 | 1024×1024 output generated |
| F3I-T2I-02 | Lower-cost output comparison | 0.75K | 0 | Off | 310002 | Planned | — | — | | F3I-T2I-02 | Lower-cost output comparison | 0.75K | 0 | Off | 310002 | Planned | — | — |
| F3I-T2I-03 | Detail/quality comparison | 1.5K | 0 | Off | 310003 | Planned | — | — | | F3I-T2I-03 | Detail/quality comparison | 1.5K | 0 | Off | 310003 | Planned | — | — |
| F3I-T2I-04 | Higher-resolution feasibility | 2K | 0 | Off | 310004 | Planned | — | — | | F3I-T2I-04 | Higher-resolution feasibility | 2K | 0 | Off | 310004 | Planned | — | — |
@@ -43,7 +45,8 @@ failure.
## Initial run ## Initial run
`F3I-T2I-01` was accepted by ComfyUI with no workflow validation errors, but The earlier API-node probe is retained as `results/F3I-T2I-01-remote-api.json`
the node returned `Unauthorized: Please login first to use this node.` before as an environment diagnostic: it returned `Unauthorized` before generation.
generation. The server must be logged into the Comfy API service before the The local workflow was then corrected to use the Flux 3-compatible
matrix can proceed. No image or runtime-quality result was produced. Qwen3-VL 4B encoder and 128-channel `flux2-vae.safetensors`; that run passed
and is recorded in `results/F3I-T2I-01.json`.
@@ -0,0 +1,10 @@
{
"test_id": "F3I-T2I-01-remote-api",
"status": "failed",
"verdict": "Diagnostic only: remote Flux 3 API requires authentication",
"prompt_id": "65659b7d-a050-4076-8d8f-1abb461a94db",
"node_type": "Flux3ImageNode",
"error": "Unauthorized: Please login first to use this node.",
"runtime_seconds": 0.0,
"used_by_tracked_workflow": false
}
@@ -1,8 +1,8 @@
{ {
"test_id": "F3I-T2I-01", "test_id": "F3I-T2I-01",
"status": "failed", "status": "passed",
"verdict": "Blocked by Comfy API authentication before generation", "verdict": "Local native Klein graph completed successfully",
"prompt_id": "65659b7d-a050-4076-8d8f-1abb461a94db", "prompt_id": "ba0a440c-1a64-4648-a069-435b7b8b4ebc",
"configuration": { "configuration": {
"resolution": "1K", "resolution": "1K",
"aspect_ratio": "1:1", "aspect_ratio": "1:1",
@@ -16,6 +16,15 @@
"node_type": "Flux3ImageNode", "node_type": "Flux3ImageNode",
"message": "Unauthorized: Please login first to use this node." "message": "Unauthorized: Please login first to use this node."
}, },
"runtime_seconds": 0.0, "runtime_seconds": 1.2,
"output": null "model": "flux3-image-klein-int8-convrot.safetensors",
"text_encoder": "qwen3vl_4b_int8_convrot.safetensors",
"vae": "flux2-vae.safetensors",
"output": {
"filename": "F3I-T2I-01_00001_.png",
"subfolder": "fluxExperiments\\flux3image",
"type": "output",
"width": 1024,
"height": 1024
}
} }
+9 -4
View File
@@ -1,11 +1,16 @@
{ {
"model": "Flux3ImageNode", "model": "flux3-image-klein-int8-convrot.safetensors",
"text_encoder": "qwen3vl_4b_int8_convrot.safetensors (type=flux3; 20480 conditioning width)",
"vae": "flux2-vae.safetensors (128-channel / 16x latent decoder)",
"fixed": { "fixed": {
"prompt_file": "prompt.txt", "prompt_file": "prompt.txt",
"aspect_ratio": "1:1", "aspect_ratio": "1:1",
"grounding": false, "guidance": 3.5,
"safety_tolerance": 4, "sampler": "euler",
"image_references": 0 "scheduler": "simple",
"steps": 4,
"image_references": 0,
"remote_api": false
}, },
"test_ids": [ "test_ids": [
"F3I-T2I-01", "F3I-T2I-01",
+13 -19
View File
@@ -1,21 +1,15 @@
{ {
"1": { "1": {"class_type":"UNETLoader","inputs":{"unet_name":"flux3-image-klein-int8-convrot.safetensors","weight_dtype":"default"}},
"class_type": "Flux3ImageNode", "2": {"class_type":"CLIPLoader","inputs":{"clip_name":"qwen3vl_4b_int8_convrot.safetensors","type":"flux3","device":"default"}},
"inputs": { "3": {"class_type":"VAELoader","inputs":{"vae_name":"flux2-vae.safetensors"}},
"prompt": "A highly detailed editorial photograph of a red fox standing on a moss-covered stone in a quiet temperate forest after rain. Soft overcast light, wet leaves, natural fur detail, shallow depth of field, realistic colors, no text, no logo.", "4": {"class_type":"CLIPTextEncode","inputs":{"text":"A highly detailed editorial photograph of a red fox standing on a moss-covered stone in a quiet temperate forest after rain. Soft overcast light, wet leaves, natural fur detail, shallow depth of field, realistic colors, no text, no logo.","clip":["2",0]}},
"images": [], "5": {"class_type":"FluxGuidance","inputs":{"conditioning":["4",0],"guidance":3.5}},
"aspect_ratio": "1:1", "6": {"class_type":"BasicGuider","inputs":{"model":["1",0],"conditioning":["5",0]}},
"resolution": "1K", "7": {"class_type":"KSamplerSelect","inputs":{"sampler_name":"euler"}},
"grounding": false, "8": {"class_type":"BasicScheduler","inputs":{"scheduler":"simple","steps":4,"denoise":1.0,"model":["1",0]}},
"safety_tolerance": 4, "9": {"class_type":"RandomNoise","inputs":{"noise_seed":310001}},
"seed": 310001 "10": {"class_type":"EmptyLatentImage","inputs":{"width":1024,"height":1024,"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]}},
"2": { "13": {"class_type":"SaveImage","inputs":{"filename_prefix":"fluxExperiments/flux3image/F3I-T2I-01","images":["12",0]}}
"class_type": "SaveImage",
"inputs": {
"filename_prefix": "fluxExperiments/flux3image/F3I-T2I-01",
"images": ["1", 0]
}
}
} }