Instructions to use dream-textures/texture-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dream-textures/texture-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("dream-textures/texture-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "pbr brick wall" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download samples/pbr uneven stone wall.png from dream-textures/texture-diffusion: direct link, hf CLI and curl.
- Browser
- Download file 512 kB
-
https://huggingface.co/dream-textures/texture-diffusion/resolve/main/samples/pbr%20uneven%20stone%20wall.png
- Command line
-
hf download 'hf://dream-textures/texture-diffusion/samples/pbr uneven stone wall.png'
-
curl -L -o 'pbr uneven stone wall.png' https://huggingface.co/dream-textures/texture-diffusion/resolve/main/samples/pbr%20uneven%20stone%20wall.png
512 kB
