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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

gokaygokay
/
Krea-2-Realism-LoRA

Text-to-Image
Diffusers
English
lora
template:sd-lora
krea
krea-2
realism
photorealism
Model card Files Files and versions
xet
Community
2

Instructions to use gokaygokay/Krea-2-Realism-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use gokaygokay/Krea-2-Realism-LoRA with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Raw,krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("gokaygokay/Krea-2-Realism-LoRA")
    
    prompt = "A young woman taking a selfie in front of a steamy bathroom mirror with her phone partly covering her face, soft morning light coming through a frosted window, water droplets on the glass and a white towel wrapped around her hair"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
Krea-2-Realism-LoRA
490 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
gokaygokay's picture
gokaygokay
Add inline example gallery to README
82289bd verified 16 days ago
  • images
    Add Krea 2 Realism LoRA: weights, model card, and example gallery 16 days ago
  • .gitattributes
    1.98 kB
    Add Krea 2 Realism LoRA: weights, model card, and example gallery 16 days ago
  • README.md
    7.76 kB
    Add inline example gallery to README 16 days ago
  • examples_manifest.json
    3.11 kB
    Add Krea 2 Realism LoRA: weights, model card, and example gallery 16 days ago
  • krea2_realism_lora.safetensors
    469 MB
    xet
    Add Krea 2 Realism LoRA: weights, model card, and example gallery 16 days ago