Azure speech to text 3.1 REST API maximum duration

Matej Svejda 20 Reputation points
2023-03-02T23:53:59.93+00:00

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 AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,402 questions
{count} votes

Accepted answer
  1. romungi-MSFT 42,206 Reputation points Microsoft Employee
    2023-03-09T13:57:03.27+00:00

    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
    2023-03-03T09:47:09.0433333+00:00

    Hi,

    the quotas and limits depend on your pricing plan, you can check it from here: https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-services-quotas-and-limits

    hope this helps