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
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - text: >- | |
| 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, | |
| parameters: | |
| negative_prompt: >- | |
| lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, | |
| ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated | |
| hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, | |
| dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, | |
| disfigured, gross proportions, malformed limbs, missing arms, missing | |
| legs, extra arms, extra legs, fused fingers, too many fingers, long neck, | |
| username, watermark, signature, N0R3AL_PDXL | |
| output: | |
| url: images/00007-2983385135.png | |
| base_model: John6666/mocase-mix-prefectponyv2-sdxl | |
| instance_prompt: sana | |
| # sana | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `sana` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/Shero448/sana/tree/main) them in the Files & versions tab. | |