Edit the script
script_editChange the script or its settings; only revise spends credits.
save: replace the active version's text (the old text is lost: show the
user the current script first), then run Analyze Script. Notation, never
read aloud: [SCENE: <visual direction>] as its own paragraph directs
the storyboard for the narration after it, until the next one, over the
director style. <break time="1.5s" /> is the only thing that makes the
voice pause (about 0.5s between thoughts, 1.0s between sections; one tag
with the total, never two in a row). A paragraph starting Name: "..."
is that character's dialogue. A delivery cue in square brackets inside
a line ([laughs], [sighs], [whispers]) shapes how it is said; keep
it inline, never on its own line. MiniMax performs sounds such as
laughs, sighs, breathes, gasps and coughs and drops other cues.
activate_version: switch to another version (each generated script is one). revise: an AI rewrite of a passage or the whole script in the narrative voice; returns revised_text without saving it: splice it in and save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | save: content; activate_version: script_id; revise: instruction, optional selected_text; settings: script_target_minutes and/or voice_mix; set_concept: visual_concept | |
| content | No | save: the full script text | |
| script_id | No | activate_version: a version id from script_read | |
| voice_mix | No | settings: narration versus character dialogue | |
| project_id | Yes | Project id | |
| instruction | No | revise: what to change, e.g. "make the intro punchier" | |
| selected_text | No | revise: the exact passage to rewrite; omit for the whole script | |
| visual_concept | No | set_concept: how the video looks | |
| script_target_minutes | No | settings: length of the next generated script, in minutes |