Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Research #10: what FLUX 3 Image Klein's build found (BFL's repack, template file names, fal's prices, AI-Toolkit's flux3)

Clauded6d8a14c2b74
diff --git a/docs/research/new-models-10.md b/docs/research/new-models-10.md
index 83a3cdbe..8bb4641d 100644
--- a/docs/research/new-models-10.md
+++ b/docs/research/new-models-10.md
@@ -646,6 +646,11 @@ Every brief also carries the standard CLOUD ONLY WHERE IT IS HOSTED, MAIN CHANGE
- **Reddit.** No search returned threads from r/StableDiffusion, r/comfyui, r/LocalLLaMA, r/aivideo or r/VideoEditing for September-October 2026, and the pages were not fetched directly. Community interest is measured here by Hugging Face trending and likes, the ComfyUI Wiki feed (which summarises Reddit and Discord launches) and GitHub. A pass on Reddit itself is still owed.
- **Kling 4.0:** text-to-video and video edit `llms.txt` pages show live endpoints; image-to-video and reference-to-video were not re-fetched (the brief says to). Whether Kling 4.0 reached general availability in Kling's own app is reported by one secondary source only. The Replicate schema for `kwaivgi/kling-v4.0` was not fetched.
- _Checked by `nm10-kling-4` on 2026-11-01 (correction):_ all four fal endpoints are `active` in fal's catalog with live `llms.txt` pages (re-read with `scripts/fetch-hosted-schemas.py --part4` into `paid-model-apis-4.json`), and Replicate's official `kwaivgi/kling-v4.0` (version f4dc4504, 2026-10-26) was read: one model for text, start/middle/end frames, reference images and clips and edits (`base_video`), with no shots or elements. Since round 4 the fal schemas gained `middle_image_urls` (up to 8 ordered keyframes between the first and last frame, with no time for each) on image- and reference-to-video, `video_urls` (up to 4) and `voice_ids` on the edit, and `voice_ids` / `end_image_url` on references; an element's clip is 3-8 s. So the hosted API does take ordered keyframes, but not timed ones: Frames mode stays on FLUX 3 Max, as §6.2 says, for that reason.
+- **FLUX 3 Image Klein** (checked by `nm10-flux3-klein` on 2026-11-01, corrections and additions):
+ - The ComfyUI repack is `black-forest-labs/flux-3-image-klein-comfy` (BFL's own repository, not Comfy-Org's), revision `feef60b0`, gated "auto"; every size in §6.3 matches its tree. Its Qwen3-VL-4B int8 encoder and flux2-vae have the same names and byte sizes as the ungated Comfy-Org FIBO 2 and flux2-dev files Fuobe already pins (the gated tree hides their SHA-256, so identity is by size only). The repack's own `workflows/` folder is gated too; the graphs were read from Comfy-Org's templates (`image_flux3_klein_*`, workflow_templates 0.11.86, minComfyUIVersion 0.41.0), whose model notes name `flux3_image_klein_sd_int8_convrot.safetensors`, a file that is not in the repository (the files are `flux3-image-klein-*-int8-convrot`). The distilled template runs 15 steps (the card says 16). Every class the graphs use (TextGenerate, ReferenceMultiLatent, BatchImagesNode, EmptyFlux2LatentImage, CLIPLoader type `flux3`) is in ComfyUI v0.41.0-7 (`fc04da91`): no pin bump.
+ - The card's download line names the int8 prompt upsampler (9.75 GB); the Comfy templates load the w4a8 one (6.72 GB), which Fuobe uses. The upsampler (`black-forest-labs/flux-3-image-klein-pup`, revision `3f3edb52`) is Apache-2.0 and ungated; its README gives the decoding (greedy, top_p 0.95, top_k 20, presence penalty 1.5 for text to image and 0 for edits) and four system prompts (`t2i`, `i2i`, `t2i_bbox`, `i2i_bbox`).
+ - fal: all six inference endpoints and both trainers are `active` (read with `scripts/fetch-hosted-schemas.py --new10` into this file's `endpointRecords` and the Originals research's `trainers[]`). Prices confirmed: per image $0.008 at 768², $0.009 1K, $0.011 1.5K, $0.014 2K, $0.036 4K ("planned"); /lora $0.012 per megapixel; Klein Base /lora $0.035 per megapixel; trainer $0.0043 a step (at least 100); the edit trainer $0.002 a step times a factor per reference image (x2.11 with 1 … x23.44 with 10). Schema drift since round 4: text-to-image's `image_size` now says "256 to 4096 pixels (native 4K)". The plain `base/text-to-image` and `base/edit-image` endpoints exist but are not in fal's catalog listing (planned $0.027 at 1K); not used. fal's trainer page says to run its LoRAs on the Klein LoRA endpoints, "base recommended".
+ - AI-Toolkit (main `e9c72b7`, 2026-10-31) trains FLUX 3 Image Klein Base: `extensions_built_in/diffusion_models/flux3`, arch `flux3`, `black-forest-labs/flux-3-image-klein-base` (gated), its UI's defaults convrot8 quantization, shift timesteps, guidance 3.5, 28 sample steps. Fuobe pins no AI-Toolkit version (it links the repository), so the open engine trains Klein on that.
- **Licences not confirmed from a LICENSE file:** FastH3 Omni, Sol-H3-VAE (HF tag empty), LightVAE, Veda, the LightX2V Qwen-Image 2.1 Lightning LoRA (HF tag empty; comfyui-wiki says Apache-2.0), akhaliq's Qwen-Image 2.1 Next-Scene and Multiple-Angles LoRAs (HF API refused an anonymous read), FeyNoBg, UltraTex, the NVIDIA VFX node pack, Kroma, Krea 2 Edit V2, Anima Reference Adapter. MiniMax Music 3's own LICENSE ("MiniMax-Music3 Community License") differs from the Comfy-Org repack's Apache-2.0 tag: both are recorded.
- **VRAM:** almost no publisher gives consumer-GPU VRAM. Figures here are the publisher's tests (FastH3 Trim's 8 GB cap; FLUX 3 Klein's B200 peaks; CorridorKey's 4-6 GB; VoxCPM2's 8 GB) or third-party measurements (Freefield's 17.8 GB for Klein; one tester's ~90 GB for Alpha-Gen at 4K; the Hy-Nomas port's 5090 timings). Nothing ran on a GPU here.
- **Quality claims** (Pika's DesignArena rank and five-metric win; FLUX 3 Klein's arena Elo as cited by Freefield; FastH3 Trim's speed; Sol-H3-VAE's 16x decode; Zen Image Edit's similarity scores) are the authors' or a single third party's.
diff --git a/tests/flux3-klein.test.ts b/tests/flux3-klein.test.ts
index 41045476..5fdf23a6 100644
--- a/tests/flux3-klein.test.ts
+++ b/tests/flux3-klein.test.ts
@@ -6,6 +6,7 @@ import { getModel, getPreset, MODELS } from "@/lib/catalog";
import { loraEndpointFor } from "@/lib/catalog/loras";
import { buildPayload } from "@/lib/catalog/payload";
import { estimateCost, planGeneration, routesFor } from "@/lib/catalog/plan";
+import { modelChoices } from "@/lib/catalog/canvas";
import { aiToolkitJob, falTrainingInput, familyOfModel, getTrainer, getTrainingTarget, TRAINING_FAMILIES } from "@/lib/catalog/training";
import type { GenerationRequest, GenInput, LoraRef, ModelRoute, Operation } from "@/lib/catalog/types";
import { PROMPT_HELPER_GRAPHS, skipPromptHelper, type ComfyWorkflow, type Manifest } from "@/lib/comfy";
@@ -237,6 +238,11 @@ describe("FLUX 3 Klein in the catalog, both engines", () => {
expect(1 + EDIT_STUDIO.multiRef!.max).toBe(10);
});
+ it("is a choice on the Canvas image node, on both engines", () => {
+ const ids = modelChoices({ type: "model", data: { mediaKind: "image" } }).map((m) => m.id);
+ for (const id of ["oss-flux3-klein", "oss-flux3-klein-base", "flux-3-klein", "flux-3-klein-base"]) expect(ids, id).toContain(id);
+ });
+
it("plans an edit with ten references on either engine; your GPU's graph refuses an eleventh rather than drop it", () => {
const images = Array.from({ length: 10 }, (_, i) => `/api/files/r${i}.png`);
for (const modelId of ["oss-flux3-klein", "flux-3-klein"]) {