Generate a video
generate_videoGenerate video clips from text prompts or animate a still image into motion. Set model, resolution, duration, sound, and aspect ratio to create footage.
Instructions
Generate a video clip from a prompt, or animate a still by passing image_url. Runs Veo 3.1, Kling 3.0, Seedance 2.0 and the rest of the SayMaker shelf on your own credits; many of them return sound in the same pass. Needs an API key. On a free account, pass model minimax-h3-fast (480p or 768p, 4 to 15 seconds).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the result (default false — video takes minutes). | |
| model | No | Model id from list_models. Defaults to Seedance 2.0. | |
| sound | No | Ask for sound where the model writes it in the same pass (default true). | |
| prompt | Yes | The shot: what happens, where, how the camera moves. | |
| duration | No | Clip length in seconds where the model offers a choice, e.g. 4, 6, 8, 10 (MiniMax H3 Fast also 15). | |
| image_url | No | Optional first frame — makes this image-to-video. | |
| resolution | No | e.g. '480p', '720p', '1080p', '4k' ('480p' or '768p' on MiniMax H3 Fast). | |
| aspect_ratio | No | e.g. '16:9', '9:16'. Default '16:9'. |