client.generate_transcription(...)またはclient.create_transcription(...)。
例
主なパラメーター
model(必須):文字起こしに対応するモデルのID。audio_urlまたはaudio_b64(必須):音声データ(URLまたはbase64)。language:言語コードのヒント(例:en)。prompt:精度を高めるための任意のコンテキスト。temperature(0~2):サンプリングのランダム性。response_format:json、text、srt、verbose_jsonなど。
戻り値
AudioTranscriptionResponse