falVideoAvailable now

minimax/h3-max/image-to-video

minimax/h3-max/image-to-video is a video tool from fal that runs in the background and returns video. Pay as you go, with one API key.

Run time p50 · last 24 hours
19.9s
Success rate · last 24 hours
58.7%

Pricing

$0.104 per second at 768p ($0.065 at 480p, $0.208 at 1080p).

Limits

Runs
In the background
Returns
video
Longest queue wait
1 hour
Run deadline
1 hour
Longest run, end to end
930 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—

Text prompt for video generation

durationnumber
0.92 to 15
5

Video length in seconds. The output can run up to about 0.7 s longer than requested. Use at least 2 s with target_audio_url.

resolutionone of
480P, 768P, 1080P
768P

The native generation resolution, or 1080P latent refinement from a native 768P source.

seednumber (whole)—

Random seed. A random seed is selected when omitted.

prompt_expansion_mode requiredtextbalanced

How much effort to spend rewriting the prompt before generation. 'disabled' skips prompt expansion. 'balanced' returns in about a second. 'quality' spends up to ~30s on a richer prompt.

target_audio_urlURL or file—

Optional URL of an audio clip at least 2 seconds long (maximum 15 MB) to pin to the generated soundtrack. Longer clips are trimmed to the generated video's length, keeping the beginning. The original audio replaces the output soundtrack, padded with silence if shorter than the video, without changing playback speed. Exceptionally high sample rates may be resampled to 96 kHz. Accepts an HTTP(S) URL or a base64 data URI.

image_urlURL or file—

Optional URL of the image to use as the first frame. When provided, the output canvas follows this image. If only end_image_url is provided, the canvas follows that last frame instead. If both images are omitted, the request is handled as text-to-video (16:9 by default).

end_image_urlURL or file—

Optional URL of the image to use as the last frame. It may be provided alone for end-only keyframe generation; in that case the output canvas follows this image.

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/image-to-video",
    "input": {
      "prompt": "The camera slowly pulls back from the scene, revealing the full landscape as clouds drift overhead and light shifts across the terrain.",
      "prompt_expansion_mode": "balanced"
    }
  }'