|
--- |
|
tags: |
|
- text-to-image |
|
- lora |
|
- diffusers |
|
- template:diffusion-lora |
|
- stable-diffusion-3.5-large |
|
- anime |
|
widget: |
|
- text: >- |
|
Anime 35 depiction of a man with dreadlocks stands in front of a backdrop of |
|
rocky mountains. The mans face is adorned with bright yellow eyes, a brown |
|
scarf, and a brown jacket. His jacket is draped over a brown belt with a |
|
silver buckle. His dreadlocks are pulled back, adding a pop of color to the |
|
scene. The sky is a deep blue, dotted with fluffy white clouds. |
|
output: |
|
url: images/111.webp |
|
- text: >- |
|
An Anime 35, A 3D cartoon-style portrait of a young woman with medium-length |
|
blonde hair and green eyes, sitting in a cozy cafe. She is wearing a light |
|
pink sweater and holding a warm cup of coffee close to her face with both |
|
hands, creating a peaceful vibe. The background shows a wooden table and a |
|
window with raindrops, giving a cozy, rainy-day feel |
|
output: |
|
url: images/222.webp |
|
- text: >- |
|
An Anime 35, A 3D cartoon-style portrait of a man with sandy brown hair and |
|
hazel eyes, standing near the beach with his back to the ocean. He’s wearing |
|
a white linen shirt and has his hands in his pockets, looking off to the |
|
side with a slight smile. The background captures gentle waves and a sunset, |
|
creating a calm, serene atmosphere. |
|
output: |
|
url: images/333.webp |
|
base_model: stabilityai/stable-diffusion-3.5-large |
|
instance_prompt: Anime 35 |
|
license: creativeml-openrail-m |
|
--- |
|
# SD3.5-Large-Anime-LoRA |
|
|
|
<Gallery /> |
|
|
|
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.** |
|
|
|
## Model description |
|
|
|
**prithivMLmods/SD3.5-Large-Anime-LoRA** |
|
|
|
Image Processing Parameters |
|
|
|
| Parameter | Value | Parameter | Value | |
|
|---------------------------|--------|---------------------------|--------| |
|
| LR Scheduler | constant | Noise Offset | 0.03 | |
|
| Optimizer | AdamW | Multires Noise Discount | 0.1 | |
|
| Network Dim | 64 | Multires Noise Iterations | 10 | |
|
| Network Alpha | 32 | Repeat & Steps | 25 & 2.7K | |
|
| Epoch | 15 | Save Every N Epochs | 1 | |
|
|
|
Labeling: florence2-en(natural language & English) |
|
|
|
Total Images Used for Training : 23 |
|
|
|
## Setting up |
|
|
|
```python |
|
import torch |
|
from diffusers import StableDiffusion3Pipeline |
|
|
|
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", torch_dtype=torch.bfloat16) |
|
pipe.load_lora_weights("prithivMLmods/SD3.5-Large-Anime-LoRA", weight_name="SD3.5-Large-Anime-LoRA.safetensors") |
|
pipe.fuse_lora(lora_scale=1.0) |
|
pipe.to("cuda") |
|
|
|
prompt = "Man in the style of dark beige and brown, uhd image, youthful protagonists, nonrepresentational photography" |
|
negative_prompt = "(lowres, low quality, worst quality)" |
|
|
|
image = pipe(prompt=prompt, |
|
negative_prompt=negative_prompt |
|
num_inference_steps=24, |
|
guidance_scale=4.0, |
|
width=960, height=1280, |
|
).images[0] |
|
image.save(f"example.jpg") |
|
``` |
|
## Sample Image |
|
|
|
![prithivMLmods/SD3.5-Large-Anime-LoRA](images/444.webp) |
|
|
|
![prithivMLmods/SD3.5-Large-Anime-LoRA](images/555.webp) |
|
|
|
## Trigger words 🧨 |
|
|
|
> [!WARNING] |
|
> **Trigger words:** You should use `Anime 35` to trigger the image generation. |
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](/prithivMLmods/SD3.5-Large-Anime-LoRA/tree/main) them in the Files & versions tab. |