cURL
curl --request POST \ --url https://agents.textin.com/doc-agent/api/v1/image_quality \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <x-api-key>' \ --form file='@example-file' \ --form file_url=https://example.com/file.jpg
{ "risk_details": { "blurry": { "score": 0.8, "valid": true } }, "risk_type": [ "blurry" ] }
图像质检
文件URL
"https://example.com/file.jpg"
OK
Show child attributes
{ "blurry": { "score": 0.8, "valid": true } }
["blurry"]