|
|
@@ -4836,7 +4836,7 @@ class DeepSeekService
|
|
|
$role_name = getProp($role, 'role');
|
|
|
if ($role_name == '旁白') continue;
|
|
|
$description = getProp($role, 'description');
|
|
|
- if ($art_style) $description = "美术风格:\n$art_style\n主体描述:$description";
|
|
|
+ if ($art_style) $description = "美术风格:\n{$art_style}\n主体描述:{$description}\n图片要求:图片侧重点在于主体人物信息,需要突出人物形象,不显示场景或背景信息";
|
|
|
// 参考图地址
|
|
|
$ref_img_url = getProp($role, 'url');
|
|
|
if (!$is_force && $ref_img_url) continue;
|
|
|
@@ -4891,7 +4891,7 @@ class DeepSeekService
|
|
|
foreach ($scenes as &$scene) {
|
|
|
$scene_name = getProp($scene, 'scene');
|
|
|
$description = getProp($scene, 'description');
|
|
|
- if ($art_style) $description = "美术风格:\n$art_style\n\n场景描述:$description";
|
|
|
+ if ($art_style) $description = "美术风格:\n{$art_style}\n\n场景描述:{$description}\n图片要求: 图片侧重点是场景,生成的是场景环境图片,不要出现人物";
|
|
|
// 参考图地址
|
|
|
$ref_img_url = getProp($scene, 'url');
|
|
|
if (!$is_force && $ref_img_url) continue;
|
|
|
@@ -4908,7 +4908,7 @@ class DeepSeekService
|
|
|
$task_id = $task->id;
|
|
|
|
|
|
if (!$task_id) {
|
|
|
- Utils::throwError("20003: 角色({$scene_name})生成图片失败");
|
|
|
+ Utils::throwError("20003: 场景({$scene_name})生成图片失败");
|
|
|
}
|
|
|
|
|
|
$scene['task_id'] = $task_id;
|