Instructions to use Shakker-Labs/FLUX.1-dev-LoRA-collections with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shakker-Labs/FLUX.1-dev-LoRA-collections with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-collections") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-collections")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]FLUX.1-dev-LoRA-collections
This repository contains popular LoRAs for FLUX.1-dev model trained by our users at Shakker AI.
Model Cards
- A character LoRA for Black Myth: Wukong, by xiongmaowf.
- The recommended LoRA scale is 1.2, with
aiyouxiketangas tagger word. - Try testing prompts:
a man in armor with a beard and a beard,a man in a costume holding a ball.
Inference
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
# Black Myth: Wukong
pipe.load_lora_weights('Shakker-Labs/FLUX.1-dev-LoRA-collections', weight_name='FLUX-dev-lora-Black_Myth_Wukong_hyperrealism_v1.safetensors')
pipe.fuse_lora(lora_scale=1.2)
pipe.to("cuda")
prompt = "aiyouxiketang, a man in armor with a beard and a beard"
image = pipe(
prompt,
num_inference_steps=24,
guidance_scale=5.0,
generator=torch.Generator("cpu").manual_seed(0)
).images[0]
Acknowledgements
All these models are trained by our copyrighted users. We release these model under their permissions.
- Downloads last month
- 460