Audio Transcriptions
nullIf set to true, a speaker diarization will be done for this transcription.
falseThe audio file object (not file name) to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.
binaryThe language of the input audio. Supplying the input language in ISO-639-1 format will improve accuracy and latency.
ID of the model to use.
An optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language.
If set to true, the model response data will be streamed to the client as it is generated using server-sent events. Note: Streaming is not supported for the whisper models and will be ignored.
falseThe sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.
0float0 <= value <= 1The timestamp granularities to populate for this transcription. response_format must be set verbose_json to use timestamp granularities. Either or both of these options are supported: word, or segment.
["segment"]Response Body
application/json
curl -X POST "https://oai.endpoints.kepler.ai.cloud.ovh.net/v1/audio/transcriptions" \ -F file="string"{
"chunking_strategy": null,
"diarize": false,
"file": "string",
"language": "string",
"model": "string",
"prompt": "string",
"response_format": {},
"stream": false,
"temperature": 0,
"timestamp_granularities": [
"segment"
]
}