Instructions to use aixonlab/FLUX.1-dev-LoRA-Cinematic-1940s with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aixonlab/FLUX.1-dev-LoRA-Cinematic-1940s with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("aixonlab/FLUX.1-dev-LoRA-Cinematic-1940s", dtype=torch.bfloat16, device_map="cuda") prompt = "cinematic_1940s" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Cinematic-1940s
Cinematic-1940s is a LoRA model finetuned to capture the essence of 1940s cinema, specifically designed to enhance the vintage film texture. It embodies a monochrome, high-contrast color palette reminiscent of classic film noir, which is particularly evident in its portrayal of characters (with a subtle bias towards the charismatic charm of the era), bustling cityscapes, and dramatic shadows. The model delivers an exceptional aesthetic experience, capturing the essence of a bygone era with modern precision.
Trigger words
You should use cinematic_1940s to trigger the image generation.
Inference
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights('aixonlab/FLUX.1-dev-LoRA-Cinematic-1940s', weight_name='cinematic-1940s.safetensors')
pipe.fuse_lora(lora_scale=0.8)
pipe.to("cuda")
prompt = "a gorgeous woman and a man, cinematic_1940s"
image = pipe(prompt,
num_inference_steps=24,
guidance_scale=3.0,
width=768, height=1024,
).images[0]
image.save(f"example.png")
Acknowledgements
This model is trained by AIXON Lab. We release this model under permissions. The model follows flux-1-dev-non-commercial-license.
- Downloads last month
- 44
Model tree for aixonlab/FLUX.1-dev-LoRA-Cinematic-1940s
Base model
black-forest-labs/FLUX.1-dev