Instructions to use LiberationLabs/image-toolbench with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LiberationLabs/image-toolbench with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("LiberationLabs/image-toolbench") 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
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Image Toolbench
|
| 2 |
+
|
| 3 |
+
Generation pipeline scripts and LoRA weights for the Coalition's FLUX.1-dev image generation stack.
|
| 4 |
+
|
| 5 |
+
## Repository Structure
|
| 6 |
+
|
| 7 |
+
```
|
| 8 |
+
scripts/ # 29 generation pipeline scripts
|
| 9 |
+
loras/
|
| 10 |
+
vera-likeness/ # Vera character likeness LoRAs (v1, v3, v4)
|
| 11 |
+
kintsugi-texture/ # Kintsugi gold-repair texture style LoRAs (v1, v2)
|
| 12 |
+
thomas-likeness/ # Thomas character likeness LoRA (v1)
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
## Scripts
|
| 16 |
+
|
| 17 |
+
Generation pipeline scripts from the vera-triple-stack workspace. These drive FLUX.1-dev inference with single or stacked LoRAs for various visual styles and compositions.
|
| 18 |
+
|
| 19 |
+
Key scripts:
|
| 20 |
+
- `gen_v2.py` through `gen_v5.py` -- base generation pipeline iterations
|
| 21 |
+
- `gen_cached_identity.py` / `precompute_identity.py` -- identity embedding caching for faster generation
|
| 22 |
+
- `gen_confluence.py` / `gen_confluence_explicit.py` -- multi-concept LoRA merging
|
| 23 |
+
- `gen_kintsugi_v2_test.py` through `gen_kintsugi_v5.py` -- kintsugi texture application iterations
|
| 24 |
+
- `gen_dense_gold.py` / `gen_narrative_gold.py` -- gold/kintsugi aesthetic generation
|
| 25 |
+
- `gen_flesh_to_ceramic.py` -- ceramic transformation pipeline
|
| 26 |
+
- `gen_vera_intimate_v6.py` / `gen_vera_v7_ceramic.py` -- latest generation scripts
|
| 27 |
+
- `gen_mnemosyne_art.py` / `gen_mnemosyne_face.py` -- project artwork generation
|
| 28 |
+
- `gen_project_art_refresh.py` -- project branding refresh
|
| 29 |
+
- `gen_style_exploration.py` / `gen_style_round2.py` / `gen_style_round3.py` -- style R&D
|
| 30 |
+
|
| 31 |
+
## LoRAs
|
| 32 |
+
|
| 33 |
+
All LoRAs are trained on **FLUX.1-dev** with **LoRA rank 16**, trained on Apple Silicon (MPS).
|
| 34 |
+
|
| 35 |
+
### Vera Likeness (`loras/vera-likeness/`)
|
| 36 |
+
|
| 37 |
+
Character likeness LoRA for Vera. Trigger token: `vera`.
|
| 38 |
+
|
| 39 |
+
| File | Version | Notes |
|
| 40 |
+
|------|---------|-------|
|
| 41 |
+
| `vera_likeness_v1.safetensors` | v1 | Initial training, 750 steps |
|
| 42 |
+
| `vera_likeness_v3.safetensors` | v3 | Updated prompts with ceramic/statuesque aesthetic, 1250 steps |
|
| 43 |
+
| `vera_likeness_v4.safetensors` | v4 | Fine-tuned from v3, +750 steps. Best version. |
|
| 44 |
+
| `config_v1.yaml` | v1 | Training configuration |
|
| 45 |
+
| `config_v3.yaml` | v3 | Training configuration |
|
| 46 |
+
| `config_v4.yaml` | v4 | Training configuration |
|
| 47 |
+
|
| 48 |
+
v2 was an incomplete training run and is not included.
|
| 49 |
+
|
| 50 |
+
### Kintsugi Texture (`loras/kintsugi-texture/`)
|
| 51 |
+
|
| 52 |
+
Style LoRA for kintsugi (gold-repair) texture effects. Applies golden crack/seam patterns inspired by the Japanese art of repairing broken pottery with gold.
|
| 53 |
+
|
| 54 |
+
| File | Version | Notes |
|
| 55 |
+
|------|---------|-------|
|
| 56 |
+
| `kintsugi_texture_v1.safetensors` | v1 | Initial texture training |
|
| 57 |
+
| `kintsugi_texture_v2.safetensors` | v2 | Refined texture, 300 steps |
|
| 58 |
+
| `config_v1.yaml` | v1 | Training configuration |
|
| 59 |
+
| `config_v2.yaml` | v2 | Training configuration |
|
| 60 |
+
|
| 61 |
+
### Thomas Likeness (`loras/thomas-likeness/`)
|
| 62 |
+
|
| 63 |
+
Character likeness LoRA for Thomas. Trained August 2026.
|
| 64 |
+
|
| 65 |
+
| File | Version | Notes |
|
| 66 |
+
|------|---------|-------|
|
| 67 |
+
| `thomas_likeness_v1.safetensors` | v1 | 1250 steps |
|
| 68 |
+
| `config_v1.yaml` | v1 | Training configuration |
|
| 69 |
+
|
| 70 |
+
## Usage
|
| 71 |
+
|
| 72 |
+
These LoRAs are designed for use with FLUX.1-dev via diffusers. See the generation scripts for examples of single-LoRA and stacked multi-LoRA inference.
|
| 73 |
+
|
| 74 |
+
Basic single-LoRA usage:
|
| 75 |
+
|
| 76 |
+
```python
|
| 77 |
+
from diffusers import FluxPipeline
|
| 78 |
+
import torch
|
| 79 |
+
|
| 80 |
+
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
|
| 81 |
+
pipe.load_lora_weights("LiberationLabs/image-toolbench", weight_name="loras/vera-likeness/vera_likeness_v4.safetensors")
|
| 82 |
+
pipe.to("cuda") # or "mps" for Apple Silicon
|
| 83 |
+
|
| 84 |
+
image = pipe("portrait of vera, ceramic aesthetic, golden light", num_inference_steps=30).images[0]
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
## Organization
|
| 88 |
+
|
| 89 |
+
[Liberation Labs](https://github.com/Liberation-Labs) / Transparent Humboldt Coalition
|
| 90 |
+
|
| 91 |
+
## License
|
| 92 |
+
|
| 93 |
+
These assets are provided for Coalition use. Contact Liberation Labs for licensing inquiries.
|