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("cocktailpeanut/king")

prompt = "kng is a doctor"
image = pipe(prompt).images[0]

king

A Flux LoRA trained on a local computer with Fluxgym

Prompt
kng is a doctor
Prompt
kng is jogging in new york central park
Prompt
kng is eating hamburger

Trigger words

You should use kng to trigger the image generation.

Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc.

Weights for this model are available in Safetensors format.

Downloads last month
19
Inference Providers NEW
Examples

Model tree for cocktailpeanut/king

Adapter
(41146)
this model