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

WiroAI
/
Sana-Flux-LoRA

Text-to-Image
Diffusers
Transformers
flux
lora
template:sd-lora
ai-toolkit
Model card Files Files and versions
xet
Community

Instructions to use WiroAI/Sana-Flux-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use WiroAI/Sana-Flux-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("WiroAI/Sana-Flux-LoRA")
    
    prompt = "sanawiro, A young woman with jet-black hair styled in loose waves, wearing a simple pastel pink dress. She stands in a blooming garden, surrounded by roses and soft sunlight. Her gentle smile and relaxed demeanor create a peaceful, elegant scene. Ultra-HD, realistic, with vibrant floral details and soft natural light."
    image = pipe(prompt).images[0]
  • Transformers

    How to use WiroAI/Sana-Flux-LoRA with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("WiroAI/Sana-Flux-LoRA", dtype="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
Sana-Flux-LoRA
173 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
mehmettozlu's picture
mehmettozlu
Update README.md
f413120 verified over 1 year ago
  • .gitattributes
    1.57 kB
    Upload 2 files over 1 year ago
  • README.md
    3.57 kB
    Update README.md over 1 year ago
  • sana3.png
    1.15 MB
    xet
    Upload 2 files over 1 year ago
  • sana_flux_lora.safetensors
    172 MB
    xet
    Upload 2 files over 1 year ago