内容审核 Moderation-图像内容审核(同步批量)(V3):请求示例

时间:2025-02-12 14:58:55

请求示例

  • 使用图片的url
    POST https://{endpoint}/v3/{project_id}/moderation/image/batch{  "event_type" : "comment",  "categories" : [ "string" ],  "image_text_config" : {    "black_glossary_names" : [ "string" ],    "white_glossary_names" : [ "string" ]  },  "urls" : [ {    "url" : "http://xxxxxx.com/qweqeqeqz.jpg",    "data_id" : "1234"  } ],  "language" : "zh"}
  • 使用bizType
    POST https://{endpoint}/v3/{project_id}/moderation/image/batch{  "urls" : [ {    "url" : "http://xxxxxx.com/qweqeqeqz.jpg",    "data_id" : "1234"  } ],  "language" : "zh",  "biz_type" : "test_type"}
support.huaweicloud.com/api-moderation/moderation_03_0098.html