Jelajahi Sumber

seedance2.0默认使用zhizhen-20-mini模型

lh 2 bulan lalu
induk
melakukan
9550ae9c75

+ 3 - 3
app/Http/Controllers/Anime/AnimeController.php

@@ -2683,13 +2683,13 @@ class AnimeController extends BaseController
         //     $model = getProp($episode, 'video_model');
         //     if (!$model) {
         //         // episode表也没有,使用默认值
-        //         $model = 'zhizhen-20-fast';
+        //         $model = 'zhizhen-20-mini';
         //     }
         // }
-        $model = 'zhizhen-20-fast'; // 使用默认值
+        $model = 'zhizhen-20-mini'; // 使用默认值
         // 验证模型是否在可用模型表中
         if (!DB::table('mp_video_models')->where('model', $model)->where('is_enabled', 1)->exists()) {
-            $model = 'zhizhen-20-fast';
+            $model = 'zhizhen-20-mini';
         }
         
         // 获取所有分镜信息

+ 2 - 2
app/Services/AIGeneration/AIVideoGenerationService.php

@@ -2228,7 +2228,7 @@ class AIVideoGenerationService
             'api_type' => 'zzengine',
             'extra_params' => [
                 'task_type' => 'video',
-                'model_code' => $params['model_code'] ?? 'zhizhen-20',
+                'model_code' => $params['model_code'] ?? 'zhizhen-20-mini',
                 'callback_url' => $params['callback_url'] ?? '',
                 'video_duration' => $params['video_duration'] ?? 5,
                 'video_ratio' => $params['video_ratio'] ?? '9:16',
@@ -2268,7 +2268,7 @@ class AIVideoGenerationService
             // 构建统一API请求参数
             $apiParams = [
                 'task_type' => 'video',
-                'model_code' => $extraParams['model_code'] ?? 'zhizhen-20',
+                'model_code' => $extraParams['model_code'] ?? 'zhizhen-20-mini',
                 'prompt' => $task->prompt,
                 'video_duration' => $extraParams['video_duration'] ?? 5,
                 'video_resolution' => $task->video_resolution,

+ 2 - 2
app/Services/Anime/AnimeService.php

@@ -4253,12 +4253,12 @@ class AnimeService
             $model = getProp($episode, 'video_model');
             if (!$model) {
                 // episode表也没有,使用默认值
-                $model = 'zhizhen-20';
+                $model = 'zhizhen-20-mini';
             }
         }
         // 验证模型是否在可用模型表中
         if (!DB::table('mp_video_models')->where('model', $model)->where('is_enabled', 1)->exists()) {
-            $model = 'zhizhen-20';
+            $model = 'zhizhen-20-mini';
         }
         // 保存到episode表
         DB::table('mp_anime_episodes')->where('id', $episode_id)->update([