Playground
MAGI-2 Playground
Pick text, keyframes, or references, set duration and aspect ratio, preview exact cost, and copy runnable API code.
Playground
Configure and Preview Your MAGI-2 Request
Switch between all four input modes, preview exact render cost, and copy runnable cURL, Python, or TypeScript requests.
179 / 5000
For pure text prompts with scene changes, split beats into explicit segments such as Shot 1 (0-5s) and Shot 2 (5-10s).
5s
Resolution
1080p · 25 fps
Enabled
Schema Valid
Estimated Cost$0.440(440)
POST /v1/videos/tasks
{
"model": "magi-2",
"prompt": "Slow dolly shot through a rain-lit glasshouse at dusk. Water droplets run down steel frames as warm sodium streetlamps reflect in puddles. Soft rain ambience and distant city hum.",
"duration": 5,
"resolution": "1080p",
"generate_audio": true,
"aspect_ratio": "16:9"
}Built-in Request Checks
- Forces model="magi-2", integer duration 4–30s, and resolution="1080p".
- Blocks simultaneous images[] and reference_* fields before HTTP submission.
- Automatically omits aspect_ratio in First-Frame and Keyframe modes.
- Verifies public HTTPS URLs and calculates exact $0.088/s task cost.