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/anna-kendrick-flux")

prompt = " beautiful detailed photograph, brown hair cascading down her shoulders., wearing a dress, standing in cafe looking at the viewer"
image = pipe(prompt).images[0]

Anna Kendrick (Flux)

Prompt
beautiful detailed photograph, brown hair cascading down her shoulders., wearing a dress, standing in cafe looking at the viewer
Prompt
beautiful detailed photograph, brown hair cascading down her shoulders., wearing a dress, standing in cafe looking at the viewer, smile
Prompt
beautiful detailed photograph, brown hair cascading down her shoulders., wearing a dress, standing in cafe looking at the viewer
Prompt
beautiful detailed photograph, brown hair cascading down her shoulders., wearing a dress, standing in cafe looking at the viewer, smile

(CivitAI)

Model description

Anna Kendrick - Trained for Flux

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/anna-kendrick-flux', weight_name='Anna_Kendrick_Flux.safetensors')
image = pipeline(' beautiful detailed photograph, brown hair cascading down her shoulders., wearing a dress, standing in cafe looking at the viewer, smile').images[0]

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

Downloads last month
50
Inference Providers NEW
Examples

Model tree for Keltezaa/anna-kendrick-flux

Adapter
(42668)
this model