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

# Load Vae

> This endpoint is used to load a VAE model to your dedicated server.

## Request

Send a `POST` request to below endpoint to load vae

```json json theme={null}
--request POST 'https://modelslab.com/api/v1/enterprise/pony/load_vae' \
```

## Body

```json json theme={null}
{    
    "key": "enterprise_api_key",    
    "webhook": "http://webhook-url.com",    
    "vae_id": "vae-kl-f8-anime2",    
    "vae_url": "bullhug/kl-f8-anime2",    
    "vae_type": "diffusers"
}
```

## Body Attributes

<ParamField path="key" type="string" required>
  Your enterprise API Key used for request authorization.
</ParamField>

<ParamField path="webhook" type="string">
  A webhook URL to receive a POST callback once the VAE load event completes.
</ParamField>

<ParamField path="vae_id" type="string" required>
  The ID to assign to the VAE.
</ParamField>

<ParamField path="vae_url" type="string" required>
  The URL of the VAE file.
</ParamField>

<ParamField path="vae_type" type="string" enum="[&#x22;diffusers&#x22;,&#x22;safetensors&#x22;,&#x22;pt&#x22;]" required>
  The type of the VAE file. Options: diffusers, safetensors, pt.
</ParamField>
