diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/imageaudit | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/imageaudit')
| -rw-r--r-- | data/zh_cn/imageaudit/2019-12-30/api-docs.php | 531 |
1 files changed, 197 insertions, 334 deletions
diff --git a/data/zh_cn/imageaudit/2019-12-30/api-docs.php b/data/zh_cn/imageaudit/2019-12-30/api-docs.php index fb44cd7..a273360 100644 --- a/data/zh_cn/imageaudit/2019-12-30/api-docs.php +++ b/data/zh_cn/imageaudit/2019-12-30/api-docs.php @@ -1,19 +1,12 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'imageaudit', - 'version' => '2019-12-30', - ], + 'info' => ['style' => 'RPC', 'product' => 'imageaudit', 'version' => '2019-12-30'], 'directories' => [ [ - 'id' => 64301, - 'title' => '内容审核', + 'children' => ['ScanImage', 'ScanText'], 'type' => 'directory', - 'children' => [ - 'ScanImage', - 'ScanText', - ], + 'title' => '内容审核', + 'id' => 434501, ], ], 'components' => [ @@ -22,13 +15,8 @@ 'apis' => [ 'ScanImage' => [ 'summary' => '本文介绍图片内容安全ScanImage的语法及示例。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -36,11 +24,7 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'paid', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid'], 'parameters' => [ [ 'name' => 'Task', @@ -53,49 +37,20 @@ 'description' => '1', 'type' => 'object', 'properties' => [ - 'ImageTimeMillisecond' => [ - 'description' => '图片创建或编辑时间,单位为毫秒。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'Interval' => [ - 'description' => '截帧频率,GIF图或者长图检测专用。GIF图可理解为图片数组,每**interval**张图片抽取一张进行检测。只有该值存在时,才会对GIF进行截帧。长图同时支持长竖图和长横图。'."\n" - ."\n" - .'- 长竖图(高大于400像素,高宽比大于2.5),会按照`高/宽`取整来计算总图数,并进行切割。'."\n" - ."\n" - .'- 长横图(宽大于400像素,宽高比大于2.5),会按照`宽/高`取整来计算总图数,并进行切割。'."\n" - ."\n" - .'> 默认只会检测GIF图或长图的第一帧,interval参数用于指示后台在检测时可按照该间隔跳着检测,以节省检测成本。需要与maxFrames参数组合使用。例如,设置interval为2,maxFrames为100,检测长图或GIF图时,将每间隔1帧检测一次,最多检测100帧,计费则按照实际检测的数量计算。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'ImageURL' => [ - 'description' => '待检测图像的URL地址。支持HTTP和HTTPS协议。推荐使用上海地域的OSS链接,对于文件在本地或者非上海地域OSS链接的情况,请参见[文件URL处理](~~155645~~)。'."\n" - ."\n" - .'> 如果使用上海地域的OSS链接,系统会自动将OSS链接地址转成内网地址然后再下载文件,所以调用该接口并不会产生OSS流量计费。', - 'type' => 'string', - 'required' => true, - 'example' => 'http://xxx.xxx.com/xxx.jpg', - 'isFileTransferUrl' => true, - ], - 'MaxFrames' => [ - 'description' => '最大截帧数量,GIF图或长图检测专用,默认值为1。'."\n" - .'当interval*maxFrames小于该图片所包含的图片数量时,截帧间隔会自动修改为`该图片所包含的图片数/maxFrames`,以提高整体检测效果。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'DataId' => [ - 'description' => '数据ID。需要保证在一次请求中所有的ID不重复。', - 'type' => 'string', - 'required' => false, - 'example' => 'uuid-xxxx-xxxx-1234', - ], + 'ImageTimeMillisecond' => ['description' => '图片创建或编辑时间,单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + 'Interval' => ['description' => '截帧频率,GIF图或者长图检测专用。GIF图可理解为图片数组,每**interval**张图片抽取一张进行检测。只有该值存在时,才会对GIF进行截帧。长图同时支持长竖图和长横图。'."\n" + ."\n" + .'- 长竖图(高大于400像素,高宽比大于2.5),会按照`高/宽`取整来计算总图数,并进行切割。'."\n" + ."\n" + .'- 长横图(宽大于400像素,宽高比大于2.5),会按照`宽/高`取整来计算总图数,并进行切割。'."\n" + ."\n" + .'> 默认只会检测GIF图或长图的第一帧,interval参数用于指示后台在检测时可按照该间隔跳着检测,以节省检测成本。需要与maxFrames参数组合使用。例如,设置interval为2,maxFrames为100,检测长图或GIF图时,将每间隔1帧检测一次,最多检测100帧,计费则按照实际检测的数量计算。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'ImageURL' => ['description' => '待检测图像的URL地址。支持HTTP和HTTPS协议。推荐使用上海地域的OSS链接,对于文件在本地或者非上海地域OSS链接的情况,请参见[文件URL处理](~~155645~~)。'."\n" + ."\n" + .'> 如果使用上海地域的OSS链接,系统会自动将OSS链接地址转成内网地址然后再下载文件,所以调用该接口并不会产生OSS流量计费。', 'type' => 'string', 'required' => true, 'example' => 'http://xxx.xxx.com/xxx.jpg', 'isFileTransferUrl' => true], + 'MaxFrames' => ['description' => '最大截帧数量,GIF图或长图检测专用,默认值为1。'."\n" + .'当interval*maxFrames小于该图片所包含的图片数量时,截帧间隔会自动修改为`该图片所包含的图片数/maxFrames`,以提高整体检测效果。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'DataId' => ['description' => '数据ID。需要保证在一次请求中所有的ID不重复。', 'type' => 'string', 'required' => false, 'example' => 'uuid-xxxx-xxxx-1234'], ], 'required' => false, ], @@ -110,24 +65,19 @@ 'schema' => [ 'description' => '1', 'type' => 'array', - 'items' => [ - 'description' => '指定图片检测的应用场景,可选值包括:'."\n" - ."\n" - .'- porn:图片智能鉴黄'."\n" - ."\n" - .'- terrorism:图片敏感内容识别、图片风险人物识别'."\n" - ."\n" - .'- ad:图片垃圾广告识别'."\n" - ."\n" - .'- live:图片不良场景识别'."\n" - ."\n" - .'- logo:图片Logo识别'."\n" - ."\n" - .'> 支持多场景(scenes)一起检测。例如`scenes=[“porn”, “terrorism”]`,即对一张图片同时进行鉴黄和涉恐识别,此时也会按照两个场景计费。', - 'type' => 'string', - 'required' => false, - 'example' => 'porn', - ], + 'items' => ['description' => '指定图片检测的应用场景,可选值包括:'."\n" + ."\n" + .'- porn:图片智能鉴黄'."\n" + ."\n" + .'- terrorism:图片敏感内容识别、图片风险人物识别'."\n" + ."\n" + .'- ad:图片垃圾广告识别'."\n" + ."\n" + .'- live:图片不良场景识别'."\n" + ."\n" + .'- logo:图片Logo识别'."\n" + ."\n" + .'> 支持多场景(scenes)一起检测。例如`scenes=[“porn”, “terrorism”]`,即对一张图片同时进行鉴黄和涉恐识别,此时也会按照两个场景计费。', 'type' => 'string', 'required' => false, 'example' => 'porn'], 'required' => true, 'example' => 'porn', 'maxItems' => 6, @@ -141,11 +91,7 @@ 'description' => '1', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '69B41AE8-1234-1234-1234-12D395695D2D', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '69B41AE8-1234-1234-1234-12D395695D2D'], 'Data' => [ 'description' => '返回的结果数据内容。', 'type' => 'object', @@ -157,16 +103,8 @@ 'description' => '1', 'type' => 'object', 'properties' => [ - 'ImageURL' => [ - 'description' => '图像URL地址。', - 'type' => 'string', - 'example' => 'http://xxx.xxx.xxx/xxx.jpg', - ], - 'DataId' => [ - 'description' => '数据ID。', - 'type' => 'string', - 'example' => 'uuid-xxxx-xxx-1234', - ], + 'ImageURL' => ['description' => '图像URL地址。', 'type' => 'string', 'example' => 'http://xxx.xxx.xxx/xxx.jpg'], + 'DataId' => ['description' => '数据ID。', 'type' => 'string', 'example' => 'uuid-xxxx-xxx-1234'], 'SubResults' => [ 'description' => '单张图片的检测结果。', 'type' => 'array', @@ -183,12 +121,7 @@ 'description' => '1', 'type' => 'object', 'properties' => [ - 'Width' => [ - 'description' => '人脸区域宽度。', - 'type' => 'number', - 'format' => 'float', - 'example' => '97', - ], + 'Width' => ['description' => '人脸区域宽度。', 'type' => 'number', 'format' => 'float', 'example' => '97'], 'Faces' => [ 'description' => '识别出的人脸信息。', 'type' => 'array', @@ -196,43 +129,15 @@ 'description' => '1', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '相似人物的名称。', - 'type' => 'string', - 'example' => 'abc', - ], - 'Id' => [ - 'description' => '人脸ID。', - 'type' => 'string', - 'example' => 'AliFace_0001234', - ], - 'Rate' => [ - 'description' => '相似概率。', - 'type' => 'number', - 'format' => 'float', - 'example' => '91.54', - ], + 'Name' => ['description' => '相似人物的名称。', 'type' => 'string', 'example' => 'abc'], + 'Id' => ['description' => '人脸ID。', 'type' => 'string', 'example' => 'AliFace_0001234'], + 'Rate' => ['description' => '相似概率。', 'type' => 'number', 'format' => 'float', 'example' => '91.54'], ], ], ], - 'Height' => [ - 'description' => '人脸区域高度。', - 'type' => 'number', - 'format' => 'float', - 'example' => '131', - ], - 'Y' => [ - 'description' => '以图片左上角为坐标原点,人脸区域左上角到x轴距离。', - 'type' => 'number', - 'format' => 'float', - 'example' => '39', - ], - 'X' => [ - 'description' => '以图片左上角为坐标原点,人脸区域左上角到y轴距离。', - 'type' => 'number', - 'format' => 'float', - 'example' => '49', - ], + 'Height' => ['description' => '人脸区域高度。', 'type' => 'number', 'format' => 'float', 'example' => '131'], + 'Y' => ['description' => '以图片左上角为坐标原点,人脸区域左上角到x轴距离。', 'type' => 'number', 'format' => 'float', 'example' => '39'], + 'X' => ['description' => '以图片左上角为坐标原点,人脸区域左上角到y轴距离。', 'type' => 'number', 'format' => 'float', 'example' => '49'], ], ], ], @@ -245,25 +150,17 @@ 'description' => '1', 'type' => 'object', 'properties' => [ - 'Context' => [ - 'description' => '图片中文字命中的风险关键词内容。', - 'type' => 'string', - 'example' => 'abc', - ], + 'Context' => ['description' => '图片中文字命中的风险关键词内容。', 'type' => 'string', 'example' => 'abc'], ], ], ], - 'Suggestion' => [ - 'description' => '建议您执行的操作。'."\n" - ."\n" - .'- pass:图片正常,无需进行其余操作;或者未识别出目标对象。'."\n" - ."\n" - .'- review:检测结果不确定,需要进行人工审核;或者未识别出目标对象。'."\n" - ."\n" - .'- block:图片违规,建议执行进一步操作(如直接删除或做限制处理)。', - 'type' => 'string', - 'example' => 'block', - ], + 'Suggestion' => ['description' => '建议您执行的操作。'."\n" + ."\n" + .'- pass:图片正常,无需进行其余操作;或者未识别出目标对象。'."\n" + ."\n" + .'- review:检测结果不确定,需要进行人工审核;或者未识别出目标对象。'."\n" + ."\n" + .'- block:图片违规,建议执行进一步操作(如直接删除或做限制处理)。', 'type' => 'string', 'example' => 'block'], 'ProgramCodeDataList' => [ 'description' => '图片中含有小程序码时,返回小程序码的位置信息。'."\n" ."\n" @@ -273,41 +170,17 @@ 'description' => '1', 'type' => 'object', 'properties' => [ - 'Width' => [ - 'description' => '小程序码区域宽度。', - 'type' => 'number', - 'format' => 'float', - 'example' => '402.0', - ], - 'Height' => [ - 'description' => '小程序码区域高度。', - 'type' => 'number', - 'format' => 'float', - 'example' => '413.0', - ], - 'Y' => [ - 'description' => '以图片左上角为坐标原点,小程序码区域左上角到x轴距离。', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.0', - ], - 'X' => [ - 'description' => '以图片左上角为坐标原点,小程序码区域左上角到y轴距离。', - 'type' => 'number', - 'format' => 'float', - 'example' => '11.0', - ], + 'Width' => ['description' => '小程序码区域宽度。', 'type' => 'number', 'format' => 'float', 'example' => '402.0'], + 'Height' => ['description' => '小程序码区域高度。', 'type' => 'number', 'format' => 'float', 'example' => '413.0'], + 'Y' => ['description' => '以图片左上角为坐标原点,小程序码区域左上角到x轴距离。', 'type' => 'number', 'format' => 'float', 'example' => '0.0'], + 'X' => ['description' => '以图片左上角为坐标原点,小程序码区域左上角到y轴距离。', 'type' => 'number', 'format' => 'float', 'example' => '11.0'], ], ], ], 'OCRDataList' => [ 'description' => '1', 'type' => 'array', - 'items' => [ - 'description' => '识别到的图片中的完整文字信息。', - 'type' => 'string', - 'example' => 'abc', - ], + 'items' => ['description' => '识别到的图片中的完整文字信息。', 'type' => 'string', 'example' => 'abc'], ], 'Frames' => [ 'description' => '如果待检测图片因为过长被截断,该参数返回截断后的每一帧图像的临时访问地址供您参考。', @@ -316,17 +189,8 @@ 'description' => '1', 'type' => 'object', 'properties' => [ - 'URL' => [ - 'description' => '被截断的图片的临时访问URL,地址有效期是5分钟。', - 'type' => 'string', - 'example' => 'http://xxx.xxx.com/xxx-0.jpg', - ], - 'Rate' => [ - 'description' => '结果为该分类的概率,取值范围为0~100。值越高,表示越有可能属于该分类。', - 'type' => 'number', - 'format' => 'float', - 'example' => '89.85', - ], + 'URL' => ['description' => '被截断的图片的临时访问URL,地址有效期是5分钟。', 'type' => 'string', 'example' => 'http://xxx.xxx.com/xxx-0.jpg'], + 'Rate' => ['description' => '结果为该分类的概率,取值范围为0~100。值越高,表示越有可能属于该分类。', 'type' => 'number', 'format' => 'float', 'example' => '89.85'], ], ], ], @@ -339,67 +203,22 @@ 'description' => '1', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '识别出的logo类型,取值为TV(台标)。', - 'type' => 'string', - 'example' => 'TV', - ], - 'Width' => [ - 'description' => 'Logo区域宽度。', - 'type' => 'number', - 'format' => 'float', - 'example' => '106', - ], - 'Height' => [ - 'description' => 'Logo区域高度。', - 'type' => 'number', - 'format' => 'float', - 'example' => '106', - ], - 'Y' => [ - 'description' => '以图片左上角为坐标原点,Logo区域左上角到x轴距离。', - 'type' => 'number', - 'format' => 'float', - 'example' => '68', - ], - 'Name' => [ - 'description' => '识别出的Logo名称。', - 'type' => 'string', - 'example' => 'abc', - ], - 'X' => [ - 'description' => '以图片左上角为坐标原点,Logo区域左上角到y轴距离。', - 'type' => 'number', - 'format' => 'float', - 'example' => '140', - ], + 'Type' => ['description' => '识别出的logo类型,取值为TV(台标)。', 'type' => 'string', 'example' => 'TV'], + 'Width' => ['description' => 'Logo区域宽度。', 'type' => 'number', 'format' => 'float', 'example' => '106'], + 'Height' => ['description' => 'Logo区域高度。', 'type' => 'number', 'format' => 'float', 'example' => '106'], + 'Y' => ['description' => '以图片左上角为坐标原点,Logo区域左上角到x轴距离。', 'type' => 'number', 'format' => 'float', 'example' => '68'], + 'Name' => ['description' => '识别出的Logo名称。', 'type' => 'string', 'example' => 'abc'], + 'X' => ['description' => '以图片左上角为坐标原点,Logo区域左上角到y轴距离。', 'type' => 'number', 'format' => 'float', 'example' => '140'], ], ], ], - 'Label' => [ - 'description' => '检测结果的分类,与具体的scene对应。取值范围参见scene和label对应关系说明。', - 'type' => 'string', - 'example' => 'normal', - ], - 'Scene' => [ - 'description' => '图片检测场景,和调用请求中的场景(scenes)对应。', - 'type' => 'string', - 'example' => 'ad', - ], - 'Rate' => [ - 'description' => '结果为该分类的概率,取值范围为0~100。值越高,表示越有可能属于该分类。', - 'type' => 'number', - 'format' => 'float', - 'example' => '99.91', - ], + 'Label' => ['description' => '检测结果的分类,与具体的scene对应。取值范围参见scene和label对应关系说明。', 'type' => 'string', 'example' => 'normal'], + 'Scene' => ['description' => '图片检测场景,和调用请求中的场景(scenes)对应。', 'type' => 'string', 'example' => 'ad'], + 'Rate' => ['description' => '结果为该分类的概率,取值范围为0~100。值越高,表示越有可能属于该分类。', 'type' => 'number', 'format' => 'float', 'example' => '99.91'], ], ], ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'img4wlJcb7p4wH4lAP3111111-123456', - ], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'img4wlJcb7p4wH4lAP3111111-123456'], ], ], ], @@ -491,15 +310,11 @@ .'## 安全声明'."\n" .'- 请确保上传的图片或文件来源符合相应的法律法规。'."\n" .'- 通过体验调试上传的临时文件有效期为1小时,在24小时后会被系统自动清理删除。', + 'changeSet' => [], ], 'ScanText' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -519,17 +334,13 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Content' => [ - 'description' => '指定检测的对象,JSON数组中的每个元素是一个文字检测任务结构体。'."\n" - ."\n" - .'> - N个Task会折算为N次调用进行计费。'."\n" - .'- 算法识别效果问题请通过钉钉群(23109592)加入阿里云视觉智能开放平台咨询群联系我们。', - 'type' => 'string', - 'required' => true, - 'example' => '维修管道,联系weixin', - ], + 'Content' => ['description' => '指定检测的对象,JSON数组中的每个元素是一个文字检测任务结构体。'."\n" + ."\n" + .'> - N个Task会折算为N次调用进行计费。'."\n" + .'- 算法识别效果问题请通过钉钉群(23109592)加入阿里云视觉智能开放平台咨询群联系我们。', 'type' => 'string', 'required' => true, 'example' => '维修管道,联系weixin'], ], 'required' => false, + 'description' => '', ], 'required' => true, 'maxItems' => 10, @@ -545,30 +356,26 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Label' => [ - 'description' => '指定文本检测的应用场景,可选值包括:'."\n" - ."\n" - .'- spam:文字垃圾内容识别'."\n" - ."\n" - .'- politics:文字敏感内容识别'."\n" - ."\n" - .'- abuse:文字辱骂内容识别'."\n" - ."\n" - .'- terrorism:文字暴恐内容识别'."\n" - ."\n" - .'- porn:文字鉴黄内容识别'."\n" - ."\n" - .'- flood:文字灌水内容识别'."\n" - ."\n" - .'- contraband:文字违禁内容识别'."\n" - ."\n" - .'- ad:文字广告内容识别', - 'type' => 'string', - 'required' => true, - 'example' => 'ad', - ], + 'Label' => ['description' => '指定文本检测的应用场景,可选值包括:'."\n" + ."\n" + .'- spam:文字垃圾内容识别'."\n" + ."\n" + .'- politics:文字敏感内容识别'."\n" + ."\n" + .'- abuse:文字辱骂内容识别'."\n" + ."\n" + .'- terrorism:文字暴恐内容识别'."\n" + ."\n" + .'- porn:文字鉴黄内容识别'."\n" + ."\n" + .'- flood:文字灌水内容识别'."\n" + ."\n" + .'- contraband:文字违禁内容识别'."\n" + ."\n" + .'- ad:文字广告内容识别', 'type' => 'string', 'required' => true, 'example' => 'ad'], ], 'required' => false, + 'description' => '', ], 'required' => true, 'maxItems' => 10, @@ -580,11 +387,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C7CD87E3-57A5-4E2F-8A44-809F3554692C', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C7CD87E3-57A5-4E2F-8A44-809F3554692C'], 'Data' => [ 'description' => '返回的结果数据内容。', 'type' => 'object', @@ -595,76 +398,56 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'txt6Vh5Fv0DAFy5hgdVRt3pqf-1s82jj', - ], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'txt6Vh5Fv0DAFy5hgdVRt3pqf-1s82jj'], 'Results' => [ 'description' => '检测结果。如果返回为空,表示系统识别命中了其他Label,扩大Label重新发起请求。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Suggestion' => [ - 'description' => '建议您执行的操作,取值包括:'."\n" - ."\n" - .'- pass:文本正常。'."\n" - ."\n" - .'- review:需要人工审核。'."\n" - ."\n" - .'- block:文本违规,可以直接删除或者做限制处理。', - 'type' => 'string', - 'example' => 'block', - ], - 'Label' => [ - 'description' => '检测结果的分类。', - 'type' => 'string', - 'example' => 'ad', - ], - 'Rate' => [ - 'description' => '结果为该分类的概率,取值范围为`[0.00-100.00]`。值越高,表示越有可能属于该分类。', - 'type' => 'number', - 'format' => 'float', - 'example' => '99.91', - ], + 'Suggestion' => ['description' => '建议您执行的操作,取值包括:'."\n" + ."\n" + .'- pass:文本正常。'."\n" + ."\n" + .'- review:需要人工审核。'."\n" + ."\n" + .'- block:文本违规,可以直接删除或者做限制处理。', 'type' => 'string', 'example' => 'block'], + 'Label' => ['description' => '检测结果的分类。', 'type' => 'string', 'example' => 'ad'], + 'Rate' => ['description' => '结果为该分类的概率,取值范围为`[0.00-100.00]`。值越高,表示越有可能属于该分类。', 'type' => 'number', 'format' => 'float', 'example' => '99.91'], 'Details' => [ 'description' => '文本的检测结果。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Label' => [ - 'description' => '命中风险文本的分类。', - 'type' => 'string', - 'example' => 'ad', - ], + 'Label' => ['description' => '命中风险文本的分类。', 'type' => 'string', 'example' => 'ad'], 'Contexts' => [ 'description' => '命中该风险的信息。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Context' => [ - 'description' => '检测文本命中的风险内容。', - 'type' => 'string', - 'example' => '联系weixin', - ], + 'Context' => ['description' => '检测文本命中的风险内容。', 'type' => 'string', 'example' => '联系weixin'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], ], ], + 'description' => '', ], ], ], @@ -728,12 +511,92 @@ .'## 安全声明'."\n" .'- 请确保上传的图片或文件来源符合相应的法律法规。'."\n" .'- 通过体验调试上传的临时文件有效期为1小时,在24小时后会被系统自动清理删除。', + 'changeSet' => [], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'imageaudit.cn-shanghai.aliyuncs.com', - ], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'imageaudit.cn-shanghai.aliyuncs.com', 'endpoint' => 'imageaudit.cn-shanghai.aliyuncs.com', 'vpc' => 'imageaudit-vpc.cn-shanghai.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'AuthFailed', 'message' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'http_code' => 403, 'description' => '授权失败,请检查RAM权限配置'], + ['code' => 'ClientError.IllegalArgument', 'message' => '请检查参数,如参数值所代表的数据库是否存在', 'http_code' => 400, 'description' => '请检查参数,如参数值所代表的数据库是否存在'], + ['code' => 'EntityNotExist.Role', 'message' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm', 'http_code' => 403, 'description' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm'], + ['code' => 'IllegalUrlParameter', 'message' => 'Url不合法,请检查url能否正常打开', 'http_code' => 400, 'description' => 'Url不合法,请检查url能否正常打开 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html '], + ['code' => 'InternalError', 'message' => 'An error occurred to the algorithm service', 'http_code' => 500, 'description' => '算法服务报错,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。 '], + ['code' => 'InternalError.Algo', 'message' => 'An algorithm error occurred.', 'http_code' => 586, 'description' => '算法服务报错,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。 '], + ['code' => 'InternalError.Busy', 'message' => 'Server busy.', 'http_code' => 500, 'description' => '后台服务忙,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], + ['code' => 'InternalError.Cache', 'message' => 'cache error', 'http_code' => 585, 'description' => '缓存出错。建议重试。如有影响业务,请通过钉钉群(23109592)联系我们。'], + ['code' => 'InternalError.ConnectPool', 'message' => 'connect pool error', 'http_code' => 591, 'description' => '连接池满。如有影响业务,请通过钉钉群(23109592)联系我们。'], + ['code' => 'InternalError.DB', 'message' => 'database error', 'http_code' => 580, 'description' => '数据库操作失败。如有影响业务,请通过钉钉群(23109592)联系我们。'], + ['code' => 'InternalError.Decode', 'message' => 'Failed to decode the image.', 'http_code' => 500, 'description' => '图像解码失败,请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], + ['code' => 'InternalError.Env', 'message' => 'Failed to initilize the environment.', 'http_code' => 500, 'description' => '初始化环境失败。请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], + ['code' => 'InternalError.Frame', 'message' => 'frame error', 'http_code' => 595, 'description' => '截帧失败。如有影响业务,请通过钉钉群(23109592)联系我们。'], + ['code' => 'InternalError.MiddleWare', 'message' => 'middleware error', 'http_code' => 587, 'description' => '中间件出错。如有影响业务,请通过钉钉群(23109592)联系我们。'], + ['code' => 'InternalError.Model', 'message' => 'Failed to load the model.', 'http_code' => 500, 'description' => '模型加载错误,请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], + ['code' => 'InternalError.Process', 'message' => 'An error occurred during inference.', 'http_code' => 500, 'description' => '推理过程异常,请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], + ['code' => 'InternalError.Remote', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '远程服务不可用,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], + ['code' => 'InternalError.Server', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '系统内部错误,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], + ['code' => 'InternalError.Timeout', 'message' => 'The request has timed out.', 'http_code' => 581, 'description' => '算法服务报错,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。 '], + ['code' => 'InternalServerError', 'message' => 'A server error occurred while processing your request.', 'http_code' => 500, 'description' => '系统内部错误,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], + ['code' => 'InvalidAccessKeyId.Inactive', 'message' => 'The AccessKey ID is invalid.', 'http_code' => 400, 'description' => 'AccessKeyId非法,请检查AccessKeyId是否被禁用,或者AccessKeyId和AccessKeySecret是否填写正确。请参考文档:https://help.aliyun.com/document\\_detail/175144.html,进入控制台,将对应的AccessKey启用。 '], + ['code' => 'InvalidAccessKeyId.NotFound', 'message' => 'AccessKeyId未找到,请检查AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => 'AccessKeyId未找到,请检查AccessKeyId和AccessKeySecret是否填写正确。请参考文档:https://help.aliyun.com/document\\_detail/175144.html,进入控制台,找到对应的AccessKeyId和AccessKeySecret。如果AccessKeySecret未保存,主账号可以通过查看Secret找回,子账号无法找回,可以新建一个AccessKey。 '], + ['code' => 'InvalidAccessKeySecret', 'message' => 'AccessKeyId或AccessKeySecret填写错误,请检查AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => 'AccessKeyId或AccessKeySecret填写错误,请检查AccessKeyId和AccessKeySecret是否填写正确。请参考文档:https://help.aliyun.com/document\\_detail/175144.html,进入控制台,找到对应的AccessKeyId和AccessKeySecret。如果AccessKeySecret未保存,主账号可以通过查看Secret找回,子账号无法找回,可以新建一个AccessKey。 '], + ['code' => 'InvalidAction.NotFound', 'message' => '能力未找到,请检查类目与能力是否匹配,检查访问域名与能力是否匹配,关于访问域名可参考:https://help.aliyun.com/document_detail/143103.htm。SDK接入请参考:https://help.aliyun.com/document_detail/145033.html,选择合适编程语言根据实例代码作相关修改进行接入。', 'http_code' => 400, 'description' => '能力未找到,请检查类目与能力是否匹配,检查访问域名与能力是否匹配,关于访问域名可参考:https://help.aliyun.com/document_detail/143103.htm。SDK接入请参考:https://help.aliyun.com/document_detail/145033.html,选择合适编程语言根据实例代码作相关修改进行接入。'], + ['code' => 'InvalidApi.ForbiddenInvoke', 'message' => '调用受限,请检查您调用的能力是否为受限能力,受限能力需要在控制台https://vision.console.aliyun.com/找到相应能力申请经过审批之后才能调用。如非上述情况,请检查账号是否欠费', 'http_code' => 400, 'description' => '调用受限,请检查您调用的能力是否为受限能力,受限能力需要在控制台https://vision.console.aliyun.com/找到相应能力申请经过审批之后才能调用。如非上述情况,请检查账号是否欠费'], + ['code' => 'InvalidApi.NotPurchase', 'message' => 'specified api is not purchase', 'http_code' => 403, 'description' => '产品未开通,请开通产品:https://common-buy.aliyun.com/?commodityCode=viapi\\_imageaudit\\_public\\_cn#/open '], + ['code' => 'InvalidApi.OutOfService', 'message' => '产品未开通,请开通产品:https://common-buy.aliyun.com/?commodityCode=viapi_imageaudit_public_cn#/open', 'http_code' => 400, 'description' => '产品未开通,请开通产品:https://common-buy.aliyun.com/?commodityCode=viapi_imageaudit_public_cn#/open'], + ['code' => 'InvalidFile.Content', 'message' => '请参考算法文档检查文件内容,更换包含符合算法要求的', 'http_code' => 400, 'description' => '请参考算法文档检查文件内容,更换包含符合算法要求的'], + ['code' => 'InvalidFile.Decode', 'message' => '请检查文件是否能够正常打开', 'http_code' => 400, 'description' => '请检查文件是否能够正常打开'], + ['code' => 'InvalidFile.Download', 'message' => '文件无法下载,请检查链接是否可访问和本地网络情况 - 非上海OSS文件链接请参考:https://help.aliyun.com/document_detail/155645.html', 'http_code' => 400, 'description' => '文件无法下载,请检查链接是否可访问和本地网络情况 - 非上海OSS文件链接请参考:https://help.aliyun.com/document_detail/155645.html'], + ['code' => 'InvalidFile.REGION', 'message' => '文件链接地域不对,非上海OSS文件链接请参考:https://help.aliyun.com/document_detail/155645.html', 'http_code' => 400, 'description' => '文件链接地域不对,非上海OSS文件链接请参考:https://help.aliyun.com/document_detail/155645.html'], + ['code' => 'InvalidFile.Resolution', 'message' => '文件分辨率超出限制,请检查文件分辨率和内容,修改文件分辨率后重试', 'http_code' => 400, 'description' => '文件分辨率超出限制,请检查文件分辨率和内容,修改文件分辨率后重试'], + ['code' => 'InvalidFile.Type', 'message' => '文件类型错误,请检查文件类型 - 请参考算法API文档,使用算法支持的文件类型', 'http_code' => 400, 'description' => '文件类型错误,请检查文件类型 - 请参考算法API文档,使用算法支持的文件类型。阿里云视觉智能开放平台能够读取文件并获取真实的文件类型,不是通过文件后缀名进行类型判断,只看文件后缀名是无效的,关于更多文件类型判断和处理信息可参考:https://help.aliyun.com/document_detail/470250.html'], + ['code' => 'InvalidFile.Unsafe', 'message' => 'Risky file URL.', 'http_code' => 400, 'description' => '不安全的文件链接,请确保上传的图片或文件来源符合相应的法律法规。'], + ['code' => 'InvalidFile.URL', 'message' => '文件无法下载,请检查链接是否可访问和本地网络情况 - 非上海OSS文件链接请参考:https://help.aliyun.com/document_detail/155645.html', 'http_code' => 400, 'description' => '文件无法下载,请检查链接是否可访问和本地网络情况 - 非上海OSS文件链接请参考:https://help.aliyun.com/document_detail/155645.html'], + ['code' => 'InvalidImage.Content', 'message' => '请参考算法文档检查图片内容,更换包含符合算法要求的', 'http_code' => 400, 'description' => '请参考算法文档检查图片内容,更换包含符合算法要求的'], + ['code' => 'InvalidImage.Decode', 'message' => '请检查图片是否能够正常打开', 'http_code' => 400, 'description' => '请检查图片是否能够正常打开'], + ['code' => 'InvalidImage.Download', 'message' => '图片无法下载,请检查链接是否可访问和本地网络情况 - 非上海OSS图片链接请参考:https://help.aliyun.com/document_detail/155645.html', 'http_code' => 400, 'description' => '图片无法下载,请检查链接是否可访问和本地网络情况 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html。URL中不支持空格和中文字符,如包含请通过urlEncode编码之后再传入。请检查OSS链接是否过期等。 '], + ['code' => 'InvalidImage.NotFound', 'message' => 'The image is not found. Make sure that it is accessible over the Internet.', 'http_code' => 404, 'description' => '待检测内容未找到,通常是由于您的图片/视频/语音内容无法下载导致,请确认内容可通过公网访问到。'], + ['code' => 'InvalidImage.NotFoundFace', 'message' => '图像中没找到人脸,请检查您的图像中是否包含人脸或人脸太小', 'http_code' => 400, 'description' => '图像中没找到人脸,请检查您的图像中是否包含人脸或人脸太小'], + ['code' => 'InvalidImage.REGION', 'message' => '图片链接地域不对,非上海OSS图片链接请参考:https://help.aliyun.com/document_detail/155645.html', 'http_code' => 400, 'description' => '图片链接地域不对,非上海OSS图片链接请参考:https://help.aliyun.com/document_detail/155645.html'], + ['code' => 'InvalidImage.Resolution', 'message' => '文件分辨率超出限制,请检查文件分辨率和内容,修改文件分辨率后重试', 'http_code' => 400, 'description' => '文件分辨率超出限制,请检查文件分辨率和内容,修改文件分辨率后重试'], + ['code' => 'InvalidImage.Restriction', 'message' => 'The file size or resolution of the image is invalid.', 'http_code' => 480, 'description' => '下载失败,请确认待检测内容的大小或分辨率在API的限制范围内。'], + ['code' => 'InvalidImage.Timeout', 'message' => 'Failed to download the file due to timeout.', 'http_code' => 400, 'description' => '图片下载超时,请检查链接是否可访问和本地网络情况 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html。请检查OSS链接是否过期等。 '], + ['code' => 'InvalidImage.Type', 'message' => '图片类型错误,请检查图片类型 - 请参考算法API文档,使用算法支持的图片类型', 'http_code' => 400, 'description' => '图片类型错误,请检查图片类型 - 请参考算法API文档,使用算法支持的图片类型'], + ['code' => 'InvalidImage.Unaccessable', 'message' => 'Image is unaccessable.', 'http_code' => 403, 'description' => '请求访问失败,通常是由于您的图片/视频/语音链接无法访问导致,请确认公网是否可以访问,并且无防盗链策略。'], + ['code' => 'InvalidImage.Unsafe', 'message' => 'Risky file URL.', 'http_code' => 400, 'description' => '请求失败,通常是由于使用了不安全的图片/视频/语音链接地址,请确保上传的图片或文件来源符合相应的法律法规。'], + ['code' => 'InvalidImage.URL', 'message' => '图片链接非法,请检查图片链接是否可访问 - 非上海OSS图片链接请参考:https://help.aliyun.com/document_detail/155645.html', 'http_code' => 400, 'description' => '图片链接非法,请检查图片链接是否可访问 - 非上海OSS图片链接请参考:https://help.aliyun.com/document_detail/155645.html'], + ['code' => 'InvalidImageType', 'message' => 'Invalid image type.', 'http_code' => 400, 'description' => '无效的图片类型。请参考调用能力的文档输入文档中支持的图片类型。'], + ['code' => 'InvalidParameter', 'message' => 'Invalid parameter value.', 'http_code' => 400, 'description' => '参数错误,请根据算法API文档和报错Message检查参数值。是否参数值前后多了空格或者其他特殊字符等。'], + ['code' => 'InvalidParameter.BadRequest', 'message' => 'The request parameter or the data has an error.', 'http_code' => 400, 'description' => '参数错误,请根据算法API文档和报错Message检查参数值。是否参数值前后多了空格或者其他特殊字符等。'], + ['code' => 'InvalidParameter.Format', 'message' => 'Invalid parameter format.', 'http_code' => 400, 'description' => '待检测内容格式错误,请确保待检测的内容在API的限制范围内。'], + ['code' => 'InvalidParameter.NotFound', 'message' => 'Invalid parameter value.', 'http_code' => 400, 'description' => '参数错误,请根据算法API文档和报错Message检查参数值。是否参数值前后多了空格或者其他特殊字符等。'], + ['code' => 'InvalidParameter.TooLarge', 'message' => 'The file size exceeds the limit.', 'http_code' => 400, 'description' => '参数错误,文件大小超出限制,请参考算法API文档调整文件大小'], + ['code' => 'InvalidRamRole', 'message' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm', 'http_code' => 403, 'description' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm'], + ['code' => 'InvalidResult', 'message' => '参数错误,请参考文档检查参数值,检查文件内容。请检查是否图片内容不完整或者太模糊等。', 'http_code' => 400, 'description' => '参数错误,请参考文档检查参数值,检查文件内容。请检查是否图片内容不完整或者太模糊等。'], + ['code' => 'InvalidSide', 'message' => 'Specified parameter Side is not valid. 请参考文档填写正确的Side参数', 'http_code' => 400, 'description' => 'Specified parameter Side is not valid. 请参考文档填写正确的Side参数'], + ['code' => 'InvalidTask.N.ImageTimeMillisecond', 'message' => 'Invalid task value.', 'http_code' => 400, 'description' => '参数Task.N.ImageTimeMillisecond取值无效。'], + ['code' => 'InvalidTimeStamp.Expired', 'message' => '时间戳过期,请更新时间戳', 'http_code' => 400, 'description' => '时间戳过期,请更新时间戳。可以参考https://help.aliyun.com/document\\_detail/144904.html文档计算请求签名。如果您的语言比较常用,推荐使用SDK进行调用,详情可参考:https://help.aliyun.com/document\\_detail/145033.html '], + ['code' => 'InvalidVersion', 'message' => 'Specified parameter Version is not valid', 'http_code' => 400, 'description' => '版本未找到,请检查SDK版本是否匹配,检查版本与类目和能力是否匹配,关于SDK版本可参考:https://help.aliyun.com/document_detail/145033.html'], + ['code' => 'MissingAccessKeyId', 'message' => 'AccessKeyId未填写,请检查AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => 'AccessKeyId未填写,请检查AccessKeyId和AccessKeySecret是否填写正确。'], + ['code' => 'MissingFileURL', 'message' => 'FileURL is required for this operation.', 'http_code' => 400, 'description' => '缺少文件参数FileURL,该参数为文件URL地址,文件输入推荐使用华东2(上海)区域的OSS链接-非上海OSS文件链接请参考:'."\n" + .'https://help.aliyun.com/document_detail/155645.html'], + ['code' => 'MissingImageURL', 'message' => 'ImageURL is required for this operation.', 'http_code' => 400, 'description' => '缺少图像参数ImageURL,该参数为图片URL地址,文件输入推荐使用华东2(上海)区域的OSS链接-非上海OSS文件链接请参考:'."\n" + .'https://help.aliyun.com/document_detail/155645.html'], + ['code' => 'MissingLimit', 'message' => 'Limit is required for this operation', 'http_code' => 400, 'description' => '缺少Limit参数,该参数是接口必填参数。推荐使用对应类目的SDK进行调用:https://help.aliyun.com/document_detail/145033.html'], + ['code' => 'MissingParameter', 'message' => 'A required parameter is not specified.', 'http_code' => 400, 'description' => '参数缺失,请参考文档检查参数值'], + ['code' => 'MissingScene', 'message' => 'Scene is required for this operation.', 'http_code' => 400, 'description' => '缺少Scene参数信息。Scene参数是接口必填参数需严格按照接口入参进行调用。'], + ['code' => 'MissingTasks', 'message' => 'Tasks is required for this operation.', 'http_code' => 400, 'description' => '缺少Tasks参数,该参数是接口必填参数。推荐使用对应类目的SDK进行调用:https://help.aliyun.com/document_detail/145033.html'], + ['code' => 'ParameterError', 'message' => 'The parameter is invalid. Please check again.', 'http_code' => 400, 'description' => '参数错误,请检查参数值'], + ['code' => 'RamRoleAuth', 'message' => 'Failed to authenticate the RAM user.', 'http_code' => 403, 'description' => '请先给角色授权。具体授权操作,操作流程可参考https://help.aliyun.com/document_detail/145025.htm。'], + ['code' => 'ServiceUnavailable', 'message' => 'The service is unavailable.', 'http_code' => 503, 'description' => '算法服务报错,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。 '], + ['code' => 'SignatureDoesNotMatch', 'message' => '签名不正确,请重新计算签名。关于签名可参考文档:https://help.aliyun.com/document_detail/144904.html', 'http_code' => 400, 'description' => '签名不正确,请重新计算签名。可以参考https://help.aliyun.com/document\\_detail/144904.html文档计算请求签名。如果您的语言比较常用,推荐使用SDK进行调用,详情可参考:https://help.aliyun.com/document\\_detail/145033.html '], + ['code' => 'SignatureNonceUsed', 'message' => '签名已经被使用过,请重新计算签名。关于签名可参考文档:https://help.aliyun.com/document_detail/144904.html', 'http_code' => 400, 'description' => '签名已经被使用过,请重新计算签名。可以参考https://help.aliyun.com/document\\_detail/144904.html文档计算请求签名。如果您的语言比较常用,推荐使用SDK进行调用,详情可参考:https://help.aliyun.com/document\\_detail/145033.html '], + ['code' => 'Throttling', 'message' => 'The request was denied due to QPS limits.', 'http_code' => 400, 'description' => '调用被限流,请稍后再调用,或者购买QPS提升调用限制。关于QPS限制提升流程和处理请参考:https://help.aliyun.com/document_detail/604963.html。如果因业务需求需要更多QPS可通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群与平台取得联系。'], + ['code' => 'Throttling.User', 'message' => 'The request was denied due to QPS limits.', 'http_code' => 400, 'description' => '调用被限流,请稍后再调用,或者购买QPS提升调用限制。关于QPS限制提升流程和处理请参考:https://help.aliyun.com/document_detail/604963.html。如果因业务需求需要更多QPS可通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群与平台取得联系。'], + ['code' => 'Timeout', 'message' => 'The request has timed out.', 'http_code' => 408, 'description' => '请求超时,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], + ['code' => 'Unauthorized', 'message' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm', 'http_code' => 400, 'description' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm'], + ['code' => 'UnsupportedHTTPMethod', 'message' => 'The HTTP request method is not supported.', 'http_code' => 403, 'description' => 'HTTP请求方法不支持。建议查看各个产品的API调用方式文档。'], ], + 'changeSet' => [], ]; |
