Model Selection

Models exposes a catalog of available AI models you can leverage via the API. It returns metadata—including model names, versions, supported capabilities (e.g. text, image, speech), and metrics.

get

Endpoint for fetching all available models.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
per_pageintOptionalDefault: 15
pageintOptionalDefault: 1
Header parameters
Acceptstring · enumRequiredDefault: application/jsonPossible values:
Responses
200

List of available models.

application/json
get
/api/v1/client/models
GET /api/v1/client/models HTTP/1.1
Host: api.deapi.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: application/json
{
  "data": {
    "data": [
      {
        "name": "text",
        "slug": "text",
        "inference_types": {},
        "info": {
          "limits": {
            "min_width": 64,
            "max_width": 2048,
            "min_height": 64,
            "max_height": 2048,
            "min_steps": 1,
            "max_steps": 150,
            "min_cfg_scale": 1,
            "max_cfg_scale": 30,
            "min_duration": 0.5,
            "max_duration": 10,
            "min_fps": 8,
            "max_fps": 30
          },
          "features": {
            "supports_last_frame": true,
            "supports_negative_prompt": true,
            "supports_controlnet": false,
            "supports_lora": true,
            "supports_voice_presets": true,
            "supports_custom_voice": false
          },
          "defaults": {
            "width": 512,
            "height": 512,
            "steps": 20,
            "cfg_scale": 7.5,
            "negative_prompt": "no disfigurations",
            "fps": 24,
            "duration": 4,
            "voice": "alloy"
          }
        },
        "loras": [
          {
            "display_name": "text",
            "name": "text"
          }
        ]
      }
    ]
  }
}

Last updated