检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Lack the request parameter, or the request parameter is empty. 缺少请求参数或者参数为空。 请检查请求body是否缺少必须字段,请参考对应API的请求说明。 400 AIS.0012 The request parameter
调用接口出错后,返回的消息体中具体的错误代码及错误信息为: { "error_code":"ModelArts.4204", "error_msg":"Request api error! The API is not subscribed." } 表明您还未订阅该区域下的内容审核服务,请您开通后再使用该服务,详细步骤请参考开通服务。
print(e.request_id) print(e.error_code) print(e.error_msg) 控制台输出创建音频内容审核作业的结果,创建音频内容审核结果输出到控制台。 {"request_id": "0b111c
request = RunTextModerationRequest() databody = TextDetectionDataReq( text="test" ) request.body =
status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 控制台输出创建文档内容审核作业的结果。 {"request_id": "c083957284ce1f2c0b910115d8232ec6"
.build() try: request = RunCloseVideoStreamModerationJobRequest() request.job_id = "xxxxx" response = client
4。 .build() try: request = RunQueryAudioModerationJobRequest() request.job_id = "xxx" //此处需要输入您的jobID
WithCredential(auth). Build()) request := &model.RunQueryAudioModerationJobRequest{} request.JobId = "" response, err := client
status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 控制台输出创建视频流内容审核作业的结果。 { "request_id": "fa520dddb6b54
WithCredential(auth). Build()) request := &model.RunQueryDocumentModerationJobRequest{} request.JobId = "xxxx" response, err :=
4。 .build() try: request = RunQueryDocumentModerationJobRequest() request.job_id = "xxxx" response = client
.build(); const request = new moderation.v3.RunQueryAudioModerationJobRequest(); request.jobId = "xxxxxxx"; //此处需要输入您的jobID
.build() try: request = RunCloseAudioStreamModerationJobRequest() request.job_id = "xxxxx" response = client
try: request = CheckImageModerationRequest() listCategoriesbody = [ "porn" ] request.body = ImageDetectionReq(
print(e.request_id) print(e.error_code) print(e.error_msg) 控制台输出创建视频内容审核作业的结果,创建视频内容审核结果输出到控制台。 {"request_id": "dbbcb75
status_code) print(e.request_id) print(e.error_code) print(e.error_msg) 控制台输出创建音频流内容审核作业的结果。 { "request_id": "303fbd70c9813
.build(); const request = new moderation.RunQueryDocumentModerationJobRequest(); request.jobId = "xxxx"; const result = client
body.withData(databody); request.withBody(body); const result = client.runCreateAudioStreamModerationJob(request); result.then(result => {
->withCredentials($credentials) ->build(); $request = new RunQueryAudioModerationJobRequest(); $request->setJobId("01661702400_cd06d61c16a14565995fcbfb04877bd3");
.build(); const request = new moderation.RunCloseVideoStreamModerationJobRequest(); request.jobId = "xxxxx"; const result = client