Instructions to use InstantX/InstantID with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use InstantX/InstantID with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("InstantX/InstantID", 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 examples/0.png from InstantX/InstantID: direct link, hf CLI and curl.
- Browser
- Download file 8.71 MB
-
https://huggingface.co/InstantX/InstantID/resolve/refs%2Fpr%2F30/examples/0.png
- Command line
-
hf download hf://InstantX/InstantID@refs/pr/30/examples/0.png
-
curl -L -o 0.png https://huggingface.co/InstantX/InstantID/resolve/refs%2Fpr%2F30/examples/0.png
8.71 MB

- Xet hash:
- d10efcfc6727449b38a9acf7536cc01aa1d9e88d6a81ea73112fbf6f6a9b7b63
- Size of remote file:
- 8.71 MB
- SHA256:
- b02e16d938c007409c19783d494737230fe7eb890ac60b08267f0f46b9f17f6e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.