curl --location --request POST 'https://api.xf-yun.com/v1/private/s671ad72d' \
--header 'Content-Type: application/json' \
--data-raw '{
"header": {
"app_id": "your_appid",
"status": 3
},
"parameter": {
"image_recognize": {
"output_text_result": {
"encoding": "utf8",
"compress": "raw",
"format": "plain"
}
}
},
"payload": {
"image": {
"encoding": "jpg",
"image": "iVBORw0KGgo......",
"status": 3
}
}
}'
{
"header": {
"code": 0,
"message": "success",
"sid": "ase000eae20@hu188420b5d7605c2882"
},
"payload": {
"output_text_result": {
"compress": "raw",
"encoding": "utf8",
"format": "plain",
"seq": "0",
"status": "3",
"text": "W3snaW1nT......"
}
}
}