> ## 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-Hans/api-reference/endpoint/audio-transcriptions.md)


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