|
@@ -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) {
|