Back to Video generation
fal.ai·Video generation
MiniMax Hailuo 02 [Standard] (Text to Video)
/fal-ai/minimax/hailuo-02/standard/text-to-videoasync$0.09 / second of outputMiniMax Hailuo-02 Text To Video API (Standard, 768p): Advanced video generation model with 768p resolution Returns hosted file URLs (download promptly; fal keeps them for a limited time). Billed per second of output.
Charged per second of output produced; a call that produces nothing is charged one unit.
Input
durationstringThe duration of the video in seconds. 10 seconds videos are not supported for 1080p resolution. (default "6")
6, 10
prompt_optimizerbooleanWhether to use the model's prompt optimizer (default true)
promptstringrequiredprompt
| Field | Type | Required | Description |
|---|---|---|---|
| duration | string (6, 10) | — | The duration of the video in seconds. 10 seconds videos are not supported for 1080p resolution. (default "6") |
| prompt_optimizer | boolean | — | Whether to use the model's prompt optimizer (default true) |
| prompt | string | yes | prompt |
Run it
curl -s https://sooma.dev/v1/run \
-H "Authorization: Bearer $SOOMA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"fal","endpoint":"/fal-ai/minimax/hailuo-02/standard/text-to-video","input":{"prompt":"A cinematic photo of a lighthouse at dawn, soft light"}}'
Or ask your agent: it will call inspect for this schema and run it over MCP.