๐ Jenny_Lora_Test
This is a LoRA for the FLUX.1-dev text-to-image model, enabling image generation with specific trigger words and applicable in various frameworks.
๐ Quick Start
This LoRA can be used with diffusers or ComfyUI. You should use jenny_lora_test
to trigger the image generation.
โจ Features
- Model Compatibility: It is a LoRA designed for the FLUX.1-dev text-to-image model.
- Multiple Usage Scenarios: Can be used with diffusers or ComfyUI.
๐ฆ Installation
No specific installation steps are provided in the original document.
๐ป Usage Examples
Basic Usage
Run this LoRA with an API using Replicate
import replicate
input = {
"prompt": "jenny_lora_test",
"lora_weights": "https://huggingface.co/ajiprakoso/jenny_lora_test/resolve/main/lora.safetensors"
}
output = replicate.run(
"black-forest-labs/flux-dev-lora",
input=input
)
for index, item in enumerate(output):
with open(f"output_{index}.webp", "wb") as file:
file.write(item.read())
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ajiprakoso/jenny_lora_test', weight_name='lora.safetensors')
image = pipeline('jenny_lora_test').images[0]
Advanced Usage
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
๐ Documentation
About this LoRA
This is a LoRA for the FLUX.1-dev text-to-image model. It can be used with diffusers or ComfyUI. It was trained on Replicate using AI toolkit: https://replicate.com/ostris/flux-dev-lora-trainer/train
Trigger words
You should use jenny_lora_test
to trigger the image generation.
Contribute your own examples
You can use the community tab to add images that show off what youโve made with this LoRA.
๐ง Technical Details
- Steps: 2000
- Learning rate: 0.0004
- LoRA rank: 16
๐ License
This project is under the flux-1-dev-non-commercial-license.
Property |
Details |
Model Type |
LoRA for FLUX.1-dev text-to-image model |
Training Data |
Trained on Replicate using AI toolkit: https://replicate.com/ostris/flux-dev-lora-trainer/train |