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

# 获取音色列表

> 获取可用于对话合成的音色

获取可用的 ElevenLabs 音色列表。同步返回 `voiceId`、`name`、`previewUrl` 和标签等信息 — 将 `voiceId` 用于[多角色对话合成](/zh/api-reference/eleven/dialogue) 的 `inputs[].voiceId`。

<Info>
  此端点为**同步接口**。不创建任务，也不消耗 character credits。
</Info>

## 查询过滤

| 参数         | 说明                                                    |
| ---------- | ----------------------------------------------------- |
| `category` | 按分类过滤：`premade`、`cloned`、`generated` 或 `professional` |
| `search`   | 按名称、description 或 `voiceId` 模糊搜索                      |

<Tip>
  先调用此端点选择音色 ID，再传入 `POST /eleven/dialogue`。可用返回的 `previewUrl` 试听后再合成。
</Tip>


## OpenAPI

````yaml GET /eleven/voices
openapi: 3.0.0
info:
  title: Eleven AI
  description: API documentation for Eleven AI
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.mountsea.ai
    description: API Gateway
security: []
tags:
  - name: eleven
    description: ''
paths:
  /eleven/voices:
    get:
      tags:
        - eleven
      summary: 获取可用音色列表
      description: >-
        对应官方 GET /v1/voices。

        同步返回 voiceId / name / previewUrl 等，供 POST /eleven/dialogue 的
        inputs[].voiceId 选用。

        不走任务队列，不消耗 character credits。
      operationId: ApiPublicController_listVoices
      parameters:
        - name: category
          required: false
          in: query
          description: 按分类过滤：premade / cloned / generated / professional
          schema:
            type: string
            example: premade
        - name: search
          required: false
          in: query
          description: 按名称 / description / voiceId 模糊搜索
          schema:
            type: string
            example: George
      responses:
        '200':
          description: 音色列表
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListVoicesResultDto'
      security:
        - bearerAuth: []
components:
  schemas:
    ListVoicesResultDto:
      type: object
      properties:
        voices:
          type: array
          items:
            $ref: '#/components/schemas/VoiceItemDto'
        total:
          type: number
          example: 20
      required:
        - voices
        - total
    VoiceItemDto:
      type: object
      properties:
        voiceId:
          type: string
          example: JBFqnCBsd6RMkjVDRZzb
        name:
          type: string
          example: George
        category:
          type: string
          example: premade
        description:
          type: string
          nullable: true
          example: Warm, narrative male voice
        previewUrl:
          type: string
          nullable: true
          description: 试听 URL
        labels:
          type: object
          additionalProperties:
            type: string
          nullable: true
          description: 标签（性别、口音等）
          example:
            accent: american
            gender: male
      required:
        - voiceId
        - name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````