From d63f7b4650db7cd0bedd40e0ee47594017a9f5bc Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Sat, 3 Oct 2026 18:39:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(viral-video):=20=E4=BF=AE=E6=AD=A3=E6=A8=A1?= =?UTF-8?q?=E5=9E=8Bmax=5Fduration=E9=85=8D=E7=BD=AE=20(#2162)=20(#2162)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: xiaoxia Co-committed-by: xiaoxia --- packages/domain/points_rules.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/domain/points_rules.py b/packages/domain/points_rules.py index 2e0973bb1..d226eb3ab 100644 --- a/packages/domain/points_rules.py +++ b/packages/domain/points_rules.py @@ -98,18 +98,18 @@ def resolve_video_dimensions(resolution: str, ratio: str) -> tuple[int, int]: VIRAL_VIDEO_MODEL_CONFIG: dict[str, dict] = { "seedance-2.5": { "key": "seedance-2.5", - "display_name": "Seedance 2.5(最新模型)", + "display_name": "Seedance 2.5 — 最新最强", "model_id": "doubao-seedance-2-5-260628", "provider": "doubao", "supports_audio": True, "supported_resolutions": ["480p", "720p", "1080p"], - "max_duration": 15, + "max_duration": 30, "billing_mode": "token", "is_default": True, }, "seedance-2.0": { "key": "seedance-2.0", - "display_name": "Seedance 2.0 完整版(正式投放首选)", + "display_name": "Seedance 2.0 — 正式首选", "model_id": "doubao-seedance-2-0-260128", "provider": "doubao", "supports_audio": True, @@ -125,29 +125,29 @@ VIRAL_VIDEO_MODEL_CONFIG: dict[str, dict] = { "provider": "doubao", "supports_audio": True, "supported_resolutions": ["480p", "720p"], - "max_duration": 10, + "max_duration": 15, "billing_mode": "token", "is_default": False, }, "seedance-2.0-mini": { "key": "seedance-2.0-mini", - "display_name": "Seedance 2.0 Mini — 低成本", + "display_name": "Seedance 2.0 Mini — 低成本测试", "model_id": "doubao-seedance-2-0-mini-260615", "provider": "doubao", "supports_audio": True, "supported_resolutions": ["480p", "720p"], - "max_duration": 10, + "max_duration": 15, "billing_mode": "token", "is_default": False, }, "wan-3.0": { "key": "wan-3.0", - "display_name": "Wan 3.0 — 低成本(DashScope)", + "display_name": "Wan 3.0 — 通义万相(阿里云)", "model_id": "wan3.0-video", "provider": "dashscope", "supports_audio": True, "supported_resolutions": ["480p", "720p", "1080p"], - "max_duration": 10, + "max_duration": 30, "billing_mode": "per_second", "is_default": False, },