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

# Whisper (whisper)

> Whisper (whisper) | 音訊轉錄

音訊轉錄 · `whisper`

使用此完整 MixRoute 模型 ID 選擇路由。

`POST /v1/audio/transcriptions`

請在 [MixRoute 模型廣場](https://console.mixroute.ai/models) 確認金鑰分組的可用性。列入目錄不代表路由已開放。

## 快速範例

執行前請設定 `MIXROUTE_API_KEY`。

```bash theme={null}
curl --fail-with-body --request POST 'https://api.mixroute.ai/v1/audio/transcriptions' \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --form 'model=whisper' \
  --form 'file=@speech.wav'
```

將 `speech.wav` 換成本機音訊檔。轉錄結果位於 JSON 的 `text` 欄位。

## 參數

| 欄位 | 說明 |
| - | - |
| `model` | `whisper`. 使用上方列出的完整模型 ID。 |
| `file` | 使用 multipart 表單上傳的本機音訊。 |

## API 參考

* [音訊轉錄](https://mixroute.ai/docs/zh-Hant/api-reference/endpoint/audio-transcriptions.md)


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