H3 Max Recast
minimax/h3-max/recastEdit and transform video with H3 Max Recast from fal through one Spiral API key. Recast the people in a video using reference photos with H3 Max, while preserving the source motion, camera, cuts, and audio. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
Up to $24.725855 per run at the default inputs for 60 seconds of input. resolution: 768P $18.095855, 1080P (default) $24.725855. $28.60 per 1M input tokens.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 930 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
video_url required | URL or file | — | The source video, 5 to 30 seconds long, with no single shot longer than 15 seconds. |
reference_image_urls required | URLs or files | — | One photo per new person. By default they replace the main people in the video from left to right, each in every shot they appear in. |
prompt | text | — | Optional: who becomes whom, or what else to keep or change. |
resolution | one of 768P, 1080P | 1080P | |
seed | number (whole) 0 to … | — | Random seed. Leave empty for a random one. |
enhance_realism | true or false | false | More natural skin textures and better blending of the new people into the scene. Off unless set. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "minimax/h3-max/recast",
"input": {
"video_url": "https://v3b.fal.media/files/b/0aac8cc6/lOHY4Mitfg5x1UDerR3RB_dw9Hs7ChHU-Fqwzz0W9cq_video.mp4",
"reference_image_urls": [
"<reference_image_urls>"
]
}
}'Frequently asked questions
How much does H3 Max Recast cost?
Up to $24.725855 per run at the default inputs for 60 seconds of input. `resolution`: 768P $18.095855, 1080P (default) $24.725855. $28.60 per 1M input tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use H3 Max Recast through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "minimax/h3-max/recast"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use H3 Max Recast?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use H3 Max Recast?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.