# List Image Model Endpoints

`GET https://api.vultrinference.com/v1/images/models/{author}/{slug}/endpoints`

The endpoint record of one image model, the `endpoints` link of its list entry. `author` is not checked; the gateway's model ids have none, and `vultr` is the documented one. `allowed_passthrough_parameters` are the names the model takes under `provider.options` (`vultr` or any other slug, flat or under `parameters`; OpenRouter's SDKs keep only `stealth`): every declared parameter and alias, `steps` included. They are also accepted at the top level of the request.

## Path parameters

- `author` (string, required)
- `slug` (string, required)

## Responses

- `200`: OK (image-model-endpoints-response)
- `401`: The API key is missing, unknown or not active. Send it as Authorization: Bearer <key>. (error-payload)
- `404`: The model does not exist or is not currently served (error-payload)
- `502`: The model catalog cannot be read right now. Retry shortly; an empty list is never sent in its place. (error-payload)
- `503`: The model is temporarily unavailable (error-payload)

## Example

```bash
curl https://api.vultrinference.com/v1/images/models/vultr/z-image-turbo/endpoints \
  -H "Authorization: Bearer $VULTR_INFERENCE_API_KEY"
```

```python
import os
import requests

response = requests.get(
    "https://api.vultrinference.com/v1/images/models/vultr/z-image-turbo/endpoints",
    headers={"Authorization": f"Bearer {os.environ['VULTR_INFERENCE_API_KEY']}"},
)
print(response.json())
```

```javascript
const response = await fetch("https://api.vultrinference.com/v1/images/models/vultr/z-image-turbo/endpoints", {
  headers: {
    Authorization: `Bearer ${process.env.VULTR_INFERENCE_API_KEY}`,
  },
});
console.log(await response.json());
```
