|
|
--- |
|
|
tags: |
|
|
- text-to-image |
|
|
- lora |
|
|
- diffusers |
|
|
- template:diffusion-lora |
|
|
widget: |
|
|
- text: '-' |
|
|
output: |
|
|
url: images/ComfyUI_05214_.jpeg |
|
|
base_model: black-forest-labs/FLUX.1-dev |
|
|
instance_prompt: pk |
|
|
|
|
|
--- |
|
|
# pk |
|
|
|
|
|
<Gallery /> |
|
|
|
|
|
|
|
|
## 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](/VitoCorleone72/pk/tree/main) them in the Files & versions tab. |
|
|
|