From eac97b9e1f85c61af0c88672c3112f96c6959431 Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Mon, 06 Apr 2026 19:37:13 +0800
Subject: [PATCH] 优化首帧参考图提示词
---
aigc-director/aigc-claw/backend/prompts/reference/first_frame_zh.txt | 36 +++++++++++++----
aigc-director/aigc-claw/backend/prompts/reference/first_frame_en.txt | 29 ++++++++++----
2 files changed, 47 insertions(+), 18 deletions(-)
diff --git a/aigc-director/aigc-claw/backend/prompts/reference/first_frame_en.txt b/aigc-director/aigc-claw/backend/prompts/reference/first_frame_en.txt
index 96328fa..3a28e04 100644
--- a/aigc-director/aigc-claw/backend/prompts/reference/first_frame_en.txt
+++ b/aigc-director/aigc-claw/backend/prompts/reference/first_frame_en.txt
@@ -1,4 +1,17 @@
-You are an expert AI prompt engineer and cinematic storyboard director. Your task is to generate a purely English "First Frame Visual Description Prompt" for an AI video generation tool, based on the plot of a video segment (which includes shot types, actions, and dialogues), along with the relevant setting and character descriptions.
+You are an expert AI prompt engineer and cinematic storyboard director. Your task is to generate a purely English "Initial First Frame Visual Description Prompt" for an AI video generation tool (like SVD, Luma, Kling).
+
+[Core Goal]
+Your prompt must describe a **static high-quality image** representing the **exact first frame** of the shot. Video models will use this as a reference and then begin movement.
+
+[Requirements]
+1. **Static Composition**: Focus solely on the **freeze-frame** of the starting moment.
+2. **No Dynamic Verbs**: **Do NOT** use continuous action verbs (running, walking, talking, entering). Avoid describing the process of an action.
+3. **Describe Status/Pose**:
+ - Describe the **end state** of a motion or a **starting pose**.
+ - (e.g., instead of "a man running", use "a man in a mid-stride sprint pose"; instead of "opening the door", use "door slightly ajar, hand resting on the doorknob").
+4. **Orientation & Gaze (Mandatory)**: Clearly specify the body orientation and the exact gaze direction of each character (e.g., facing the camera, back to the camera, profile view, looking at specific object, etc.).
+5. **Quality**: Integrate character and setting details. Include high-quality modifiers (masterpiece, cinematic composition, etc.).
+6. **Output Format**: Pure English, comma-separated tags. No explanations, no ``` markers.
[Segment Plot]
{plot}
@@ -9,11 +22,9 @@
[Setting Description]
{setting_description}
-[Requirements]
-1. The prompt must focus solely on the **first frame** composition of this video segment. Primarily describe the initial action, the relative positions of the characters, the environmental layout, and the lighting/atmosphere.
-2. **You must clearly specify the body orientation and the exact gaze direction of each character (e.g., facing the camera, looking at the other person, staring at the window, back to the camera, etc.).**
-3. You must integrate visual details from the Character and Setting Descriptions accurately into the scene.
-4. Do not describe precise texts, lettering, or signs in the prompt, as AI often struggles with accurate text generation.
-5. The prompt must be entirely in English (preferably formatted as comma-separated tags instead of prose).
-6. Append high-quality modifiers (e.g., masterpiece, best quality, high resolution, cinematic composition).
-7. Output **only** the final English prompt text. Do NOT include any explanations, prefaces, or code block markers (```).
+[Examples]
+(Bad): A man running fast to the window, shouting to the outside.
+(Good): Cinematic shot, a man frozen in a running pose, body angled 45 degrees toward a large window, leaning forward, hand reaching out, mouth open in a mid-shout expression, looking through the glass.
+
+[Output Format]
+Output ONLY the final English prompt text.
diff --git a/aigc-director/aigc-claw/backend/prompts/reference/first_frame_zh.txt b/aigc-director/aigc-claw/backend/prompts/reference/first_frame_zh.txt
index 425ac20..078b3f6 100644
--- a/aigc-director/aigc-claw/backend/prompts/reference/first_frame_zh.txt
+++ b/aigc-director/aigc-claw/backend/prompts/reference/first_frame_zh.txt
@@ -1,4 +1,20 @@
-你是一位专业的AI提示词工程师与影视分镜导演。你的任务是根据一个拍摄分段的剧情(包含景别、动作、对话等),结合场地背景描述和相关人物描述,为这个拍摄片段生成用于AI视频生成工具的「首帧视觉描述提示词」(用纯英文输出)。
+你是一位专业的AI提示词工程师与影视分镜导演。你的任务是根据一个拍摄分段的剧情(包含景别、动作、对话等),结合场地背景描述和相关人物描述,为这个拍摄片段生成用于AI视频生成工具的「起始首帧视觉描述提示词」(用纯英文输出)。
+
+【核心目标】
+你生成的提示词是用来生成**一幅静态的高质量首帧图片**。视频生成工具(如 SVD, Luma, Kling)将以此图为基准进行运动。
+
+【要求】
+1. **静态构图**:提示词必须聚焦于这个片段的**视频首帧(截图)**画面。描述的是一个**瞬间的定格**。
+2. **禁止描述动态过程**:**绝对不要**使用动词进行时(如 running, walking, talking, entering),不要描述动作的过程。
+3. **描述状态/姿态**:
+ - 使用「动作的结果」或「起始姿态」。
+ - 例如:不要写 "a man running",而要写 "a man postured in a mid-stride sprint"(一个跨步奔跑姿态的男人)。
+ - 不要写 "someone is opening the door",而要写 "someone's hand resting on the doorknob" 或 "door slightly ajar"。
+4. **朝向与目光(强制)**:必须明确规定每个角色的身体朝向以及目光看向的具体位置(例如:facing the camera, back to the camera, profile view, looking at direct object 等)。
+5. **环境与质量**:将人设、场设细节融入。必须包含质量词(masterpiece, cinematic composition 等)。
+6. **输出格式**:纯英文,以逗号分隔的标签形式呈现。不写解释语,不要 ``` 标记。
+
+---
【拍摄片段剧情】
{plot}
@@ -9,11 +25,13 @@
【场地背景描述】
{setting_description}
-【要求】
-1. 提示词必须聚焦于这个片段的**视频首帧**画面。主要描述人物的相对位置、起始动作、整体环境结构和光影氛围。
-2. **必须明确规定每个角色的身体朝向以及目光看向的具体位置(例如:facing the camera, back to the camera, looking at the other person, staring at the window 等)。**
-3. 必须将相关人物的外貌特征和场地的空间细节融入到提示词中。
-4. 不要包含具体的文字或符号描述,因为AI生成文字容易出错。
-5. 语言必须是纯英文(以逗号分隔的标签形式呈现),不要出现任何中文。
-6. 必须加上提升画面质量的提示词(例如:masterpiece, best quality, high resolution, cinematic composition等)。
-7. 只需要输出最终的纯英文提示词文本,不要出现任何解释语、前缀或代码块标记(不要```)。
+---
+
+【示例参考】
+(Bad): A man running fast to the window, shouting to the outside.
+(Good): Cinematic shot, a man frozen in a running pose, body angled 45 degrees toward a large window, leaning forward, hand reaching out, mouth open in a mid-shout expression, looking through the glass, high contrast lighting.
+
+---
+
+【输出格式】
+直接输出最终的纯英文提示词文本。
\ No newline at end of file
--
Gitblit v1.8.0