ReplicateVideoComing soon

wan-video/wan-2.2-i2v-a14b

wan-video/wan-2.2-i2v-a14b is a 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.

Pricing

Coming soon

resolution: 480p (default) $0.52, 720p $1.30 per video.

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
image requiredURL or file—

Input image to generate video from.

prompt requiredtext—

Prompt for video generation

seednumber (whole)—

Random seed. Leave blank for random

go_fasttrue or falsefalse

Go fast

num_framesnumber (whole)
81 to 100
81

Number of video frames. 81 frames give the best results

resolutionJSON480p

Resolution of video. 832x480px corresponds to 16:9 aspect ratio, and 480x832px is 9:16

sample_shiftnumber
1 to 20
5

Sample shift factor

sample_stepsnumber (whole)
1 to 50
40

Number of generation steps. Fewer steps means faster generation, at the expensive of output quality. 30 steps is sufficient for most prompts

frames_per_secondnumber (whole)
5 to 24
16

Frames 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-i2v-a14b",
    "input": {
      "image": "<image>",
      "prompt": "<prompt>"
    }
  }'