diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/facebody | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/facebody')
| -rw-r--r-- | data/en_us/facebody/2019-12-30/api-docs.php | 6436 | ||||
| -rw-r--r-- | data/en_us/facebody/2020-09-10/api-docs.php | 147 |
2 files changed, 6583 insertions, 0 deletions
diff --git a/data/en_us/facebody/2019-12-30/api-docs.php b/data/en_us/facebody/2019-12-30/api-docs.php new file mode 100644 index 0000000..9a5e65e --- /dev/null +++ b/data/en_us/facebody/2019-12-30/api-docs.php @@ -0,0 +1,6436 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'facebody', + 'version' => '2019-12-30', + ], + 'directories' => [ + [ + 'id' => 183667, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AddFaceEntity', + 'AddFace', + 'CreateFaceDb', + 'DeleteFace', + 'DeleteFaceDb', + 'DeleteFaceEntity', + 'UpdateFaceEntity', + 'SearchFace', + 'GetFaceEntity', + 'ListFaceEntities', + 'ListFaceDbs', + ], + ], + [ + 'id' => 130136, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AddFaceImageTemplate', + 'DeleteFaceImageTemplate', + 'QueryFaceImageTemplate', + 'BlurFace', + 'CompareFace', + 'DetectFace', + 'DetectLivingFace', + 'FaceBeauty', + 'EnhanceFace', + 'RecognizeFace', + 'RecognizePublicFace', + 'MergeImageFace', + ], + ], + [ + 'id' => 130164, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'BodyPosture', + 'DetectBodyCount', + 'DetectPedestrian', + 'PedestrianDetectAttribute', + ], + ], + [ + 'id' => 130185, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetRealPersonVerificationResult', + 'GenRealPersonVerificationToken', + ], + ], + [ + 'id' => 130188, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DetectCelebrity', + 'DetectVideoLivingFace', + 'GenerateHumanAnimeStyle', + 'GenerateHumanSketchStyle', + 'RecognizeAction', + 'RecognizeExpression', + ], + ], + [ + 'id' => 130198, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'BatchAddFaces', + 'ExtractFingerPrint', + 'LiquifyFace', + 'MonitorExamination', + 'RetouchSkin', + ], + ], + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'CompareFaceWithMask', + 'DetectInfraredLivingFace', + 'DeepfakeFace', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'AddFaceEntity' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'EntityId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mm2', + ], + ], + [ + 'name' => 'Labels', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2</RequestId>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'AddFace' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'ImageUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/test/imgsearch/demo/1.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'EntityId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'U1', + ], + ], + [ + 'name' => 'ExtraData', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'QualityScoreThreshold', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '50.0', + ], + ], + [ + 'name' => 'SimilarityScoreThresholdInEntity', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '50.0', + ], + ], + [ + 'name' => 'SimilarityScoreThresholdBetweenEntity', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '50.0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2B93C43A-F824-40C8-AF79-844342B0F43A', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5', + ], + 'QualitieScore' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '99.79581', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2B93C43A-F824-40C8-AF79-844342B0F43A\\",\\n \\"Data\\": {\\n \\"FaceId\\": \\"5\\",\\n \\"QualitieScore\\": 99.79581\\n }\\n}","errorExample":""},{"type":"xml","example":"<AddFaceResponse>\\n <RequestId>2B93C43A-F824-40C8-AF79-844342B0F43A</RequestId>\\n <Data>\\n <FaceId>5</FaceId>\\n <QualitieScore>99.79581</QualitieScore>\\n </Data>\\n</AddFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'CreateFaceDb' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '818D24A6-E368-46B3-99C5-3CF36D98CCA3', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"818D24A6-E368-46B3-99C5-3CF36D98CCA3\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>818D24A6-E368-46B3-99C5-3CF36D98CCA3</RequestId>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'DeleteFace' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'FaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '001', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'FAC90D32-2F04-5AD4-B94B-BAA163AB3724', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FAC90D32-2F04-5AD4-B94B-BAA163AB3724\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteFaceResponse>\\n <RequestId>FAC90D32-2F04-5AD4-B94B-BAA163AB3724</RequestId>\\n</DeleteFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'DeleteFaceDb' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '203AE658-CFE1-507D-B105-F88CD1F1F71B', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"203AE658-CFE1-507D-B105-F88CD1F1F71B\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteFaceDbResponse>\\n <RequestId>203AE658-CFE1-507D-B105-F88CD1F1F71B</RequestId>\\n</DeleteFaceDbResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'DeleteFaceEntity' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'EntityId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'wood', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2</RequestId>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'UpdateFaceEntity' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'EntityId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'mm2', + ], + ], + [ + 'name' => 'Labels', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2</RequestId>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'SearchFace' => [ + 'summary' => 'summary', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + [ + 'name' => 'ImageUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/SearchFace/SearchFace1.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '1000', + 'minimum' => '0', + 'example' => '2', + 'pattern' => '^\\d+$', + ], + ], + [ + 'name' => 'DbNames', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test1,test2,test3', + 'maxLength' => 4096, + ], + ], + [ + 'name' => 'QualityScoreThreshold', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '50.0', + ], + ], + [ + 'name' => 'MaxFaceNum', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '5', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4159e64a-0fe8-436c-a8de-ee531555db3c', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MatchList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'FaceItems' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'EntityId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'U1', + ], + 'FaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '001', + ], + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.892133', + ], + 'ExtraData' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DbName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'Confidence' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '36.820168', + ], + ], + ], + ], + 'Location' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Y' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + 'X' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + ], + ], + 'QualitieScore' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '71.7349', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4159e64a-0fe8-436c-a8de-ee531555db3c\\",\\n \\"Data\\": {\\n \\"MatchList\\": [\\n {\\n \\"FaceItems\\": [\\n {\\n \\"EntityId\\": \\"U1\\",\\n \\"FaceId\\": \\"001\\",\\n \\"Score\\": 0.892133,\\n \\"ExtraData\\": \\"王小二\\",\\n \\"DbName\\": \\"default\\",\\n \\"Confidence\\": 36.820168\\n }\\n ],\\n \\"Location\\": {\\n \\"Width\\": 200,\\n \\"Height\\": 200,\\n \\"Y\\": 6,\\n \\"X\\": 5\\n },\\n \\"QualitieScore\\": 71.7349\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<SearchFaceResponse>\\n <RequestId>4159e64a-0fe8-436c-a8de-ee531555db3c</RequestId>\\n <Data>\\n <MatchList>\\n <FaceItems>\\n <EntityId>U1</EntityId>\\n <FaceId>001</FaceId>\\n <Score>0.892133</Score>\\n <ExtraData>王小二</ExtraData>\\n <DbName>default</DbName>\\n <Confidence>36.820168</Confidence>\\n </FaceItems>\\n <Location>\\n <Width>200</Width>\\n <Height>200</Height>\\n <Y>6</Y>\\n <X>5</X>\\n </Location>\\n <QualitieScore>71.7349</QualitieScore>\\n </MatchList>\\n </Data>\\n</SearchFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'GetFaceEntity' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'EntityId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '66', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DbName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'EntityId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '66', + ], + 'Labels' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Faces' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2\\",\\n \\"Data\\": {\\n \\"DbName\\": \\"default\\",\\n \\"EntityId\\": \\"66\\",\\n \\"Labels\\": \\"工厂\\",\\n \\"Faces\\": [\\n {\\n \\"FaceId\\": \\"3\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2</RequestId>\\n<Data>\\n <DbName>default</DbName>\\n <EntityId>66</EntityId>\\n <Labels>工厂</Labels>\\n <Faces>\\n <FaceId>3</FaceId>\\n </Faces>\\n</Data>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'ListFaceEntities' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'Offset', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'Token', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'Labels', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'EntityIdPrefix', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'U1', + ], + ], + [ + 'name' => 'Order', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'asc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Token' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Entities' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DbName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + 'EntityId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '222', + ], + 'Labels' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreatedAt' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1589203871832', + ], + 'FaceCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'UpdatedAt' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1589203871832', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2\\",\\n \\"Data\\": {\\n \\"Token\\": \\"2\\",\\n \\"TotalCount\\": 200,\\n \\"Entities\\": [\\n {\\n \\"DbName\\": \\"default\\",\\n \\"EntityId\\": \\"222\\",\\n \\"Labels\\": \\"视觉智能\\",\\n \\"CreatedAt\\": 1589203871832,\\n \\"FaceCount\\": 3,\\n \\"UpdatedAt\\": 1589203871832\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListFaceEntitiesResponse>\\n <RequestId>DA7CAFEB-0A37-4496-9CDF-E3DBB6309CB2</RequestId>\\n <Data>\\n <Token>2</Token>\\n <TotalCount>200</TotalCount>\\n <Entities>\\n <DbName>default</DbName>\\n <EntityId>222</EntityId>\\n <Labels>视觉智能</Labels>\\n <CreatedAt>1589203871832</CreatedAt>\\n <FaceCount>3</FaceCount>\\n <UpdatedAt>1589203871832</UpdatedAt>\\n </Entities>\\n </Data>\\n</ListFaceEntitiesResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'ListFaceDbs' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'Offset', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Limit', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '50', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2B93C43A-F824-40C8-AF79-844342B0F43A', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DbList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2B93C43A-F824-40C8-AF79-844342B0F43A\\",\\n \\"Data\\": {\\n \\"DbList\\": [\\n {\\n \\"Name\\": \\"default\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListFaceDbsResponse>\\n <RequestId>2B93C43A-F824-40C8-AF79-844342B0F43A</RequestId>\\n <Data>\\n <DbList>\\n <Name>default</Name>\\n </DbList>\\n </Data>\\n</ListFaceDbsResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'AddFaceImageTemplate' => [ + 'summary' => '图像人脸融合模板增加', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://invi-label.oss-cn-shanghai.aliyuncs.com/label/temp/faceswap/img_facefusion/template/sucai1.jpg', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '798A721D-7C7F-4D87-A125-1D04B3055C2C', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6cd509ea-54fa-4730-8e9d-c94cadcda048', + ], + 'FaceInfos' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TemplateFaceID' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'string 6cd509ea-54fa-4730-8e9d-c94cadcda048_0', + ], + 'FaceRect' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'X' => [ + 'description' => '', + 'type' => 'string', + 'example' => '254', + ], + 'Y' => [ + 'description' => '', + 'type' => 'string', + 'example' => '318', + ], + 'Height' => [ + 'description' => '', + 'type' => 'string', + 'example' => '94', + ], + 'Width' => [ + 'description' => '', + 'type' => 'string', + 'example' => '89', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"798A721D-7C7F-4D87-A125-1D04B3055C2C\\",\\n \\"Data\\": {\\n \\"TemplateId\\": \\"6cd509ea-54fa-4730-8e9d-c94cadcda048\\",\\n \\"FaceInfos\\": [\\n {\\n \\"TemplateFaceID\\": \\"string 6cd509ea-54fa-4730-8e9d-c94cadcda048_0\\",\\n \\"FaceRect\\": {\\n \\"X\\": \\"254\\",\\n \\"Y\\": \\"318\\",\\n \\"Height\\": \\"94\\",\\n \\"Width\\": \\"89\\"\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<AddFaceImageTemplateResponse>\\n <RequestId>7BC58484-6724-508F-857D-0E7035AD5DEA</RequestId>\\n <Data>\\n <TemplateId>30f738a9-1e69-4ecb-8bbc-50bf0aa75e60</TemplateId>\\n </Data>\\n</AddFaceImageTemplateResponse>","errorExample":""}]', + ], + 'DeleteFaceImageTemplate' => [ + 'summary' => '图像人脸融合模板删除', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6cd509ea-54fa-4730-8e9d-c94cadcda048', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'F9E76786-3A85-43C3-B79C-3175B4536252', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F9E76786-3A85-43C3-B79C-3175B4536252\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F9E76786-3A85-43C3-B79C-3175B4536252</RequestId>","errorExample":""}]', + ], + 'QueryFaceImageTemplate' => [ + 'summary' => '图像人脸融合模板查询', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '6cd509ea-54fa-4730-8e9d-c94cadcda048', + ], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'maximum' => '5000', + 'minimum' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + 'maximum' => '500', + 'minimum' => '1', + 'example' => '100', + 'default' => '100', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7C29675C-751F-4D2F-86FB-2BD8D69AC860', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Total' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-29 10:19:05', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2021-01-29 10:19:05', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'zhangsan', + ], + 'TemplateId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6cd509ea-54fa-4730-8e9d-c94cadcda048', + ], + 'TemplateURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/MergeImageFace/MergeImageFace-1.png', + ], + 'FaceInfos' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TemplateFaceID' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6cd509ea-54fa-4730-8e9d-c94cadcda048', + ], + 'FaceRect' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'X' => [ + 'description' => '', + 'type' => 'string', + 'example' => '254', + ], + 'Y' => [ + 'description' => '', + 'type' => 'string', + 'example' => '318', + ], + 'Height' => [ + 'description' => '', + 'type' => 'string', + 'example' => '94', + ], + 'Width' => [ + 'description' => '', + 'type' => 'string', + 'example' => '89', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7C29675C-751F-4D2F-86FB-2BD8D69AC860\\",\\n \\"Data\\": {\\n \\"Total\\": 20,\\n \\"Elements\\": [\\n {\\n \\"CreateTime\\": \\"2021-01-29 10:19:05\\",\\n \\"UpdateTime\\": \\"2021-01-29 10:19:05\\",\\n \\"UserId\\": \\"zhangsan\\",\\n \\"TemplateId\\": \\"6cd509ea-54fa-4730-8e9d-c94cadcda048\\",\\n \\"TemplateURL\\": \\"http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/MergeImageFace/MergeImageFace-1.png\\",\\n \\"FaceInfos\\": [\\n {\\n \\"TemplateFaceID\\": \\"6cd509ea-54fa-4730-8e9d-c94cadcda048\\",\\n \\"FaceRect\\": {\\n \\"X\\": \\"254\\",\\n \\"Y\\": \\"318\\",\\n \\"Height\\": \\"94\\",\\n \\"Width\\": \\"89\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<QueryFaceImageTemplateResponse>\\n <RequestId>7C29675C-751F-4D2F-86FB-2BD8D69AC860</RequestId>\\n <Data>\\n <Total>20</Total>\\n <Elements>\\n <CreateTime>2021-01-29 10:19:05</CreateTime>\\n <UpdateTime>2021-01-29 10:19:05</UpdateTime>\\n <UserId>zhangsan</UserId>\\n <TemplateId>6cd509ea-54fa-4730-8e9d-c94cadcda048</TemplateId>\\n <TemplateURL>http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/MergeImageFace/MergeImageFace-1.png</TemplateURL>\\n <FaceInfos>\\n <TemplateFaceID>6cd509ea-54fa-4730-8e9d-c94cadcda048</TemplateFaceID>\\n <FaceRect>\\n <X>254</X>\\n <Y>318</Y>\\n <Height>94</Height>\\n <Width>89</Width>\\n </FaceRect>\\n </FaceInfos>\\n </Elements>\\n </Data>\\n</QueryFaceImageTemplateResponse>","errorExample":""}]', + ], + 'BlurFace' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/BlurFace/BlurFace1.png', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4C6080B0-64C4-488E-BBA6-245749CA11AD', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://viapi-cn-shanghai-dha-segmenter.oss-cn-shanghai.aliyuncs.com/upload/result_FaceBlur/2020-8-5/invi_FaceBlur_015966077063461060948_IBdDsq.jpg?Expires=1596609506&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=x8n3jq1X91Sq7BKWE4vRHSu6g9****', + ], + 'MaskURL' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4C6080B0-64C4-488E-BBA6-245749CA11AD\\",\\n \\"Data\\": {\\n \\"ImageURL\\": \\"http://viapi-cn-shanghai-dha-segmenter.oss-cn-shanghai.aliyuncs.com/upload/result_FaceBlur/2020-8-5/invi_FaceBlur_015966077063461060948_IBdDsq.jpg?Expires=1596609506&OSSAccessKeyId=LTAI****************&Signature=x8n3jq1X91Sq7BKWE4vRHSu6g9****\\",\\n \\"MaskURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/person-image-cartoonizer/59697D68-2A6E-4553-89BD-0FADD07881E8_7ee5_20201027-070958.jpg?Expires=1603784400&OSSAccessKeyId=LTAI****************&Signature=ut2kn46Lz%2FRwqJ9jWJ0RBDut12****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<BlurFaceResponse>\\n <RequestId>4C6080B0-64C4-488E-BBA6-245749CA11AD</RequestId>\\n <Data>\\n <ImageURL>http://viapi-cn-shanghai-dha-segmenter.oss-cn-shanghai.aliyuncs.com/upload/result_FaceBlur/2020-8-5/invi_FaceBlur_015966077063461060948_IBdDsq.jpg?Expires=1596609506&OSSAccessKeyId=LTAI****************&Signature=x8n3jq1X91Sq7BKWE4vRHSu6g9****</ImageURL>\\n <MaskURL>http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/person-image-cartoonizer/59697D68-2A6E-4553-89BD-0FADD07881E8_7ee5_20201027-070958.jpg?Expires=1603784400&OSSAccessKeyId=LTAI****************&Signature=ut2kn46Lz%2FRwqJ9jWJ0RBDut12****</MaskURL>\\n </Data>\\n</BlurFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'CompareFace' => [ + 'summary' => '人脸比对(1:1)', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'QualityScoreThreshold', + 'in' => 'formData', + 'schema' => [ + 'title' => '质量分阈值,取值范围 [0.0, 100.0], 0.0或空 表示不做质量分判断逻辑。', + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '75.12', + ], + ], + [ + 'name' => 'ImageURLA', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/CompareFace/CompareFace-right1.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'ImageURLB', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/CompareFace/CompareFace-left1.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'ImageDataA', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgK****', + ], + ], + [ + 'name' => 'ImageDataB', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgQ****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Thresholds' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '[61,69,75]', + ], + ], + 'RectBList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '', + ], + ], + 'Confidence' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + 'RectAList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '', + ], + ], + 'QualityScoreA' => [ + 'title' => '输入图像A的质量分', + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '75.16', + ], + 'QualityScoreB' => [ + 'title' => '输入图像A的质量分', + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '75.20', + ], + 'MessageTips' => [ + 'title' => '信息提示信息,纯文字描述,目前支持质量分的提示信息', + 'description' => '', + 'type' => 'string', + 'example' => 'imageB quality score less threshold', + ], + 'IsMaskA' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + 'IsMaskB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + 'LandmarksAList' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + ], + 'LandmarksBList' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B352CD68-C847-5C48-BE68-3F266356FDD7\\",\\n \\"Data\\": {\\n \\"Thresholds\\": [\\n 0\\n ],\\n \\"RectBList\\": [\\n 0\\n ],\\n \\"Confidence\\": 88.4831771850586,\\n \\"RectAList\\": [\\n 0\\n ],\\n \\"QualityScoreA\\": 99.65772247314453,\\n \\"QualityScoreB\\": 98.01177978515625,\\n \\"MessageTips\\": \\"imageB quality score less threshold\\",\\n \\"IsMaskA\\": 0,\\n \\"IsMaskB\\": 0,\\n \\"LandmarksAList\\": [\\n 0\\n ],\\n \\"LandmarksBList\\": [\\n 0\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<CompareFaceResponse>\\n <RequestId>B352CD68-C847-5C48-BE68-3F266356FDD7</RequestId>\\n <Data>\\n <Thresholds>61</Thresholds>\\n <Thresholds>69</Thresholds>\\n <Thresholds>75</Thresholds>\\n <RectBList>169</RectBList>\\n <RectBList>48</RectBList>\\n <RectBList>125</RectBList>\\n <RectBList>162</RectBList>\\n <Confidence>88.4831771850586</Confidence>\\n <RectAList>157</RectAList>\\n <RectAList>82</RectAList>\\n <RectAList>147</RectAList>\\n <RectAList>188</RectAList>\\n <QualityScoreA>99.65772247314453</QualityScoreA>\\n <QualityScoreB>98.01177978515625</QualityScoreB>\\n <IsMaskA>0</IsMaskA>\\n <IsMaskB>0</IsMaskB>\\n <LandmarksAList>201</LandmarksAList>\\n <LandmarksAList>146</LandmarksAList>\\n <LandmarksAList>266</LandmarksAList>\\n <LandmarksAList>159</LandmarksAList>\\n <LandmarksAList>222</LandmarksAList>\\n <LandmarksAList>190</LandmarksAList>\\n <LandmarksAList>187</LandmarksAList>\\n <LandmarksAList>208</LandmarksAList>\\n <LandmarksAList>255</LandmarksAList>\\n <LandmarksAList>219</LandmarksAList>\\n <LandmarksBList>199</LandmarksBList>\\n <LandmarksBList>115</LandmarksBList>\\n <LandmarksBList>248</LandmarksBList>\\n <LandmarksBList>109</LandmarksBList>\\n <LandmarksBList>215</LandmarksBList>\\n <LandmarksBList>146</LandmarksBList>\\n <LandmarksBList>206</LandmarksBList>\\n <LandmarksBList>167</LandmarksBList>\\n <LandmarksBList>260</LandmarksBList>\\n <LandmarksBList>162</LandmarksBList>\\n </Data>\\n</CompareFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'DetectFace' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + ], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DetectFace/DetectFace1.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'Landmark', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Quality', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Pose', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'MaxFaceNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '40', + 'minimum' => '1', + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FaceProbabilityList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'Pupils' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '', + ], + ], + 'FaceRectangles' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '', + ], + ], + 'FaceCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PoseList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'Landmarks' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'LandmarkScore' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + 'LandmarkCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '105', + ], + 'Qualities' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ScoreList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'BlurList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'FnfList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + ], + 'GlassList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'IlluList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'MaskList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'NoiseList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'PoseList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"26B5334B-FD8A-5994-A1DA-3CA8F7B25676\\",\\n \\"Data\\": {\\n \\"FaceProbabilityList\\": [\\n 0.96\\n ],\\n \\"Pupils\\": [\\n 0\\n ],\\n \\"FaceRectangles\\": [\\n 0\\n ],\\n \\"FaceCount\\": 1,\\n \\"PoseList\\": [\\n 0\\n ],\\n \\"Landmarks\\": [\\n 0\\n ],\\n \\"LandmarkScore\\": [\\n 95.89\\n ],\\n \\"LandmarkCount\\": 105,\\n \\"Qualities\\": {\\n \\"ScoreList\\": [\\n 99.92\\n ],\\n \\"BlurList\\": [\\n 99.21\\n ],\\n \\"FnfList\\": [\\n 100\\n ],\\n \\"GlassList\\": [\\n 100\\n ],\\n \\"IlluList\\": [\\n 100\\n ],\\n \\"MaskList\\": [\\n 99.53\\n ],\\n \\"NoiseList\\": [\\n 99.74\\n ],\\n \\"PoseList\\": [\\n 100\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectFaceResponse>\\n <RequestId>26B5334B-FD8A-5994-A1DA-3CA8F7B25676</RequestId>\\n <Data>\\n <FaceProbabilityList>0.96</FaceProbabilityList>\\n <Pupils>417.83</Pupils>\\n <Pupils>226.09</Pupils>\\n <Pupils>8.15</Pupils>\\n <Pupils>517.46</Pupils>\\n <Pupils>231.53</Pupils>\\n <Pupils>8.15</Pupils>\\n <FaceRectangles>358</FaceRectangles>\\n <FaceRectangles>141</FaceRectangles>\\n <FaceRectangles>207</FaceRectangles>\\n <FaceRectangles>255</FaceRectangles>\\n <FaceCount>1</FaceCount>\\n <PoseList>5.02</PoseList>\\n <PoseList>-3.95</PoseList>\\n <PoseList>2.41</PoseList>\\n <Landmarks>381.1</Landmarks>\\n <Landmarks>201.72</Landmarks>\\n <Landmarks>448.09</Landmarks>\\n <Landmarks>205.17</Landmarks>\\n <Landmarks>415.19</Landmarks>\\n <Landmarks>191.2</Landmarks>\\n <Landmarks>415.28</Landmarks>\\n <Landmarks>201.64</Landmarks>\\n <Landmarks>391.35</Landmarks>\\n <Landmarks>196.03</Landmarks>\\n <Landmarks>403.15</Landmarks>\\n <Landmarks>191.57</Landmarks>\\n <Landmarks>426.94</Landmarks>\\n <Landmarks>194.07</Landmarks>\\n <Landmarks>438.42</Landmarks>\\n <Landmarks>197.65</Landmarks>\\n <LandmarkScore>95.89</LandmarkScore>\\n <LandmarkCount>105</LandmarkCount>\\n <Qualities>\\n <ScoreList>99.92</ScoreList>\\n <BlurList>99.21</BlurList>\\n <FnfList>100</FnfList>\\n <GlassList>100</GlassList>\\n <IlluList>100</IlluList>\\n <MaskList>99.53</MaskList>\\n <NoiseList>99.74</NoiseList>\\n <PoseList>100</PoseList>\\n </Qualities>\\n </Data>\\n</DetectFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'DetectLivingFace' => [ + 'summary' => '人脸活体检测(DetectLivingFace)', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Tasks', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DetectLivingFace/DetectLivingFace4.jpg', + 'isFileTransferUrl' => true, + ], + 'ImageData' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 10, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2EEA0396-BD84-5729-B8BD-D60776FCEF2B', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DetectLivingFace/DetectLivingFace4.jpg', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'img1owc8WGskNm78OEAPJTZal-1****', + ], + 'Results' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Suggestion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'review', + ], + 'Frames' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://aligreen-shanghai.oss-cn-shanghai.aliyuncs.com/prod/hammal/26210da42/28118541_TB1urBOQFXXXXbMXFXXXXXXXXXX-1442-257.png?Expires=1582703593&OSSAccessKeyId=H4sp5QfNbuDg****&Signature=%2B8iUkb5YjomYR8ujV2c8wMAavs****&x-oss-process=image%2Fcrop%2Cx_0%2Cw_288%2Fauto-orient%2C0', + ], + 'Rate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '84.83', + ], + ], + ], + ], + 'Label' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'liveness', + ], + 'Rate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '76.22', + ], + 'Rect' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Left' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + ], + 'Top' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '30', + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '50', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '60', + ], + ], + ], + 'MessageTips' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'blurred, occluded or large angle face, please check.', + ], + ], + ], + ], + 'FaceNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2EEA0396-BD84-5729-B8BD-D60776FCEF2B\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"ImageURL\\": \\"http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DetectLivingFace/DetectLivingFace4.jpg\\",\\n \\"TaskId\\": \\"img1owc8WGskNm78OEAPJTZal-1****\\",\\n \\"Results\\": [\\n {\\n \\"Suggestion\\": \\"review\\",\\n \\"Frames\\": [\\n {\\n \\"Url\\": \\"http://aligreen-shanghai.oss-cn-shanghai.aliyuncs.com/prod/hammal/26210da42/28118541_TB1urBOQFXXXXbMXFXXXXXXXXXX-1442-257.png?Expires=1582703593&OSSAccessKeyId=H4sp5QfNbuDg****&Signature=%2B8iUkb5YjomYR8ujV2c8wMAavs****&x-oss-process=image%2Fcrop%2Cx_0%2Cw_288%2Fauto-orient%2C0\\",\\n \\"Rate\\": 84.83\\n }\\n ],\\n \\"Label\\": \\"liveness\\",\\n \\"Rate\\": 76.22,\\n \\"Rect\\": {\\n \\"Left\\": 20,\\n \\"Top\\": 30,\\n \\"Width\\": 50,\\n \\"Height\\": 60\\n },\\n \\"MessageTips\\": \\"blurred, occluded or large angle face, please check.\\"\\n }\\n ],\\n \\"FaceNumber\\": 1\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectLivingFaceResponse>\\n <RequestId>2EEA0396-BD84-5729-B8BD-D60776FCEF2B</RequestId>\\n <Data>\\n <Elements>\\n <ImageURL>http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DetectLivingFace/DetectLivingFace4.jpg</ImageURL>\\n <TaskId>img1owc8WGskNm78OEAPJTZal-1****</TaskId>\\n <Results>\\n <Suggestion>review</Suggestion>\\n <Frames>\\n <Url>http://aligreen-shanghai.oss-cn-shanghai.aliyuncs.com/prod/hammal/26210da42/28118541_TB1urBOQFXXXXbMXFXXXXXXXXXX-1442-257.png?Expires=1582703593&OSSAccessKeyId=H4sp5QfNbuDg****&Signature=%2B8iUkb5YjomYR8ujV2c8wMAavs****&x-oss-process=image%2Fcrop%2Cx_0%2Cw_288%2Fauto-orient%2C0</Url>\\n <Rate>84.83</Rate>\\n </Frames>\\n <Label>liveness</Label>\\n <Rate>76.22</Rate>\\n <Rect>\\n <Left>20</Left>\\n <Top>30</Top>\\n <Width>50</Width>\\n <Height>60</Height>\\n </Rect>\\n <MessageTips>blurred, occluded or large angle face, please check.</MessageTips>\\n </Results>\\n <FaceNumber>1</FaceNumber>\\n </Elements>\\n </Data>\\n</DetectLivingFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'FaceBeauty' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/FaceBeauty/FaceBeauty4.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'Sharp', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'Smooth', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'example' => '0.1', + ], + ], + [ + 'name' => 'White', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => true, + 'example' => '0.3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '35C284E1-C5F5-4E5E-B7AD-97BBF485CDC8', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://algo-app-taobao-mm-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/pixelai-portrait-beauty/2020_03_24/2bbbdb7907901412_facebeauty.jpg?Expires=1585277923&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=myOPfNQcRyijgrWBU%2BZ4dPuV5Q****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"35C284E1-C5F5-4E5E-B7AD-97BBF485CDC8\\",\\n \\"Data\\": {\\n \\"ImageURL\\": \\"http://algo-app-taobao-mm-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/pixelai-portrait-beauty/2020_03_24/2bbbdb7907901412_facebeauty.jpg?Expires=1585277923&OSSAccessKeyId=LTAI****************&Signature=myOPfNQcRyijgrWBU%2BZ4dPuV5Q****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<FaceBeautyResponse>\\n <RequestId>35C284E1-C5F5-4E5E-B7AD-97BBF485CDC8</RequestId>\\n <Data>\\n <ImageURL>http://algo-app-taobao-mm-cn-shanghai-prod.oss-cn-shanghai.aliyuncs.com/pixelai-portrait-beauty/2020_03_24/2bbbdb7907901412_facebeauty.jpg?Expires=1585277923&OSSAccessKeyId=LTAI****************&Signature=myOPfNQcRyijgrWBU%2BZ4dPuV5Q****</ImageURL>\\n </Data>\\n</FaceBeautyResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'EnhanceFace' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/EnhanceFace/EnhanceFace1.png', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8B031473-6773-4A4C-AF33-A233758E6E98', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/face-enhancement/2021-11-30/8e34b61c-abcf-4708-9d9d-6501968ee806/20211130_080644126523_47ct9w3pgh.jpg?Expires=1638261404&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=2wPdcuCmr%2F86WpBL3HQJw5uCFl****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8B031473-6773-4A4C-AF33-A233758E6E98\\",\\n \\"Data\\": {\\n \\"ImageURL\\": \\"http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/face-enhancement/2021-11-30/8e34b61c-abcf-4708-9d9d-6501968ee806/20211130_080644126523_47ct9w3pgh.jpg?Expires=1638261404&OSSAccessKeyId=LTAI****************&Signature=2wPdcuCmr%2F86WpBL3HQJw5uCFl****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<EnhanceFaceResponse>\\n <RequestId>8B031473-6773-4A4C-AF33-A233758E6E98</RequestId>\\n <Data>\\n <ImageURL>http://vibktprfx-prod-prod-aic-vd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/face-enhancement/2021-11-30/8e34b61c-abcf-4708-9d9d-6501968ee806/20211130_080644126523_47ct9w3pgh.jpg?Expires=1638261404&OSSAccessKeyId=LTAI****************&Signature=2wPdcuCmr%2F86WpBL3HQJw5uCFl****</ImageURL>\\n </Data>\\n</EnhanceFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeFace' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/RecognizeFace/RecognizeFace1.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'Age', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Gender', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Hat', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Glass', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Beauty', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Expression', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Mask', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Quality', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'MaxFaceNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8251C88E-8273-4DBF-94FB-A6BCB268CEA2', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Pupils' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'GenderList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + 'Expressions' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + 'DenseFeatures' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'FaceCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Landmarks' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'LandmarkCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '105', + ], + 'Qualities' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ScoreList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'BlurList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'FnfList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + ], + 'GlassList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'IlluList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'MaskList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'NoiseList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'PoseList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + ], + ], + 'BeautyList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'HatList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + 'FaceProbabilityList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'Glasses' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + 'FaceRectangles' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '', + ], + ], + 'PoseList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + ], + 'AgeList' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '', + ], + ], + 'DenseFeatureLength' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1024', + ], + 'Masks' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8251C88E-8273-4DBF-94FB-A6BCB268CEA2\\",\\n \\"Data\\": {\\n \\"Pupils\\": [\\n 0\\n ],\\n \\"GenderList\\": [\\n 1\\n ],\\n \\"Expressions\\": [\\n 0\\n ],\\n \\"DenseFeatures\\": [\\n \\"[-0.04283177852630615, 0.01496131718158722, 0.08304227143526077, -0.006072732154279947, -0.012721054255962372, -0.024241730570793152, -0.03138406202197075, 0.006191537249833345, 0.017898650839924812, -0.03185232728719711, -0.02717948891222477, 0.028409384191036224, -0.03557640686631203, -0.02255111373960972, -0.030578967183828354, 0.011586467735469341, -0.005520580802112818, -0.0061850580386817455, -0.023915085941553116, 0.014204374514520168]\\"\\n ],\\n \\"FaceCount\\": 1,\\n \\"Landmarks\\": [\\n 0\\n ],\\n \\"LandmarkCount\\": 105,\\n \\"Qualities\\": {\\n \\"ScoreList\\": [\\n 87.47\\n ],\\n \\"BlurList\\": [\\n 99.99\\n ],\\n \\"FnfList\\": [\\n 100\\n ],\\n \\"GlassList\\": [\\n 97.59\\n ],\\n \\"IlluList\\": [\\n 99.97\\n ],\\n \\"MaskList\\": [\\n 93.33\\n ],\\n \\"NoiseList\\": [\\n 99.73\\n ],\\n \\"PoseList\\": [\\n 11.57\\n ]\\n },\\n \\"BeautyList\\": [\\n 48\\n ],\\n \\"HatList\\": [\\n 0\\n ],\\n \\"FaceProbabilityList\\": [\\n 0.95\\n ],\\n \\"Glasses\\": [\\n 1\\n ],\\n \\"FaceRectangles\\": [\\n 0\\n ],\\n \\"PoseList\\": [\\n 0\\n ],\\n \\"AgeList\\": [\\n 57\\n ],\\n \\"DenseFeatureLength\\": 1024,\\n \\"Masks\\": [\\n 0\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeFaceResponse>\\n <RequestId>8251C88E-8273-4DBF-94FB-A6BCB268CEA2</RequestId>\\n <Data>\\n <Pupils>397.06</Pupils>\\n <Pupils>183.99</Pupils>\\n <Pupils>7.87</Pupils>\\n <Pupils>487.49</Pupils>\\n <Pupils>173.85</Pupils>\\n <Pupils>7.87</Pupils>\\n <GenderList>1</GenderList>\\n <Expressions>0</Expressions>\\n <DenseFeatures>[-0.04283177852630615, 0.01496131718158722, 0.08304227143526077, -0.006072732154279947, -0.012721054255962372, -0.024241730570793152, -0.03138406202197075, 0.006191537249833345, 0.017898650839924812, -0.03185232728719711, -0.02717948891222477, 0.028409384191036224, -0.03557640686631203, -0.02255111373960972, -0.030578967183828354, 0.011586467735469341, -0.005520580802112818, -0.0061850580386817455, -0.023915085941553116, 0.014204374514520168]</DenseFeatures>\\n <FaceCount>1</FaceCount>\\n <Landmarks>371.31</Landmarks>\\n <Landmarks>170.54</Landmarks>\\n <Landmarks>421.14</Landmarks>\\n <Landmarks>162.72</Landmarks>\\n <Landmarks>395.33</Landmarks>\\n <Landmarks>156.36</Landmarks>\\n <Landmarks>396.06</Landmarks>\\n <Landmarks>167.71</Landmarks>\\n <Landmarks>377.92</Landmarks>\\n <Landmarks>164.47</Landmarks>\\n <Landmarks>386.19</Landmarks>\\n <Landmarks>158.26</Landmarks>\\n <Landmarks>404.89</Landmarks>\\n <Landmarks>156.61</Landmarks>\\n <Landmarks>413.89</Landmarks>\\n <Landmarks>157.87</Landmarks>\\n <Landmarks>378.82</Landmarks>\\n <Landmarks>171</Landmarks>\\n <Landmarks>387.24</Landmarks>\\n <Landmarks>168.73</Landmarks>\\n <Landmarks>404.84</Landmarks>\\n <Landmarks>167.34</Landmarks>\\n <Landmarks>413.57</Landmarks>\\n <Landmarks>167.26</Landmarks>\\n <Landmarks>458.27</Landmarks>\\n <Landmarks>159.5</Landmarks>\\n <Landmarks>521.24</Landmarks>\\n <Landmarks>165.59</Landmarks>\\n <Landmarks>490.58</Landmarks>\\n <Landmarks>150.77</Landmarks>\\n <Landmarks>490.23</Landmarks>\\n <Landmarks>162.28</Landmarks>\\n <Landmarks>467.51</Landmarks>\\n <Landmarks>153.1</Landmarks>\\n <Landmarks>479.01</Landmarks>\\n <Landmarks>151.32</Landmarks>\\n <Landmarks>502.02</Landmarks>\\n <Landmarks>153.2</Landmarks>\\n <Landmarks>513.06</Landmarks>\\n <Landmarks>159.78</Landmarks>\\n <Landmarks>468</Landmarks>\\n <Landmarks>163.52</Landmarks>\\n <Landmarks>478.98</Landmarks>\\n <Landmarks>162.32</Landmarks>\\n <Landmarks>501.41</Landmarks>\\n <Landmarks>163.93</Landmarks>\\n <Landmarks>512.07</Landmarks>\\n <Landmarks>166.6</Landmarks>\\n <Landmarks>381.98</Landmarks>\\n <Landmarks>187.97</Landmarks>\\n <Landmarks>419.4</Landmarks>\\n <Landmarks>184.68</Landmarks>\\n <Landmarks>386.29</Landmarks>\\n <Landmarks>184.05</Landmarks>\\n <Landmarks>389.33</Landmarks>\\n <Landmarks>180.31</Landmarks>\\n <Landmarks>394.56</Landmarks>\\n <Landmarks>178.97</Landmarks>\\n <Landmarks>398.93</Landmarks>\\n <Landmarks>176.7</Landmarks>\\n <Landmarks>404.67</Landmarks>\\n <Landmarks>178.01</Landmarks>\\n <Landmarks>410.16</Landmarks>\\n <Landmarks>178.29</Landmarks>\\n <Landmarks>414.64</Landmarks>\\n <Landmarks>181.61</Landmarks>\\n <Landmarks>386.62</Landmarks>\\n <Landmarks>188.63</Landmarks>\\n <Landmarks>390.22</Landmarks>\\n <Landmarks>189.61</Landmarks>\\n <Landmarks>395.06</Landmarks>\\n <Landmarks>189.65</Landmarks>\\n <Landmarks>399.35</Landmarks>\\n <Landmarks>189.78</Landmarks>\\n <Landmarks>404.47</Landmarks>\\n <Landmarks>188.86</Landmarks>\\n <Landmarks>409.6</Landmarks>\\n <Landmarks>187.94</Landmarks>\\n <Landmarks>414.35</Landmarks>\\n <Landmarks>186.47</Landmarks>\\n <Landmarks>467.88</Landmarks>\\n <Landmarks>180.89</Landmarks>\\n <Landmarks>509.45</Landmarks>\\n <Landmarks>179.81</Landmarks>\\n <Landmarks>472.7</Landmarks>\\n <Landmarks>177.13</Landmarks>\\n <Landmarks>476.94</Landmarks>\\n <Landmarks>173.17</Landmarks>\\n <Landmarks>483.16</Landmarks>\\n <Landmarks>172.02</Landmarks>\\n <Landmarks>488.5</Landmarks>\\n <Landmarks>170.41</Landmarks>\\n <Landmarks>494.14</Landmarks>\\n <Landmarks>172.17</Landmarks>\\n <Landmarks>499.85</Landmarks>\\n <Landmarks>173.15</Landmarks>\\n <Landmarks>504.05</Landmarks>\\n <Landmarks>176.58</Landmarks>\\n <Landmarks>473.23</Landmarks>\\n <Landmarks>182.31</Landmarks>\\n <Landmarks>478.06</Landmarks>\\n <Landmarks>183.11</Landmarks>\\n <Landmarks>483.77</Landmarks>\\n <Landmarks>183.5</Landmarks>\\n <Landmarks>488.64</Landmarks>\\n <Landmarks>183.77</Landmarks>\\n <Landmarks>493.94</Landmarks>\\n <Landmarks>183.26</Landmarks>\\n <Landmarks>499.41</Landmarks>\\n <Landmarks>182.57</Landmarks>\\n <Landmarks>503.69</Landmarks>\\n <Landmarks>181.14</Landmarks>\\n <Landmarks>437.26</Landmarks>\\n <Landmarks>181.67</Landmarks>\\n <Landmarks>430.77</Landmarks>\\n <Landmarks>225.48</Landmarks>\\n <Landmarks>434.38</Landmarks>\\n <Landmarks>203.34</Landmarks>\\n <Landmarks>435.09</Landmarks>\\n <Landmarks>245.37</Landmarks>\\n <Landmarks>414.99</Landmarks>\\n <Landmarks>243.56</Landmarks>\\n <Landmarks>463.03</Landmarks>\\n <Landmarks>241.47</Landmarks>\\n <Landmarks>402.97</Landmarks>\\n <Landmarks>282.43</Landmarks>\\n <Landmarks>487.32</Landmarks>\\n <Landmarks>279.44</Landmarks>\\n <Landmarks>404.76</Landmarks>\\n <Landmarks>282.21</Landmarks>\\n <Landmarks>484.51</Landmarks>\\n <Landmarks>279.63</Landmarks>\\n <Landmarks>436.81</Landmarks>\\n <Landmarks>269.19</Landmarks>\\n <Landmarks>428.83</Landmarks>\\n <Landmarks>269.46</Landmarks>\\n <Landmarks>444.9</Landmarks>\\n <Landmarks>269.87</Landmarks>\\n <Landmarks>414.07</Landmarks>\\n <Landmarks>273.42</Landmarks>\\n <Landmarks>466.73</Landmarks>\\n <Landmarks>272.4</Landmarks>\\n <Landmarks>407.94</Landmarks>\\n <Landmarks>277.81</Landmarks>\\n <Landmarks>421.38</Landmarks>\\n <Landmarks>271.38</Landmarks>\\n <Landmarks>455.7</Landmarks>\\n <Landmarks>271</Landmarks>\\n <Landmarks>477.47</Landmarks>\\n <Landmarks>276.08</Landmarks>\\n <Landmarks>437.71</Landmarks>\\n <Landmarks>290.09</Landmarks>\\n <Landmarks>417.1</Landmarks>\\n <Landmarks>288.03</Landmarks>\\n <Landmarks>464.19</Landmarks>\\n <Landmarks>286.36</Landmarks>\\n <Landmarks>409.84</Landmarks>\\n <Landmarks>284.75</Landmarks>\\n <Landmarks>427.92</Landmarks>\\n <Landmarks>288.61</Landmarks>\\n <Landmarks>450.74</Landmarks>\\n <Landmarks>287.81</Landmarks>\\n <Landmarks>475.9</Landmarks>\\n <Landmarks>282.68</Landmarks>\\n <Landmarks>437.36</Landmarks>\\n <Landmarks>278.04</Landmarks>\\n <Landmarks>437.64</Landmarks>\\n <Landmarks>277.63</Landmarks>\\n <Landmarks>420.34</Landmarks>\\n <Landmarks>278.65</Landmarks>\\n <Landmarks>420.04</Landmarks>\\n <Landmarks>278.69</Landmarks>\\n <Landmarks>460.92</Landmarks>\\n <Landmarks>277.64</Landmarks>\\n <Landmarks>461.01</Landmarks>\\n <Landmarks>277.22</Landmarks>\\n <Landmarks>412.68</Landmarks>\\n <Landmarks>280.41</Landmarks>\\n <Landmarks>412.5</Landmarks>\\n <Landmarks>279.99</Landmarks>\\n <Landmarks>429.06</Landmarks>\\n <Landmarks>278.19</Landmarks>\\n <Landmarks>429.05</Landmarks>\\n <Landmarks>277.65</Landmarks>\\n <Landmarks>448.83</Landmarks>\\n <Landmarks>277.82</Landmarks>\\n <Landmarks>449.13</Landmarks>\\n <Landmarks>276.93</Landmarks>\\n <Landmarks>472.58</Landmarks>\\n <Landmarks>278.55</Landmarks>\\n <Landmarks>472.59</Landmarks>\\n <Landmarks>278.16</Landmarks>\\n <Landmarks>365.8</Landmarks>\\n <Landmarks>192</Landmarks>\\n <Landmarks>566.18</Landmarks>\\n <Landmarks>185.68</Landmarks>\\n <Landmarks>440.54</Landmarks>\\n <Landmarks>352.94</Landmarks>\\n <Landmarks>372.84</Landmarks>\\n <Landmarks>289.96</Landmarks>\\n <Landmarks>548.44</Landmarks>\\n <Landmarks>300.96</Landmarks>\\n <Landmarks>364.88</Landmarks>\\n <Landmarks>240.03</Landmarks>\\n <Landmarks>565.1</Landmarks>\\n <Landmarks>243.91</Landmarks>\\n <Landmarks>397.45</Landmarks>\\n <Landmarks>334.16</Landmarks>\\n <Landmarks>501.07</Landmarks>\\n <Landmarks>340.61</Landmarks>\\n <LandmarkCount>105</LandmarkCount>\\n <Qualities>\\n <ScoreList>87.47</ScoreList>\\n <BlurList>99.99</BlurList>\\n <FnfList>100</FnfList>\\n <GlassList>97.59</GlassList>\\n <IlluList>99.97</IlluList>\\n <MaskList>93.33</MaskList>\\n <NoiseList>99.73</NoiseList>\\n <PoseList>11.57</PoseList>\\n </Qualities>\\n <BeautyList>48</BeautyList>\\n <HatList>0</HatList>\\n <FaceProbabilityList>0.95</FaceProbabilityList>\\n <Glasses>1</Glasses>\\n <FaceRectangles>356</FaceRectangles>\\n <FaceRectangles>84</FaceRectangles>\\n <FaceRectangles>211</FaceRectangles>\\n <FaceRectangles>278</FaceRectangles>\\n <PoseList>-12.7</PoseList>\\n <PoseList>7.48</PoseList>\\n <PoseList>0.12</PoseList>\\n <AgeList>57</AgeList>\\n <DenseFeatureLength>1024</DenseFeatureLength>\\n <Masks>0</Masks>\\n </Data>\\n</RecognizeFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizePublicFace' => [ + 'summary' => '公众人脸识别(RecognizePublicFace)', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Task', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://viapi-oss.oss-cn-shanghai.aliyuncs.com/doc/facebody/xxx.jpg', + 'isFileTransferUrl' => true, + ], + 'ImageData' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 10, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AC4D107C-29E3-4873-A719-0D2217EA28A8', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://viapi-oss.oss-cn-shanghai.aliyuncs.com/doc/facebody/xxx.jpg', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'img3dhYqt1e4wO77Wnf2y@t@E-1tYAEt', + ], + 'Results' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'Suggestion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'review', + ], + 'Label' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sface', + ], + 'SubResults' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'W' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '132', + ], + 'Faces' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AliFace_0006272', + ], + 'Rate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '98.35', + ], + ], + ], + ], + 'H' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '153', + ], + 'Y' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '153', + ], + 'X' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '182', + ], + ], + ], + ], + 'Rate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '98.35', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AC4D107C-29E3-4873-A719-0D2217EA28A8\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"ImageURL\\": \\"https://viapi-oss.oss-cn-shanghai.aliyuncs.com/doc/facebody/xxx.jpg\\",\\n \\"TaskId\\": \\"img3dhYqt1e4wO77Wnf2y@t@E-1tYAEt\\",\\n \\"Results\\": [\\n {\\n \\"Suggestion\\": \\"review\\",\\n \\"Label\\": \\"sface\\",\\n \\"SubResults\\": [\\n {\\n \\"W\\": 132,\\n \\"Faces\\": [\\n {\\n \\"Name\\": \\"张三\\",\\n \\"Id\\": \\"AliFace_0006272\\",\\n \\"Rate\\": 98.35\\n }\\n ],\\n \\"H\\": 153,\\n \\"Y\\": 153,\\n \\"X\\": 182\\n }\\n ],\\n \\"Rate\\": 98.35\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizePublicFaceResponse>\\n <RequestId>AC4D107C-29E3-4873-A719-0D2217EA28A8</RequestId>\\n <Data>\\n <Elements>\\n <ImageURL>https://viapi-oss.oss-cn-shanghai.aliyuncs.com/doc/facebody/xxx.jpg</ImageURL>\\n <TaskId>img3dhYqt1e4wO77Wnf2y@t@E-1tYAEt</TaskId>\\n <Results>\\n <Suggestion>review</Suggestion>\\n <Label>sface</Label>\\n <SubResults>\\n <W>132</W>\\n <Faces>\\n <Name>张三</Name>\\n <Id>AliFace_0006272</Id>\\n <Rate>98.35</Rate>\\n </Faces>\\n <H>153</H>\\n <Y>153</Y>\\n <X>182</X>\\n </SubResults>\\n <Rate>98.35</Rate>\\n </Results>\\n </Elements>\\n </Data>\\n</RecognizePublicFaceResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'MergeImageFace' => [ + 'summary' => '图像人脸融合', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + ], + 'parameters' => [ + [ + 'name' => 'TemplateId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '6cd509ea-54fa-4730-8e9d-c94cadcda048', + ], + ], + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/MergeImageFace/MergeImageFace-1.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'ModelVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'v1', + ], + ], + [ + 'name' => 'AddWatermark', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'False', + 'default' => 'false', + ], + ], + [ + 'name' => 'WatermarkType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'default' => 'EN', + ], + ], + [ + 'name' => 'MergeInfos', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TemplateFaceID' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '6cd509ea-54fa-4730-8e9d-c94cadcda048_0', + ], + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://invi-label.oss-cn-shanghai.aliyuncs.com/label/temp/faceswap/ref/ref.jpg', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 1000, + 'minItems' => 0, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '8473A5E5-488E-4612-800E-F95B42381570', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/image-face-fusion/09dedc78-c355-442a-9312-7ab074d6de49_54dc_20210129-025407.jpg?Expires=1611890647&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=2mk2OgIrwMqrvA%2FvDdp0MNaoVU****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8473A5E5-488E-4612-800E-F95B42381570\\",\\n \\"Data\\": {\\n \\"ImageURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/image-face-fusion/09dedc78-c355-442a-9312-7ab074d6de49_54dc_20210129-025407.jpg?Expires=1611890647&OSSAccessKeyId=LTAI****************&Signature=2mk2OgIrwMqrvA%2FvDdp0MNaoVU****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<MergeImageFaceResponse>\\n <RequestId>8473A5E5-488E-4612-800E-F95B42381570</RequestId>\\n <Data>\\n <ImageURL>http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/image-face-fusion/09dedc78-c355-442a-9312-7ab074d6de49_54dc_20210129-025407.jpg?Expires=1611890647&OSSAccessKeyId=LTAI****************&Signature=2mk2OgIrwMqrvA%2FvDdp0MNaoVU****</ImageURL>\\n </Data>\\n</MergeImageFaceResponse>","errorExample":""}]', + ], + 'BodyPosture' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/BodyPosture/BodyPosture4.jpg', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B854094B-9231-4A54-89AB-C377CB0D237D', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outputs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'HumanCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Results' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Bodies' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Positions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Points' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '[0.46296295523643494, 0.1304347813129425]', + ], + ], + ], + ], + ], + 'Confident' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.91309475898742676', + ], + 'Label' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'nose', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'MetaObject' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B854094B-9231-4A54-89AB-C377CB0D237D\\",\\n \\"Data\\": {\\n \\"Outputs\\": [\\n {\\n \\"HumanCount\\": 1,\\n \\"Results\\": [\\n {\\n \\"Bodies\\": [\\n {\\n \\"Positions\\": [\\n {\\n \\"Points\\": [\\n 0\\n ]\\n }\\n ],\\n \\"Confident\\": 0.9130947589874268,\\n \\"Label\\": \\"nose\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"MetaObject\\": {\\n \\"Width\\": 500,\\n \\"Height\\": 500\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<BodyPostureResponse>\\n <RequestId>B854094B-9231-4A54-89AB-C377CB0D237D</RequestId>\\n <Data>\\n <MetaObject>\\n <Height>500</Height>\\n <Width>500</Width>\\n </MetaObject>\\n <Outputs>\\n <Results>\\n <Bodies>\\n <Confident>0.91309475898742676</Confident>\\n <Label>nose</Label>\\n <Positions>\\n <Points>0.46296295523643494</Points>\\n <Points>0.1304347813129425</Points>\\n </Positions>\\n </Bodies>\\n <Bodies>\\n <Confident>0.7284882664680481</Confident>\\n <Label>neck</Label>\\n <Positions>\\n <Points>0.47685185074806213</Points>\\n <Points>0.22282609343528748</Points>\\n </Positions>\\n </Bodies>\\n <Bodies>\\n <Confident>0.78919297456741333</Confident>\\n <Label>right_shoulder</Label>\\n <Positions>\\n <Points>0.3888888955116272</Points>\\n <Points>0.239130437374115</Points>\\n </Positions>\\n </Bodies>\\n </Results>\\n <HumanCount>1</HumanCount>\\n </Outputs>\\n </Data>\\n</BodyPostureResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'DetectBodyCount' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DetectBodyCount/DetectBodyCount3.jpg', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1C709078-8886-4C91-AEDE-4E04EED0A689', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PersonNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1C709078-8886-4C91-AEDE-4E04EED0A689\\",\\n \\"Data\\": {\\n \\"PersonNumber\\": 6\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectBodyCountResponse>\\n <RequestId>1C709078-8886-4C91-AEDE-4E04EED0A689</RequestId>\\n <Data>\\n <PersonNumber>6</PersonNumber>\\n </Data>\\n</DetectBodyCountResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'DetectPedestrian' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DetectPedestrian/DetectPedestrian8.jpg', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '45DBA494-6250-42C4-80D1-7CF19BDD2CB1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'person', + ], + 'Boxes' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '[326, 293, 500, 546 ]', + ], + ], + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.999', + ], + ], + ], + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '899', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '599', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"45DBA494-6250-42C4-80D1-7CF19BDD2CB1\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Type\\": \\"person\\",\\n \\"Boxes\\": [\\n 0\\n ],\\n \\"Score\\": 0.999\\n }\\n ],\\n \\"Width\\": 899,\\n \\"Height\\": 599\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>45DBA494-6250-42C4-80D1-7CF19BDD2CB1</RequestId>\\n<Data>\\n <Height>599</Height>\\n <Elements>\\n <Score>0.999</Score>\\n <Type>person</Type>\\n <Boxes>326</Boxes>\\n <Boxes>293</Boxes>\\n <Boxes>500</Boxes>\\n <Boxes>546</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.998</Score>\\n <Type>person</Type>\\n <Boxes>181</Boxes>\\n <Boxes>156</Boxes>\\n <Boxes>425</Boxes>\\n <Boxes>534</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.993</Score>\\n <Type>person</Type>\\n <Boxes>515</Boxes>\\n <Boxes>300</Boxes>\\n <Boxes>705</Boxes>\\n <Boxes>549</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.986</Score>\\n <Type>person</Type>\\n <Boxes>661</Boxes>\\n <Boxes>129</Boxes>\\n <Boxes>797</Boxes>\\n <Boxes>506</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.959</Score>\\n <Type>person</Type>\\n <Boxes>511</Boxes>\\n <Boxes>271</Boxes>\\n <Boxes>572</Boxes>\\n <Boxes>451</Boxes>\\n </Elements>\\n <Width>899</Width>\\n</Data>","errorExample":""}]', + ], + 'PedestrianDetectAttribute' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/PedestrianDetectAttribute/PedestrianDetectAttribute1.jpg', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4F609A30-F645-481E-A513-CADAA14DFB0A', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Attributes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Gender' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.97989875078201294', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'female', + ], + ], + ], + 'Orient' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.97838658094406128', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Front', + ], + ], + ], + 'Age' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.99590516090393066', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Age18-60', + ], + ], + ], + 'UpperWear' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.89291918277740479', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ShortSleeve', + ], + ], + ], + 'Glasses' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.87284471094608307', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'No', + ], + ], + ], + 'LowerWear' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6424860954284668', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Trousers', + ], + ], + ], + 'LowerColor' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.69961744546890259', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Hat' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.98272394016385078', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'No', + ], + ], + ], + 'Handbag' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.55011671781539917', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Yes', + ], + ], + ], + 'Backpack' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.96486538648605347', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'No', + ], + ], + ], + 'UpperColor' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.97796273231506348', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'ShoulderBag' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.91198787838220596', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'No', + ], + ], + ], + ], + ], + ], + 'Boxes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'BottomRightX' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '584', + ], + 'TopLeftY' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '27', + ], + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.88381063938140869', + ], + 'TopLeftX' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '36', + ], + 'BottomRightY' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '218', + ], + ], + ], + ], + 'PersonNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '264', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '584', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4F609A30-F645-481E-A513-CADAA14DFB0A\\",\\n \\"Data\\": {\\n \\"Attributes\\": [\\n {\\n \\"Gender\\": {\\n \\"Score\\": 0.9798987507820129,\\n \\"Name\\": \\"female\\"\\n },\\n \\"Orient\\": {\\n \\"Score\\": 0.9783865809440613,\\n \\"Name\\": \\"Front\\"\\n },\\n \\"Age\\": {\\n \\"Score\\": 0.9959051609039307,\\n \\"Name\\": \\"Age18-60\\"\\n },\\n \\"UpperWear\\": {\\n \\"Score\\": 0.8929191827774048,\\n \\"Name\\": \\"ShortSleeve\\"\\n },\\n \\"Glasses\\": {\\n \\"Score\\": 0.8728447109460831,\\n \\"Name\\": \\"No\\"\\n },\\n \\"LowerWear\\": {\\n \\"Score\\": 0.6424860954284668,\\n \\"Name\\": \\"Trousers\\"\\n },\\n \\"LowerColor\\": {\\n \\"Score\\": 0.6996174454689026,\\n \\"Name\\": \\"黑\\"\\n },\\n \\"Hat\\": {\\n \\"Score\\": 0.9827239401638508,\\n \\"Name\\": \\"No\\"\\n },\\n \\"Handbag\\": {\\n \\"Score\\": 0.5501167178153992,\\n \\"Name\\": \\"Yes\\"\\n },\\n \\"Backpack\\": {\\n \\"Score\\": 0.9648653864860535,\\n \\"Name\\": \\"No\\"\\n },\\n \\"UpperColor\\": {\\n \\"Score\\": 0.9779627323150635,\\n \\"Name\\": \\"黄\\"\\n },\\n \\"ShoulderBag\\": {\\n \\"Score\\": 0.911987878382206,\\n \\"Name\\": \\"No\\"\\n }\\n }\\n ],\\n \\"Boxes\\": [\\n {\\n \\"BottomRightX\\": 584,\\n \\"TopLeftY\\": 27,\\n \\"Score\\": 0.8838106393814087,\\n \\"TopLeftX\\": 36,\\n \\"BottomRightY\\": 218\\n }\\n ],\\n \\"PersonNumber\\": 1,\\n \\"Width\\": 264,\\n \\"Height\\": 584\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>4F609A30-F645-481E-A513-CADAA14DFB0A</RequestId>\\n<Data>\\n <PersonNumber>1</PersonNumber>\\n <Attributes>\\n <Backpack>\\n <Score>0.96486538648605347</Score>\\n <Name>No</Name>\\n </Backpack>\\n <LowerWear>\\n <Score>0.6424860954284668</Score>\\n <Name>Trousers</Name>\\n </LowerWear>\\n <Orient>\\n <Score>0.97838658094406128</Score>\\n <Name>Front</Name>\\n </Orient>\\n <ShoulderBag>\\n <Score>0.91198787838220596</Score>\\n <Name>No</Name>\\n </ShoulderBag>\\n <LowerColor>\\n <Score>0.69961744546890259</Score>\\n <Name>黑</Name>\\n </LowerColor>\\n <Glasses>\\n <Score>0.87284471094608307</Score>\\n <Name>No</Name>\\n </Glasses>\\n <UpperColor>\\n <Score>0.97796273231506348</Score>\\n <Name>黄</Name>\\n </UpperColor>\\n <Handbag>\\n <Score>0.55011671781539917</Score>\\n <Name>Yes</Name>\\n </Handbag>\\n <Hat>\\n <Score>0.98272394016385078</Score>\\n <Name>No</Name>\\n </Hat>\\n <Gender>\\n <Score>0.97989875078201294</Score>\\n <Name>female</Name>\\n </Gender>\\n <Age>\\n <Score>0.99590516090393066</Score>\\n <Name>Age18-60</Name>\\n </Age>\\n <UpperWear>\\n <Score>0.89291918277740479</Score>\\n <Name>ShortSleeve</Name>\\n </UpperWear>\\n </Attributes>\\n <Boxes>\\n <BottomRightX>584</BottomRightX>\\n <Score>0.88381063938140869</Score>\\n <BottomRightY>218</BottomRightY>\\n <TopLeftY>27</TopLeftY>\\n <TopLeftX>36</TopLeftX>\\n </Boxes>\\n</Data>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'GetRealPersonVerificationResult' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + ], + 'parameters' => [ + [ + 'name' => 'VerificationToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cwek23dw24geor89230hf2rw', + 'isFileTransferUrl' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10FC953D-7C0C-4915-8949-34E3246E5B79', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Passed' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"10FC953D-7C0C-4915-8949-34E3246E5B79\\",\\n \\"Data\\": {\\n \\"Passed\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetRealPersonVerificationResultResponse>\\n <RequestId>10FC953D-7C0C-4915-8949-34E3246E5B79</RequestId>\\n <Data>\\n <Passed>true</Passed>\\n </Data>\\n</GetRealPersonVerificationResultResponse>","errorExample":""}]', + ], + 'GenRealPersonVerificationToken' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'CertificateName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + 'isFileTransferUrl' => false, + ], + ], + [ + 'name' => 'CertificateNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '33010219001123123X', + ], + ], + [ + 'name' => 'MetaInfo', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '{"dwe":"ew4e"...}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A31006F2-22E7-4538-93BB-DE6B563643EE', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'VerificationToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9fca3791c158a479ead9f2ba65ab3XXX', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A31006F2-22E7-4538-93BB-DE6B563643EE\\",\\n \\"Data\\": {\\n \\"VerificationToken\\": \\"9fca3791c158a479ead9f2ba65ab3XXX\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>A31006F2-22E7-4538-93BB-DE6B563643EE</RequestId>\\n<Data>\\n <VerificationToken>9fca3791c158a479ead9f2ba65ab3XXX</VerificationToken>\\n</Data>","errorExample":""}]', + ], + 'DetectCelebrity' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://viapi-oss.oss-cn-shanghai.aliyuncs.com/doc/facebody/xxx.jpg', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4E92C0D4-BB0F-4F25-AD13-E87D02FAA205', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FaceRecognizeResults' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FaceBoxes' => [ + 'description' => '1', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '[0.285,0.202,0.534,0.721]', + ], + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1000', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1000', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4E92C0D4-BB0F-4F25-AD13-E87D02FAA205\\",\\n \\"Data\\": {\\n \\"FaceRecognizeResults\\": [\\n {\\n \\"FaceBoxes\\": [\\n 0\\n ],\\n \\"Name\\": \\"张三\\"\\n }\\n ],\\n \\"Width\\": 1000,\\n \\"Height\\": 1000\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectCelebrityResponse>\\n <RequestId>4E92C0D4-BB0F-4F25-AD13-E87D02FAA205</RequestId>\\n <Data>\\n <FaceRecognizeResults>\\n <FaceBoxes>0.285</FaceBoxes>\\n <FaceBoxes>0.202</FaceBoxes>\\n <FaceBoxes>0.534</FaceBoxes>\\n <FaceBoxes>0.721</FaceBoxes>\\n <Name>张三</Name>\\n </FaceRecognizeResults>\\n <Height>1000</Height>\\n <Width>1000</Width>\\n </Data>\\n</DetectCelebrityResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'DetectVideoLivingFace' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'VideoUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DetectVideoLivingFace/DetectVideoLivingFace1.mp4', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8E92F28B-F889-48CB-9FCC-3207CFA2215E', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Rect' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '[374, 6, 493,106 ]', + ], + ], + 'LiveConfidence' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.72464925050735474', + ], + 'FaceConfidence' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.84644949436187744', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8E92F28B-F889-48CB-9FCC-3207CFA2215E\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Rect\\": [\\n 0\\n ],\\n \\"LiveConfidence\\": 0.7246492505073547,\\n \\"FaceConfidence\\": 0.8464494943618774\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>8E92F28B-F889-48CB-9FCC-3207CFA2215E</RequestId>\\n<Data>\\n <Elements>\\n <FaceConfidence>0.84644949436187744</FaceConfidence>\\n <Rect>374</Rect>\\n <Rect>6</Rect>\\n <Rect>493</Rect>\\n <Rect>106</Rect>\\n <LiveConfidence>0.72464925050735474</LiveConfidence>\\n </Elements>\\n</Data>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'GenerateHumanAnimeStyle' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/GenerateHumanAnimeStyle/GenerateHumanAnimeStyle8.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'AlgoType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'anime', + 'default' => 'anime', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '59697D68-2A6E-4553-89BD-0FADD07881E8', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/person-image-cartoonizer/59697D68-2A6E-4553-89BD-0FADD07881E8_7ee5_20201027-070958.jpg?Expires=1603784400&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSR****&Signature=ut2kn46Lz%2FRwqJ9jWJ0RBDut12****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"59697D68-2A6E-4553-89BD-0FADD07881E8\\",\\n \\"Data\\": {\\n \\"ImageURL\\": \\"https://dashscope-result-sh.oss-cn-shanghai.aliyuncs.com/viapi-video/person_image_cartoonizer/2023-10-25/55798d04-0957-4ab1-accc-0e4d2d01a039/20231025092636774205_styleanime_n2vedxruht.jpg?Expires=1698283596&OSSAccessKeyId=LTAI****************&Signature=ut2kn46Lz%2FRwqJ9jWJ0RBDut12****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GenerateHumanAnimeStyleResponse>\\n <RequestId>59697D68-2A6E-4553-89BD-0FADD07881E8</RequestId>\\n <Data>\\n <ImageURL>https://dashscope-result-sh.oss-cn-shanghai.aliyuncs.com/viapi-video/person_image_cartoonizer/2023-10-25/55798d04-0957-4ab1-accc-0e4d2d01a039/20231025092636774205_styleanime_n2vedxruht.jpg?Expires=1698283596&OSSAccessKeyId=LTAI****************&Signature=ut2kn46Lz%2FRwqJ9jWJ0RBDut12****</ImageURL>\\n </Data>\\n</GenerateHumanAnimeStyleResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'GenerateHumanSketchStyle' => [ + 'summary' => '人像素描风格化', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/GenerateHumanSketchStyle/GenerateHumanSketchStyle7.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'ReturnType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'head', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'E499788C-22DA-4F0E-B9C0-0E9D30A25716', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'title' => '出参图片地址', + 'description' => '', + 'type' => 'string', + 'example' => 'http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/person-image-pencil/fd49dd0a-9e24-4bb5-b303-0745cdb453e0_7aa6_20210128-073045.jpg?Expires=1611820849&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=1oLYG%2FPe%2BNRIK7XcsUQYaKF%2B1C****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E499788C-22DA-4F0E-B9C0-0E9D30A25716\\",\\n \\"Data\\": {\\n \\"ImageURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/person-image-pencil/fd49dd0a-9e24-4bb5-b303-0745cdb453e0_7aa6_20210128-073045.jpg?Expires=1611820849&OSSAccessKeyId=LTAI****************&Signature=1oLYG%2FPe%2BNRIK7XcsUQYaKF%2B1C****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GenerateHumanSketchStyleResponse>\\n <RequestId>E499788C-22DA-4F0E-B9C0-0E9D30A25716</RequestId>\\n <Data>\\n <ImageURL>http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/person-image-pencil/fd49dd0a-9e24-4bb5-b303-0745cdb453e0_7aa6_20210128-073045.jpg?Expires=1611820849&OSSAccessKeyId=LTAI****************&Signature=1oLYG%2FPe%2BNRIK7XcsUQYaKF%2B1C****</ImageURL>\\n </Data>\\n</GenerateHumanSketchStyleResponse>","errorExample":""}]', + ], + 'RecognizeAction' => [ + 'summary' => '动作行为识别(RecognizeAction)', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Type', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '0', + ], + ], + [ + 'name' => 'VideoUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/RecognizeAction/RecognizeAction-video1.mp4', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'URLList', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'URL' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/RecognizeAction/1RecognizeAction1.png', + 'isFileTransferUrl' => true, + ], + 'imageData' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgQ****', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 300, + ], + ], + [ + 'name' => 'VideoData', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAoAAAAHJCAIAAACaEB9NAAEAAElEQVR4nNT9Wb****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E9C40AF5-A7F8-49D5-8A0C-B21F15A07F17', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Scores' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.702967643737793', + ], + ], + 'Labels' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Boxes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Box' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '[1119,576,1373,970]', + ], + ], + ], + ], + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E9C40AF5-A7F8-49D5-8A0C-B21F15A07F17\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Scores\\": [\\n 0.702967643737793\\n ],\\n \\"Labels\\": [\\n \\"跌倒\\"\\n ],\\n \\"Boxes\\": [\\n {\\n \\"Box\\": [\\n 0\\n ]\\n }\\n ],\\n \\"Timestamp\\": 3\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E9C40AF5-A7F8-49D5-8A0C-B21F15A07F17</RequestId>\\n<Data>\\n <Elements>\\n <Timestamp>1</Timestamp>\\n </Elements>\\n <Elements>\\n <Scores>0.702967643737793</Scores>\\n <Labels>跌倒</Labels>\\n <Timestamp>3</Timestamp>\\n <Boxes>\\n <Box>1119</Box>\\n <Box>576</Box>\\n <Box>1373</Box>\\n <Box>970</Box>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Scores>0.7334273457527161</Scores>\\n <Labels>跌倒</Labels>\\n <Timestamp>5</Timestamp>\\n <Boxes>\\n <Box>1128</Box>\\n <Box>613</Box>\\n <Box>1363</Box>\\n <Box>991</Box>\\n </Boxes>\\n </Elements>\\n</Data>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'RecognizeExpression' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/RecognizeExpression/RecognizeExpression10.jpg', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E1C4C576-1799-4079-A934-15BC406A54EF', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'FaceRectangle' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Top' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '41', + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '121', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '174', + ], + 'Left' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '196', + ], + ], + ], + 'Expression' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'surprise', + ], + 'FaceProbability' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.99651491641998291', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"E1C4C576-1799-4079-A934-15BC406A54EF\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"FaceRectangle\\": {\\n \\"Top\\": 67,\\n \\"Width\\": 113,\\n \\"Height\\": 154,\\n \\"Left\\": 370\\n },\\n \\"Expression\\": \\"happiness\\",\\n \\"FaceProbability\\": 0.88330078125\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RecognizeExpressionResponse>\\n <RequestId>E1C4C576-1799-4079-A934-15BC406A54EF</RequestId>\\n <Data>\\n <Elements>\\n <FaceRectangle>\\n <Top>67</Top>\\n <Width>113</Width>\\n <Height>154</Height>\\n <Left>370</Left>\\n </FaceRectangle>\\n <Expression>happiness</Expression>\\n <FaceProbability>0.8833008</FaceProbability>\\n </Elements>\\n </Data>\\n</RecognizeExpressionResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'BatchAddFaces' => [ + 'summary' => '批量添加人脸数据', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'DbName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'default', + ], + ], + [ + 'name' => 'EntityId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'U1', + ], + ], + [ + 'name' => 'SimilarityScoreThresholdInEntity', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '50.0', + ], + ], + [ + 'name' => 'SimilarityScoreThresholdBetweenEntity', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '50.0', + ], + ], + [ + 'name' => 'Faces', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'ExtraData' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/test/imgsearch/demo/1.png', + 'isFileTransferUrl' => true, + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'QualityScoreThreshold', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '50.0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'C46A46D0-3263-181A-A1EE-0901E4595390', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InsertedFaces' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/test/imgsearch/demo/xxxx.png', + ], + 'FaceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '16350536', + ], + 'QualitieScore' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '99.79581', + ], + ], + ], + ], + 'FailedFaces' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/test/imgsearch/demo/xxxx.png', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ClientError.IllegalArgument', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'not found the db=test', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46A46D0-3263-181A-A1EE-0901E4595390\\",\\n \\"Data\\": {\\n \\"InsertedFaces\\": [\\n {\\n \\"ImageURL\\": \\"https://viapi-test.oss-cn-shanghai.aliyuncs.com/test/imgsearch/demo/xxxx.png\\",\\n \\"FaceId\\": \\"16350536\\",\\n \\"QualitieScore\\": 99.79581\\n }\\n ],\\n \\"FailedFaces\\": [\\n {\\n \\"ImageURL\\": \\"https://viapi-test.oss-cn-shanghai.aliyuncs.com/test/imgsearch/demo/xxxx.png\\",\\n \\"Code\\": \\"ClientError.IllegalArgument\\",\\n \\"Message\\": \\"not found the db=test\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<BatchAddFacesResponse>\\n <RequestId>C46A46D0-3263-181A-A1EE-0901E4595390</RequestId>\\n <Data>\\n <InsertedFaces>\\n <ImageURL>https://viapi-test.oss-cn-shanghai.aliyuncs.com/test/imgsearch/demo/xxxx.png</ImageURL>\\n <FaceId>16350536</FaceId>\\n <QualitieScore>99.79581</QualitieScore>\\n </InsertedFaces>\\n <FailedFaces>\\n <ImageURL>https://viapi-test.oss-cn-shanghai.aliyuncs.com/test/imgsearch/demo/xxxx.png</ImageURL>\\n <Code>ClientError.IllegalArgument</Code>\\n <Message>not found the db=test</Message>\\n </FailedFaces>\\n </Data>\\n</BatchAddFacesResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'ExtractFingerPrint' => [ + 'summary' => '指纹提取', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/test-team/xuhan/ExtractFingerPrint.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'ImageData', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'iVBORw0KGgoAAAANSUhEUgAAASUAA****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D21978CC-C1E7-4A7A-A1B2-D5896BDC7ADF', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FingerPrint' => [ + 'description' => '', + 'type' => 'string', + 'format' => 'byte', + 'example' => '/9j/4AAQSkZJRgABAQAAAQABAAD****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D21978CC-C1E7-4A7A-A1B2-D5896BDC7ADF\\",\\n \\"Data\\": {\\n \\"FingerPrint\\": \\"/9j/4AAQSkZJRgABAQAAAQABAAD****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<ExtractFingerPrintResponse>\\n <RequestId>D21978CC-C1E7-4A7A-A1B2-D5896BDC7ADF</RequestId>\\n <Data>\\n <FingerPrint>/9j/4AAQSkZJRgABAQAAAQABAAD****</FingerPrint>\\n </Data>\\n</ExtractFingerPrintResponse>","errorExample":""}]', + ], + 'LiquifyFace' => [ + 'summary' => '智能瘦脸', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/LiquifyFace/LiquifyFace1.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'SlimDegree', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'maximum' => '2', + 'minimum' => '0', + 'example' => '1.0', + 'default' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CA1C8937-B30C-15E6-B804-41C357BA413B', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/face-liquify/CA1C8937-B30C-15E6-B804-41C357BA413B_5eca_20210923-093411.jpg?Expires=1632391451&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=46apJQVNBz%2FFzDLEYn2M1w9MKA****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CA1C8937-B30C-15E6-B804-41C357BA413B\\",\\n \\"Data\\": {\\n \\"ImageURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/face-liquify/CA1C8937-B30C-15E6-B804-41C357BA413B_5eca_20210923-093411.jpg?Expires=1632391451&OSSAccessKeyId=LTAI****************&Signature=46apJQVNBz%2FFzDLEYn2M1w9MKA****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<LiquifyFaceResponse>\\n <RequestId>CA1C8937-B30C-15E6-B804-41C357BA413B</RequestId>\\n <Data>\\n <ImageURL>http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/face-liquify/CA1C8937-B30C-15E6-B804-41C357BA413B_5eca_20210923-093411.jpg?Expires=1632391451&OSSAccessKeyId=LTAI****************&Signature=46apJQVNBz%2FFzDLEYn2M1w9MKA****</ImageURL>\\n </Data>\\n</LiquifyFaceResponse>","errorExample":""}]', + ], + 'MonitorExamination' => [ + 'summary' => '线上监考', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Type', + 'in' => 'formData', + 'schema' => [ + 'title' => 'A short description of struct', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'maximum' => '1', + 'minimum' => '0', + 'example' => '1', + ], + ], + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/MonitorExamination/1MonitorExamination1.jpg', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D0F6EB94-73B6-4CB8-B266-22D2F221C475', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FaceInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Completeness' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1', + ], + 'FaceNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Pose' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Pitch' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.9185499548912048', + ], + 'Roll' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '-0.18541647493839264', + ], + 'Yaw' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '8.095342636108398', + ], + ], + ], + ], + ], + 'PersonInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CellPhone' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.39076218008995056', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + ], + ], + 'EarPhone' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.7980290651321411', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.6', + ], + ], + ], + 'PersonNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + 'ChatScore' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.28805577754974365', + ], + 'Threshold' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D0F6EB94-73B6-4CB8-B266-22D2F221C475\\",\\n \\"Data\\": {\\n \\"FaceInfo\\": {\\n \\"Completeness\\": 1,\\n \\"FaceNumber\\": 1,\\n \\"Pose\\": {\\n \\"Pitch\\": -0.9185499548912048,\\n \\"Roll\\": -0.18541647493839264,\\n \\"Yaw\\": 8.095342636108398\\n }\\n },\\n \\"PersonInfo\\": {\\n \\"CellPhone\\": {\\n \\"Score\\": 0.39076218008995056,\\n \\"Threshold\\": 0.6\\n },\\n \\"EarPhone\\": {\\n \\"Score\\": 0.7980290651321411,\\n \\"Threshold\\": 0.6\\n },\\n \\"PersonNumber\\": 1\\n },\\n \\"ChatScore\\": 0.28805577754974365,\\n \\"Threshold\\": 0.5\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>D0F6EB94-73B6-4CB8-B266-22D2F221C475</RequestId>\\n<Data>\\n <FaceInfo>\\n <Completeness>1</Completeness>\\n <FaceNumber>1</FaceNumber>\\n <Pose>\\n <Pitch>-0.91854995</Pitch>\\n <Roll>-0.18541647</Roll>\\n <Yaw>8.095343</Yaw>\\n </Pose>\\n </FaceInfo>\\n <PersonInfo>\\n <CellPhone>\\n <Score>0.39076218</Score>\\n <Threshold>0.6</Threshold>\\n </CellPhone>\\n <EarPhone>\\n <Score>0.79802907</Score>\\n <Threshold>0.6</Threshold>\\n </EarPhone>\\n <PersonNumber>1</PersonNumber>\\n </PersonInfo>\\n <ChatScore>0.28805578</ChatScore>\\n <Threshold>0.5</Threshold>\\n</Data>","errorExample":""}]', + ], + 'RetouchSkin' => [ + 'summary' => '美肤', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/RetouchSkin/RetouchSkin3.png', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'RetouchDegree', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '1.0', + ], + ], + [ + 'name' => 'WhiteningDegree', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '1.0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'FD2BF3DF-3D98-1D5D-85BB-C8EC3A9FE347', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/skin-retouch/FD2BF3DF-3D98-1D5D-85BB-C8EC3A9FE347_3467_20210923-094238.jpg?Expires=1632391959&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRp****&Signature=jXJcFTv3no7Gx%2BLuPvANhRSnc2****', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FD2BF3DF-3D98-1D5D-85BB-C8EC3A9FE347\\",\\n \\"Data\\": {\\n \\"ImageURL\\": \\"http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/skin-retouch/FD2BF3DF-3D98-1D5D-85BB-C8EC3A9FE347_3467_20210923-094238.jpg?Expires=1632391959&OSSAccessKeyId=LTAI****************&Signature=jXJcFTv3no7Gx%2BLuPvANhRSnc2****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RetouchSkinResponse>\\n <RequestId>FD2BF3DF-3D98-1D5D-85BB-C8EC3A9FE347</RequestId>\\n <Data>\\n <ImageURL>http://vibktprfx-prod-prod-aic-gd-cn-shanghai.oss-cn-shanghai.aliyuncs.com/skin-retouch/FD2BF3DF-3D98-1D5D-85BB-C8EC3A9FE347_3467_20210923-094238.jpg?Expires=1632391959&OSSAccessKeyId=LTAI****************&Signature=jXJcFTv3no7Gx%2BLuPvANhRSnc2****</ImageURL>\\n </Data>\\n</RetouchSkinResponse>","errorExample":""}]', + ], + 'CompareFaceWithMask' => [ + 'summary' => '口罩人脸比对1:1', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURLA', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'ImageURLB', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + 'isFileTransferUrl' => true, + ], + ], + [ + 'name' => 'QualityScoreThreshold', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '97.0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'C6499918-E932-41B3-96F5-A18F50D262DD', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Confidence' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + 'IsMaskA' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + 'IsMaskB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + 'LandmarksAList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + ], + 'LandmarksBList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + ], + 'QualityScoreA' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + 'QualityScoreB' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '', + ], + 'RectAList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + ], + 'RectBList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + ], + 'Thresholds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '[61, 69, 75]', + ], + ], + 'MessageTips' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'imageB quality score less threshold', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C6499918-E932-41B3-96F5-A18F50D262DD\\",\\n \\"Data\\": {\\n \\"Confidence\\": 88.02560424804688,\\n \\"IsMaskA\\": 1,\\n \\"IsMaskB\\": 0,\\n \\"LandmarksAList\\": [\\n 0\\n ],\\n \\"LandmarksBList\\": [\\n 0\\n ],\\n \\"QualityScoreA\\": 75.8912582397461,\\n \\"QualityScoreB\\": 98.71688079833984,\\n \\"RectAList\\": [\\n 0\\n ],\\n \\"RectBList\\": [\\n 0\\n ],\\n \\"Thresholds\\": [\\n 0\\n ],\\n \\"MessageTips\\": \\"imageB quality score less threshold\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CompareFaceWithMaskResponse>\\n <RequestId>C6499918-E932-41B3-96F5-A18F50D262DD</RequestId>\\n <Data>\\n <Confidence>88.025604</Confidence>\\n <IsMaskA>1</IsMaskA>\\n <IsMaskB>0</IsMaskB>\\n <LandmarksAList>348</LandmarksAList>\\n <LandmarksAList>490</LandmarksAList>\\n <LandmarksAList>523</LandmarksAList>\\n <LandmarksAList>478</LandmarksAList>\\n <LandmarksAList>446</LandmarksAList>\\n <LandmarksAList>577</LandmarksAList>\\n <LandmarksAList>386</LandmarksAList>\\n <LandmarksAList>677</LandmarksAList>\\n <LandmarksAList>514</LandmarksAList>\\n <LandmarksAList>668</LandmarksAList>\\n <LandmarksBList>356</LandmarksBList>\\n <LandmarksBList>590</LandmarksBList>\\n <LandmarksBList>487</LandmarksBList>\\n <LandmarksBList>589</LandmarksBList>\\n <LandmarksBList>410</LandmarksBList>\\n <LandmarksBList>676</LandmarksBList>\\n <LandmarksBList>368</LandmarksBList>\\n <LandmarksBList>754</LandmarksBList>\\n <LandmarksBList>476</LandmarksBList>\\n <LandmarksBList>753</LandmarksBList>\\n <QualityScoreA>75.89126</QualityScoreA>\\n <QualityScoreB>98.71688</QualityScoreB>\\n <RectAList>238</RectAList>\\n <RectAList>310</RectAList>\\n <RectAList>388</RectAList>\\n <RectAList>492</RectAList>\\n <RectBList>284</RectBList>\\n <RectBList>467</RectBList>\\n <RectBList>293</RectBList>\\n <RectBList>373</RectBList>\\n <Thresholds>61</Thresholds>\\n <Thresholds>69</Thresholds>\\n <Thresholds>75</Thresholds>\\n <MessageTips>imageB quality score less threshold</MessageTips>\\n </Data>\\n</CompareFaceWithMaskResponse>","errorExample":""}]', + ], + 'DetectInfraredLivingFace' => [ + 'summary' => '红外人脸活体检测', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Tasks', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DetectInfraredLivingFace/DetectInfraredLivingFace.jpeg', + 'isFileTransferUrl' => true, + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 10, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '68DF6EC7-3B1D-11EE-9FA7-1122F1AE92DD', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FaceNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://viapi-demo.oss-cn-shanghai.aliyuncs.com/viapi-demo/images/SegmentCommonImage/segmentimage-src-hu.jpeg', + ], + 'Results' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Label' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'liveness', + ], + 'Rate' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '83.3848', + ], + 'Rect' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '20', + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '30', + ], + 'Top' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '50', + ], + 'Left' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '60', + ], + ], + ], + 'Suggestion' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'review', + ], + 'MessageTips' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'blurred, occluded or large angle face, please check.', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"68DF6EC7-3B1D-11EE-9FA7-1122F1AE92DD\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"FaceNumber\\": 1,\\n \\"ImageURL\\": \\"http://viapi-demo.oss-cn-shanghai.aliyuncs.com/viapi-demo/images/SegmentCommonImage/segmentimage-src-hu.jpeg\\",\\n \\"Results\\": [\\n {\\n \\"Label\\": \\"liveness\\",\\n \\"Rate\\": 83.3848,\\n \\"Rect\\": {\\n \\"Height\\": 20,\\n \\"Width\\": 30,\\n \\"Top\\": 50,\\n \\"Left\\": 60\\n },\\n \\"Suggestion\\": \\"review\\",\\n \\"MessageTips\\": \\"blurred, occluded or large angle face, please check.\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectInfraredLivingFaceResponse>\\n <RequestId>68DF6EC7-3B1D-11EE-9FA7-1122F1AE92DD</RequestId>\\n <Data>\\n <Elements>\\n <FaceNumber>1</FaceNumber>\\n <ImageURL>http://viapi-demo.oss-cn-shanghai.aliyuncs.com/viapi-demo/images/SegmentCommonImage/segmentimage-src-hu.jpeg</ImageURL>\\n <Results>\\n <Label>liveness</Label>\\n <Rate>83.3848</Rate>\\n <Rect>\\n <Height>20</Height>\\n <Width>30</Width>\\n <Top>50</Top>\\n <Left>60</Left>\\n </Rect>\\n <Suggestion>review</Suggestion>\\n <MessageTips>blurred, occluded or large angle face, please check.</MessageTips>\\n </Results>\\n </Elements>\\n </Data>\\n</DetectInfraredLivingFaceResponse>","errorExample":""}]', + ], + 'DeepfakeFace' => [ + 'summary' => '换脸鉴别', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + ], + 'parameters' => [ + [ + 'name' => 'Tasks', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DeepfakeFace/DeepfakeFace1.jpg', + 'isFileTransferUrl' => true, + ], + 'ImageData' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '/9j/4AAQSkZJRgABAQAAAQABAAD/2****', + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 10, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '8E6F65D5-62A1-1E5B-BC0B-00508034AC92', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ImageURL' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DeepfakeFace/DeepfakeFace1.jpg', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8E6F65D5-62A1-1E5B-BC0B-00508034AC92', + ], + 'Results' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Label' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'normalface', + ], + 'Confidence' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '36.6455', + ], + 'Rect' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Left' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '373', + ], + 'Top' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '111', + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '207', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '284', + ], + ], + ], + 'MessageTips' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'blurred, occluded or large angle face, please check.', + ], + ], + ], + ], + 'FaceNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8E6F65D5-62A1-1E5B-BC0B-00508034AC92\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"ImageURL\\": \\"http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DeepfakeFace/DeepfakeFace1.jpg\\",\\n \\"TaskId\\": \\"8E6F65D5-62A1-1E5B-BC0B-00508034AC92\\",\\n \\"Results\\": [\\n {\\n \\"Label\\": \\"normalface\\",\\n \\"Confidence\\": 36.6455,\\n \\"Rect\\": {\\n \\"Left\\": 373,\\n \\"Top\\": 111,\\n \\"Width\\": 207,\\n \\"Height\\": 284\\n },\\n \\"MessageTips\\": \\"blurred, occluded or large angle face, please check.\\"\\n }\\n ],\\n \\"FaceNumber\\": 1\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeepfakeFaceResponse>\\n <RequestId>8E6F65D5-62A1-1E5B-BC0B-00508034AC92</RequestId>\\n <Data>\\n <Elements>\\n <ImageURL>http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/facebody/DeepfakeFace/DeepfakeFace1.jpg</ImageURL>\\n <TaskId>8E6F65D5-62A1-1E5B-BC0B-00508034AC92</TaskId>\\n <Results>\\n <Label>normalface</Label>\\n <Confidence>36.6455</Confidence>\\n <Rect>\\n <Left>373</Left>\\n <Top>111</Top>\\n <Width>207</Width>\\n <Height>284</Height>\\n </Rect>\\n <MessageTips>blurred, occluded or large angle face, please check.</MessageTips>\\n </Results>\\n <FaceNumber>1</FaceNumber>\\n </Elements>\\n </Data>\\n</DeepfakeFaceResponse>","errorExample":""}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'facebody.cn-shanghai.aliyuncs.com', + ], + ], +]; diff --git a/data/en_us/facebody/2020-09-10/api-docs.php b/data/en_us/facebody/2020-09-10/api-docs.php new file mode 100644 index 0000000..a9098e1 --- /dev/null +++ b/data/en_us/facebody/2020-09-10/api-docs.php @@ -0,0 +1,147 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'ROA', + 'product' => 'facebody', + 'version' => '2020-09-10', + ], + 'directories' => [ + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'ExecuteServerSideVerification', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'ExecuteServerSideVerification' => [ + 'summary' => '核身纯服务端版', + 'path' => '/viapi/thirdparty/realperson/execServerSideVerification', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/x-www-form-urlencoded', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'certificateName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => '', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'certificateNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => '1281739873298172981', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'facialPictureData', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => '/9j/wwew...', + 'format' => 'byte', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'facialPictureUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://xxx.xxx.com/xxx.jpg', + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'sceneType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'server', + 'required' => false, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'CE2FFC8A-6669-4F02-B4DA-95888087FBDC', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Pass' => [ + 'description' => '', + 'example' => 'true', + 'type' => 'boolean', + ], + 'VerificationToken' => [ + 'description' => '', + 'example' => '6f1f730e732b232ccbdd85abc751****', + 'type' => 'string', + ], + 'Reason' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'staticInfo' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CE2FFC8A-6669-4F02-B4DA-95888087FBDC\\",\\n \\"Data\\": {\\n \\"Pass\\": true,\\n \\"VerificationToken\\": \\"6f1f730e732b232ccbdd85abc751****\\",\\n \\"Reason\\": \\"认证通过(Z8120)\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>CE2FFC8A-6669-4F02-B4DA-95888087FBDC</RequestId>\\n<Data>\\n <Pass>true</Pass>\\n <VerificationToken>6f1f730e732b232ccbdd85abc751****</VerificationToken>\\n <Reason>认证通过(Z8120)</Reason>\\n</Data>","errorExample":""}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'facebody.cn-shanghai.aliyuncs.com', + ], + ], +]; |
