Update character image prompt wording

Adjust the Chinese prompt text in build_editor_character_image_prompt to clarify instructions: emphasize generating a character illustration based on the role description, rephrase the visual-spec reference, and separate/clarify the prohibitions (keep centered composition, green-screen background, and disallow non-character scene elements). This is a wording/clarity change only; no functional logic was modified.
This commit is contained in:
2026-06-24 22:32:45 +08:00
parent fcd9470dcf
commit fe83ca92d3
@@ -3406,7 +3406,7 @@ fn build_editor_ui_design_prompt(user_input: &str, has_icon_spec_reference: bool
fn build_editor_character_image_prompt(role_setting: &str) -> String {
vec![
"严格基于图1的角色美术视觉规范指导中的美术风格、角色头身比、角色朝向等特征生成游戏角色形象图。画面中心构图,角色主体完整置于画面中央,禁止镜头透视,禁止特写。背景固定为单一纯绿色 #00FF00 / RGB(0,255,0) 绿幕,只作为抠像底色,禁止生成美术视觉规范出现建筑、室内布景、风景、地面道具、漂浮物、烟雾叙事元素、文字或其他角色以外的场景内容。".to_string(),
"按照角色描述生成游戏角色立绘。严格基于图1的角色美术视觉规范的美术风格、角色头身比、角色朝向等特征。画面中心构图,角色主体完整置于画面中央,禁止镜头透视,禁止特写。背景固定为单一纯绿色 #00FF00 / RGB(0,255,0) 绿幕,只作为抠像底色,禁止生成美术视觉规范,禁止出现建筑、室内布景、风景、地面道具、漂浮物、烟雾叙事元素、文字或其他角色以外的场景内容。".to_string(),
format!("角色设定:{}", role_setting.trim()),
]
.join("\n")