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("VitoCorleone72/pk")

prompt = "-"
image = pipe(prompt).images[0]

pk

Prompt
-

Trigger words

You should use pk to trigger the image generation.

from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained("John6666/big-lust-v1-sdxl")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0]

from huggingface_hub import InferenceClient client = InferenceClient("John6666/big-lust-v16-sdxl", token="hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")

output is a PIL.Image object

image = client.text_to_image("Astronaut riding a horse")

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.

Downloads last month
5
Inference Providers NEW
Examples

Model tree for VitoCorleone72/pk

Adapter
(42607)
this model