Transcription (STT)
Endpoint STT POST
Transcrivez un fichier audio complet avec la transcription Gradium via HTTP POST.
POST
cURL
Autorisations
API key for authentication. Passed via the x-api-key header.
En-têtes
Your Gradium API key
Format of the audio in the request body. Defaults to audio/wav when omitted.
Options disponibles:
audio/wav, audio/pcm, audio/ogg, audio/opus Paramètres de requête
Speech-to-Text model name.
Overrides the audio format detected from Content-Type.
Options disponibles:
wav, pcm, opus JSON-encoded model configuration. language is required, e.g. {"language": "en"} or {"language": "any"} to auto-detect.
Corps
WAV audio file.
Réponse
NDJSON stream of transcription messages.
Newline-delimited JSON messages: text, end_text, or error. The body closes when transcription is complete.