فهرست منبع

新增3D真人风格

lh 1 ماه پیش
والد
کامیت
5408f7e615

+ 4 - 0
app/Http/Controllers/Anime/AnimeController.php

@@ -125,6 +125,10 @@ class AnimeController extends BaseController
                 'pic_url' => "http://zw-ai.oss-cn-hangzhou.aliyuncs.com/mp_audio/art_styles/%E7%9C%9F%E4%BA%BA%E5%8F%A4%E9%A3%8E.jpg"
             ],
             [
+                'art_style' => '3D真人风格',
+                'pic_url' => "https://cdn-zwai.ycsd.cn/mp_audio/art_styles/3D真人风格.png"
+            ],
+            [
                 'art_style' => '日系动漫风格',
                 'pic_url' => "https://cdn-zwai.ycsd.cn/mp_audio/art_styles/日系动漫风格.jpg"
             ],

+ 3 - 0
app/Services/Anime/AnimeService.php

@@ -4776,6 +4776,8 @@ class AnimeService
         $episode_id = getProp($act, 'episode_id');
         $anime = DB::table('mp_animes')->where('id', $anime_id)->first();
         $ace_mode = getProp($anime, 'ace_mode');
+        $art_style_type = getProp($anime, 'art_style_type');
+        $art_style = getProp($anime, 'art_style');
         $episode = DB::table('mp_anime_episodes')->where('id', $episode_id)->first();
         if (!$ratio) $ratio = getProp($episode, 'ratio', '9:16');
         if (!$video_resolution) $video_resolution = getProp($episode, 'video_resolution', '720p');
@@ -4841,6 +4843,7 @@ class AnimeService
         // 构建完整的提示词
         $processResult = $this->processActContentWithProducts($actContent, $products);
         $fullPrompt = $processResult['content'];
+        // if ($art_style_type == '3D真人风格') $fullPrompt = "美术风格: $art_style\n\n".$fullPrompt;
         $reference_images = array_merge($processResult['reference_images'], $reference_images);
         
         $videoDuration = $video_duration ? $video_duration : getProp($act, 'act_duration');

+ 4 - 0
app/Services/DeepSeek/DeepSeekService.php

@@ -860,6 +860,10 @@ class DeepSeekService
                 'aliases' => ['治愈清新风格', '治愈清新'],
                 'prompt' => "治愈清新风格,温暖柔和色调,自然光线,清新配色,舒适氛围,细腻绘制,疗愈感十足"
             ],
+            '3D真人风格' => [
+                'aliases' => ['3D', '3D真人', '3D真人风格'],
+                'prompt' => "3D真人短剧风格,超写实质感,电影级布光与景深,竖屏构图,中心聚焦,高饱和度色彩与强对比,微表情细腻,动作凌厉,快节奏强冲突,沉浸式代入感。"
+            ],
         ];
 
         if($art_style) {