Instructions to use ntc-ai/model-glue-sd15-sana-text with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use ntc-ai/model-glue-sd15-sana-text 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://ntc-ai/model-glue-sd15-sana-text") 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

- Xet hash:
- 28cc9cc6eaea8d3362dc81f7160ff36f5a8bdff2171e8dc31509e1483769b9c7
- Size of remote file:
- 121 kB
- SHA256:
- 12de8ae1a69eff31879911c50068af1a2fe77bd5f56dbbf5cf1e6743464eca06
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.