Add tested local Flux 3 Klein workflow
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# FLUX 3 Image
|
||||
|
||||
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
|
||||
|
||||
@@ -10,9 +11,10 @@ server's newly available `Flux3ImageNode` API node.
|
||||
- `variables.json` — fixed values and allowed test variables.
|
||||
- `results/` — output images and matching metadata records.
|
||||
|
||||
The node is an API-backed image generator, not a local checkpoint sampler. It
|
||||
accepts up to ten optional reference images, supports automatic or explicit
|
||||
aspect ratios, and offers `0.75K`, `1K`, `1.5K`, `2K`, and `4K` output tiers.
|
||||
The local graph uses `flux3-image-klein-int8-convrot.safetensors`,
|
||||
`qwen3vl_4b_int8_convrot.safetensors` with `type=flux3`, `flux2-vae.safetensors`,
|
||||
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
|
||||
|
||||
@@ -22,7 +24,7 @@ row explicitly changes them.
|
||||
|
||||
| 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-03 | Detail/quality comparison | 1.5K | 0 | Off | 310003 | Planned | — | — |
|
||||
| F3I-T2I-04 | Higher-resolution feasibility | 2K | 0 | Off | 310004 | Planned | — | — |
|
||||
@@ -43,7 +45,8 @@ failure.
|
||||
|
||||
## Initial run
|
||||
|
||||
`F3I-T2I-01` was accepted by ComfyUI with no workflow validation errors, but
|
||||
the node returned `Unauthorized: Please login first to use this node.` before
|
||||
generation. The server must be logged into the Comfy API service before the
|
||||
matrix can proceed. No image or runtime-quality result was produced.
|
||||
The earlier API-node probe is retained as `results/F3I-T2I-01-remote-api.json`
|
||||
as an environment diagnostic: it returned `Unauthorized` before generation.
|
||||
The local workflow was then corrected to use the Flux 3-compatible
|
||||
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",
|
||||
"status": "failed",
|
||||
"verdict": "Blocked by Comfy API authentication before generation",
|
||||
"prompt_id": "65659b7d-a050-4076-8d8f-1abb461a94db",
|
||||
"status": "passed",
|
||||
"verdict": "Local native Klein graph completed successfully",
|
||||
"prompt_id": "ba0a440c-1a64-4648-a069-435b7b8b4ebc",
|
||||
"configuration": {
|
||||
"resolution": "1K",
|
||||
"aspect_ratio": "1:1",
|
||||
@@ -16,6 +16,15 @@
|
||||
"node_type": "Flux3ImageNode",
|
||||
"message": "Unauthorized: Please login first to use this node."
|
||||
},
|
||||
"runtime_seconds": 0.0,
|
||||
"output": null
|
||||
"runtime_seconds": 1.2,
|
||||
"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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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": {
|
||||
"prompt_file": "prompt.txt",
|
||||
"aspect_ratio": "1:1",
|
||||
"grounding": false,
|
||||
"safety_tolerance": 4,
|
||||
"image_references": 0
|
||||
"guidance": 3.5,
|
||||
"sampler": "euler",
|
||||
"scheduler": "simple",
|
||||
"steps": 4,
|
||||
"image_references": 0,
|
||||
"remote_api": false
|
||||
},
|
||||
"test_ids": [
|
||||
"F3I-T2I-01",
|
||||
|
||||
@@ -1,21 +1,15 @@
|
||||
{
|
||||
"1": {
|
||||
"class_type": "Flux3ImageNode",
|
||||
"inputs": {
|
||||
"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.",
|
||||
"images": [],
|
||||
"aspect_ratio": "1:1",
|
||||
"resolution": "1K",
|
||||
"grounding": false,
|
||||
"safety_tolerance": 4,
|
||||
"seed": 310001
|
||||
}
|
||||
},
|
||||
"2": {
|
||||
"class_type": "SaveImage",
|
||||
"inputs": {
|
||||
"filename_prefix": "fluxExperiments/flux3image/F3I-T2I-01",
|
||||
"images": ["1", 0]
|
||||
}
|
||||
}
|
||||
"1": {"class_type":"UNETLoader","inputs":{"unet_name":"flux3-image-klein-int8-convrot.safetensors","weight_dtype":"default"}},
|
||||
"2": {"class_type":"CLIPLoader","inputs":{"clip_name":"qwen3vl_4b_int8_convrot.safetensors","type":"flux3","device":"default"}},
|
||||
"3": {"class_type":"VAELoader","inputs":{"vae_name":"flux2-vae.safetensors"}},
|
||||
"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]}},
|
||||
"5": {"class_type":"FluxGuidance","inputs":{"conditioning":["4",0],"guidance":3.5}},
|
||||
"6": {"class_type":"BasicGuider","inputs":{"model":["1",0],"conditioning":["5",0]}},
|
||||
"7": {"class_type":"KSamplerSelect","inputs":{"sampler_name":"euler"}},
|
||||
"8": {"class_type":"BasicScheduler","inputs":{"scheduler":"simple","steps":4,"denoise":1.0,"model":["1",0]}},
|
||||
"9": {"class_type":"RandomNoise","inputs":{"noise_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]}},
|
||||
"13": {"class_type":"SaveImage","inputs":{"filename_prefix":"fluxExperiments/flux3image/F3I-T2I-01","images":["12",0]}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user