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 text_encoder/pytorch_model.bin from antokas/anything-v4: direct link, hf CLI and curl.
- Browser
- Download file 492 MB
-
https://huggingface.co/antokas/anything-v4/resolve/main/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://antokas/anything-v4/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/antokas/anything-v4/resolve/main/text_encoder/pytorch_model.bin
492 MB
- Xet hash:
- 144cc599c5500e842e12991ebaa2f92d7124059177e649584cbb138aa41143c5
- Size of remote file:
- 492 MB
- SHA256:
- bf4075388af1dbd8d666e08337171bfeffb627e52ca4b86ca17053c95e14f309
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.