Instructions to use arraypress/imagine-sana-sprint-1.6b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use arraypress/imagine-sana-sprint-1.6b 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://arraypress/imagine-sana-sprint-1.6b") 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
Commit History
-
Model card: give the table real headers
Verified signature5292944
-
Model card: 9:16 and 4:5 shapes
Verified signaturec47fa25 -
Add 4:5 (896 × 1120): transformer + decoder for this shape; shares ../TextEncoder.aimodel
Verified signature069106b -
Add 9:16 (768 × 1344): transformer + decoder for this shape; shares ../TextEncoder.aimodel
Verified signaturefd2728a
-
16:9 (1344 x 768) export in aspect-16x9/, and the card says how shapes cost
Verified signature46c9a4a -
Core AI conversion, model card, licences and NOTICE
Verified signature83e5393 -
initial commit
Verified signature936a535