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

aionthegrind
/
nature-lora

Text-to-Image
Diffusers
Safetensors
English
lora
naturestyle
nature
flux
Model card Files Files and versions
xet
Community
2

Instructions to use aionthegrind/nature-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use aionthegrind/nature-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("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("aionthegrind/nature-lora")
    
    prompt = "nsxfl, A vast, enchanted forest at dusk, where towering ancient trees with intricate, twisting roots form a dense canopy that filters golden and emerald light. The forest floor is carpeted with luminous moss, vibrant ferns, and glowing mushrooms in shades of blue and purple. A sparkling stream winds through the scene, its crystal-clear water reflecting the soft hues of the setting sun. In the distance, a majestic waterfall cascades into a misty pool surrounded by clusters of wildflowers, including fiery red poppies, soft lavender blooms, and radiant yellow daisies. The air is alive with the faint hum of fireflies and the gentle flutter of ethereal white butterflies, their wings shimmering with iridescent hues. A serene deer with silver-tipped antlers stands by the stream, gazing peacefully into the distance, as a pair of colorful birds, with feathers like living rainbows, perch on a nearby branch. Overhead, the sky transitions from soft pastel pink and orange to deep indigo, with the first stars beginning to twinkle"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
nature-lora
90.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
aionthegrind's picture
aionthegrind
Add generated example (#2)
05a7c3b verified over 1 year ago
  • images
    Add generated example (#2) over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    2.42 kB
    Add generated example (#2) over 1 year ago
  • nature-lora-model.safetensors
    89.7 MB
    xet
    Upload nature-lora-model.safetensors over 1 year ago