ReplicateImage to videoComing soon

wan-video/wan-2.2-5b-fast

wan-video/wan-2.2-5b-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

resolution: 480p $0.01625, 720p (default) $0.0325 per video.

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—Prompt for video generation
seednumber (whole)—Random seed. Leave blank for random
imageURL or file—Input image to generate video from.
go_fasttrue or falsetrueGo fast
num_framesnumber (whole)
81 to 121
121Number of video frames. 81 frames give the best results
resolutionJSON720pResolution of video. 16:9 corresponds to 832x480px, and 9:16 is 480x832px
aspect_ratioJSON16:9Aspect ratio of video. 16:9 corresponds to 832x480px, and 9:16 is 480x832px
sample_shiftnumber
1 to 20
12Sample shift factor
frames_per_secondnumber (whole)
5 to 30
24Frames per second. Note that the pricing of this model is based on the video duration at 16 fps

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": "wan-video/wan-2.2-5b-fast",
    "input": {
      "prompt": "<prompt>"
    }
  }'