# List an image model's endpoints

`GET https://api.llm.buzz/api/v1/images/models/{author}/{slug}/endpoints`

One endpoint per provider that may serve the image model to you: `provider_name`, `provider_slug`, `provider_tag` (with `/eu` for an EU provider), `supported_parameters` as on the image model list, `allowed_passthrough_parameters` (always `[]`, since every field is checked against the model), `supports_streaming` (`false`) and `pricing` at your rate: an `input_text` and an `output_image` line in US dollars per token for a model priced per token, one `output_image` line with the price of one image for a model priced per image. `GET /api/v1/images/models/{model_id}/endpoints` for a name with no `/`. A key is required, and the answer is never cached.

Authentication: an inference key, as `Authorization: Bearer KEY`.

## Parameters

- `author` (path string, required): The part of the model's name before `/`, such as `qwen`.
- `slug` (path string, required): The part after `/`, such as `qwen-image-3`.

## Responses

- 200: The model's `id` and its `endpoints`.
- 401: No key, or the key is unknown, expired, revoked or disabled.
- 404: No model has this name or your key may not call it; a model that makes no images answers a 404 naming `GET /api/v1/images/models`.

## Example (curl)

```bash
curl https://api.llm.buzz/api/v1/images/models/qwen/qwen-image-3/endpoints \
  -H "Authorization: Bearer $LLM_BUZZ_KEY"
```

## Example response

```json
{
  "id": "qwen/qwen-image-3",
  "endpoints": [
    {
      "provider_name": "Alibaba",
      "provider_slug": "alibaba",
      "provider_tag": "alibaba",
      "supported_parameters": {
        "aspect_ratio": {
          "type": "enum",
          "values": [
            "1:1",
            "4:3",
            "3:4",
            "16:9",
            "9:16",
            "3:2",
            "2:3"
          ]
        },
        "n": {
          "type": "range",
          "min": 1,
          "max": 6
        }
      },
      "allowed_passthrough_parameters": [],
      "supports_streaming": false,
      "pricing": [
        {
          "billable": "output_image",
          "unit": "image",
          "cost_usd": 0.03
        }
      ]
    }
  ]
}
```
