检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
、视频流审核、文档内容审核7个服务,其中文本审核和图像审核与V2版本的文本审核、图像审核计费一致,其余服务均为V3版本的新服务,不涉及。 如何对接内容审核(V3)版本? 在内容审核资料页,根据内容审核(V3)版本的《API参考》资料适配对接。 公告发布日期:2024年5月16日
RunQueryAudioModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode); Console
listTaskSumbitReqUrls = new List<String>(); listTaskSumbitReqUrls.Add("https://XXX.jpg"); //此处替换为公网可以访问的图片地址 req.Body = new TaskSumbitReq()
String iamEndpoint = "https://iam.cn-north-7.myhuaweicloud.com"; String endpoint = "https://moderation.cn-north-7.myhuaweicloud
client.RunCheckResult(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode);
runTextModeration(request); System.out.println(response.getHttpStatusCode()); System.out.println(JSON.toJSON(response));
Composer 是 Php 的依赖管理工具,允许您在项目中声明依赖关系并安装这些依赖: // 安装 Composer curl -sS https://getcomposer.org/installer | php // 安装 PHP SDK composer require hu
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; const credentials = new
RunCloseAudioStreamModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode);
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com";//把cn-north-4替换成服务所在的区域。
RunCloseVideoStreamModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode);
像,检测场景为涉黄,暴恐。 POST https://{endpoint}/v3/{project_id}/moderation/image { "event_type" : "head_image", "url" : "https://bucketname.obs.myhwclouds
ModerationRule = "default", Url = "https://XXX.jpg" //此处替换为公网可以访问的图片地址 }; try
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com";//把cn-north-4替换成服务所在的区域。
POST https://{endpoint}/v2/{project_id}/moderation/image/batch { "urls" : [ "https://bucketname.obs.myhwclouds.com/ObjectName1", "https://bucketname
例如,服务部署在“华北-北京四”区域的“endpoint”为“moderation.cn-north-4.myhuaweicloud.com”,请求URL为“https://moderation.cn-north-4.myhuaweicloud.com/v3/{project_id}/moderatio
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。