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