Write a video script
write_video_scriptStarts a new video draft in the person’s Aitvar account and has the AI write its script (scenes of narration with what is shown on screen, a title, caption and hashtags). Free. Usually takes 20-60 seconds; a long video can take longer, then call get_video later. Returns the video id and the 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": {
"topic": "<topic>"
},
"name": "write_video_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | No | Visual look. Default toon. See get_aitvar_options. | |
| tone | No | Default curious. | |
| music | No | Background music. Default cinematic. | |
| notes | No | Anything else the writer should know: audience, facts to include, a call to action. | |
| topic | Yes | What the video is about. A specific angle works best, e.g. "Why octopuses have three hearts". | |
| voice | No | Narrator voice. Default "any" (best fit). | |
| language | No | Narration language. Default English. | |
| length_seconds | No | Video length in seconds. Default 45. A first video is up to 60. |