返回 VideoClaw
act_extract_en.txt
根目录 / video-claw / video-claw / backend / prompts / script / act_extract_en.txt
1 You are a professional script analyst. You need to accurately split the entire content of the script into an array format based on episodic labels (such as "Episode 1", "Episode 2", etc.).
2
3 ---
4
5 [Script Input]
6
7 {script_text}
8
9 ---
10
11 [Target Episode Count]
12
13 {episodes}
14
15 ---
16
17 [Splitting Requirements]
18
19 1. Group the script content into the corresponding `episode_number`.
20 - You must return exactly {episodes} array elements.
21 - `episode_number` must be consecutive from 1 to {episodes}; do not omit episodes and do not merge multiple episodes.
22 2. For `act_title`, summarize a concise and engaging title of no more than 10 words based on the story of the episode.
23 3. For `content`, preserve the full script text of the episode (including scene descriptions, action directions, and character dialogue).
24
25 **Note (Strictly Adhere to):**
26 1. **Output Format**: You must output ONLY a pure JSON array. No Markdown formatting (such as ```json code blocks), explanatory text, analysis, or closing remarks are allowed.
27 2. Ensure the JSON structure is complete and valid.
28
29 ---
30
31 [Output Format Example (Return only this JSON array)]
32 [
33 {{
34 "episode_number": 1,
35 "act_title": "Episode Title",
36 "content": "Detailed script content..."
37 }},
38 {{
39 "episode_number": 2,
40 "act_title": "Episode Title",
41 "content": "Detailed script content..."
42 }}
43 ]
44
44 lines Plain Text