Write the script first (free)
preview_scriptWrites the script of a video in about 15 seconds without making it: free, it costs no credits. Show the lines to the user, change what they want, then make the video with make_video (script_id + lines). One script at a time; the free trial has 5 unused scripts a day, paid plans 15. The user needs enough credits for one video. Waits up to 25 seconds; if it isn't ready yet, call get_script.
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": {
"idea": "<idea>"
},
"name": "preview_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idea | Yes | What the video is about, in a sentence | |
| facts | No | Facts, numbers or the true story it must use (required for Maps & Numbers) | |
| sales | No | A sales video for a Business project: it ends with the call to action | |
| style | No | Default: the project's style | |
| voice | No | Voice id; default: the project's voice | |
| keyword | No | Sales video with DMs: the word people write in a DM or a comment to get the offer in private, with the project's link when it has one (3 to 12 letters or numbers). Default: the project's keyword (sells.keyword) | |
| project | No | Project id or name (optional if the user has one project) |