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

# 对话模型列表

> 接口说明：获取当前可用的对话模型目录，以及每个模型所属渠道、适用场景、输入输出模态、积分范围和价格。模型与能力可能随服务更新，调用对话接口时请以本接口的实时返回值为准。

本接口只查询模型目录，不会发起模型对话；需要调用模型时，请根据所用协议选择[「OpenAI 对话」](/api-reference/post-api-ai-chat-completions)、[「Anthropic 对话」](/api-reference/post-api-ai-v1-messages)或 Gemini 对话接口。



## OpenAPI

````yaml /openapi/zh/aitoearn.openapi.json get /api/ai/models/chat
openapi: 3.0.1
info:
  title: AiToEarn 开放平台 API
  description: AiToEarn 开放平台 API，支持在中国站与国际站之间切换调试。业务是否成功以响应体 code === 0 为准。
  version: 1.0.0
  contact: {}
servers:
  - url: https://aitoearn.cn
    description: 中国站
  - url: https://aitoearn.ai
    description: 国际站
security: []
tags:
  - name: AI 服务
  - name: AI 服务/视频生成
  - name: AI 服务/图像生成
  - name: 渠道管理
  - name: 渠道管理/账号
  - name: 渠道管理/内容发布
  - name: 渠道管理/平台
  - name: 渠道管理/作品
  - name: 渠道管理/账号分组
  - name: 渠道管理/授权
  - name: 资源管理
  - name: AI 服务/大语言模型
  - name: AI 服务/真人素材
  - name: AI 服务/Agent
paths:
  /api/ai/models/chat:
    get:
      tags:
        - AI 服务/大语言模型
      summary: 对话模型列表
      description: >-
        接口说明：获取当前可用的对话模型目录，以及每个模型所属渠道、适用场景、输入输出模态、积分范围和价格。模型与能力可能随服务更新，调用对话接口时请以本接口的实时返回值为准。


        本接口只查询模型目录，不会发起模型对话；需要调用模型时，请根据所用协议选择[「OpenAI
        对话」](/api-reference/post-api-ai-chat-completions)、[「Anthropic
        对话」](/api-reference/post-api-ai-v1-messages)或 Gemini 对话接口。
      operationId: ChatController_getChatModels
      parameters: []
      responses:
        '200':
          description: 请求已被服务处理。业务是否成功以响应体 code === 0 为准。
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    description: 当前可用的对话模型列表。模型、能力和价格可能随服务更新，请以每次接口返回为准。
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          description: 模型名称
                        label:
                          type: string
                          description: 模型展示名称
                        tags:
                          type: array
                          items:
                            type: string
                          description: 标签列表
                        channel:
                          type: string
                          enum:
                            - openai
                            - deepseek
                            - anthropic
                            - gemini
                          description: 模型所属渠道
                        creditsScope:
                          type: string
                          enum:
                            - general
                            - seedance
                          description: >-
                            模型使用的积分范围。`general` 表示普通积分，`seedance` 表示 Seedance
                            专用积分。
                        scenes:
                          type: array
                          items:
                            type: string
                            enum:
                              - web
                              - comment
                              - draft-generation
                              - plugin
                          description: 适用场景
                        inputModalities:
                          type: array
                          items:
                            type: string
                            enum:
                              - text
                              - image
                              - audio
                              - video
                          description: 支持输入模态
                        outputModalities:
                          type: array
                          items:
                            type: string
                            enum:
                              - text
                              - image
                          description: 支持输出模态
                        pricing: ace2e1d9-4c64-46e0-bd96-cce6512ebf38
                        description:
                          type: string
                          description: 模型描述
                        fixedImagePricing: e554bc36-21cf-4c5f-9eb7-b693019e46dd
                      additionalProperties: false
                  code:
                    type: integer
                    description: 业务状态码。0 表示成功，非 0 表示业务错误。
                  message:
                    type: string
                    description: 响应消息。
                  requestId:
                    type: string
                    description: 请求 ID。
                  timestamp:
                    type: integer
                    description: 错误响应时间戳，Unix 毫秒。
              examples:
                types:
                  value:
                    code: 0
                    message: 请求成功
                    data:
                      - name: string
                        label: string
                        tags:
                          - string
                        channel: string
                        creditsScope: string
                        scenes:
                          - string
                        inputModalities:
                          - string
                        outputModalities:
                          - string
                        pricing:
                          tiers:
                            - maxInputTokens: number
                              input:
                                text: string
                                image: string
                                video: string
                                audio: string
                                cacheRead: string
                                cacheWrite5m: string
                                cacheWrite1h: string
                              output:
                                text: string
                                image: string
                          originPricing:
                            tiers:
                              - input:
                                  text: string
                                  image: string
                                  video: string
                                  audio: string
                                  cacheRead: string
                                  cacheWrite5m: string
                                  cacheWrite1h: string
                                output:
                                  text: string
                                  image: string
                        description: string
                        fixedImagePricing:
                          - resolution: string
                            price: number
                    requestId: string
      deprecated: false
      security: []

````

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