Text-to-Image
Diffusers
template:sd-lora
flux
lora
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("glif-loradex-trainer/AP123_flux_dev_2DHD_pixel_art")

prompt = "sloth driving a car, totk style"
image = pipe(prompt).images[0]

flux_dev_2DHD_pixel_art

Model trained with AI Toolkit by Ostris under the Glif Loradex program by Glif user AP123.

Prompt
sloth driving a car, totk style
Prompt
panoramic shot of a lush forest, setting sun, totk style
Prompt
a bird catching a worm, totk style

Trigger words

You should use totk style to trigger the image generation.

Download model

Weights for this model are available in Safetensors format. Download them in the Files & versions tab.

License

This model is licensed under the flux-1-dev-non-commercial-license.

Downloads last month
53
Inference Providers NEW
Examples

Model tree for glif-loradex-trainer/AP123_flux_dev_2DHD_pixel_art

Adapter
(40059)
this model

Space using glif-loradex-trainer/AP123_flux_dev_2DHD_pixel_art 1