Write a video script
draft_videoIf you have not yet in this chat, call get_started first. Starts a ClipFlux video. Without a script, ClipFlux writes the script from the topic, then stops so the user can read and change it before anything is drawn. With a script, ClipFlux uses those exact words and only plans the pictures: a Short, or a long video whose minutes come from the script and whose # lines become chapters. Writing or planning the script uses a few credits (about 2 to 3); nothing is drawn and nothing else is charged until make_video, and its card shows the price and the user's credits on the Make button, so call it as soon as the look and narrator are chosen and there is a first version of the script (no quote_video first). Its card is the ClipFlux script box, where the user edits the lines; do not paste the script in your reply. An account with a free preview (quote_video says so) gets the opening of the video made for free instead, with no script step. The ClipFlux card shows the result: do not add pictures, searches or a card of your own.
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": {
"title": "<title>",
"topic": "<topic>",
"format": "<format>"
},
"name": "draft_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | No | A look id from list_looks, or "own:..." for one of the user's saved own looks. Default: the account default. | |
| title | Yes | The video's title as a viewer would read it, short (for example "Why the Titanic sank so fast"). No length, format or style words. | |
| topic | Yes | The angle and the points to cover, in plain sentences. Not instructions about the format: the format, length and look are their own fields. | |
| voice | No | A narrator id from list_voices. Default: the look default. | |
| format | Yes | "long" for a 16:9 YouTube video in chapters, "short" for a vertical Short. | |
| pacing | No | Long videos only: "standard" or "fast". Default standard. | |
| script | No | The narration word for word, written with the user under the script rules from get_started (only the spoken words: no labels, timings or notes; for a long video, chapter titles as lines that start with #). A Short takes up to 2,000 characters. ClipFlux speaks exactly this text. Leave it out to let ClipFlux write the script. | |
| likeUrl | No | "Make one like this": a video link already read with read_youtube_link (for a channel, its best video's link). The draft follows that video's format (hook, structure, pacing, ending), never its words; its look and narrator are the defaults unless you pass look or voice. The topic is still yours: one of the read's angles, or the same topic in new words. | |
| minutes | No | Long videos ClipFlux writes: the length in minutes. Default 10. Leave it out with a script: the script sets the length. |