k-mktr/improved-flux-prompts-photoreal-portrait
Viewer • Updated • 20k • 540 • 116
How to use Avener/AVeneR with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Avener/AVeneR", dtype=torch.bfloat16, device_map="cuda")
prompt = "Hi, what can you help me with?"
image = pipe(prompt).images[0]Base model
ostris/OpenFLUX.1