Text-to-Image
Diffusers
Safetensors
English
BriaFibo2Pipeline
image-editing
image-to-image
inpainting
multi-reference
fine-tuning
structured-prompts
vgl
fibo
Instructions to use ml-resources/Fibo-2.0-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ml-resources/Fibo-2.0-dev with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ml-resources/Fibo-2.0-dev", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download fonts/README.md from ml-resources/Fibo-2.0-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/ml-resources/Fibo-2.0-dev/resolve/main/fonts/README.md
- Command line
-
hf download hf://ml-resources/Fibo-2.0-dev/fonts/README.md
-
curl -L -o README.md https://huggingface.co/ml-resources/Fibo-2.0-dev/resolve/main/fonts/README.md
1.06 kB
fonts
Fallback fonts for drawing the images of a caption's text (render_text_images=True in
BriaFibo2Pipeline), the way fibo-2's training drew them.
Each text_render text is drawn black on white at size 20. A character is drawn with the first of
these that has a glyph for it:
| order | font | source | licence |
|---|---|---|---|
| 1 | Pillow's built-in font, ImageFont.load_default(20) (a subset of Aileron Regular) |
bundled with Pillow, not in this folder | — |
| 2 | Aileron-Regular.otf, Aileron Regular 1.102 |
https://www.dotcolon.net/font/aileron | CC0 1.0, LICENSE-Aileron.txt |
| 3 | DejaVuSans.ttf, DejaVu Sans 2.37 |
https://dejavu-fonts.github.io | Bitstream Vera licence, LICENSE-DejaVu.txt |
| file | bytes | md5 |
|---|---|---|
Aileron-Regular.otf |
27,644 | d321fa78bb7190a8ca7e14213ef63203 |
DejaVuSans.ttf |
757,076 | 517a360397bbb5a7573c2558e78fa4ea |
Training used Pillow 12.2. Characters none of the three fonts covers (CJK, emoji) are drawn as the built-in font's missing-glyph box, as in training.