Animate a first-frame image with MiniMax H3 Max Turbo. Add an optional last frame to guide the ending, choose the duration and native resolution, and retrieve the video after the asynchronous task completes.
Developer API pricing
Provider: fal
USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.
480P: 12 credits/sec (≈ $0.045/sec)
768P: 18 credits/sec (≈ $0.067/sec)
1080P: 32 credits/sec (≈ $0.12/sec)
After submitting a task, use the unified query endpoint to check progress and retrieve results:
Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.
Callback URL per generation.
/v1/generationsA new, stable key for each generation request. Reuse it only when retrying the same request body.
order-20260818-001The model ID shown in the selected model's API documentation.
minimax-h3-max-turbominimax-h3-max-turbominimax-h3-max-turboImage to Video. Use the Endpoint ID shown in this model's API documentation.
image-to-videoimage-to-videoimage-to-videoOptional public Provider ID. Omit it to use the Endpoint default Provider (fal).
falfalfalGeneration settings for the selected Provider. Supply the fields in this group inside input.
Provider parameters
falDefault ProviderURL of the image used as the opening frame. The generated video follows the aspect ratio of this image.
https://client.example.com/input.pngOptional URL of the final frame. Supply it together with first_frame_image to guide a transition from the starting image to the ending image.
Describe the motion, subject actions, scene changes, and camera movement to generate from the starting image.
A cinematic city at nightLength of the generated video, in seconds. Provide a whole number.
5Native generation resolution of the video. Choose 480P or 768P;
480P768P1080P768PControls how much effort is spent expanding your prompt before video generation. balanced favors a short rewrite; quality produces a more detailed rewrite.
balancedqualitybalancedInteger seed used to initialize generation randomness. If omitted, a random seed is selected.
An absolute HTTPS URL that receives the terminal generation Webhook.
https://client.example.com/webhooks/seeapitask_xxxminimax-h3-max-turboimage-to-videofalfal: falfalprocessingprocessingEstimated public credits. Values can include up to three decimal places.
90Consumed public credits, with up to three decimal places.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier request.
falsetask_xxxminimax-h3-max-turboimage-to-videofalfal: falfalprocessingprocessingEstimated public credits. Values can include up to three decimal places.
90Consumed public credits, with up to three decimal places.
0Refunded public credits, with up to three decimal places.
02026-08-18T10:00:00Z2026-08-18T10:00:00ZWhether this response is an idempotent replay of an earlier request.
falseInvalid JSON, parameters, Schema, or API Policy
Invalid API Key or authentication failed
Insufficient credits
The current request is not allowed
Model, Endpoint, or task not found
Idempotency conflict or the same request is still being created
Request body is too large
Too many requests
Service temporarily unavailable
const response = await fetch("https://api.seeapi.com/v1/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "order-20260818-001",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "minimax-h3-max-turbo",
"endpoint": "image-to-video",
"provider": "fal",
"input": {
"first_frame_image": "https://client.example.com/input.png",
"prompt": "A cinematic city at night",
"duration_seconds": 5,
"resolution": "768P",
"prompt_expansion_mode": "balanced"
},
"callback_url": "https://client.example.com/webhooks/seeapi"
})
});
const result = await response.json();{
"generation": {
"id": "task_xxx",
"model": "minimax-h3-max-turbo",
"endpoint": "image-to-video",
"provider": "fal",
"status": "processing",
"estimated_credits": 90,
"consumed_credits": 0,
"refunded_credits": 0,
"created_at": "2026-08-18T10:00:00Z",
"updated_at": "2026-08-18T10:00:00Z"
},
"idempotent": false
}