Initial model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: wtfpl
|
| 3 |
+
base_model: black-forest-labs/FLUX.1-dev
|
| 4 |
+
pipeline_tag: text-to-image
|
| 5 |
+
tags:
|
| 6 |
+
- text-to-image
|
| 7 |
+
- lora
|
| 8 |
+
- diffusers
|
| 9 |
+
- template:diffusion-lora
|
| 10 |
+
- flux
|
| 11 |
+
- flowmatch
|
| 12 |
+
- stationthis
|
| 13 |
+
widget:
|
| 14 |
+
- text: "nanase, This is a colored pencil drawing of a young girl with light brown, shoulder-length hair, smiling widely with her eyes closed. She has fair skin and is depicted in a school uniform, wearing a light blue shirt with a blue and white striped tie. Her left hand is raised to her head, adjusting her hair. The background features soft, green and yellow brushstrokes, adding a sense of warmth and happiness to the image. The girl's expression is joyful and carefree. The artist's signature, \"YUMI 2020,\" is in the bottom left corner. The overall style is cute and anime-inspired."
|
| 15 |
+
output:
|
| 16 |
+
url: samples/sample_000.jpg
|
| 17 |
+
instance_prompt: "nanase"
|
| 18 |
+
training_steps: 4000
|
| 19 |
+
network_type: lora
|
| 20 |
+
library_name: ai-toolkit
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# nanase
|
| 24 |
+
|
| 25 |
+
This LoRA model generates colored pencil style illustrations featuring young girls with light brown, shoulder-length hair and fair skin, often depicted in school uniforms. The visuals capture joyful expressions, with characters typically smiling widely with their eyes closed, adding a playful and charming aesthetic.
|
| 26 |
+
|
| 27 |
+
**Trigger word:** `nanase`
|
| 28 |
+
|
| 29 |
+
## Sample Outputs
|
| 30 |
+
|
| 31 |
+
| | |
|
| 32 |
+
|:---:|:---:|
|
| 33 |
+
|  |  |
|
| 34 |
+
| *nanase, This is a colored pencil drawing of a young girl wit...* | *nanase, This is a digital watercolor-style anime drawing of ...* |
|
| 35 |
+
|  |  |
|
| 36 |
+
| *nanase, This is a traditional watercolor and pencil drawing ...* | *nanase, This is a watercolor and ink drawing of an anime-sty...* |
|
| 37 |
+
|
| 38 |
+
## Usage
|
| 39 |
+
|
| 40 |
+
### ComfyUI
|
| 41 |
+
|
| 42 |
+
1. Download the `.safetensors` file from the Files tab
|
| 43 |
+
2. Place in `ComfyUI/models/loras/`
|
| 44 |
+
3. Use the **Load LoRA** node with strength `0.8-1.0`
|
| 45 |
+
4. Include `nanase` in your prompt
|
| 46 |
+
|
| 47 |
+
### Diffusers
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
import torch
|
| 51 |
+
from diffusers import FluxPipeline
|
| 52 |
+
|
| 53 |
+
pipe = FluxPipeline.from_pretrained(
|
| 54 |
+
"black-forest-labs/FLUX.1-dev",
|
| 55 |
+
torch_dtype=torch.bfloat16
|
| 56 |
+
)
|
| 57 |
+
pipe.load_lora_weights("ms2stationthis/nanase")
|
| 58 |
+
pipe.to("cuda")
|
| 59 |
+
|
| 60 |
+
image = pipe(
|
| 61 |
+
prompt="nanase portrait, soft lighting, detailed",
|
| 62 |
+
guidance_scale=3.5-4.0,
|
| 63 |
+
num_inference_steps=20-30,
|
| 64 |
+
generator=torch.Generator("cuda").manual_seed(42)
|
| 65 |
+
).images[0]
|
| 66 |
+
|
| 67 |
+
image.save("output.png")
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
## Recommended Settings
|
| 71 |
+
|
| 72 |
+
| Parameter | Value |
|
| 73 |
+
|-----------|-------|
|
| 74 |
+
| LoRA Strength | 0.8-1.0 |
|
| 75 |
+
| Guidance Scale | 3.5-4.0 |
|
| 76 |
+
| Inference Steps | 20-30 |
|
| 77 |
+
| Resolution | 1024x1024 |
|
| 78 |
+
|
| 79 |
+
## Example Prompts
|
| 80 |
+
|
| 81 |
+
- `nanase shoulder-length hair`
|
| 82 |
+
- `nanase adjusting her hair. the background features soft`
|
| 83 |
+
- `nanase green and yellow brushstrokes`
|
| 84 |
+
- `nanase "yumi 2020`
|
| 85 |
+
|
| 86 |
+
## Training Details
|
| 87 |
+
|
| 88 |
+
- **Base model:** black-forest-labs/FLUX.1-dev
|
| 89 |
+
- **Training steps:** 4000
|
| 90 |
+
- **Trigger word:** `nanase`
|
| 91 |
+
- **Network:** LoRA rank 32, alpha 32
|
| 92 |
+
- **Optimizer:** adamw8bit, lr 1e-4
|
| 93 |
+
- **Precision:** float16
|
| 94 |
+
- **Resolution:** 512, 768, 1024 (multi-res bucketed)
|
| 95 |
+
|
| 96 |
+
## About
|
| 97 |
+
|
| 98 |
+
Trained using [StationThis](https://miladystation2.net) — an AI creative platform powered by $MS2. Train your own LoRAs via [@stationthisbot](https://t.me/stationthisbot) on Telegram.
|
| 99 |
+
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
<sub>Generated by StationThis Training Pipeline</sub>
|