Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

LyliaEngine
/
2dRealPhoto_Background

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

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
2dRealPhoto_Background
233 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
LyliaEngine's picture
LyliaEngine
Update README.md
2440fa2 verified 6 days ago
  • images
    Add 4 files 6 days ago
  • .gitattributes
    2.31 kB
    initial commit 6 days ago
  • 2dRealPhoto_Background.safetensors
    228 MB
    xet
    Add 4 files 6 days ago
  • README.md
    1.69 kB
    Update README.md 6 days ago