Instructions to use Azher/Anything-v4.5-vae-fp16-diffuser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Azher/Anything-v4.5-vae-fp16-diffuser with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Azher/Anything-v4.5-vae-fp16-diffuser", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| # For reference on model card metadata, see the spec: https://github.com/huggingface/hub-docs/blob/main/modelcard.md?plain=1 | |
| # Doc / guide: https://huggingface.co/docs/hub/model-cards | |
| {} | |
| # Model: Anything v4.5 | |
| This diffuser is suitable for inference. | |
| Has the following properties that are bundled right out of the box: | |
| - Included: vae | |
| - Half-precision floating point format: fp16 | |
| # Model Sample Outputs | |
| <p align="center"> | |
| <img src="https://huggingface.co/Azher/Anything-v4.5-vae-fp16-diffuser/resolve/main/Image%201.png" alt="Vampire" width="300" height="300" style="display:inline-block;"> | |
| <img src="https://huggingface.co/Azher/Anything-v4.5-vae-fp16-diffuser/resolve/main/Image%202.png" alt="Vampire" width="300" height="300" style="display:inline-block;"> | |
| <img src="https://huggingface.co/Azher/Anything-v4.5-vae-fp16-diffuser/resolve/main/Image%203.png" alt="Vampire" width="300" height="300" style="display:inline-block;"> | |
| <img src="https://huggingface.co/Azher/Anything-v4.5-vae-fp16-diffuser/resolve/main/Image%204.png" alt="Vampire" width="300" height="300" style="display:inline-block;"> | |
| </p> | |
| Output Information: | |
| - Prompt: | |
| ``` | |
| beautiful, masterpiece, black dress, black hair, red eyes, pale, 1girl, stunning, black collar choker, jeweled earrings | |
| ``` | |
| - Negative Prompt: | |
| ``` | |
| lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name, nsfw | |
| ``` | |
| - Setup: | |
| ``` | |
| Steps: 30, Sampler: DPM++ 2M Karras, CFG scale: 11, Size: 512x512 | |
| ``` | |
| # Model Sources | |
| - **Original FP16 Model:** [https://huggingface.co/andite/anything-v4.0/blob/main/anything-v4.5-pruned-fp16.ckpt](https://huggingface.co/andite/anything-v4.0/blob/main/anything-v4.5-pruned-fp16.ckpt) | |
| - **vae swap:** [https://huggingface.co/andite/anything-v4.0/blob/main/anything-v4.0.vae.pt](https://huggingface.co/andite/anything-v4.0/blob/main/anything-v4.0.vae.pt) |