检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
client.RunTextModeration(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode);
CheckImageModeration(req); var respStatusCode = resp.HttpStatusCode; Console.WriteLine(respStatusCode);
例如,服务部署在“华北-北京四”区域的“endpoint”为“moderation.cn-north-4.myhuaweicloud.com”,请求URL为“https://moderation.cn-north-4.myhuaweicloud.com/v3/{project_id}/moderatio
import java.util.ArrayList; public class RunCreateVideoStreamModerationJobSolution { public static void main(String[] args) { // 认证
com”,请求URL为“https://moderation.cn-north-4.myhuaweicloud.com/v2/{project_id}/moderation/text”,“project_id”为项目ID,获取方法请参见获取项目ID。 POST https://{endp
import java.util.ArrayList; public class RunCreateVideoModerationJobSolution { public static void main(String[] args) { // 认证
$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替换成服务所在的区域。
师为您服务。 音频流内容审核 支持“华北-北京四、华东-上海一”区域。 音频流url地址,支持rtmp、rtmps、hls、http、https等主流协议。 只支持中文音频流内容审核。 默认API调用最大并发为10(表示1秒内最多请求10次),如需调整更高并发限制请通过工单联系专业工程师为您服务。
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替换成服务所在的区域。
"terrorism" ] listTaskSumbitReqUrlsbody = [ "https://XXX.jpg" //此处替换为公网可以访问的图片地址 ] request.body = TaskSumbitReq(
projectId = process.env.HUAWEICLOUD_SDK_PROJECT_ID; const endpoint = "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。
"running", "request_params": {"event_type": "default", "data": {"url": "https://***.wav"}, "categories": ["porn"]}, "create_time": "2022-08-29T11:57:14
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替换成服务所在的区域。
sEnum().TERRORISM, } var listUrlsbody = []string{ "https://XXX.jpg", //此处替换为公网可以访问的图片地址 } request.Body = &model.TaskSumbitReq{
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替换成服务所在的区域。