briaai / Fibo-Edit-Dev

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: January 15 2026
image-to-image

Introduction of Fibo-Edit-Dev

Model Details of Fibo-Edit-Dev

GitHub Repo Hugging Face Demo Bria Platform Bria Discord

Fibo Edit Hero Image

Fibo Edit is the new edition to the Fibo Family - a set of models that follow the VGL (Visual GenAI Language) Paradigm.
This 8B parameter image-to-image diffusion model is designed for precise, deterministic, and controllable editing.

🌍 What's Fibo Edit?

Unlike traditional edit models that rely on loose text prompts, Fibo Edit introduces a new paradigm of structured control. It operates on Structured JSON inputs paired with a source image and a mask, enabling explicit, interpretable, and repeatable editing workflows optimized for professional production environments.

Developed by Bria AI, Fibo Edit prioritizes transparency, legal safety, and granular control, ranking among the top 3 editing models in open benchmarks for its aesthetic quality and adherence.

News
  • 2026-1-16: Fibo Edit released on Hugging Face 🎉
  • 2026-1-16: Integrated with Diffusers library 🧨
🔑 Key Features
  • Structured JSON Control : Move beyond "prompt drift." Define edits with explicit parameters (lighting, composition, style) using a structured JSON format for deterministic results.
  • Native Masking : Built-in support for mask-based editing allows you to target specific regions of an image with pixel-perfect precision, leaving the rest untouched.
  • Production-Ready Architecture : At 8B parameters, the model balances high-fidelity output with the speed and efficiency required for commercial pipelines.
  • Deep Customization : The lightweight architecture empowers researchers to build specialized "Edit" models for domain-specific tasks without compromising quality.
  • Responsible & Licensed : Trained exclusively on fully licensed data, ensuring zero copyright infringement risks for commercial users.
⚡ Quick Start

🚀 Try Fibo Edit now →

Fibo Edit is available everywhere you build, either as source-code and weights, ComfyUI nodes or API endpoints.

API Endpoint:

Source-Code & Weights

Quick Start Guide

clone the repository and install the requirements

git clone https://github.com/briaai/Fibo-Edit.git
cd Fibo-Edit

install the requirements

pip install git+https://github.com/huggingface/diffusers torch torchvision openai boltons ujson sentencepiece accelerate transformers
Promptify Setup

The edit_promptify module uses a VLM to analyze images and generate structured JSON prompts. By default, it uses OpenRouter to access the underlying VLM.

Option 1: OpenRouter API (Recommended)

  1. Create an account at openrouter.ai
  2. Generate an API key from your dashboard
  3. Set the API key as an environment variable:
    export OPENROUTER_API_KEY=your_openrouter_api_key

Option 2: Use Your Own LLM (Advanced)

For advanced users who prefer to use a different LLM provider, you can use the schemas and system prompts directly with any compatible model. The structured prompt schemas and system prompts are available in the src/ directory and can be adapted for use with OpenAI, Anthropic, local models, or any other LLM of your choice.

Image + Mask
Benchmark Chart
import torch
from diffusers import DiffusionPipeline
from PIL import Image
import json

# 1. Load the pipeline
pipe = DiffusionPipeline.from_pretrained(
    "briaai/Fibo-Edit",
    torch_dtype=torch.bfloat16,
    trust_remote_code=True
)
pipe.to("cuda")

# 2. Load your source image and mask
source_image = Image.open("path/to/image.png")
mask_image = Image.open("path/to/mask.png")

# 3. Define the structured edit request
# Unlike standard prompts, this JSON explicitly targets the attributes to change.
edit_instruction = {
    "edit_type": "material_change",
    "target_object": "couch",
    "new_attribute": "red velvet texture",
    "lighting": "soft studio light"
}

# 4. Run the edit
result = pipe(
    image=source_image,
    mask_image=mask_image,
    prompt=json.dumps(edit_instruction), # Passing the structured JSON as the prompt
    num_inference_steps=30
).images[0]

result.save("fibo_edit_result.png")
Only Image
Benchmark Chart

import torch
from diffusers import DiffusionPipeline
from PIL import Image
import json

# 1. Load the pipeline
pipe = DiffusionPipeline.from_pretrained(
    "briaai/Fibo-Edit",
    torch_dtype=torch.bfloat16,
    trust_remote_code=True
)
pipe.to("cuda")

# 2. Load your source image and mask
source_image = Image.open("path/to/image.png")

# 3. Define the structured edit request
# Unlike standard prompts, this JSON explicitly targets the attributes to change.
edit_instruction = {
    "edit_type": "material_change",
    "target_object": "couch",
    "new_attribute": "red velvet texture",
    "lighting": "soft studio light"
}

# 4. Run the edit
result = pipe(
    image=source_image,
    mask_image=mask_image,
    prompt=json.dumps(edit_instruction), # Passing the structured JSON as the prompt
    num_inference_steps=30
).images[0]

result.save("fibo_edit_result.png")
More Examples
Benchmark Chart
Advanced Usage
Gemini Setup [optional]

FIBO supports any VLM as part of the pipeline. To use Gemini as VLM backbone for FIBO, follow these instructions:

  1. Obtain a Gemini API Key
    Sign up for the Google AI Studio (Gemini) and create an API key.

  2. Set the API Key as an Environment Variable
    Store your Gemini API key in the GEMINI_API_KEY environment variable:

    export GEMINI_API_KEY=your_gemini_api_key
    

    You can add the above line to your .bashrc , .zshrc , or similar shell profile for persistence.

see the examples in the examples directory for more details.

🧠 Training and Architecture

Fibo Edit is an 8B-parameter DiT-based, flow-matching text-to-image model trained exclusively on licensed data and on > long, structured JSON captions (~1,000 words each), enabling strong prompt adherence and professional-grade control. It uses SmolLM3-3B as the text encoder with a novel DimFusion conditioning architecture for efficient long-caption training, and Wan 2.2 as the VAE. The structured supervision promotes native disentanglement for targeted, iterative refinement without prompt drift, while VLM-assisted prompting expands short user intents, fills in missing details, and extracts/edits structured prompts from images using our fine-tuned Qwen-2.5 -based VLM or Gemini 2.5 Flash . For reproducibility, we provide the assistant system prompt and the structured-prompt JSON schema across the “Generate,” “Refine,” and “Inspire” modes.

More Samples
Benchmark Chart Benchmark Chart Benchmark Chart

If you have questions about this repository, feedback to share, or want to contribute directly, we welcome your issues and pull requests on GitHub. Your contributions help make FIBO better for everyone.

If you're passionate about fundamental research, we're hiring full-time employees (FTEs) and research interns. Don't wait - reach out to us at [email protected]

Citation

We kindly encourage citation of our work if you find it useful.

@article{gutflaish2025generating,
  title={Generating an Image From 1,000 Words: Enhancing Text-to-Image With Structured Captions},
  author={Gutflaish, Eyal and Kachlon, Eliran and Zisman, Hezi and Hacham, Tal and Sarid, Nimrod and Visheratin, Alexander and Huberman, Saar and Davidi, Gal and Bukchin, Guy and Goldberg, Kfir and others},
  journal={arXiv preprint arXiv:2511.06876},
  year={2025}
}

❤️ FIBO model card and ⭐ Star FIBO on GitHub to join the movement for responsible generative AI!

Runs of briaai Fibo-Edit-Dev on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About Fibo-Edit-Dev huggingface.co Model

More Fibo-Edit-Dev license Visit here:

https://choosealicense.com/licenses/bria-fibo-edit

Fibo-Edit-Dev huggingface.co

Fibo-Edit-Dev huggingface.co is an AI model on huggingface.co that provides Fibo-Edit-Dev's model effect (), which can be used instantly with this briaai Fibo-Edit-Dev model. huggingface.co supports a free trial of the Fibo-Edit-Dev model, and also provides paid use of the Fibo-Edit-Dev. Support call Fibo-Edit-Dev model through api, including Node.js, Python, http.

Fibo-Edit-Dev huggingface.co Url

https://huggingface.co/briaai/Fibo-Edit-Dev

briaai Fibo-Edit-Dev online free

Fibo-Edit-Dev huggingface.co is an online trial and call api platform, which integrates Fibo-Edit-Dev's modeling effects, including api services, and provides a free online trial of Fibo-Edit-Dev, you can try Fibo-Edit-Dev online for free by clicking the link below.

briaai Fibo-Edit-Dev online free url in huggingface.co:

https://huggingface.co/briaai/Fibo-Edit-Dev

Fibo-Edit-Dev install

Fibo-Edit-Dev is an open source model from GitHub that offers a free installation service, and any user can find Fibo-Edit-Dev on GitHub to install. At the same time, huggingface.co provides the effect of Fibo-Edit-Dev install, users can directly use Fibo-Edit-Dev installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Fibo-Edit-Dev install url in huggingface.co:

https://huggingface.co/briaai/Fibo-Edit-Dev

Url of Fibo-Edit-Dev

Fibo-Edit-Dev huggingface.co Url

Provider of Fibo-Edit-Dev huggingface.co

briaai
ORGANIZATIONS

Other API from briaai

huggingface.co

Total runs: 394.1K
Run Growth: -254.9K
Growth Rate: -64.94%
Updated:April 06 2026
huggingface.co

Total runs: 261.9K
Run Growth: -108.0K
Growth Rate: -41.03%
Updated:July 06 2025
huggingface.co

Total runs: 3.2K
Run Growth: -399
Growth Rate: -11.00%
Updated:October 29 2025
huggingface.co

Total runs: 777
Run Growth: 135
Growth Rate: 14.06%
Updated:July 05 2026
huggingface.co

Total runs: 629
Run Growth: -312
Growth Rate: -44.32%
Updated:September 09 2026
huggingface.co

Total runs: 538
Run Growth: -515
Growth Rate: -97.17%
Updated:August 18 2026
huggingface.co

Total runs: 301
Run Growth: 618
Growth Rate: 82.40%
Updated:January 30 2026
huggingface.co

Total runs: 235
Run Growth: 0
Growth Rate: 0.00%
Updated:May 12 2024
huggingface.co

Total runs: 212
Run Growth: 126
Growth Rate: 59.72%
Updated:September 05 2026
huggingface.co

Total runs: 135
Run Growth: 85
Growth Rate: 62.96%
Updated:September 01 2025
huggingface.co

Total runs: 131
Run Growth: 0
Growth Rate: 0.00%
Updated:August 04 2024
huggingface.co

Total runs: 104
Run Growth: 39
Growth Rate: 37.50%
Updated:October 16 2025
huggingface.co

Total runs: 67
Run Growth: -9
Growth Rate: -13.24%
Updated:January 15 2026
huggingface.co

Total runs: 46
Run Growth: 0
Growth Rate: 0.00%
Updated:May 12 2024
huggingface.co

Total runs: 30
Run Growth: 0
Growth Rate: 0.00%
Updated:March 13 2024
huggingface.co

Total runs: 28
Run Growth: 28
Growth Rate: 100.00%
Updated:April 10 2025
huggingface.co

Total runs: 9
Run Growth: -6
Growth Rate: -66.67%
Updated:June 11 2025
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:November 19 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 18 2024
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:April 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 08 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 11 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:July 16 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 25 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 19 2026