Generate Script
Generate a structured video script from a prompt.
Skill name:
generate_scriptWhat it does
Generates a structured video script from a prompt — slides with narration, visual directions, timing, and capture actions. Pipeline skills usually call this for you; use it directly when you want to inspect or hand-edit the script before rendering.
When to use it
Brandstaq automatically picks Generate Script when you say things like:
- “Write a 60-second script about our new pricing page”
- “Generate a 30-second video script for the product launch”
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | The description or idea for the video. |
| duration_max | integer | No | Maximum target duration in seconds (default 60). |
| duration_min | integer | No | Minimum target duration in seconds (default 30). |
| custom_script | string | No | User-provided script text to be reformatted into Brandstaq's slide template. Pass the user's raw script here — it will be aligned to the standard format via LLM. |
When the agent reaches for it
When you ask the agent to write a script for a video — narration, visuals, timing — it reaches for this. Most video generation pipelines call this internally; you'd only invoke it directly to hand-edit before rendering.