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.

Open models: FIBO 2 Dev for text to image and edits, FIBO 2 Edit Turbo for 4-step edits

Adarsh7b8c21252acc
diff --git a/scripts/comfy/hand-built/fibo2-dev-edit.json b/scripts/comfy/hand-built/fibo2-dev-edit.json
new file mode 100644
index 00000000..ef622099
--- /dev/null
+++ b/scripts/comfy/hand-built/fibo2-dev-edit.json
@@ -0,0 +1,194 @@
+{
+ "3": {
+ "class_type": "KSampler",
+ "inputs": {
+ "seed": 1234,
+ "steps": 30,
+ "cfg": 5,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1,
+ "model": [
+ "37",
+ 0
+ ],
+ "positive": [
+ "112",
+ 0
+ ],
+ "negative": [
+ "112",
+ 1
+ ],
+ "latent_image": [
+ "112",
+ 2
+ ]
+ },
+ "_meta": {
+ "title": "KSampler"
+ }
+ },
+ "8": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "3",
+ 0
+ ],
+ "vae": [
+ "39",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "VAE Decode"
+ }
+ },
+ "37": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "fibo2_dev_int8_convrot.safetensors",
+ "weight_dtype": "default"
+ },
+ "_meta": {
+ "title": "Load Diffusion Model"
+ }
+ },
+ "38": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3vl_4b_int8_convrot.safetensors",
+ "type": "fibo2",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Load CLIP"
+ }
+ },
+ "39": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "flux2-vae.safetensors"
+ },
+ "_meta": {
+ "title": "Load VAE"
+ }
+ },
+ "56": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "filename_prefix": "fuobe/fibo2-dev-edit",
+ "images": [
+ "8",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Save Image"
+ }
+ },
+ "112": {
+ "class_type": "TextEncodeFibo2",
+ "inputs": {
+ "clip": [
+ "38",
+ 0
+ ],
+ "prompt": "",
+ "negative_prompt": "",
+ "images.image_1": [
+ "115",
+ 0
+ ],
+ "images.image_2": [
+ "116",
+ 0
+ ],
+ "images.image_3": [
+ "117",
+ 0
+ ],
+ "images.image_4": [
+ "118",
+ 0
+ ],
+ "width": 0,
+ "height": 0,
+ "batch_size": 1,
+ "vae": [
+ "39",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "TextEncodeFibo2 (prompt)"
+ }
+ },
+ "113": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "input.png"
+ },
+ "_meta": {
+ "title": "Picture to edit (image)"
+ }
+ },
+ "114": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "113",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 1,
+ "scale_method": "bicubic"
+ },
+ "_meta": {
+ "title": "Scale to 1 MP"
+ }
+ },
+ "115": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "114",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 16,
+ "scale_method": "bicubic"
+ },
+ "_meta": {
+ "title": "Scale to a multiple of 16"
+ }
+ },
+ "116": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "input.png"
+ },
+ "_meta": {
+ "title": "Reference 2 (image2)"
+ }
+ },
+ "117": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "input.png"
+ },
+ "_meta": {
+ "title": "Reference 3 (image3)"
+ }
+ },
+ "118": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "input.png"
+ },
+ "_meta": {
+ "title": "Reference 4 (image4)"
+ }
+ }
+}
diff --git a/scripts/comfy/hand-built/fibo2-dev-t2i.json b/scripts/comfy/hand-built/fibo2-dev-t2i.json
new file mode 100644
index 00000000..246b7c1e
--- /dev/null
+++ b/scripts/comfy/hand-built/fibo2-dev-t2i.json
@@ -0,0 +1,173 @@
+{
+ "3": {
+ "class_type": "KSampler",
+ "inputs": {
+ "seed": 1234,
+ "steps": 30,
+ "cfg": 5,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1,
+ "model": [
+ "37",
+ 0
+ ],
+ "positive": [
+ "6",
+ 0
+ ],
+ "negative": [
+ "94",
+ 0
+ ],
+ "latent_image": [
+ "102",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "KSampler"
+ }
+ },
+ "6": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "clip": [
+ "38",
+ 0
+ ],
+ "text": [
+ "112",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "CLIP Text Encode (Positive Prompt)"
+ }
+ },
+ "8": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "3",
+ 0
+ ],
+ "vae": [
+ "39",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "VAE Decode"
+ }
+ },
+ "37": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "fibo2_dev_int8_convrot.safetensors",
+ "weight_dtype": "default"
+ },
+ "_meta": {
+ "title": "Load Diffusion Model"
+ }
+ },
+ "38": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3vl_4b_int8_convrot.safetensors",
+ "type": "fibo2",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Load CLIP"
+ }
+ },
+ "39": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "flux2-vae.safetensors"
+ },
+ "_meta": {
+ "title": "Load VAE"
+ }
+ },
+ "56": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "filename_prefix": "fuobe/fibo2-dev-t2i",
+ "images": [
+ "8",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Save Image"
+ }
+ },
+ "94": {
+ "class_type": "CLIPTextEncode",
+ "inputs": {
+ "clip": [
+ "38",
+ 0
+ ],
+ "text": ""
+ },
+ "_meta": {
+ "title": "CLIP Text Encode (Negative Prompt)"
+ }
+ },
+ "102": {
+ "class_type": "EmptyLatentImage",
+ "inputs": {
+ "width": 1024,
+ "height": 1024,
+ "batch_size": 1
+ },
+ "_meta": {
+ "title": "Empty Latent Image"
+ }
+ },
+ "112": {
+ "class_type": "TextGenerate",
+ "inputs": {
+ "clip": [
+ "116",
+ 0
+ ],
+ "prompt": "",
+ "max_length": 2048,
+ "sampling_mode": "off",
+ "thinking": false,
+ "use_default_template": true,
+ "mtp": "auto",
+ "system_prompt": [
+ "115",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Words to VGL JSON (prompt)"
+ }
+ },
+ "115": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "You are a visionary and creative Visual Art Director at a leading Generative AI company.\nYour expertise lies in taking a user's textual concept and transforming it into a rich, detailed, and aesthetically compelling visual scene.\nYour primary task is to receive a user's description of a desired image and generate a comprehensive JSON object that describes this imagined scene in vivid detail. You must creatively infer and add details that are not explicitly mentioned in the user's request, such as background elements, lighting conditions, composition, and mood, always aiming for a high-quality, visually appealing result unless the user's prompt suggests otherwise.\nAdhere strictly to the following structure and guidelines:\nThe output MUST be ONLY a valid JSON object. Do not include any text before or after the JSON object (e.g., no \"Here is the JSON:\", no explanations, no apologies).\nIMPORTANT: When describing human body parts, positions, or actions, always describe them from the PERSON'S OWN PERSPECTIVE, not from the observer's viewpoint. For example, if a person's left arm is raised (from their own perspective), describe it as \"left arm\" even if it appears on the right side of the image from the viewer's perspective.\nRULE for Human Subjects: When the user's prompt features a person or people as the main subject, you MUST default to a composition that frames them prominently. Aim for compositions where their face and upper body are a primary focus (e.g., 'medium shot', 'close-up'). Avoid defaulting to 'wide-angle' or 'full-body' shots where the face is small, unless the user's prompt specifically implies a large scene (e.g., \"a person standing on a mountain\").\nUnless the user's prompt explicitly requests a different style (e.g., 'painting', 'cartoon', 'illustration'), you MUST default to `style_medium: \"photograph\"` and aim for the highest degree of photorealism. In such cases, `artistic_style` should be \"realistic\" or a similar descriptor.\nThe JSON object must contain the following keys precisely:\n1. `short_description`: (String) A concise summary of the imagined image content, 200 words maximum.\n2. `objects`: (Array of Objects) List the prominent objects of the scene. For each object, include:\n * `description`: (String) A detailed description of the imagined object, 100 words maximum.\n * `location`: (String) E.g., \"center\", \"top-left\", \"bottom-right foreground\".\n * `relative_size`: (String) E.g., \"small\", \"medium\", \"large within frame\". (If a person is the main subject, this should be \"medium-to-large\" or \"large within frame\").\n * `shape_and_color`: (String) Describe the basic shape and dominant color.\n * `texture`: (String) E.g., \"smooth\", \"rough\", \"metallic\", \"furry\".\n * `appearance_details`: (String) Any other notable visual details.\n * `relationship`: (String) Describe the relationship between the object and the other objects in the image.\n * `orientation`: (String) Describe the orientation or positioning of the object, e.g., \"upright\", \"tilted 45 degrees\", \"horizontal\", \"vertical\", \"facing left\", \"facing right\", \"upside down\", \"lying on its side\".\n * If the object is a human or a human-like object, include the following:\n * `pose`: (String) Describe the body position.\n * `expression`: (String) Describe facial expression and emotion. E.g., \"winking\", \"joyful\", \"serious\", \"surprised\", \"calm\".\n * `clothing`: (String) Describe attire.\n * `action`: (String) Describe the action of the human.\n * `gender`: (String) Describe the gender of the human.\n * `skin_tone_and_texture`: (String) Describe the skin tone and texture.\n * If the object is a cluster of objects, include the following:\n * `number_of_objects`: (Integer) The number of objects in the cluster.\n3. `background_setting`: (String) Describe the overall environment, setting, or background, including any notable background elements that are not part of the `objects` section.\n4. `lighting`: (Object)\n * `conditions`: (String) E.g., \"bright daylight\", \"dim indoor\", \"studio lighting\", \"golden hour\".\n * `direction`: (String) E.g., \"front-lit\", \"backlit\", \"side-lit from left\".\n * `shadows`: (String) Describe the presence and quality of shadows, e.g., \"long, soft shadows\", \"sharp, defined shadows\", \"minimal shadows\".\n5. `aesthetics`: (Object)\n * `composition`: (String) E.g., \"rule of thirds\", \"symmetrical\", \"centered\", \"leading lines\". If people are the main subject, specify the shot type, e.g., \"medium shot\", \"close-up\", \"portrait composition\".\n * `color_scheme`: (String) E.g., \"monochromatic blue\", \"warm complementary colors\", \"high contrast\".\n * `mood_atmosphere`: (String) E.g., \"serene\", \"energetic\", \"mysterious\", \"joyful\".\n6. `photographic_characteristics`: (Object)\n * `depth_of_field`: (String) E.g., \"shallow\", \"deep\", \"bokeh background\".\n * `focus`: (String) E.g., \"sharp focus on subject\", \"soft focus\", \"motion blur\".\n * `camera_angle`: (String) E.g., \"eye-level\", \"low angle\", \"high angle\", \"dutch angle\".\n * `lens_focal_length`: (String) E.g., \"wide-angle\", \"telephoto\", \"macro\", \"fisheye\". (If the main subject is a person, prefer \"standard lens (e.g., 35mm-50mm)\" or \"portrait lens (e.g., 50mm-85mm)\" to ensure they are framed more closely. Avoid \"wide-angle\" for people unless specified).\n7. `style_medium`: (String) Identify the artistic style or medium based on the user's prompt or creative interpretation (e.g., \"photograph\", \"oil painting\", \"watercolor\", \"3D render\", \"digital illustration\", \"pencil sketch\").\n8. `artistic_style`: (String) If the style is not \"photograph\", describe its specific artistic characteristics, 3 words maximum. (e.g., \"impressionistic, vibrant, textured\" for an oil painting).\n9. `context`: (String) Provide a general description of the type of image this would be. For example: \"This is a concept for a high-fashion editorial photograph intended for a magazine spread,\" or \"This describes a piece of concept art for a fantasy video game.\"\n10. `text_render`: (Array of Objects) Every piece of text that should appear in the image MUST be an entry in this array, written exactly as it should read in the image: titles, headlines, labels, signs, captions, buttons, menu items, numbers, prices, dates -- whether the user quoted it or it is implied by the scene. Text mentioned in `short_description` or in any object's description must ALSO appear here as its own entry. Put each separate line, label or list item in its own entry. If the image has no text, the array is empty (`[]`).\n * `text`: (String) The exact text as it should appear in the image. NEVER use generic placeholders.\n * `location`: (String) E.g., \"center\", \"top-left\", \"bottom-right foreground\".\n * `size`: (String) E.g., \"medium\", \"large\", \"large within frame\".\n * `color`: (String) E.g., \"red\", \"blue\", \"green\".\n * `font`: (String) E.g., \"realistic\", \"cartoonish\", \"minimalist\", \"serif typeface\".\n * `appearance_details`: (String) Any other notable visual details.\nEnsure the information within the JSON is detailed, creative, internally consistent, and avoids redundancy between fields.\n\n**OUTPUT FORMAT (STRICT):** Output the JSON object as plain text. Do NOT wrap it in a Markdown code block (no ```), and do not write anything before or after it. Write every value in English, even if the user's request is written in another language.\n\nThe user's message is the request. Generate a detailed JSON object, adhering to the expected schema, for an imagined scene based on it.\n"
+ },
+ "_meta": {
+ "title": "VGL system prompt"
+ }
+ },
+ "116": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3.5_9b_int8_convrot.safetensors",
+ "type": "stable_diffusion",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Load CLIP (prompt writer)"
+ }
+ }
+}
diff --git a/scripts/comfy/hand-built/fibo2-edit-turbo-edit.json b/scripts/comfy/hand-built/fibo2-edit-turbo-edit.json
new file mode 100644
index 00000000..4fe4ec4b
--- /dev/null
+++ b/scripts/comfy/hand-built/fibo2-edit-turbo-edit.json
@@ -0,0 +1,194 @@
+{
+ "3": {
+ "class_type": "KSampler",
+ "inputs": {
+ "seed": 12345,
+ "steps": 4,
+ "cfg": 1,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1,
+ "model": [
+ "37",
+ 0
+ ],
+ "positive": [
+ "112",
+ 0
+ ],
+ "negative": [
+ "112",
+ 1
+ ],
+ "latent_image": [
+ "112",
+ 2
+ ]
+ },
+ "_meta": {
+ "title": "KSampler"
+ }
+ },
+ "8": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "3",
+ 0
+ ],
+ "vae": [
+ "39",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "VAE Decode"
+ }
+ },
+ "37": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "fibo2_edit_turbo_int8_convrot.safetensors",
+ "weight_dtype": "default"
+ },
+ "_meta": {
+ "title": "Load Diffusion Model"
+ }
+ },
+ "38": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3vl_4b_int8_convrot.safetensors",
+ "type": "fibo2",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Load CLIP"
+ }
+ },
+ "39": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "flux2-vae.safetensors"
+ },
+ "_meta": {
+ "title": "Load VAE"
+ }
+ },
+ "56": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "filename_prefix": "fuobe/fibo2-edit-turbo-edit",
+ "images": [
+ "8",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Save Image"
+ }
+ },
+ "112": {
+ "class_type": "TextEncodeFibo2",
+ "inputs": {
+ "clip": [
+ "38",
+ 0
+ ],
+ "prompt": "",
+ "negative_prompt": "",
+ "images.image_1": [
+ "115",
+ 0
+ ],
+ "images.image_2": [
+ "116",
+ 0
+ ],
+ "images.image_3": [
+ "117",
+ 0
+ ],
+ "images.image_4": [
+ "118",
+ 0
+ ],
+ "width": 0,
+ "height": 0,
+ "batch_size": 1,
+ "vae": [
+ "39",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "TextEncodeFibo2 (prompt)"
+ }
+ },
+ "113": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "input.png"
+ },
+ "_meta": {
+ "title": "Picture to edit (image)"
+ }
+ },
+ "114": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "113",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 1,
+ "scale_method": "bicubic"
+ },
+ "_meta": {
+ "title": "Scale to 1 MP"
+ }
+ },
+ "115": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "114",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 16,
+ "scale_method": "bicubic"
+ },
+ "_meta": {
+ "title": "Scale to a multiple of 16"
+ }
+ },
+ "116": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "input.png"
+ },
+ "_meta": {
+ "title": "Reference 2 (image2)"
+ }
+ },
+ "117": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "input.png"
+ },
+ "_meta": {
+ "title": "Reference 3 (image3)"
+ }
+ },
+ "118": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "input.png"
+ },
+ "_meta": {
+ "title": "Reference 4 (image4)"
+ }
+ }
+}
diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjs
index 444f1ddb..180c8b76 100644
--- a/scripts/comfy/library.spec.mjs
+++ b/scripts/comfy/library.spec.mjs
@@ -264,6 +264,12 @@ export const KNOWN_MODELS = {
// round 4 (r4/video-finish): the chunked SeedVR2 graph is hand-built, so its files are named here (same files as the template).
'seedvr2_3b_int8_convrot.safetensors': { folder: 'diffusion_models', url: 'https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/diffusion_models/seedvr2_3b_int8_convrot.safetensors' },
'seedvr2_ema_vae_fp16.safetensors': { folder: 'vae', url: 'https://huggingface.co/Comfy-Org/SeedVR2/resolve/main/vae/seedvr2_ema_vae_fp16.safetensors' },
+ // owner's SOTA families (2026-10-31): FIBO 2. The VAE is the existing flux2-vae row. The text-to-image graph's prompt writer is
+ // MOSS-Image's Qwen3.5 9B int8 (same row as MOSS-Image's). `variants`: the same weights in another precision in the same repo.
+ 'fibo2_dev_int8_convrot.safetensors': { folder: 'diffusion_models', url: 'https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/diffusion_models/fibo2_dev_int8_convrot.safetensors', variants: ['fibo2_dev_bf16.safetensors'] },
+ 'fibo2_edit_turbo_int8_convrot.safetensors': { folder: 'diffusion_models', url: 'https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/diffusion_models/fibo2_edit_turbo_int8_convrot.safetensors', variants: ['fibo2_edit_turbo_bf16.safetensors'] },
+ 'qwen3vl_4b_int8_convrot.safetensors': { folder: 'text_encoders', url: 'https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors' },
+ 'qwen3.5_9b_int8_convrot.safetensors': { folder: 'text_encoders', url: 'https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_int8_convrot.safetensors', variants: ['qwen3.5_9b_bf16.safetensors'] },
};
const WAN_NEG_EN =
@@ -2111,6 +2117,63 @@ export const SPEC = [
'The look\'s LoRAs are injected after the UNETLoader (LoraLoaderModelOnly), as on z-image-turbo-t2i. The result keeps the picture\'s shape.',
},
+ // ---- Owner's SOTA image families: FIBO 2 (Bria FIBO 2.0 Dev and Edit Turbo, core nodes) ------------------------
+ {
+ id: 'fibo2-dev-t2i',
+ title: 'FIBO 2 Dev text to image (Qwen3.5 writes the structured VGL prompt)',
+ capability: 't2i',
+ handBuilt: 'hand-built/fibo2-dev-t2i.json',
+ bindings: {
+ prompt: [b('112', 'prompt')], negativePrompt: [b('94', 'text')], width: [b('102', 'width')], height: [b('102', 'height')],
+ seed: [b('3', 'seed')], steps: [b('3', 'steps')], cfg: [b('3', 'cfg')],
+ },
+ outputs: [{ node: '56', kind: 'image' }],
+ limits: { maxWidth: 2048, maxHeight: 2048, dimensionMultiple: 16 },
+ vramGb: 24,
+ license: 'CC-BY-NC-4.0 (Bria FIBO 2.0 weights: NON-COMMERCIAL; commercial use needs a Bria agreement)',
+ notes:
+ 'The owner\'s fibo/fibo_2_dev_text2image_vgl.json as saved [O]: core TextGenerate on Qwen3.5 9B int8 (CLIPLoader type stable_diffusion, 2048 tokens, sampling off) turns the words ' +
+ 'into Bria\'s VGL JSON with the owner\'s art-director system prompt, and CLIP Text Encode (fibo2, Qwen3-VL 4B int8) encodes it; empty negative, 30 steps, cfg 5, euler / simple. ' +
+ 'The ResolutionSelector is replaced by an explicit width x height (FIBO 2 is trained at about 1 MP, multiple of 16); the prompt preview and the notes are removed. ' +
+ 'Not rendered through Fuobe yet (the preview pipeline rendered FIBO 2 Dev from a hand-written VGL prompt through TextEncodeFibo2 at 40 steps).',
+ },
+ {
+ id: 'fibo2-dev-edit',
+ title: 'FIBO 2 Dev image edit, up to 4 references',
+ capability: 'edit',
+ handBuilt: 'hand-built/fibo2-dev-edit.json',
+ bindings: {
+ prompt: [b('112', 'prompt')], negativePrompt: [b('112', 'negative_prompt')],
+ image: [b('113', 'image')], image2: [b('116', 'image')], image3: [b('117', 'image')], image4: [b('118', 'image')],
+ seed: [b('3', 'seed')], steps: [b('3', 'steps')], cfg: [b('3', 'cfg')],
+ },
+ outputs: [{ node: '56', kind: 'image' }],
+ vramGb: 16,
+ license: 'CC-BY-NC-4.0 (Bria FIBO 2.0 weights: NON-COMMERCIAL; commercial use needs a Bria agreement)',
+ notes:
+ 'The owner\'s fibo/fibo_2_dev_image_edit_multi.json as saved [O]: image 1 scaled to 1 MP and to a multiple of 16 (bicubic), the other references straight into TextEncodeFibo2 ' +
+ '(images.image_2..4: the owner\'s graph wires two, 3 and 4 are wired the same way). The encoder gives the conditioning and the latent at the trained size of image 1\'s shape ' +
+ '(width = height = 0); empty negative (the null caption FIBO 2 was trained with), 30 steps, cfg 5, euler / simple. One picture is scaled and centre-cropped to the result (the edit ' +
+ 'lines up with it pixel for pixel); several are each scaled to their own trained size. References not given are left out of the encoder. The instruction names the pictures ' +
+ '<image_1>, <image_2>... The VGL edit graphs (a 9.75 GB prompt writer on every edit) are not adopted. Not rendered through Fuobe yet.',
+ },
+ {
+ id: 'fibo2-edit-turbo-edit',
+ title: 'FIBO 2 Edit Turbo image edit (4 steps), up to 4 references',
+ capability: 'edit',
+ handBuilt: 'hand-built/fibo2-edit-turbo-edit.json',
+ bindings: {
+ prompt: [b('112', 'prompt')], image: [b('113', 'image')], image2: [b('116', 'image')], image3: [b('117', 'image')], image4: [b('118', 'image')],
+ seed: [b('3', 'seed')], steps: [b('3', 'steps')],
+ },
+ outputs: [{ node: '56', kind: 'image' }],
+ vramGb: 16,
+ license: 'CC-BY-NC-4.0 (Bria FIBO 2.0 weights: NON-COMMERCIAL; commercial use needs a Bria agreement)',
+ notes:
+ 'The owner\'s fibo/fibo_2_edit_turbo_image_edit_multi.json as saved [O]: fibo2-dev-edit on the Edit Turbo weights, 4 steps, cfg 1 (no negative pass), euler / simple; ' +
+ 'references 3 and 4 wired like reference 2, and left out when not given. Edits only: none of the owner\'s graphs runs the turbo weights for text to image. Not rendered through Fuobe yet.',
+ },
+
// ---- Fuobe DoP (Originals O4): LTX-2.3 camera moves, FPV and transitions with LoRAs ------------
{
id: 'ltx23-i2v-lora',
diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.ts
index 7ba5053a..3cc55eac 100644
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@ -56,6 +56,34 @@ type OpenSpec = Omit<ModelDef, "engine" | "badges"> & { badges?: ModelDef["badge
const o = (m: OpenSpec): ModelDef => ({ ...m, engine: "open", badges: ["open", ...(m.badges ?? [])] });
const open: ModelDef[] = [
+ // ---- FIBO 2 (Bria FIBO 2.0): the owner's workflows, among the first picks for text to image and edits
+ o({
+ id: "oss-fibo2-dev",
+ name: "FIBO 2 Dev",
+ vendor: "Bria",
+ family: "bria",
+ kind: "image",
+ tagline: "Structured JSON prompts for exact control; edits with up to 4 references · 24 GB GPU · non-commercial weights",
+ badges: ["new", "top"],
+ routes: [
+ comfy("t2i", "fibo2-dev-t2i", "Qwen3.5 writes Bria's structured JSON prompt; 30 steps"),
+ comfy("edit", "fibo2-dev-edit", "30 steps, up to 4 references"),
+ ],
+ options: { aspectRatios: IMG_AR, resolutions: ["1K"], maxImages: 4, seed: true, negativePrompt: true },
+ defaults: { aspectRatio: "1:1", resolution: "1K" },
+ }),
+ o({
+ id: "oss-fibo2-edit-turbo",
+ name: "FIBO 2 Edit Turbo",
+ vendor: "Bria",
+ family: "bria",
+ kind: "image",
+ tagline: "4-step edits with up to 4 references · 16 GB GPU · non-commercial weights",
+ badges: ["new", "top", "fast"],
+ routes: [comfy("edit", "fibo2-edit-turbo-edit", "4 steps, up to 4 references")],
+ options: { maxImages: 4, seed: true },
+ }),
+
// ---------------- Image
o({
id: "oss-z-image-turbo",
diff --git a/src/lib/comfy.ts b/src/lib/comfy.ts
index 998d69d4..890fcca7 100644
--- a/src/lib/comfy.ts
+++ b/src/lib/comfy.ts
@@ -640,13 +640,15 @@ export function dropLoadedSound(wf: ComfyWorkflow, loaders: string[], keep: stri
}
/**
- * An optional upload with no file (a side of a multi-view 3D model nobody photographed): the loader goes, with
- * every node downstream of it, up to the inputs of `into` nodes (Pixal3DMultiViewConditioning's "left"), which
- * are dropped. Null when its branch doesn't end in such an input, or reaches an output node in `keep` (then the
- * upload can't simply be left out).
+ * An optional upload with no file (a side of a multi-view 3D model nobody photographed, a reference left out of
+ * an edit): the loader goes, with every node downstream of it, up to the inputs of `into` nodes (one class, or
+ * any of a set: Pixal3DMultiViewConditioning's "left", TextEncodeFibo2's "images.image_3"), which are dropped.
+ * Null when its branch doesn't end in such an input, or reaches an output node in `keep` (then the upload can't
+ * simply be left out).
*/
-export function dropBranch(wf: ComfyWorkflow, loaderId: string, into: string, keep: string[] = []): ComfyWorkflow | null {
+export function dropBranch(wf: ComfyWorkflow, loaderId: string, into: string | ReadonlySet<string>, keep: string[] = []): ComfyWorkflow | null {
if (!wf[loaderId]) return null;
+ const ends = typeof into === "string" ? new Set([into]) : into;
const gone = new Set([loaderId]);
const cut: { id: string; input: string }[] = [];
for (const queue = [loaderId]; queue.length; ) {
@@ -654,7 +656,7 @@ export function dropBranch(wf: ComfyWorkflow, loaderId: string, into: string, ke
for (const [cid, n] of Object.entries(wf)) {
for (const [input, v] of Object.entries(n.inputs)) {
if (!isLinkValue(v) || v[0] !== id) continue;
- if (n.class_type === into) cut.push({ id: cid, input });
+ if (ends.has(n.class_type)) cut.push({ id: cid, input });
else if (keep.includes(cid)) return null;
else if (!gone.has(cid)) {
gone.add(cid);
diff --git a/src/server/providers/comfyui.ts b/src/server/providers/comfyui.ts
index 26407948..ecc7bcdd 100644
--- a/src/server/providers/comfyui.ts
+++ b/src/server/providers/comfyui.ts
@@ -670,6 +670,13 @@ interface ViewSlots {
const IMAGE_SLOTS = ["image", "image2", "image3", "image4"] as const;
+/**
+ * Encoders whose reference inputs are each optional (autogrow images.image_N, a second person): a reference the
+ * run doesn't have is left out of them instead of asked for. Images fill image, image2… in order, so only the last
+ * slots are ever left out and the encoder's inputs have no gaps.
+ */
+const OPTIONAL_REFERENCE_INPUTS: ReadonlySet<string> = new Set(["TextEncodeQwenImage21", "TextEncodeFibo2", "Krea2EditModelPatch", "Krea2EditGroundedEncode"]);
+
/**
* Which slot each photo of a multi-view 3D model goes to: params.extra.views names the side of each photo
* ("front", "left"…), in the order of the images; without names they are the sides in order.
@@ -1220,8 +1227,9 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,
values.duration = Math.round((clipLength ?? (Math.max(...tracks) || 600)) * 100) / 100 + 0.5; // the mux trims it to the picture
}
- // Reference images the user left out: dropped from a FLUX.2 reference chain, else the previous image
- // again where that's harmless (style boards, multi-reference edits), else a clear "add …" message.
+ // Reference images the user left out: dropped from a FLUX.2 reference chain or from an encoder that takes any
+ // number of them, else the previous image again where that's harmless (style boards, multi-reference edits),
+ // else a clear "add …" message.
let graph = workflow;
const left: string[] = [...studioLeft];
// A side nobody photographed is left out (its cut-out and crop with it); the front is needed.
@@ -1240,9 +1248,10 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,
for (const [k, prev] of [["image2", "image"], ["image3", "image2"], ["image4", "image3"]] as const) {
if (rules.views || !b[k] || values[k] !== undefined || rules.required?.includes(k) || left.includes(k)) continue;
if (values[prev] === undefined && !left.includes(prev)) continue;
- const bypassed = b[k]!.length === 1 ? bypassReference(graph, b[k]![0].node) : null;
- if (bypassed) {
- graph = bypassed;
+ const loader = b[k]!.length === 1 ? b[k]![0].node : undefined;
+ const without = loader ? (bypassReference(graph, loader) ?? dropBranch(graph, loader, OPTIONAL_REFERENCE_INPUTS, manifest.outputs.map((o) => o.node))) : null;
+ if (without) {
+ graph = without;
left.push(k);
} else if ((rules.reuse || manifest.capability === "style-reference") && values[prev] !== undefined) values[k] = values[prev];
}
diff --git a/tests/open-fibo-2.test.ts b/tests/open-fibo-2.test.ts
new file mode 100644
index 00000000..045ef27f
--- /dev/null
+++ b/tests/open-fibo-2.test.ts
@@ -0,0 +1,194 @@
+import fs from "node:fs";
+import os from "node:os";
+import path from "node:path";
+import { afterAll, describe, expect, it } from "vitest";
+import type { GenInput, Operation } from "@/lib/catalog/types";
+import type { ComfyWorkflow } from "@/lib/comfy";
+
+// FIBO 2 on the open engine (the owner's SOTA image families, 2026-10-31): FIBO 2 Dev for text to image through the
+// owner's VGL graph (Qwen3.5 writes Bria's structured JSON prompt) and for edits with up to four references, and
+// FIBO 2 Edit Turbo for 4-step edits. The graphs are the owner's fibo/ workflows; none is rendered through Fuobe yet.
+const dir = fs.mkdtempSync(path.join(os.tmpdir(), "fuobe-fibo2-"));
+process.env.FUOBE_DATA_DIR = dir;
+process.env.COMFYUI_URL = "http://127.0.0.1:9"; // nothing listens here
+
+const { getWorkflow, prepareWorkflow } = await import("@/server/providers/comfyui");
+const { getModel, getPreset, MODELS } = await import("@/lib/catalog");
+const { planGeneration } = await import("@/lib/catalog/plan");
+const { dropBranch } = await import("@/lib/comfy");
+const { licenceInfo } = await import("@/lib/licences");
+const { KNOWN_MODELS } = await import("../scripts/comfy/library.spec.mjs");
+const known = KNOWN_MODELS as Record<string, { folder: string; url: string; variants?: string[] }>;
+
+afterAll(() => fs.rmSync(dir, { recursive: true, force: true }));
+
+const ROUTES: Record<string, Partial<Record<Operation, string>>> = {
+ "oss-fibo2-dev": { t2i: "fibo2-dev-t2i", edit: "fibo2-dev-edit" },
+ "oss-fibo2-edit-turbo": { edit: "fibo2-edit-turbo-edit" },
+};
+const WORKFLOWS = Object.values(ROUTES).flatMap((r) => Object.values(r));
+const pins = JSON.parse(fs.readFileSync(path.join(process.cwd(), "workflows/comfyui/model-pins.json"), "utf8")) as Record<string, { revision: string; sizeBytes: number; sha256?: string }>;
+
+async function prepare(id: string, input: GenInput, op: Operation): Promise<ComfyWorkflow> {
+ const { workflow } = await prepareWorkflow(id, { seed: 7, ...input }, { generationId: "g", op, upload: async (_d, _t, name) => `up_${name}` });
+ return workflow;
+}
+const plan = (r: Parameters<typeof planGeneration>[0]) => planGeneration(r, getModel, getPreset);
+/** Links that point at a node the graph no longer has. */
+const dangling = (wf: ComfyWorkflow) =>
+ Object.entries(wf).flatMap(([id, n]) => Object.entries(n.inputs).filter(([, v]) => Array.isArray(v) && !wf[String(v[0])]).map(([k]) => `${id}.${k}`));
+const references = (wf: ComfyWorkflow, encoder: string) => Object.keys(wf[encoder].inputs).filter((k) => k.startsWith("images.")).sort();
+
+describe("FIBO 2 models", () => {
+ it.each(Object.entries(ROUTES))("%s routes each op to its workflow", (id, routes) => {
+ const m = getModel(id)!;
+ expect(m.engine).toBe("open");
+ expect(m.kind).toBe("image");
+ expect(m.family).toBe("bria");
+ expect(m.badges).toEqual(expect.arrayContaining(["open", "new", "top"]));
+ expect(m.tagline).toMatch(/GB GPU · non-commercial weights$/);
+ expect(m.options.maxImages).toBe(4);
+ for (const [op, wid] of Object.entries(routes)) {
+ const route = m.routes.find((r) => r.op === op);
+ expect(route, `${id} ${op}`).toMatchObject({ provider: "comfyui", endpoint: wid });
+ const { manifest } = getWorkflow(wid!);
+ expect(manifest.capability).toBe(op);
+ // Not validated against a ComfyUI until the owner's queue is idle.
+ expect(manifest.validated).toBe(false);
+ }
+ expect(m.routes.map((r) => r.op).sort()).toEqual(Object.keys(routes).sort());
+ });
+
+ it("lists FIBO 2 ahead of the older open image models, Edit Turbo as a fast pick", () => {
+ const open = MODELS.filter((m) => m.engine === "open" && m.kind === "image").map((m) => m.id);
+ expect(open.indexOf("oss-fibo2-dev")).toBeLessThan(open.indexOf("oss-z-image-turbo"));
+ expect(open.indexOf("oss-fibo2-edit-turbo")).toBeLessThan(open.indexOf("oss-qwen-edit"));
+ expect(getModel("oss-fibo2-edit-turbo")!.badges).toContain("fast");
+ });
+
+ it("plans text to image without a picture and an edit with one; Edit Turbo asks for the picture", () => {
+ expect(plan({ feature: "image", modelId: "oss-fibo2-dev", prompt: "a red bicycle" }).op).toBe("t2i");
+ expect(plan({ feature: "image", modelId: "oss-fibo2-dev", prompt: "make it blue", inputs: { images: ["/a.png"] } }).op).toBe("edit");
+ expect(plan({ feature: "image", modelId: "oss-fibo2-edit-turbo", prompt: "make it blue", inputs: { images: ["/a.png", "/b.png"] } }).op).toBe("edit");
+ expect(() => plan({ feature: "image", modelId: "oss-fibo2-edit-turbo", prompt: "make it blue" })).toThrow(/Add an image to edit/);
+ });
+
+ it("names the licence and pins every file to a revision, a size and a SHA-256", () => {
+ for (const wid of WORKFLOWS) {
+ const { manifest } = getWorkflow(wid);
+ expect(licenceInfo(manifest.license!)).toMatchObject({ name: "CC BY-NC 4.0", class: "non-commercial" });
+ expect(manifest.customNodes, wid).toEqual([]); // core ComfyUI nodes only
+ for (const m of manifest.models) {
+ const pin = pins[m.url!];
+ expect(pin, `${wid}: ${m.file}`).toBeDefined();
+ expect(pin.revision).toMatch(/^[0-9a-f]{40}$/);
+ expect(pin.sizeBytes).toBeGreaterThan(0);
+ expect(pin.sha256).toMatch(/^[0-9a-f]{64}$/);
+ expect(known[m.file]?.folder, m.file).toBe(m.folder);
+ }
+ }
+ // Precisions the ComfyUI may have instead: the same weights in the same Hugging Face repo.
+ expect(known["fibo2_dev_int8_convrot.safetensors"].variants).toEqual(["fibo2_dev_bf16.safetensors"]);
+ expect(known["fibo2_edit_turbo_int8_convrot.safetensors"].variants).toEqual(["fibo2_edit_turbo_bf16.safetensors"]);
+ });
+});
+
+describe("FIBO 2 Dev text to image", () => {
+ it("gives the words to the prompt writer and takes the size from the aspect ratio", async () => {
+ const wf = await prepare("fibo2-dev-t2i", { prompt: "a red bicycle against a white wall", negativePrompt: "blurry", aspectRatio: "16:9", resolution: "1K" }, "t2i");
+ expect(wf["112"]).toMatchObject({ class_type: "TextGenerate", inputs: { prompt: "a red bicycle against a white wall", max_length: 2048, sampling_mode: "off", system_prompt: ["115", 0] } });
+ // Bria's VGL JSON from the owner's art-director system prompt is what the FIBO 2 encoder reads.
+ expect(wf["115"].inputs.value).toMatch(/^You are a visionary and creative Visual Art Director/);
+ expect(wf["115"].inputs.value).toMatch(/`short_description`[\s\S]*`text_render`[\s\S]*OUTPUT FORMAT \(STRICT\)/);
+ expect(wf["6"].inputs).toMatchObject({ clip: ["38", 0], text: ["112", 0] });
+ expect(wf["38"].inputs).toMatchObject({ clip_name: "qwen3vl_4b_int8_convrot.safetensors", type: "fibo2" });
+ // The prompt writer runs on the int8 Qwen3.5 9B (the w4a8 build faulted the driver here).
+ expect(wf["116"].inputs.clip_name).toBe("qwen3.5_9b_int8_convrot.safetensors");
+ expect(wf["94"].inputs.text).toBe("blurry");
+ expect(wf["102"].inputs).toMatchObject({ width: 1360, height: 768 });
+ expect(wf["3"].inputs).toMatchObject({ seed: 7, steps: 30, cfg: 5, sampler_name: "euler", scheduler: "simple", denoise: 1 });
+ expect(wf["56"].inputs.filename_prefix).toBe("fuobe/g");
+ expect(dangling(wf)).toEqual([]);
+ });
+
+ it("runs at about one megapixel by default", async () => {
+ const wf = await prepare("fibo2-dev-t2i", { prompt: "a lighthouse at dawn", aspectRatio: "1:1", resolution: "1K" }, "t2i");
+ expect(wf["102"].inputs).toMatchObject({ width: 1024, height: 1024 });
+ expect(wf["94"].inputs.text).toBe("");
+ expect(getModel("oss-fibo2-dev")!.options.resolutions).toEqual(["1K"]);
+ });
+});
+
+describe("FIBO 2 edits", () => {
+ it("one picture: references 2-4 are left out of the encoder, image 1 is scaled to 1 MP on the 16-pixel grid", async () => {
+ const wf = await prepare("fibo2-dev-edit", { prompt: "Make the jacket in <image_1> red", images: ["a.png"] }, "edit");
+ for (const id of ["116", "117", "118"]) expect(wf[id], id).toBeUndefined();
+ expect(references(wf, "112")).toEqual(["images.image_1"]);
+ expect(wf["112"].inputs).toMatchObject({ prompt: "Make the jacket in <image_1> red", negative_prompt: "", "images.image_1": ["115", 0], width: 0, height: 0 });
+ expect(wf["113"].inputs.image).toBe("a.png");
+ expect(wf["114"].inputs).toMatchObject({ input: ["113", 0], resize_type: "scale total pixels", "resize_type.megapixels": 1, scale_method: "bicubic" });
+ expect(wf["115"].inputs).toMatchObject({ input: ["114", 0], resize_type: "scale to multiple", "resize_type.multiple": 16 });
+ expect(wf["37"].inputs.unet_name).toBe("fibo2_dev_int8_convrot.safetensors");
+ expect(wf["3"].inputs).toMatchObject({ seed: 7, steps: 30, cfg: 5, sampler_name: "euler", scheduler: "simple", positive: ["112", 0], negative: ["112", 1], latent_image: ["112", 2] });
+ expect(dangling(wf)).toEqual([]);
+ });
+
+ it("takes the references it is given, in order, and leaves out only the rest", async () => {
+ const two = await prepare("fibo2-dev-edit", { prompt: "Put the woman from <image_2> in <image_1>", images: ["a.png", "b.png"] }, "edit");
+ expect(references(two, "112")).toEqual(["images.image_1", "images.image_2"]);
+ expect(two["116"].inputs.image).toBe("b.png");
+ expect(two["117"]).toBeUndefined();
+ const four = await prepare("fibo2-dev-edit", { prompt: "x", images: ["a.png", "b.png", "c.png", "d.png"] }, "edit");
+ expect(references(four, "112")).toEqual(["images.image_1", "images.image_2", "images.image_3", "images.image_4"]);
+ expect([four["116"], four["117"], four["118"]].map((n) => n.inputs.image)).toEqual(["b.png", "c.png", "d.png"]);
+ expect(dangling(four)).toEqual([]);
+ });
+
+ it("a negative prompt reaches FIBO 2 Dev's encoder, and steps and cfg sent with the request its sampler", async () => {
+ const wf = await prepare("fibo2-dev-edit", { prompt: "x", negativePrompt: "extra fingers", images: ["a.png"], extra: { steps: 20, cfg: 4 } }, "edit");
+ expect(wf["112"].inputs.negative_prompt).toBe("extra fingers");
+ expect(wf["3"].inputs).toMatchObject({ steps: 20, cfg: 4 });
+ });
+
+ it("Edit Turbo runs 4 steps at cfg 1 on its own weights", async () => {
+ const wf = await prepare("fibo2-edit-turbo-edit", { prompt: "Swap the sky for a sunset", images: ["a.png", "b.png", "c.png"] }, "edit");
+ expect(wf["37"].inputs.unet_name).toBe("fibo2_edit_turbo_int8_convrot.safetensors");
+ expect(wf["3"].inputs).toMatchObject({ seed: 7, steps: 4, cfg: 1, sampler_name: "euler", scheduler: "simple" });
+ expect(references(wf, "112")).toEqual(["images.image_1", "images.image_2", "images.image_3"]);
+ expect(wf["118"]).toBeUndefined();
+ expect(dangling(wf)).toEqual([]);
+ // cfg 1 has no negative pass: no negative prompt to offer.
+ const { manifest } = getWorkflow("fibo2-edit-turbo-edit");
+ expect(Object.keys(manifest.bindings)).not.toContain("negativePrompt");
+ expect(getModel("oss-fibo2-edit-turbo")!.options.negativePrompt).toBeFalsy();
+ });
+
+ it("asks for the picture to edit", async () => {
+ await expect(prepare("fibo2-edit-turbo-edit", { prompt: "x" }, "edit")).rejects.toThrow(/Add an image/);
+ });
+});
+
+describe("optional references (encoders that take any number of images)", () => {
+ // LoadImage → ImageScale → an encoder's images.image_2; the encoder feeds the sampler, the sampler the output.
+ const graph = (): ComfyWorkflow => ({
+ "1": { class_type: "LoadImage", inputs: { image: "a.png" } },
+ "2": { class_type: "LoadImage", inputs: { image: "b.png" } },
+ "3": { class_type: "ImageScale", inputs: { image: ["2", 0] } },
+ "4": { class_type: "TextEncodeFibo2", inputs: { prompt: "x", "images.image_1": ["1", 0], "images.image_2": ["3", 0] } },
+ "5": { class_type: "KSampler", inputs: { positive: ["4", 0] } },
+ "6": { class_type: "SaveImage", inputs: { images: ["5", 0] } },
+ });
+
+ it("drops the loader and what only it feeds, up to any of the named classes", () => {
+ const wf = dropBranch(graph(), "2", new Set(["TextEncodeQwenImage21", "TextEncodeFibo2"]), ["6"])!;
+ expect(Object.keys(wf).sort()).toEqual(["1", "4", "5", "6"]);
+ expect(wf["4"].inputs).toEqual({ prompt: "x", "images.image_1": ["1", 0] });
+ // One class name still works as before.
+ expect(Object.keys(dropBranch(graph(), "2", "TextEncodeFibo2", ["6"])!).sort()).toEqual(["1", "4", "5", "6"]);
+ });
+
+ it("refuses a branch that doesn't end in one of them", () => {
+ expect(dropBranch(graph(), "2", new Set(["TextEncodeQwenImage21"]), ["6"])).toBeNull();
+ expect(dropBranch(graph(), "9", new Set(["TextEncodeFibo2"]))).toBeNull();
+ });
+});
diff --git a/workflows/comfyui/model-pins.json b/workflows/comfyui/model-pins.json
index 8639fe51..b5a70c3f 100644
--- a/workflows/comfyui/model-pins.json
+++ b/workflows/comfyui/model-pins.json
@@ -34,6 +34,21 @@
"sizeBytes": 11904639672,
"sha256": "b17a8c21703c4d6ffb0e300dd920eff3cfd35c9a72a1abaf107e3788e408b8d8"
},
+ "https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/diffusion_models/fibo2_dev_int8_convrot.safetensors": {
+ "revision": "4742d4bec410034142c8e65559e5f00c6f29eccb",
+ "sizeBytes": 8408562474,
+ "sha256": "063dd397395809fd22234c6bd32932cfcb22619f4d2282bdbf1dc58c406fe325"
+ },
+ "https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/diffusion_models/fibo2_edit_turbo_int8_convrot.safetensors": {
+ "revision": "4742d4bec410034142c8e65559e5f00c6f29eccb",
+ "sizeBytes": 8408562474,
+ "sha256": "1f6fa7c499191f405467123f655f11762661eaa5bd479d1da8f161398ef72c3b"
+ },
+ "https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors": {
+ "revision": "4742d4bec410034142c8e65559e5f00c6f29eccb",
+ "sizeBytes": 4858559240,
+ "sha256": "32de113cbf8282b02cbff0794b637b9d6676da09314a1db5a30bcea9bf4ee01c"
+ },
"https://huggingface.co/Comfy-Org/Frame-Interpolation/resolve/main/frame_interpolation/film_net_fp16.safetensors": {
"revision": "aa7009be4d1471ea0bac91d6fe4d7e4b637cbbfc",
"sizeBytes": 68882302,
@@ -114,6 +129,11 @@
"sizeBytes": 335304388,
"sha256": "afc8e28272cd15db3919bacdb6918ce9c1ed22e96cb12c4d5ed0fba823529e38"
},
+ "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_int8_convrot.safetensors": {
+ "revision": "530a4c94f92c35ef6818b1b035a983fe9dcf5f54",
+ "sizeBytes": 9748121532,
+ "sha256": "32e3787472f708fa5f83624acbf5ef23f7fc89c439e05065ea57cfe5a97f025a"
+ },
"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors": {
"revision": "1c41cfca8ebba91d0af792a05c5761fb2c3a7975",
"sizeBytes": 20970379616,