MAGI-2 Parameters Reference
Five settings control a MAGI-2 text-to-video generation. This page lists every parameter, its valid values, and its default — keep it open while you build. For the MAGI-2 API endpoints themselves and how to poll a job, see the API reference.
The parameters
| Parameter | Type | Required | Default | Valid values |
|---|---|---|---|---|
| prompt | string | yes | — | up to 15,000 characters |
| aspect_ratio | string | no | 16:9 | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
| duration | integer | no | 5 | 4–30, whole seconds |
| generate_audio | boolean | no | true | true / false |
| seed | integer | no | random | 0–2147483647 on most hosts; 0–4294967295 on Sand AI's native API |
Field names here follow hosted platforms such as Higgsfield and WaveSpeed. Sand AI's own API uses camelCase — aspectRatio, generateAudio, and enhancePrompt to switch prompt enhancement on or off — and sends the prompt and any reference media as items in a parts array.
prompt
The structured caption describing your clip — the two-layer text the prompt generator builds for you. Up to 15,000 characters. Dense prompts are fine; the practical limit is not length but how much action you fit into the duration (the prompt guide explains the timing rules).
aspect_ratio
Six values: 16:9 for YouTube and landscape, 9:16 for Shorts, TikTok, and Reels, 1:1 for feed posts, 4:3 and 3:4 for classic and print-like frames, 21:9 for cinematic widescreen. The default is 16:9.
duration
Whole seconds from 4 to 30; the default is 5. Longer is not just more expensive — it needs more beats: one action fits comfortably in 10 seconds, two beats in 20, three in 30. Note that the open-source preview weights generate a fixed 10-second clip at 1088×1920. Higgsfield and WaveSpeed both document the full 4 to 30 seconds; another host may expose less, so check its docs.
generate_audio
True by default: the model generates dialogue, sound effects, and music, muxed into the output file. Setting it to false returns a silent video — same price — useful for B-roll you will score and cut yourself. See audio prompting.
seed
An integer that fixes the random seed. Hosted platforms such as WaveSpeed and kie.ai accept 0 to 2,147,483,647; Sand AI's native API and Higgsfield accept 0 to 4,294,967,295, and on Sand AI's API an omitted field or -1 means random. Same prompt plus same seed gives similar results across runs; leave it out for fresh variations. Not every hosted platform exposes seed.
What is not a parameter
Resolution is a field on some platforms, but 1080p is its only value; frame rate (25fps) and audio format are fixed by the model, not by request. Style and lighting are part of the prompt text, not API settings — which is exactly why prompt structure matters: see the prompt generator or the cost calculator for the pricing side of these choices. For the three task types and how to poll a job, go to the MAGI-2 API reference.