AIVideo.day
v1.0.0Make 2D videos and 3D films from a written brief, in your AIVideo.day account.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
quote_video Price a video
Returns the credits a video of this kind and length costs and the account's balance. Free, and nothing starts. Needs a Starter, Pro or Business plan. A 3D film is priced per started minute, so the answer's seconds is the longest it may run for that price (15 s asked = up to 60 s).
| Parameter | Type | Description |
|---|---|---|
kind * | string | "2d" is an animated or narrated video; "3d" is a film with 3D characters. |
seconds * | integer | Length in seconds. 2D: 60-3600. 3D: 10-3600. |
make_video Make a video
Starts 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.
| Parameter | Type | Description |
|---|---|---|
brief * | string | What the video is about, in the user's words and language. |
kind * | string | "2d" is an animated or narrated video; "3d" is a film with 3D characters. |
max_credits * | integer | The most this call may spend. A video that costs more is refused and nothing is charged. |
seconds * | integer | Length in seconds. 2D: 60-3600. 3D: 10-3600. |
format | string | Shape: 9:16 vertical (default), 16:9 wide, 1:1 square, 4:5 portrait. |
request_key | string | Optional key for this request. Sent again, it returns the same video instead of making and charging for another. |
title | string | Optional project name. |
get_video Check a video
Returns where one of the user's videos stands (writing, needs_browser, rendering, ready or failed), its render_url until the file exists, and video_url when the MP4 is ready. Free.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | The video_id from make_video or list_my_videos. |
list_my_videos List my videos
Lists the user's latest videos, newest first: id, title, when it last changed, and the MP4's address once it has one. Free.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many, up to 20. Default 10. |