curl --request POST \ --url https://api.yuannengai.com/v1/audio/transcriptions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'file=@audio.mp3' \ --form 'model=whisper-1'
{ "text": "这是转录后的文本内容。音频中的语音会被准确地转换为文字。" }
使用 Whisper-1 模型将音频转录为文本
Authorization: Bearer YOUR_API_KEY
whisper-1
zh
en
ja
json
text
srt
vtt
verbose_json
response_format