LangChain Integration

Create transcription (LangChain - OpenAI Whisper)

Transcribes audio into text using OpenAI Whisper via LangChain.

post/langchain/v1/audio/transcriptions

Request

Request body multipart/form-data

modelstring required

Model identifier (e.g., whisper-1)

filestring binary required

Audio file to transcribe

languagestring

Language of the audio (ISO 639-1)

promptstring

Prompt to guide transcription

response_format'json' | 'text' | 'srt' | 'verbose_json' | 'vtt'
temperaturenumber
timestamp_granularitiesstring[]
streamboolean
fallbacksstring[]

Example request

{
  "model": "whisper-1"
}

Response

Successful response

durationnumber
languagestring
taskstring
textstring

Changes

No recorded changes to this operation across all 1 revision of this API.