zoujiajian 1 год назад
Родитель
Сommit
b4fed40402
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      luma/src/main/java/com/yhlxj/service/midjourney/impl/LumaServiceImpl.java

+ 3 - 0
luma/src/main/java/com/yhlxj/service/midjourney/impl/LumaServiceImpl.java

@@ -171,6 +171,9 @@ public class LumaServiceImpl implements LumaService {
         if (StrUtil.isNotBlank(imageEndUrl)) {
         if (StrUtil.isNotBlank(imageEndUrl)) {
             videoParam.put("image_end_url", imageEndUrl);
             videoParam.put("image_end_url", imageEndUrl);
         }
         }
+        videoParam.put("resolution", "720p");
+        videoParam.put("duration", "5s");
+        videoParam.put("model_name", "ray-v1");
         videoParam.put("notify_hook", lumaHost + (EnvCommonService.active_pre.equals(envCommonService.getEnv()) ? "/8083" : "/8085") + VIDEO_NOTIFY_URL);
         videoParam.put("notify_hook", lumaHost + (EnvCommonService.active_pre.equals(envCommonService.getEnv()) ? "/8083" : "/8085") + VIDEO_NOTIFY_URL);
         SubmitResult result = unifiedSubmitVideo(videoParam, num);
         SubmitResult result = unifiedSubmitVideo(videoParam, num);
         if (result == null) {
         if (result == null) {