Skip to content

Commit 9e253a7

Browse files
committed
Bria FIBO pipeline
1 parent d34b18c commit 9e253a7

File tree

15 files changed

+2948
-0
lines changed

15 files changed

+2948
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!--Copyright 2025 The HuggingFace Team. All rights reserved.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
4+
the License. You may obtain a copy of the License at
5+
6+
http://www.apache.org/licenses/LICENSE-2.0
7+
8+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
9+
an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
10+
specific language governing permissions and limitations under the License.
11+
-->
12+
13+
# Bria Fibo
14+
15+
Text-to-image models have mastered imagination - but not control. FIBO changes that.
16+
17+
FIBO is trained on structured JSON captions up to 1,000+ words and designed to understand and control different visual parameters such as lighting, composition, color, and camera settings, enabling precise and reproducible outputs.
18+
19+
With only 8 billion parameters, FIBO provides a new level of image quality, prompt adherence and proffesional control.
20+
21+
## Usage
22+
23+
_As the model is gated, before using it with diffusers you first need to go to the [Bria Fibo Hugging Face page](https://huggingface.co/briaai/FIBO), fill in the form and accept the gate. Once you are in, you need to login so that your system knows you’ve accepted the gate._
24+
25+
Use the command below to log in:
26+
27+
```bash
28+
hf auth login
29+
```
30+
31+
32+
## BriaPipeline
33+
34+
[[autodoc]] BriaPipeline
35+
- all
36+
- __call__
37+

src/diffusers/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
"AutoencoderTiny",
200200
"AutoModel",
201201
"BriaTransformer2DModel",
202+
"BriaFiboTransformer2DModel",
202203
"CacheMixin",
203204
"ChromaTransformer2DModel",
204205
"CogVideoXTransformer3DModel",
@@ -392,6 +393,8 @@
392393
else:
393394
_import_structure["modular_pipelines"].extend(
394395
[
396+
"BriaFiboVLMPromptToJson",
397+
"BriaFiboGeminiPromptToJson",
395398
"FluxAutoBlocks",
396399
"FluxKontextAutoBlocks",
397400
"FluxKontextModularPipeline",
@@ -431,6 +434,7 @@
431434
"BlipDiffusionControlNetPipeline",
432435
"BlipDiffusionPipeline",
433436
"BriaPipeline",
437+
"BriaFiboPipeline",
434438
"ChromaImg2ImgPipeline",
435439
"ChromaPipeline",
436440
"CLIPImageProjection",
@@ -902,6 +906,7 @@
902906
AutoencoderTiny,
903907
AutoModel,
904908
BriaTransformer2DModel,
909+
BriaFiboTransformer2DModel,
905910
CacheMixin,
906911
ChromaTransformer2DModel,
907912
CogVideoXTransformer3DModel,
@@ -1104,6 +1109,7 @@
11041109
AudioLDMPipeline,
11051110
AuraFlowPipeline,
11061111
BriaPipeline,
1112+
BriaFiboPipeline,
11071113
ChromaImg2ImgPipeline,
11081114
ChromaPipeline,
11091115
CLIPImageProjection,

src/diffusers/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
_import_structure["transformers.transformer_2d"] = ["Transformer2DModel"]
8585
_import_structure["transformers.transformer_allegro"] = ["AllegroTransformer3DModel"]
8686
_import_structure["transformers.transformer_bria"] = ["BriaTransformer2DModel"]
87+
_import_structure["transformers.transformer_bria_fibo"] = ["BriaFiboTransformer2DModel"]
8788
_import_structure["transformers.transformer_chroma"] = ["ChromaTransformer2DModel"]
8889
_import_structure["transformers.transformer_cogview3plus"] = ["CogView3PlusTransformer2DModel"]
8990
_import_structure["transformers.transformer_cogview4"] = ["CogView4Transformer2DModel"]
@@ -175,6 +176,7 @@
175176
AllegroTransformer3DModel,
176177
AuraFlowTransformer2DModel,
177178
BriaTransformer2DModel,
179+
BriaFiboTransformer2DModel,
178180
ChromaTransformer2DModel,
179181
CogVideoXTransformer3DModel,
180182
CogView3PlusTransformer2DModel,

0 commit comments

Comments
 (0)