检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; const credentials = new
RunCloseVideoStreamModerationJob(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替换成服务所在的区域。
ABCDEFJ....”,则调用接口时将“X-Auth-Token: ABCDEFJ....”加到请求消息头即可,如下所示。 GET https://iam.cn-north-1.myhuaweicloud.com/v3/auth/projects Content-Type: application/json
例如,服务部署在“华北-北京四”区域的“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替换成服务所在的区域。
RunCreateDocumentModerationJob(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替换成服务所在的区域。
client.RunTextModeration(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替换成服务所在的区域。
getenv('HUAWEICLOUD_SDK_AK'); $sk = getenv('HUAWEICLOUD_SDK_SK'); $endpoint = "https://moderation.cn-north-4.myhuaweicloud.com";//把cn-north-4替换成服务所在的区域。
请求示例 创建音频流内容审核作业请求体 POST https://{endpoint}/v3/{project_id}/moderation/audio-stream/jobs { "data" : { "url" : "https://xxxxx" }, "event_type"
RunCreateAudioModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode); Console.WriteLine(JsonConvert
RunCreateAudioStreamModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode);
创建音频内容审核作业,事件类型为默认事件,检测的风险类型为涉黄,广告。 POST https://{endpoint}/v3/{project_id}/moderation/audio/jobs { "data" : { "url" : "https://xxxxx.wav" }, "event_type"
e.printStackTrace(); System.out.println(e.getHttpStatusCode()); System.out.println(e.getErrorCode());
RunQueryDocumentModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode); 1.1
】。 修改CLASSPATH变量,末尾增加GO的编译器路径“;%GOROOT%\lib",中间分隔符是【;】。 在vs code官网:https://code.visualstudio.com/Download ,下载安装操作系统的vs code。 安装go语言的插件Go和 Go
RunCreateVideoModerationJob(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode);
AudioInputBody databody = new AudioInputBody(); databody.withUrl("https://****.wav"); body.withCategories(listbodyCategories);