{"id":14289,"url":"\/distributions\/14289\/click?bit=1&hash=892464fe46102746d8d05914a41d0a54b0756f476a912469a2c12e8168d8a933","title":"\u041e\u0434\u0438\u043d \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043b \u043f\u0440\u043e\u0434\u0430\u0436\u0438 \u043d\u0430 5%, \u0430 \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u0447\u0435\u043a \u2014 \u043d\u0430 20%","buttonText":"","imageUuid":""}

Audio Recognition

A speech recognition method is provided that allows you to convert an audio recording to text. The method can be used to bypass audio captchas or to recognize any audio record. The limitations are:

  • Max file size:1 MB
  • Audio duration:not limited
  • Supported audio format:mp3 only
  • Supported speech languages: English, French, German, Greek, Portuguese, Russian

The recognition is fully automated and performed by a neural network trained for speech recognition.

As we're currenly testing the audio recognition, you can get 1000 recognition requests per day for free adding an additional parameter sandbox=1 to your request.

To recognize an audio you need to:

  • Encode the mp3 file to base64
  • Submit a request to our API with the base64 string and the language parameter

Request body example:

{ "key":"1abc234de56fab7c89012d34e56fa7b8", "method":"audio", "body":"", "lang":"pt", "json":1 }

If everything is OK you will receive the response with your request ID {"status":1,"request":"2122988149"} or an error code if your request was incorrect.Make a 15-20 seconds timeout then submit a HTTP GET request to our API URL: http://2captcha.com/res.php to get the result.The full list of parameters is in the table below.

If audio is already recognized server will return the text in the following format:

{ "status": 1, "request": "hello world" }

If the recognition process is not finished yet server will return CAPCHA_NOT_READY result. Repeat your request in 5 seconds.If something went wrong server will return an error code.

Use the recognition result the way you need it.

List of request parameters for http://2captcha.com/in.php

List of request parameters for http://2captcha.com/res.php

Request URL example:

http://2captcha.com/res.php?key=1abc234de56fab7c89012d34e56fa7b8&action=get&id=2122988149
0
Комментарии
-3 комментариев
Раскрывать всегда