Skip to main content
POST
cURL
MAGI-2 renders native 1080p, 25 fps audio-video clips (finished output is ~0.24s longer than duration) and typically takes 13–20 minutes depending on length. Use callback_url or patient polling on GET /v1/videos/status/{task_id}. Billing is flat per requested second regardless of aspect ratio or generate_audio.

Authorizations

Authorization
string
header
required

Use your APIPod API key as a Bearer token in the Authorization header.

Body

application/json
model
string
required

Public APIPod model ID.

Allowed value: "magi-2-t2v"
prompt
string
required

Describe the video to generate. Required, up to 8000 characters.

Required string length: 1 - 8000
duration
integer
default:5

Output video duration in seconds (4-30, default 5).

Required range: 4 <= x <= 30
resolution
enum<string>
default:1080p

Output resolution. MAGI-2 supports native 1080p at 25 fps.

Available options:
1080p
aspect_ratio
enum<string>
default:16:9

Aspect ratio of the generated video.

Available options:
21:9,
16:9,
4:3,
1:1,
3:4,
9:16
generate_audio
boolean
default:true

Generate synchronized native audio alongside the video.

callback_url
string

Optional webhook URL to receive task completion notifications.

Response

200 - application/json

Task accepted

Standard response for task submission

code
integer
required
data
Task Submit Data · object
required
message
string
required