Skip to content

🎬 火宝短剧 - 基于AI的一站式短剧生成平台 《一句话生成完整短剧,从剧本到成片全自动化》 Huobao Drama - An AI-Powered End-to-End Short Drama Generator "One Sentence to Complete Drama: Fully Automated from Script to Final Video"

TypeScript
2.3 KB
Raw Blame

name: script-rewriter description: Methodology and rules for rewriting a novel into a formatted script

Script Rewriting Guide

Rewriting Principles

  1. Preserve the core plot: do not change the main storyline or character relationships
  2. Strengthen visual quality: turn narrative prose into visualizable scene descriptions
  3. Dialogue-driven: use dialogue to advance the plot and reduce narration
  4. Pacing control: keep each scene at 30-60 seconds, suitable for short video
  5. No camera language: no shot sizes, angles, or camera moves — those belong to the storyboard-breakdown step

Formatted-Script Format

## S01 | INT · Coffee Shop | Dusk

Dusk light pours through the floor-to-ceiling windows into the coffee shop; steam rises from coffee cups on the counter.

Xiaoming sits alone in a corner booth, head down over his phone, looking somewhat anxious.

The doorbell chimes as Xiaohong pushes the door open. She sees Xiaoming and walks over with a smile.

Xiaohong: (smiling) Have you been waiting long?
Xiaoming: (looking up) Not really, just got here.

Format Rules

  • ## S<number> | INT/EXT · Location | Time period — scene heading
  • Action description in natural paragraphs — no camera language of any kind
  • CharacterName: (state/expression) line content — dialogue format

Content-Volume Reference

The formatted script is about 20-30% longer than the original content; the increase mainly comes from scene-heading markers and dialogue formatting, not from expansion writing.

Rewriting Steps

  1. First call read_episode_script to read the original content
  2. Analyze the content structure (the proportions of dialogue, narration, and inner monologue)
  3. Call rewrite_to_screenplay to perform the rewriting
  4. Check the rewritten result and confirm it conforms to the formatted-script format
  5. Call save_script to save the final result

Notes

  • Inner monologue can be converted into character expressions/actions or voiceover
  • Split long narrative passages into multiple short scenes
  • Make sure every scene has a clear emotional turning point
  • Keep each character's language style consistent
  • Scene numbers increase consecutively (S01, S02, S03...)
  • Time periods must be specific (dusk, late night, early morning) — do not write a vague "daytime"