MAGI-2 AI Video
v1.0.0Generate 1080p MAGI-2 AI videos with native audio from text, frames or reference images.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_video Generate a MAGI-2 video
Start a MAGI-2 video generation (1080p, up to 30 s, optional native audio). Costs 20 Credits per second from the user's account. Rendering takes about 10-20 minutes: this returns immediately with a video id; call get_video every few minutes until status is "succeeded", then share video_url. Modes: text-to-video (prompt only), image-to-video (first_frame + optional last_frame), reference-to-video (images/videos/audios, referenced in the prompt as @Image1, @Video1, @Audio1). Write prompts in English: subject, action, camera move, and sound; put spoken lines in quotes.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
aspect_ratio | string | |
audios | array | |
duration | integer | Seconds of video. |
first_frame | string | Public https:// URL of the file, or an upload id (flow_input_…). |
generate_audio | boolean | |
images | array | |
last_frame | string | Public https:// URL of the file, or an upload id (flow_input_…). |
mode | string | |
videos | array |
get_video Get video status
Get the status of a video from generate_video. When status is "succeeded", video_url is a direct MP4 link valid for 24 hours.
| Parameter | Type | Description |
|---|---|---|
id * | string |
list_videos List recent videos
List the user's most recent MAGI-2 videos with their status.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_credits Get Credit balance
Show the user's available Credits and how many seconds of video they cover.
estimate_cost Estimate Credits
Credits a video of the given duration costs (before generating).
| Parameter | Type | Description |
|---|---|---|
duration * | integer |