Instructions to use LyliaEngine/2dRealPhoto_Background with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LyliaEngine/2dRealPhoto_Background with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("LyliaEngine/2dRealPhoto_Background") prompt = "<lora:2dRealPhoto_Background:1>, 2dReal, ((photo background)), ((film grain:1.4)), 1girl, aged_up,mature female, tall_female, mitaka asa, black hair, brown eyes, low twintails, dark, happy, looking partner, looking back, looking at another, pov arm grab, walking, blurry background, depth of field,impressionism, sunset, " image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K