ReplicateImage to videoComing soon

minimax/hailuo-02-fast

minimax/hailuo-02-fast 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.

Priced by usage

Pricing

$0.13 per run at the default inputs. The final charge comes from usage.

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
first_frame_image requiredtext—First frame image for video generation. The output video will have the same aspect ratio as this image.
go_fasttrue or falsefalseGenerate videos faster with slightly lower quality
durationJSON6Duration of the video in seconds.
resolutionJSON512PThe resolution to render (should be 512P).
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

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-fast",
    "input": {
      "prompt": "<prompt>",
      "first_frame_image": "<first_frame_image>"
    }
  }'