Quickstart
From zero to pulling a model in a few minutes. This uses the Python SDK; the same operations are available over the REST API.
1. Install#
bash
1 | |
Requires Python 3.9+. The SDK depends only on httpx and pydantic.
2. Authenticate#
The fastest path is an API key. Create one in the web UI (or ask an admin), then:
bash
1 2 | |
python
1 2 3 4 5 | |
Interactive users can log in through the browser (OAuth PKCE) or a headless device flow instead — see Authentication.
3. Browse#
python
1 2 3 4 5 6 7 8 9 10 11 | |
4. Download a version#
python
1 2 3 4 5 6 7 8 9 | |
5. Publish a model#
python
1 2 3 4 5 6 7 8 9 10 11 12 | |
Same thing from the shell (CLI)#
bash
1 2 3 4 5 6 7 | |
Where to go next#
- Resource model — namespaces, models, versions, variants explained.
- Uploading a model — the full upload lifecycle.
- Downloading a model — resume, checksums, streaming, variants.
- Python SDK reference — every method and model.