Instructions to use antokas/anything-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use antokas/anything-v4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("antokas/anything-v4", 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
Download vae/diffusion_pytorch_model.bin from antokas/anything-v4: direct link, hf CLI and curl.
- Browser
- Download file 335 MB
-
https://huggingface.co/antokas/anything-v4/resolve/main/vae/diffusion_pytorch_model.bin
- Command line
-
hf download hf://antokas/anything-v4/vae/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/antokas/anything-v4/resolve/main/vae/diffusion_pytorch_model.bin
335 MB
- Xet hash:
- be1729b7e9a49c8e56efa6d2d4b6ee6cae89f26d6e132ccb3e886b072ce30481
- Size of remote file:
- 335 MB
- SHA256:
- 05c27808c35495bc456f67abe21e7f1843c050453c56b1e752a77d5610649011
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.