| @@ -116,6 +116,7 @@ public class AiVideoHelper { | |||||
| public static AiPhotoSpeakResult createPhotoSpeakVideo(AiPhotoSpeakParam videoParam) { | public static AiPhotoSpeakResult createPhotoSpeakVideo(AiPhotoSpeakParam videoParam) { | ||||
| String response = doPost(url + photo_speak_suffix, JSONObject.toJSONString(videoParam)); | String response = doPost(url + photo_speak_suffix, JSONObject.toJSONString(videoParam)); | ||||
| log.info("生成视频end response:" + response); | log.info("生成视频end response:" + response); | ||||
| log.info("生成视频的 IP:" + url + photo_speak_suffix); | |||||
| AiPhotoSpeakResult result = new AiPhotoSpeakResult(); | AiPhotoSpeakResult result = new AiPhotoSpeakResult(); | ||||
| if (StringUtils.isBlank(response)) { | if (StringUtils.isBlank(response)) { | ||||
| result.setSuccess(false); | result.setSuccess(false); | ||||
| @@ -157,6 +158,7 @@ public class AiVideoHelper { | |||||
| public static AiCheckPhotoResult checkPhoto(AiCheckPhotoParam param) { | public static AiCheckPhotoResult checkPhoto(AiCheckPhotoParam param) { | ||||
| String response = doPost(url + image_quality_suffix, JSONObject.toJSONString(param)); | String response = doPost(url + image_quality_suffix, JSONObject.toJSONString(param)); | ||||
| log.info("图片质量审核 end response:" + response); | log.info("图片质量审核 end response:" + response); | ||||
| log.info("图片质量审核 IP:" + url + image_quality_suffix); | |||||
| AiCheckPhotoResult result = new AiCheckPhotoResult(); | AiCheckPhotoResult result = new AiCheckPhotoResult(); | ||||
| if (StringUtils.isBlank(response)) { | if (StringUtils.isBlank(response)) { | ||||
| @@ -190,6 +192,7 @@ public class AiVideoHelper { | |||||
| public static AiPreviewResult voicePreview(AiPreviewParam param) { | public static AiPreviewResult voicePreview(AiPreviewParam param) { | ||||
| String response = doPost(url + voice_preview, JSONObject.toJSONString(param)); | String response = doPost(url + voice_preview, JSONObject.toJSONString(param)); | ||||
| log.info("TTS音色预览 end response:" + response); | log.info("TTS音色预览 end response:" + response); | ||||
| log.info("TTS音色预览 IP:" + url + voice_preview); | |||||
| AiPreviewResult result = new AiPreviewResult(); | AiPreviewResult result = new AiPreviewResult(); | ||||
| if (StringUtils.isBlank(response)) { | if (StringUtils.isBlank(response)) { | ||||
| @@ -233,6 +236,7 @@ public class AiVideoHelper { | |||||
| public static AiVideoHqResult videoHq(AiVideoHqParam param) { | public static AiVideoHqResult videoHq(AiVideoHqParam param) { | ||||
| String response = doPost(hy_url + video_hq, JSONObject.toJSONString(param)); | String response = doPost(hy_url + video_hq, JSONObject.toJSONString(param)); | ||||
| log.info("视频超分 end response:" + response); | log.info("视频超分 end response:" + response); | ||||
| log.info("视频超分 IP:" + hy_url + video_hq); | |||||
| AiVideoHqResult result = new AiVideoHqResult(); | AiVideoHqResult result = new AiVideoHqResult(); | ||||
| if (StringUtils.isBlank(response)) { | if (StringUtils.isBlank(response)) { | ||||