MAGI-2 AI Video

v1.0.0
net.magi2aivideo/magi2 Checked 4 days ago Published 10 days ago

Generate 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.

ParameterTypeDescription
prompt *string
aspect_ratiostring
audiosarray
durationintegerSeconds of video.
first_framestringPublic https:// URL of the file, or an upload id (flow_input_…).
generate_audioboolean
imagesarray
last_framestringPublic https:// URL of the file, or an upload id (flow_input_…).
modestring
videosarray

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.

ParameterTypeDescription
id *string

list_videos List recent videos

List the user's most recent MAGI-2 videos with their status.

ParameterTypeDescription
limitinteger

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).

ParameterTypeDescription
duration *integer