How to use from the
Use from the
Diffusers library
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("Keltezaa/flux-miley-cyrus")

prompt = "portrait of a female in a dark cyberpunk vibe"
image = pipe(prompt).images[0]

FLUX - Miley Cyrus

Prompt
portrait of a female in a dark cyberpunk vibe
Prompt
portrait of a women in a fantasy world
Prompt
Prompt
portrait of a female in a dark cyberpunk vibe
Prompt
portrait of a female in a dark cyberpunk vibe

(CivitAI)

Model description

FLUX + Pony LoRA for

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Use it with the 🧨 diffusers library

from diffusers import AutoPipelineForText2Image
import torch

device = "cuda" if torch.cuda.is_available() else "cpu"

pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('Keltezaa/flux-miley-cyrus', weight_name='Flux.Miley.safetensors')
image = pipeline('portrait of a female in a dark cyberpunk vibe').images[0]

For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers

Downloads last month
35
Inference Providers NEW
Examples

Model tree for Keltezaa/flux-miley-cyrus

Adapter
(40737)
this model