> ## Documentation Index
> Fetch the complete documentation index at: /llms.txt
> Use this file to discover all available pages before exploring further.

# Download AI Models

AI Orchestrators on the Livepeer AI network can choose from various AI models to
advertise on the network. A comprehensive list of currently supported models for
each Livepeer AI pipeline is available on the [Pipelines](/ai/pipelines) page.
Before specifying which models to advertise on the Livepeer AI network, you must
first download the models to your machine. The following steps will guide you
through downloading the **recommended** models for Livepeer AI.

**1. Install HuggingFace CLI**

Use the following command to install the HuggingFace CLI:

```bash theme={null}
pip install huggingface_hub
```

**2. Generate Hugging Face Token**

Follow the instructions on the [Hugging Face website](https://huggingface.co/docs/hub/en/security-tokens) to generate an access token with **read** permissions. Then, use the Hugging Face CLI to install the token:

```bash theme={null}
hf auth login
```

You will be prompted to paste the access token you created on the Hugging Face website.

> [!NOTE]
>
> If you have trouble locating `hf` in your path, it may be necessary to add `/home/$USER/.local/bin/` to your local path.

**3. Accept SVD1.1 Terms**

The currently recommended models include one **gated** model. Therefore, you must accept the terms of the [SVD1.1 model](https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt-1-1) on its model page before downloading.

**4. Download AI Models**

Use the following command to download the **recommended** models for Livepeer AI:

```bash theme={null}
cd ~/.lpData
latest=$(curl -s https://api.github.com/repos/livepeer/ai-runner/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
curl -s https://raw.githubusercontent.com/livepeer/ai-runner/tags/$latest/runner/dl_checkpoints.sh | bash -s -- --beta
```

This command downloads the recommended models for Livepeer AI and stores them in your machine's `~/.lpData/models` directory. To obtain a complete set of models, omit the `--beta` flag. This will require additional disk space.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.