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

# 列出音色

> 列出当前工作区可见的音色：包括在此工作区中克隆或设计的音色，以及 Vivix 提供的公共音色。



## OpenAPI

````yaml cn/streaming-avatar/api-references/openapi.json GET /v1/voices
openapi: 3.1.0
info:
  title: Vivix Streaming Avatar API 中文参考
  version: 1.0.0
  description: Streaming Avatar 会话、音色和角色的 REST 接口。
servers:
  - url: https://api.vivix.ai
security:
  - bearerAuth: []
paths:
  /v1/voices:
    get:
      summary: 列出音色
      description: 列出当前工作区可见的音色：包括在此工作区中克隆或设计的音色，以及 Vivix 提供的公共音色。
      operationId: listVoices
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - message
                  - data
                properties:
                  code:
                    type: integer
                    description: 成功时为 `0`；其他值均为错误码。
                  message:
                    type: string
                    description: '`success`，或英文错误说明。'
                  data:
                    type: object
                    properties:
                      voices:
                        type: array
                        description: 当前可见的音色。
                        items:
                          type: object
                          properties:
                            voice_id:
                              type: string
                              description: 音色 ID（格式类似 voice_…）。
                            name:
                              type: string
                              description: 显示名称。
                            language:
                              type: string
                              description: >-
                                可选值为
                                `zh`（中文）、`en`（英语）、`fr`（法语）、`de`（德语）、`ja`（日语）、`ko`（韩语）、`ru`（俄语）、`pt`（葡萄牙语）、`th`（泰语）、`id`（印度尼西亚语）、`vi`（越南语）、`it`（意大利语）、`es`（西班牙语）、`ms`（马来语）、`fil`（菲律宾语）、`ar`（阿拉伯语）或空字符串。
                          required:
                            - voice_id
                            - name
                            - language
                    required:
                      - voices
              example:
                code: 0
                message: success
                data:
                  voices:
                    - voice_id: voice_9f1c2a7b
                      name: Studio Host
                      language: zh
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 你的 Vivix API 密钥。请仅保存在服务端。

````

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