File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23896,7 +23896,9 @@ paths:
2389623896 x-speakeasy-name-override: createSpeech
2389723897 /audio/transcriptions:
2389823898 post:
23899- description: Transcribes audio into text. Accepts base64-encoded audio input and returns the transcribed text.
23899+ description: >-
23900+ Transcribes audio into text. Accepts base64-encoded audio input as JSON or an OpenAI-style multipart/form-data
23901+ file upload, and returns the transcribed text.
2390023902 operationId: createAudioTranscriptions
2390123903 requestBody:
2390223904 content:
@@ -23909,6 +23911,37 @@ paths:
2390923911 model: openai/whisper-large-v3
2391023912 schema:
2391123913 $ref: '#/components/schemas/STTRequest'
23914+ multipart/form-data:
23915+ example:
23916+ file: audio.wav
23917+ language: en
23918+ model: openai/whisper-large-v3
23919+ schema:
23920+ properties:
23921+ file:
23922+ description: >-
23923+ The audio file to transcribe. The format is derived from the filename extension or the file part
23924+ content type. Max 25 MB; send larger files as base64 JSON via input_audio.
23925+ format: binary
23926+ type: string
23927+ language:
23928+ description: The language of the input audio (ISO-639-1).
23929+ type: string
23930+ model:
23931+ description: The model to use for transcription.
23932+ type: string
23933+ response_format:
23934+ description: The response format. Only "json" is supported.
23935+ enum:
23936+ - json
23937+ type: string
23938+ temperature:
23939+ description: The sampling temperature.
23940+ type: number
23941+ required:
23942+ - file
23943+ - model
23944+ type: object
2391223945 required: true
2391323946 responses:
2391423947 '200':
You can’t perform that action at this time.
0 commit comments