切换主题
音频翻译
将音频翻译为英文文本
音频翻译
POST /v1/audio/translations
将音频翻译为英文文本
认证
BearerAuth
请求体
必填:是
multipart/form-data
| 字段 | 必填 | 类型 | 说明 |
|---|---|---|---|
| file | 是 | string | - |
| model | 是 | string | - |
| prompt | 否 | string | - |
| response_format | 否 | string | - |
| temperature | 否 | number | - |
原始 Schema
json
{
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
},
"model": {
"type": "string"
},
"prompt": {
"type": "string"
},
"response_format": {
"type": "string"
},
"temperature": {
"type": "number"
}
},
"required": [
"file",
"model"
]
}响应
200 成功翻译
application/json
| 字段 | 必填 | 类型 | 说明 |
|---|---|---|---|
| text | 否 | string | - |
原始 Schema
json
{
"type": "object",
"properties": {
"text": {
"type": "string"
}
},
"x-apifox-orders": [
"text"
]
}