Write the script first (free)
preview_scriptWrites the script of a video in about 15 seconds without making it: free, it doesn't use any videos. 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 at least one video left. Waits up to 25 seconds; if it isn't ready yet, call get_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; Cartoon Storytime only uses these facts) | |
| 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) | |
| project | No | Project id or name (optional if the user has one project) |