|
|
@@ -111,7 +111,7 @@ public class AiVideoHelper { |
|
|
|
AiPhotoSpeakResult result = new AiPhotoSpeakResult(); |
|
|
|
if (StringUtils.isBlank(response)) { |
|
|
|
result.setSuccess(false); |
|
|
|
result.setMsg("请求生成视频异常,请稍后重试"); |
|
|
|
result.setMsg("(MetaService)服务被Avatar攻击... 点击“编辑”重试"); |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
@@ -121,7 +121,7 @@ public class AiVideoHelper { |
|
|
|
String msg = status.getString("msg"); |
|
|
|
if (code == null) { |
|
|
|
result.setSuccess(false); |
|
|
|
result.setMsg("请求生成视频异常,请稍后重试"); |
|
|
|
result.setMsg("(MetaService)服务被Avatar攻击... 点击“编辑”重试"); |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
@@ -151,7 +151,7 @@ public class AiVideoHelper { |
|
|
|
|
|
|
|
if (StringUtils.isBlank(response)) { |
|
|
|
result.setSuccess(false); |
|
|
|
result.setMsg("图片质量审核失败,请稍后重试"); |
|
|
|
result.setMsg("(MetaService)图片质量审核失败,请稍后重试"); |
|
|
|
return result; |
|
|
|
} |
|
|
|
JSONObject jsonObject = JSON.parseObject(response); |
|
|
@@ -160,7 +160,7 @@ public class AiVideoHelper { |
|
|
|
String msg = status.getString("msg"); |
|
|
|
if (code == null) { |
|
|
|
result.setSuccess(false); |
|
|
|
result.setMsg("请求生成视频异常,请稍后重试"); |
|
|
|
result.setMsg("(MetaService)请求图片质量检查失败,请稍后重试"); |
|
|
|
return result; |
|
|
|
} |
|
|
|
if (code.intValue() == 2000) { |
|
|
@@ -184,7 +184,7 @@ public class AiVideoHelper { |
|
|
|
|
|
|
|
if (StringUtils.isBlank(response)) { |
|
|
|
result.setSuccess(false); |
|
|
|
result.setMsg("TTS音色预览失败,请稍后重试"); |
|
|
|
result.setMsg("(MetaService)TTS音色预览失败,请稍后重试"); |
|
|
|
return result; |
|
|
|
} |
|
|
|
JSONObject jsonObject = JSON.parseObject(response); |
|
|
@@ -201,7 +201,7 @@ public class AiVideoHelper { |
|
|
|
String msg = status.getString("msg"); |
|
|
|
if (code == null) { |
|
|
|
result.setSuccess(false); |
|
|
|
result.setMsg("TTS音色预览异常,请稍后重试"); |
|
|
|
result.setMsg("(MetaService)TTS音色预览异常,请稍后重试"); |
|
|
|
return result; |
|
|
|
} |
|
|
|
if (code.intValue() == 3000) { |
|
|
@@ -227,7 +227,7 @@ public class AiVideoHelper { |
|
|
|
|
|
|
|
if (StringUtils.isBlank(response)) { |
|
|
|
result.setSuccess(false); |
|
|
|
result.setMsg("视频超分失败,请稍后重试"); |
|
|
|
result.setMsg("(MetaService)视频超分失败,请稍后重试"); |
|
|
|
return result; |
|
|
|
} |
|
|
|
JSONObject jsonObject = JSON.parseObject(response); |
|
|
@@ -242,7 +242,7 @@ public class AiVideoHelper { |
|
|
|
String msg = status.getString("msg"); |
|
|
|
if (code == null) { |
|
|
|
result.setSuccess(false); |
|
|
|
result.setMsg("视频超分异常,请稍后重试"); |
|
|
|
result.setMsg("(MetaService)视频超分异常,请稍后重试"); |
|
|
|
return result; |
|
|
|
} |
|
|
|
if (code.intValue() == 3000) { |
|
|
|