Skip to main content
メソッド: $client->generateTranscription(...)または$client->createTranscription(...)

例

主なパラメーター

  • model(必須):文字起こしに対応したモデルのID。
  • audio_urlまたはaudio_b64(必須):URLまたはBase64形式の音声データ。
  • language:ヒントとして指定する言語コード(例:en)。
  • prompt:精度向上のための任意のコンテキスト。
  • temperature(0~2):サンプリングのランダム性。
  • response_format:json、text、srt、verbose_jsonなど。

戻り値

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