Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Efficient-Large-Model
/
Sana_1600M_512px_MultiLing

Text-to-Image
Sana
English
Chinese
Sana
512px_based_image_size
Multi-language
Model card Files Files and versions
xet
Community
1

Instructions to use Efficient-Large-Model/Sana_1600M_512px_MultiLing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Sana

    How to use Efficient-Large-Model/Sana_1600M_512px_MultiLing with Sana:

    # Load the model and infer image from text
    import torch
    from app.sana_pipeline import SanaPipeline
    from torchvision.utils import save_image
    
    sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml")
    sana.from_pretrained("hf://Efficient-Large-Model/Sana_1600M_512px_MultiLing")
    
    image = sana(
        prompt='a cyberpunk cat with a neon sign that says "Sana"',
        height=1024,
        width=1024,
        guidance_scale=5.0,
        pag_guidance_scale=2.0,
        num_inference_steps=18,
    ) 
  • Notebooks
  • Google Colab
  • Kaggle
Sana_1600M_512px_MultiLing / assets
5.83 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Lawrence-cj's picture
Lawrence-cj
Upload 8 files
d306561 verified over 1 year ago
  • 猫 Wearing πŸ•Ά flying on the 彩虹 with 🌹 in the ❄️0.jpg
    1.12 MB
    xet
    Upload 8 files over 1 year ago
  • 猫 Wearing πŸ•Ά flying on the 彩虹 with 🌹 in the ❄️1.jpg
    459 kB
    Upload 8 files over 1 year ago
  • 金色 πŸŒ… δΈ‹ηš„ι•ΏεŸŽ, traditional Chinese style0.jpg
    1.06 MB
    xet
    Upload 8 files over 1 year ago
  • 金色 πŸŒ… δΈ‹ηš„ι•ΏεŸŽ, traditional Chinese style1.jpg
    358 kB
    Upload 8 files over 1 year ago
  • 🐯 穿着 πŸ‘• 吹 🎷0.jpg
    812 kB
    Upload 8 files over 1 year ago
  • 🐯 穿着 πŸ‘• 吹 🎷1.jpg
    338 kB
    Upload 8 files over 1 year ago
  • 🦁 teaching 🐯 to catch πŸ¦‹0.jpg
    1.27 MB
    xet
    Upload 8 files over 1 year ago
  • 🦁 teaching 🐯 to catch πŸ¦‹1.jpg
    417 kB
    Upload 8 files over 1 year ago