检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Python3语言请求代码示例 # encoding:utf-8 import requests import base64 url = "https://{endpoint}/v3/{project_id}/moderation/text" token = "用户获取得到的实际token值"
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.cn-north-4.myhuaweicloud.com";//把cn-north-4替换成服务所在的区域。
RunCreateAudioModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode); Console.WriteLine(JsonConvert
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode());
RunCreateAudioStreamModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode);
Python3语言请求代码示例 # encoding:utf-8 import requests import base64 url = "https://{endpoint}/v3/{project_id}/moderation/image" token = "用户获取得到的实际token值"
RunCreateVideoModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode);
RunQueryAudioModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode); Console
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode());
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.cn-north-4.myhuaweicloud.com";//把cn-north-4替换成服务所在的区域。
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getRequestId());
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode());
$projectId = getenv('HUAWEICLOUD_SDK_PROJECT_ID'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
关闭音频流内容审核作业 本章节对关闭音频流审核AK/SK方式使用SDK进行示例说明。 示例代码中需要配置使用RunCloseAudioStreamModerationJobRequest类的withJobId配置审核任务的id,配置完成后运行即可。 服务所在的应用区域和终端节点,详情请查看
关闭视频流内容审核作业 本章节对关闭视频流审核AK/SK方式使用SDK进行示例说明。 示例代码中需要配置使用RunCloseVideoStreamModerationJobRequest类的withJobId配置审核任务的id,配置完成后运行即可。 服务所在的应用区域和终端节点,详情请查看