From 35318c4cb5258b886c8a5f5577befb082a85153f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Fri, 19 Sep 2025 16:23:03 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=97=B6=E9=95=BF=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 12 +++--- components/ChatInputBox/ChatInputBox.tsx | 50 +++++++++++++++++++++--- 2 files changed, 51 insertions(+), 11 deletions(-) diff --git a/.env.production b/.env.production index d01d62e..6b07f89 100644 --- a/.env.production +++ b/.env.production @@ -1,10 +1,10 @@ -# NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com -# NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com -# NEXT_PUBLIC_CUT_URL = https://smartcut.huiying.video -NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai -NEXT_PUBLIC_BASE_URL = https://api.video.movieflow.ai -NEXT_PUBLIC_CUT_URL = https://smartcut.movieflow.ai +NEXT_PUBLIC_JAVA_URL = https://77.app.java.auth.qikongjian.com +NEXT_PUBLIC_BASE_URL = https://77.smartvideo.py.qikongjian.com +NEXT_PUBLIC_CUT_URL = https://smartcut.huiying.video +# NEXT_PUBLIC_JAVA_URL = https://auth.movieflow.ai +# NEXT_PUBLIC_BASE_URL = https://api.video.movieflow.ai +# NEXT_PUBLIC_CUT_URL = https://smartcut.movieflow.ai # 失败率 NEXT_PUBLIC_ERROR_CONFIG = 0.2 \ No newline at end of file diff --git a/components/ChatInputBox/ChatInputBox.tsx b/components/ChatInputBox/ChatInputBox.tsx index 76ef54f..acd7d94 100644 --- a/components/ChatInputBox/ChatInputBox.tsx +++ b/components/ChatInputBox/ChatInputBox.tsx @@ -68,6 +68,13 @@ const LauguageOptions = [ { value: "indonesian", label: "Indonesian", isVip: false, code:'ID' } ] +const VideoDurationOptions = [ + { value: "8s", label: "8s" }, + { value: "1min", label: "1min" }, + { value: "2min", label: "2min" }, + { value: "unlimited", label: "unlimited" }, +]; + /**模板故事模式弹窗组件 */ /** * 防抖函数 @@ -127,7 +134,7 @@ export function ChatInputBox({ noData }: { noData: boolean }) { mode: "auto", resolution: "720p", language: "english", - videoDuration: "1min", + videoDuration: "unlimited", expansion_mode: true, }); @@ -280,7 +287,7 @@ export function ChatInputBox({ noData }: { noData: boolean }) { {/* 第二行:功能按钮和Action按钮 - 同一行 */}