generate_video
Convert a Blender scene's camera animation into a realistic MP4 video using MiniMax H3, with optional style references, key frames, and resolution choices.
Instructions
Turn the scene's animation, seen through the scene camera, into a realistic video with
MiniMax H3 Max, and save it as an MP4 file. Nothing is added to the scene.
Only when the user asks for a video. Blender renders the frame range as a quick flat-shaded
layout video; H3 keeps its camera, motion, timing and object placement and invents the look.
Never call it straight away. First, in order, stopping for the user's go-ahead at each step:
1. Block out the shot (objects, camera move, animation) and show it to the user with
look(mode="frames", view="camera").
2. Style reference: generate_image(prompt=<the look>, images=["camera"]) on a representative
frame. Show it to the user and revise it until they approve the look.
3. Key frames: generate_image(prompt=..., images=["camera", <approved style image>], frame=N)
at the moments that matter (start, end, big changes; 2-4 is usually enough). Show them
to the user and get their approval.
4. Ask which resolution: 480p, 768p or 1080p (there's no 720p), with the costs below.
Then call it with the approved style image and key frames in references.
A video costs the user money on their own fal key ($0.50 plus per second, 5-15 s billed: about
$0.75-$1.25 at 480p, $0.90-$1.70 at 768p, $1.30-$2.90 at 1080p) or Premium high-quality
generations (480p 1, 768p 2, 1080p 3, Pro and up). It takes several minutes: waits up to
wait_seconds (at most 45), then returns a job handle: call generate_video(job=..., name=...)
again to keep waiting.
Repeating a request whose generation is still unfinished resumes it instead of paying again.
You can't watch the result: tell the user where the file is.
Parameters:
- prompt: Optional. What the stand-in shapes are and how they move, and the look you want
("The blue box is a red vintage car driving through a rainy city at dusk"). Camera, motion,
timing and object count always come from the render.
- references: Up to 8 absolute image paths or http(s) URLs for the look: the approved style
image and key frames, photos of the subject or place. Without any, H3 makes its own.
- frame_start / frame_end: The range to render. Default: the scene's frame range. At most
15 seconds at the scene's frame rate, and at least 1.
- resolution: 480p, 768p or 1080p, as the user chose. Default: their setting in the addon
(480p unless changed).
- name: File name, without extension. Defaults to one made from the prompt.
- job: A handle from an earlier call, to resume waiting for it.
- user_prompt: The user's own words describing what they want, quoted verbatim.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | ||
| name | No | ||
| prompt | No | ||
| frame_end | No | ||
| references | No | ||
| resolution | No | ||
| frame_start | No | ||
| user_prompt | No | ||
| wait_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |