メインコンテンツへスキップ
POST
/
v1
/
audio
/
translations
curl --request POST \
  --url 'https://api.elkapi.com/v1/audio/translations' \
  --header 'Authorization: Bearer <token>' \
  --form 'file=@audio.mp3' \
  --form 'model=whisper-1' \
  --form 'prompt=日差しのある庭を走る小さな子猫、映画的、高精細' \
  --form 'response_format=json' \
  --form 'temperature=1'
{
  "text": "こんにちは、自己紹介してください"
}

Documentation Index

Fetch the complete documentation index at: https://docs.elkapi.com/llms.txt

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

curl --request POST \
  --url 'https://api.elkapi.com/v1/audio/translations' \
  --header 'Authorization: Bearer <token>' \
  --form 'file=@audio.mp3' \
  --form 'model=whisper-1' \
  --form 'prompt=日差しのある庭を走る小さな子猫、映画的、高精細' \
  --form 'response_format=json' \
  --form 'temperature=1'
{
  "text": "こんにちは、自己紹介してください"
}

Authorizations

Authorization
string
必須
すべてのエンドポイントで Bearer Token 認証が必要です。リクエストヘッダーに追加します:
Authorization: Bearer YOUR_API_KEY

Body

file
file
必須
model
string
デフォルト:"whisper-1"
必須
例:whisper-1
prompt
string
response_format
string
temperature
number

Response

text
string