翻訳を作成
POST
https://api.openai.com/v1/audio/translations
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.openai.com/v1/audio/translations' \
--form 'file=@""' \
--form 'model="whisper-1"' \
--form 'prompt=""' \
--form 'response_format="json"' \
--form 'temperature="0"'
Response Response Example
{
"text": "string"
}
Request
Body Params multipart/form-data
file
file
optional
model
string
optional
whisper-1
のみが利用可能です。Example:
whisper-1
prompt
string
optional
response_format
string
optional
Example:
json
temperature
number
optional
Example:
0
Responses
Modified at 2025-01-02 09:18:40