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

# 模型列表

> 列出已可真实调用的模型。

> 能力按服务端配置逐项启用。未启用操作返回 503 且不创建任务；音乐积分扣除当前未启用。

## 可用性与筛选

可选 modality=image|video|music|llm、limit（1–100，默认 50）、after（不透明游标）。响应为 \{code:200,msg:"success",data:\{models:\[],next\_cursor:null}}。仅列出配置并启用的能力，未配置时列表为空。


## OpenAPI

````yaml openapi.json GET /api/v1/models
openapi: 3.1.0
info:
  title: APIstable API
  version: 1.0.0-preview
  description: >-
    Public /api/v1 protocol. Valid API keys have the same account-scoped access.
    No client submission idempotency or max_credits. Enabled Suno operations use
    PayAPI and durable task processing. Media uses R2: uploads 24 hours,
    generated files 14 days, task logs 30 days. Music credit deduction is
    disabled. Unconfigured operations and LLM return 503.
servers:
  - url: https://apistable.com
    description: APIstable API
security: []
paths:
  /api/v1/models:
    get:
      summary: List available models
      description: >-
        Lists explicitly enabled operations. Website preview entries are not
        advertised as available.
      operationId: listModels
      parameters:
        - name: modality
          in: query
          schema:
            type: string
            enum:
              - image
              - video
              - music
              - llm
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: after
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Enabled live operation catalog.
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - msg
                  - data
                additionalProperties: false
                properties:
                  code:
                    const: 200
                  msg:
                    const: success
                  data:
                    type: object
                    required:
                      - models
                      - next_cursor
                    properties:
                      models:
                        type: array
                        items:
                          $ref: '#/components/schemas/Model'
                      next_cursor:
                        type:
                          - string
                          - 'null'
        '400':
          description: Invalid list parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
components:
  schemas:
    Model:
      type: object
      required:
        - id
        - modality
        - status
        - live_available
        - input_schema_version
      properties:
        id:
          type: string
        modality:
          type: string
          enum:
            - image
            - video
            - music
            - llm
        status:
          type: string
          enum:
            - preview
            - maintenance
            - available
        live_available:
          type: boolean
        input_schema_version:
          type: string
    Error:
      type: object
      required:
        - code
        - msg
        - data
      properties:
        code:
          type: integer
        msg:
          type: string
        data:
          type: 'null'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.