Make a video
make_videoStarts a video in the user's AIVideo.day account from a written brief: script, voices, pictures or 3D characters. Spends the user's credits, at most max_credits, so get the price from quote_video and the user's agreement first. Returns video_id and render_url. The server writes the video; the MP4 file is made when render_url is opened in a browser. Read the result with get_video.
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": {
"brief": "<brief>",
"kind": "<kind>",
"seconds": "<seconds>",
"max_credits": "<max_credits>"
},
"name": "make_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | "2d" is an animated or narrated video; "3d" is a film with 3D characters. | |
| brief | Yes | What the video is about, in the user's words and language. | |
| title | No | Optional project name. | |
| format | No | Shape: 9:16 vertical (default), 16:9 wide, 1:1 square, 4:5 portrait. | |
| seconds | Yes | Length in seconds. 2D: 60-3600. 3D: 10-3600. | |
| max_credits | Yes | The most this call may spend. A video that costs more is refused and nothing is charged. | |
| request_key | No | Optional key for this request. Sent again, it returns the same video instead of making and charging for another. |