Azure speech to text 3.1 REST API maximum duration

Matej Svejda 20 Reputation points

I got the following error from the speech to text REST API version 3.1:

{"code":"LimitExceeded","message":"The audio length exceeds the limit for diarization. Please shorten the audio."}

I had the language set to "en-GB" and diarization set to "minCount":2,"maxCount":9. The length of the recording was 15325 seconds. Does anyone know what the limit is? I couldn't find it in the docs. Would be great to get that information to handle this better in my application.

Azure Speech
Azure Speech
An Azure service that integrates speech processing into apps and services.
1,056 questions
{count} votes

Accepted answer
  1. romungi-MSFT 38,481 Reputation points Microsoft Employee

    Matej Svejda If you are using batch transcription API with diarization enabled then the limitation of file length is 240 minutes. Please see this page from batch transcription API configuration properties. Try shortening its length to just below 240 and check if it goes through. Thanks!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

1 additional answer

Sort by: Most helpful
  1. Oxueillirep 131 Reputation points


    the quotas and limits depend on your pricing plan, you can check it from here:

    hope this helps