ReplicateImage to videoComing soon

minimax/hailuo-02

minimax/hailuo-02 is an image to video tool from Replicate that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Price pending

Pricing

Price pending.

Limits

Runs
In the background
Returns
video
Longest queue wait
3600s
Run deadline
3600s
Largest inline input
1024 KB
Largest input file
500 MB
Largest output
4768 MB
Outputs per run
16

Input

FieldKindDefaultDescription
prompt requiredtext—Text prompt for generation
durationJSON6Duration of the video in seconds. 10 seconds is only available for 768p resolution.
resolutionJSON1080pPick between standard 512p, 768p, or pro 1080p resolution. The pro model is not just high resolution, it is also higher quality.
last_frame_imagetext—Last frame image for video generation. The final frame of the output video will match this image.
prompt_optimizertrue or falsetrueUse prompt optimizer
first_frame_imagetext—First frame image for video generation. The output video will have the same aspect ratio as 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": "replicate",
    "model": "minimax/hailuo-02",
    "input": {
      "prompt": "<prompt>"
    }
  }'