Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use digiplay/NextPhoto_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use digiplay/NextPhoto_v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("digiplay/NextPhoto_v2", 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 digiplay/NextPhoto_v2: direct link, hf CLI and curl.
- Browser
- Download file 492 MB
-
https://huggingface.co/digiplay/NextPhoto_v2/resolve/refs%2Fpr%2F1/text_encoder/pytorch_model.bin
- Command line
-
hf download hf://digiplay/NextPhoto_v2@refs/pr/1/text_encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/digiplay/NextPhoto_v2/resolve/refs%2Fpr%2F1/text_encoder/pytorch_model.bin
492 MB
- Xet hash:
- bd1cc7cc05a99d7b12c771f9aeb44dd4daac8df54b6838557d6ec62c19fad013
- Size of remote file:
- 492 MB
- SHA256:
- 0f1f3a252439e49067a3f766d67e982713c06323dec61747cb0391d14d37d3bc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.