检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
不同区域的弹性云服务器不支持跨区域部署在同一负载均衡器下。 资源的价格 不同区域的资源价格可能有差异,请参见华为云服务价格详情。 如何选择可用区 是否将资源放在同一可用区内,主要取决于您对容灾能力和网络时延的要求。 如果您的应用需要较高的容灾能力,建议您将资源部署在同一区域的不同可用区内。 如果您的
音频片段结束时间。 label String 音频片段标签。可选值如下: terrorism: 暴恐 porn: 色情 ban: 违禁 abuse: 辱骂 ad: 广告 moan: 娇喘 meaningless: 无意义 audio_text String 音频片段文本内容。 segments Array
private:私密语音聊天 categories 否 Array of strings 需要检测的风险类型,列表不能为空。 风险类型如下: porn:涉黄检测 ad:广告检测 moan:娇喘检测 abuse:辱骂检测 callback 否 String 该字段非空时,检测结果会回调通知您的URL。该字段为空时,您需要定时轮询获取检测结果。
是 Array of strings 需要检测的风险类型,列表不能为空。可选择的风险类型如下: porn:涉黄检测 abuse: 辱骂检测 ad: 广告检测 moan: 娇喘检测 callback 是 String 该字段非空时,检测结果会回调通知您的URL。音频流未结束时,检测片
RunCreateAudioModerationJobRequest() listCategoriesbody = [ "ad" ] databody = AudioInputBody( url="http://xxx
Array of strings 文本审核场景,可选值如下: terrorism:暴恐。 porn:色情。 ban:违禁。 abuse: 辱骂。 ad:广告。 当categories为空时,默认为所有审核场景。 data 是 TextDetectionDataReq object 检测数据。
"data":{"url":"https://xxxx.wav"},"callback":"http://xxx","categories":["porn","ad"]},"create_time":"2022-06-20 11:05:29","update_time":"2022-06-20 11:07:08"
(); const listbodyCategories = new Array(); listbodyCategories.push("ad"); const databody = new moderation.v3.AudioStreamCreateRequestData();
RunCreateAudioStreamModerationJobRequest() listCategoriesbody = [ "ad" ] databody = AudioStreamCreateRequestData(
derationJobRequest{} var listCategoriesbody = []string{ "ad", } databody := &model.AudioStreamCreateRequestData{
"data":{"url":"https://xxxx.wav"},"callback":"http://xxx","categories":["porn","ad"]},"create_time":"2022-06-20 11:05:29","update_time":"2022-06-20 11:07:08"
"data":{"url":"https://xxxx.wav"},"callback":"http://xxx","categories":["porn","ad"]},"create_time":"2022-06-20 11:05:29","update_time":"2022-06-20 11:07:08"
st(); $listbodyCategories = array(); array_push($listbodyCategories,"ad"); $databody = new AudioStreamCreateRequestData(); $databody->setUrl("http://xxx");
listCategoriesbody = new List<string>(); listCategoriesbody.Add("ad"); AudioStreamCreateRequestData databody = new AudioStre
audio_categories 否 Array of strings 视频中音频需要检测的风险类型,不传或为空时表示不审核音频维度。 porn:涉黄检测 ad: 广告检测 moan: 娇喘检测 abuse: 辱骂检测 callback 否 String 该字段非空时,检测结果会回调通知您的URL
控制台输出200即表示程序执行成功,文本内容审核结果输出到控制台。 class RunTextModerationResponse { requestId: 308b6ad2740e51de73597da9fdc94ee1 result: class TextDetectionResult {
"block", "category": "image_text", "confidence": 0.98779297, "label": "ad"}, {"suggestion": "block", "category": "image_text", "confidence": 1
"block", "category": "image_text", "confidence": 0.98779297, "label": "ad"}, {"suggestion": "block", "category": "image_text", "confidence": 1
"block", "category": "image_text", "confidence": 0.98779297, "label": "ad"}, {"suggestion": "block", "category": "image_text", "confidence": 1
"block", "category": "image_text", "confidence": 0.98779297, "label": "ad"}, {"suggestion": "block", "category": "image_text", "confidence": 1