Transcribes audio into the input language. Supports streaming responses and various output formats.
cURL
Transcription
curl --request POST \ --url https://api.anyapi.ai/v1/audio/transcriptions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file=@example-file \ --form model=MODEL_EXAMPLE
{ "text": "<string>", "language": "<string>", "duration": 123, "words": [ { "word": "<string>", "start": 123, "end": 123 } ], "segments": [ { "id": 123, "seek": 123, "start": 123, "end": 123, "text": "<string>", "tokens": [ 123 ], "temperature": 123, "avg_logprob": 123, "compression_ratio": 123, "no_speech_prob": 123 } ] }
Bearer token authentication. Get your API key from the dashboard.
Successful response
The response is of type object.
object