From accc523eea50e47c2d857e016e7aea163cfded55 Mon Sep 17 00:00:00 2001
From: Xinfan Chen <2024111082@stu.hit.edu.cn>
Date: Wed, 22 Apr 2026 20:53:40 +0800
Subject: [PATCH] 完成对新增模型的适配
---
aigc-director/aigc-claw/backend/tool/video_client.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/aigc-director/aigc-claw/backend/tool/video_client.py b/aigc-director/aigc-claw/backend/tool/video_client.py
index 87316af..99959f8 100644
--- a/aigc-director/aigc-claw/backend/tool/video_client.py
+++ b/aigc-director/aigc-claw/backend/tool/video_client.py
@@ -73,7 +73,7 @@
prompt: str,
image_path: str,
save_path: str,
- model: str = "wan2.6-i2v-flash",
+ model: str = "wan2.7-i2v",
duration: int = 5,
shot_type: str = "multi",
sound: str = "",
@@ -98,7 +98,7 @@
RuntimeError: 生成或下载失败
"""
if not model:
- model = "wan2.6-i2v-flash"
+ model = "wan2.7-i2v"
if Config.PRINT_MODEL_INPUT:
print("---- VIDEO GENERATION REQUEST ----")
--
Gitblit v1.8.0