Instructions to use Shero448/sana with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shero448/sana with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("John6666/mocase-mix-prefectponyv2-sdxl", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Shero448/sana") prompt = "score_9, score_8_up, score_7_up, score_6_up, source_anime,anime screencap,anime coloring, uncensored, outside, night time, in a public bath, stars in the sky," image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee