---
title: "Get Voices"
method: GET
path: "/api/v1/tts/voices"
tags: ["tts"]
---

# Get Voices

`GET /api/v1/tts/voices`

## Request

- Base URL: `https://api.slidemaster.tw` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slidemaster.tw/api/v1/tts/voices`
- Auth: none declared

取得可用的語音列表

Args:
    language_code: 語言代碼（用於 Azure / CosyVoice）
    tts_provider: TTS 服務提供商（可選，如果提供則使用此值，否則使用配置中的 TTS_PROVIDER）
    user_id: 當前用戶 ID（用於過濾自訂語音，只顯示該用戶自己的）

## Query parameters

- `language_code` string
- `tts_provider` string, nullable

## Headers

- `Authorization` string, nullable

## Response `200`

Successful Response

- TTSVoiceResponse[]
  - `name` string, required
  - `language_code` string, required
  - `ssml_gender` string, required
  - `natural_sample_rate_hertz` integer, required
  - `description` string, nullable
  - `tier` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api.md) · [All operations](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slidemaster/apis/slidemaster-ai-api/revisions/a964c005977e?raw)
