# Senaraikan model video tersedia

**API:** Model API

**Endpoint:** `GET /api/v1/videos/models`

Memulangkan hanya model yang model_kind berkesannya ialah video_generation. Pemetaan penyedia yang didayakan boleh mengatasi kategori model asas; tanpa penapis penyedia, keutamaan pemetaan menurun dan nama penyedia menaik menentukan pengatasan. Jika tiada pemetaan didayakan yang menyediakan kategori, kategori asas digunakan (chat jika tiada). Menggunakan keterlihatan, harga semasa, penapis penyedia dan susunan stabil yang sama seperti GET /api/v1/models. Hasil kosong memulangkan HTTP 200 dengan object=list dan data=[]. Ini ialah bacaan katalog setempat: ia tidak menyegerakkan model huluan atau mengenakan caj untuk panggilan model. Butiran kekal tersedia melalui GET /api/v1/models/{model_id}. Endpoint umum GET /api/v1/models terus menyertakan semua kategori.

## Base URL

- `https://openapi.felo.ai` — Pengeluaran

## Authentication

- `FeloBearerAuth` (http bearer) — Kunci API Felo dihantar sebagai `Authorization: Bearer <key>`.
- `FeloApiKey` (apiKey in header `X-API-Key`) — Kunci API Felo dihantar sebagai `X-API-Key: <key>`.

## Responses

### 200 — Model tersedia

**application/json**

Schema: `ModelList` (`#/components/schemas/ModelList`)

Example:

```json
{
  "object": "list",
  "data": [
    {
      "id": "seedance-2.0-mini",
      "object": "model",
      "created": 1788220800,
      "owned_by": "Felo Router",
      "model_kind": "video_generation"
    }
  ]
}
```

### 401 — Kunci API Felo tidak sah atau tiada

**application/json**

Schema: `OpenAIErrorResponse` (`#/components/schemas/OpenAIErrorResponse`)

### 422 — Parameter pertanyaan tidak sah, seperti provider kosong

**application/json**

Schema: object

```json
{
  "type": "object",
  "required": [
    "detail"
  ],
  "properties": {
    "detail": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  }
}
```

### 503 — Katalog model tidak tersedia buat sementara waktu

**application/json**

Schema: `OpenAIErrorResponse` (`#/components/schemas/OpenAIErrorResponse`)

## Schema definitions

### Model

`#/components/schemas/Model`

```json
{
  "type": "object",
  "required": [
    "id",
    "object",
    "created",
    "owned_by"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "ID model Felo."
    },
    "object": {
      "type": "string",
      "const": "model"
    },
    "created": {
      "type": "integer",
      "format": "int64",
      "description": "Cap masa penciptaan katalog model dalam saat Unix."
    },
    "owned_by": {
      "type": "string"
    },
    "model_kind": {
      "type": "string",
      "description": "Kategori keupayaan model berkesan selepas pemetaan penyedia yang didayakan mengatasi kategori asas: chat, image_generation, video_generation atau decisions. Gunakan endpoint panggilan yang sepadan dengan kategori ini."
    }
  },
  "additionalProperties": true
}
```

### ModelList

`#/components/schemas/ModelList`

```json
{
  "type": "object",
  "required": [
    "object",
    "data"
  ],
  "properties": {
    "object": {
      "type": "string",
      "const": "list"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Model"
      }
    }
  },
  "additionalProperties": true
}
```

### OpenAIErrorResponse

`#/components/schemas/OpenAIErrorResponse`

```json
{
  "type": "object",
  "description": "Sampul ralat serasi OpenAI. Router mungkin menyertakan code dan message tanpa semua medan huluan pilihan.",
  "required": [
    "error"
  ],
  "properties": {
    "error": {
      "type": "object",
      "required": [
        "message"
      ],
      "properties": {
        "message": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "description": "Jenis ralat serasi OpenAI apabila dibekalkan."
        },
        "param": {
          "type": [
            "string",
            "null"
          ]
        },
        "code": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}
```
