đ Ton618-Amxtoon-Flux-LoRA
This LoRA model is designed for text - to - image generation, enabling users to create vivid anime - style images based on given prompts. It is built on the black - forest - labs/FLUX.1 - dev
base model and can generate high - quality images with specific character features.
đ Quick Start
Installation and Setup
import torch
from pipelines import DiffusionPipeline
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "prithivMLmods/Ton618-Amxtoon-Flux-LoRA"
trigger_word = "Amxtoon"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
Image Generation
To generate an image, you need to follow a specific prompt structure. For example:
Amxtoon, a woman with long brown hair and blue eyes is standing next to a anime doll with long black hair. The doll on the left is wearing a gray t-shirt with an orange and yellow sweater draped over it. The woman on the right is smiling and looking at the camera. In the background, a painting of a fire is visible on the wall.
⨠Features
- Anime - Style Image Generation: Generate high - quality anime - style images with various character features.
- Customizable Parameters: You can adjust image processing parameters to get different results.
đĻ Installation
The weights for this model are available in Safetensors format. You can download them from the Files & versions tab.
đģ Usage Examples
Basic Usage
prompt = "Amxtoon, a woman with long brown hair and blue eyes is standing next to a anime doll with long black hair. The doll on the left is wearing a gray t-shirt with an orange and yellow sweater draped over it. The woman on the right is smiling and looking at the camera. In the background, a painting of a fire is visible on the wall."
image = pipe(prompt).images[0]
image.save("generated_image.png")
đ Documentation
Model description
prithivMLmods/Ton618 - Amxtoon - Flux - 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 |
20 & 1.8K |
Epoch |
15 |
Save Every N Epochs |
1 |
Gallery
Trigger words
You should use Amxtoon
to trigger the image generation.
Concept Ideation from
- https://x.com/DarbyBaileyXO/status/1851388809067577805
- https://x.com/MaxPanRa/status/1851385552844587200
- https://x.com/aimikummd/status/1851180111648669877
Data source
Playground: https://playground.com/
đ License
This model is licensed under creativeml - openrail - m
.