Generate script
generate_scriptWrites the voiceover script from the brief (calling it again writes a different variation), or saves script if you pass one. target_seconds sets the length (10–120s; trial accounts less). Changing the script after a storyboard means regenerating the storyboard.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "generate_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | No | Your own script, spoken text only, in the project's spoken language (narratorVoice.language). Skips generation (free). | |
| project_id | Yes | The project's id. | |
| target_seconds | No |