Norod78/PaperCutoutStyle
Viewer β’ Updated β’ 14 β’ 38 β’ 5
How to use Norod78/Flux_1_Dev_LoRA_Paper-Cutout-Style with Diffusers:
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("Norod78/Flux_1_Dev_LoRA_Paper-Cutout-Style")
prompt = "The cookie monster, Paper Cutout Style"
image = pipe(prompt).images[0]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("Norod78/Flux_1_Dev_LoRA_Paper-Cutout-Style")
prompt = "The cookie monster, Paper Cutout Style"
image = pipe(prompt).images[0]




These are Norod78/Flux_1_Dev_LoRA_Paper-Cutout-Style LoRA weights for black-forest-labs/FLUX.1-dev.
The weights were trained with the fal.ai Flux trainer.
You should use Paper Cutout Style to trigger the image generation.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('Norod78/Flux_1_Dev_LoRA_Paper-Cutout-Style', weight_name='Flux_1_Dev_LoRA_Paper-Cutout-Style.safetensors')
image = pipeline('Gal Gadot as wonderwoman, Paper Cutout Style').images[0]
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Please adhere to the licensing terms as described here.
Base model
black-forest-labs/FLUX.1-dev