Instructions to use WiroAI/Levi-Ackerman-Flux-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WiroAI/Levi-Ackerman-Flux-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("WiroAI/Levi-Ackerman-Flux-LoRA") prompt = "leviwiro, A close-up anime-style portrait of a disciplined fighter with an intense, unwavering stare. His face is partly illuminated by the soft flickering of a lantern, revealing subtle scars and signs of exhaustion. His dark green cloak wraps around his shoulders like a shield, and his high-collared black uniform gives him a sharp, commanding presence. A single raindrop slides down his cheek, but his focus remains unshaken." image = pipe(prompt).images[0] - Transformers
How to use WiroAI/Levi-Ackerman-Flux-LoRA with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WiroAI/Levi-Ackerman-Flux-LoRA", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,97 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- flux
|
| 5 |
+
- lora
|
| 6 |
+
- diffusers
|
| 7 |
+
- transformers
|
| 8 |
+
- template:sd-lora
|
| 9 |
+
- ai-toolkit
|
| 10 |
+
|
| 11 |
+
widget:
|
| 12 |
+
- text: leviwiro, A close-up anime-style portrait of a disciplined fighter with an intense, unwavering stare.
|
| 13 |
+
His face is partly illuminated by the soft flickering of a lantern, revealing subtle scars and signs of exhaustion.
|
| 14 |
+
His dark green cloak wraps around his shoulders like a shield, and his high-collared black uniform gives him a sharp,
|
| 15 |
+
commanding presence. A single raindrop slides down his cheek, but his focus remains unshaken.
|
| 16 |
+
output:
|
| 17 |
+
url: levi3.png
|
| 18 |
+
- text: leviwiro, A dramatic ultra-HD anime-style illustration of a fearless soldier standing on a rooftop at sunrise,
|
| 19 |
+
the golden light casting long shadows behind him. His dark cloak flows in the wind,
|
| 20 |
+
and his expression remains stoic despite the chaos below. The battlefield is filled with wreckage and fallen comrades,
|
| 21 |
+
but he stands firm, gripping his twin blades tightly.
|
| 22 |
+
The sky is painted in hues of orange and red, marking the beginning of another brutal day.
|
| 23 |
+
output:
|
| 24 |
+
url: levi2.png
|
| 25 |
+
- text: leviwiro, A highly detailed anime-style illustration of a master tactician seated at a wooden table,
|
| 26 |
+
surrounded by maps, reports, and scattered weapons. His sharp eyes scan the documents in front of him,
|
| 27 |
+
analyzing every possible move before the next battle. His dark, slicked-back hair falls slightly out of place,
|
| 28 |
+
revealing a tired but focused expression. Candlelight flickers in the dimly lit room,
|
| 29 |
+
casting deep shadows that accentuate his sharp features and unwavering resolve.
|
| 30 |
+
output:
|
| 31 |
+
url: levi4.png
|
| 32 |
+
|
| 33 |
+
license: other
|
| 34 |
+
instance_prompt: leviwiro
|
| 35 |
+
base_model:
|
| 36 |
+
- black-forest-labs/FLUX.1-dev
|
| 37 |
+
license_name: flux-1-dev-non-commercial-license
|
| 38 |
+
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
<div align="center">
|
| 42 |
+
<img src="https://huggingface.co/WiroAI/wiroai-turkish-llm-9b/resolve/main/wiro_logo.png" width="15%" alt="Wiro AI" />
|
| 43 |
+
</div>
|
| 44 |
+
<hr>
|
| 45 |
+
<div align="center" style="line-height: 1;">
|
| 46 |
+
<a href="https://www.wiro.ai/" target="_blank" style="margin: 2px;">
|
| 47 |
+
<img alt="Homepage" src="https://huggingface.co/WiroAI/wiroai-turkish-llm-9b/resolve/main/homepage.svg" style="display: inline-block; vertical-align: middle;"/>
|
| 48 |
+
</a>
|
| 49 |
+
<a href="https://huggingface.co/WiroAI" target="_blank" style="margin: 2px;">
|
| 50 |
+
<img alt="Hugging Face" src="https://huggingface.co/WiroAI/wiroai-turkish-llm-9b/resolve/main/huggingface.svg" style="display: inline-block; vertical-align: middle;"/>
|
| 51 |
+
</a>
|
| 52 |
+
<a href="https://civitai.com/user/wiroai" target="_blank" style="margin: 2px;">
|
| 53 |
+
<img alt="CivitAI" src="https://huggingface.co/WiroAI/pokemon-flux-lora/resolve/main/civitai.svg" style="display: inline-block; vertical-align: middle;"/>
|
| 54 |
+
</a>
|
| 55 |
+
</div>
|
| 56 |
+
<div align="center" style="line-height: 1;">
|
| 57 |
+
<a href="https://instagram.com/wiroai" target="_blank" style="margin: 2px;">
|
| 58 |
+
<img alt="Instagram Follow" src="https://img.shields.io/badge/Instagram-wiroai-555555?logo=instagram&logoColor=white&labelColor=E4405F" style="display: inline-block; vertical-align: middle;"/>
|
| 59 |
+
</a>
|
| 60 |
+
<a href="https://x.com/wiroai" target="_blank" style="margin: 2px;">
|
| 61 |
+
<img alt="X Follow" src="https://img.shields.io/badge/X-wiroai-555555?logo=x&logoColor=white&labelColor=000000" style="display: inline-block; vertical-align: middle;"/>
|
| 62 |
+
</a>
|
| 63 |
+
</div>
|
| 64 |
+
<div align="center" style="line-height: 1;">
|
| 65 |
+
<a href="https://wiro.ai/agreement/terms-of-service" style="margin: 2px;">
|
| 66 |
+
<img alt="License" src="https://img.shields.io/badge/License-apache 2.0-f5de53?&color=f5de53" style="display: inline-block; vertical-align: middle;"/>
|
| 67 |
+
</a>
|
| 68 |
+
</div>
|
| 69 |
+
|
| 70 |
+
## Model Details
|
| 71 |
+
|
| 72 |
+
### Model Description
|
| 73 |
+
|
| 74 |
+
This LoRA is trained for anyone who like Levi Ackerman from Attack on Titan.
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
- **Developed by:** [Wiro AI - ML Team]
|
| 78 |
+
- **Shared by:** [Wiro AI](https://wiro.ai/)
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
<Gallery />
|
| 82 |
+
|
| 83 |
+
## Trigger words
|
| 84 |
+
|
| 85 |
+
You should use `leviwiro` to trigger the image generation.
|
| 86 |
+
|
| 87 |
+
## Civitai model link: [civitai](https://civitai.com/models/1216175/levi-ackerman-attack-on-titan-flux-lora)
|
| 88 |
+
|
| 89 |
+
```py
|
| 90 |
+
from diffusers import FluxPipeline
|
| 91 |
+
import torch
|
| 92 |
+
|
| 93 |
+
pipeline = FluxPipeline.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
|
| 94 |
+
pipeline.load_lora_weights('WiroAI/Levi-Ackerman-Flux-LoRA', weight_name='levi_flux_lora.safetensors')
|
| 95 |
+
image = pipeline('leviwiro, A close-up anime-style portrait of a disciplined fighter with an intense, unwavering stare. His face is partly illuminated by the soft flickering of a lantern, revealing subtle scars and signs of exhaustion. His dark green cloak wraps around his shoulders like a shield, and his high-collared black uniform gives him a sharp, commanding presence. A single raindrop slides down his cheek, but his focus remains unshaken.').images[0]
|
| 96 |
+
image.save("output.png")
|
| 97 |
+
```
|