Instructions to use AbdulElahGwaith/diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AbdulElahGwaith/diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AbdulElahGwaith/diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download docs/source/en/api/pipelines/bria_fibo.md from AbdulElahGwaith/diffusers: direct link, hf CLI and curl.
- Browser
- Download file 2.03 kB
-
https://huggingface.co/AbdulElahGwaith/diffusers/resolve/main/docs/source/en/api/pipelines/bria_fibo.md
- Command line
-
hf download hf://AbdulElahGwaith/diffusers/docs/source/en/api/pipelines/bria_fibo.md
-
curl -L -o bria_fibo.md https://huggingface.co/AbdulElahGwaith/diffusers/resolve/main/docs/source/en/api/pipelines/bria_fibo.md
Bria Fibo
Text-to-image models have mastered imagination - but not control. FIBO changes that.
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.
With only 8 billion parameters, FIBO provides a new level of image quality, prompt adherence and proffesional control.
FIBO is trained exclusively on a structured prompt and will not work with freeform text prompts. you can use the FIBO-VLM-prompt-to-JSON model or the FIBO-gemini-prompt-to-JSON to convert your freeform text prompt to a structured JSON prompt.
Avoid using freeform text prompts directly with FIBO because it does not produce the best results.
Refer to the Bria Fibo Hugging Face page to learn more.
Usage
As the model is gated, before using it with diffusers you first need to go to the Bria Fibo Hugging Face page, 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.
Use the command below to log in:
hf auth login
BriaFiboPipeline
[[autodoc]] BriaFiboPipeline - all - call