Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use xyn-ai/anything-v4.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xyn-ai/anything-v4.0 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("xyn-ai/anything-v4.0", torch_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
Ctrl+K
- feature_extractor
- safety_checker
- scheduler
- text_encoder
- tokenizer
- unet
- vae
- 1.68 kB
- 3.85 GB xet
- 4.22 kB
- 2.13 GB xet
- 2.13 GB xet
- 4.27 GB xet
- 4.27 GB xet
- 4.27 GB xet
- 4.27 GB xet
- 7.7 GB xet
- 823 MB xet
- 2.13 GB xet
- 4.27 GB xet
- 4.27 GB xet
- 4.27 GB xet
- 7.7 GB xet
- 7.7 GB xet
- 4.45 MB xet
- 3.88 MB xet
- 1.67 MB xet
- 2 MB xet
- 584 Bytes