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.
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 |