Create a recognition task through the use of the "createTask" method, and subsequently retrieve the recognition results by employing the "getTaskResult" method.
This object is intended for recognizing images containing non-fixed length English or numerical characters. |
Create a recognition task by utilizing the "createTask" method.
Request node:
https://api.yescaptcha.com
https://cn.yescaptcha.com
Request address: https://api.yescaptcha.com/getBalance
Request format:POST
application/json
Attributes | Type | Required | Purpose |
---|---|---|---|
type | string | Yes | ImageToTextTaskMuggle ImageToTextTaskM1 |
body | string | Yes | File body encoded in base64. Make sure to send it without line breaks.(do not data:image/*********;base64,content |
{ "clientKey":"cc9c18d3e263515c2c072b36a7125eecc078618f", "task": { "type":"ImageToTextTaskMuggle", "body": "/9j/4AAQSkZJRgABA......" # BASE64_BODY_HERE } } |
{ "errorId": 0, "errorCode": "", "errorDescription": "", "status": "ready", "solution": { "text": "44795"" }, "taskId": "2376919c-1863-11ec-a012-94e6f7355a0b", } |