Skip to main content
メソッド: client.generateTranslation().

例

主なパラメーター

  • model 必須: 翻訳に対応したモデルのID。
  • file 必須: 翻訳する音声データ。
  • prompt: 翻訳の参考にする任意のコンテキスト。
  • temperature (0–2): サンプリングのランダム性。
  • response_format: json, text, srt, verbose_json, など

戻り値

AudioTranscriptionResponse
最終更新日 2026年10月2日