跳转到主要内容
POST
/
v1
/
audio
/
translations
音频翻译
curl --request POST \
  --url https://api.ldx.dev/v1/audio/translations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form model= \
  --form prompt= \
  --form response_format= \
  --form temperature=0
{
  "text": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.liandanxia.io/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

multipart/form-data
file
file
必填
model
string
必填
示例:

""

prompt
string
示例:

""

response_format
string
示例:

""

temperature
number
示例:

0

响应

200 - application/json

成功翻译

text
string