查询人脸图片是否符合AIGC合成要求
字段 | 类型 | 是否必填 | 描述 |
---|---|---|---|
ScenicSpotId | string | 是 | 景区ID |
FaceContent | string | 是 | 人脸图片经过base64编码后字符串 |
无,根据ResponseMetadata.Error.Code判断人脸是否符合要求
{ "ResponseMetadata": { "RequestId": "5bfc9ca7-*************-6ebd922a8564", "Action": "SubmitTemplateTaskAsync", "Version": "2022-11-08", "Service": "vlog", "Region": "cn-north-1" } }
{ "ResponseMetadata": { "RequestId": "5bfc9ca7-4d01-43e0-801e-6ebd922a8564", "Action": "SubmitTemplateTaskAsync", "Version": "2022-11-08", "Service": "vlog", "Region": "cn-north-1", "Error": { "Code": "FailOperation.ImageQualityInvalid", "Message": "图片质量校验异常,请重新上传" } } }
{ "ResponseMetadata": { "RequestId": "5bfc9ca7-4d01-43e0-801e-6ebd922a8564", "Action": "SubmitTemplateTaskAsync", "Version": "2022-11-08", "Service": "vlog", "Region": "cn-north-1", "Error": { "Code": "InternalError", "Message": "系统内部错误" } } }