WaveSpeedImage to videoComing soon
alibaba/wan-2.7/reference-to-video
alibaba/wan-2.7/reference-to-video is an image to video tool from WaveSpeed 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 pendingPricing
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
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | The positive prompt for the generation. Refer to reference media as Image 1, Image 2, ... and Video 1, Video 2, ...; images and videos are counted separately, each in array order. E.g. with 2 videos and 1 image: 'Video 1 smiles at Video 2, Video 2 holds Image 1 in a cafe'. |
seed | number (whole) | — | The random seed to use for the generation. -1 means a random seed will be used. |
image | URL or file | — | URL to a single reference image. |
duration | number (whole) 2 to 10 | 5 | The duration of the generated media in seconds (2-10s). |
resolution | one of 720p, 1080p | 720p | The resolution of the generated video. |
aspect_ratio | one of 16:9, 9:16, 1:1, 4:3, 3:4 | 16:9 | The aspect ratio of the generated video. |
negative_prompt | text | — | The negative prompt for the generation. |
reference_images | URLs or files | — | Array of reference image URLs (max 5). Combined count of reference_images and reference_videos must be between 1 and 5. Refer to them in the prompt as Image 1, Image 2, ... in array order; images are counted separately from videos. |
reference_videos | URLs or files | — | Array of reference video URLs (max 5). Combined count of reference_images and reference_videos must be between 1 and 5. Refer to them in the prompt as Video 1, Video 2, ... in array order. |
enable_prompt_expansion | true or false | false | If set to true, the prompt optimizer will be enabled. |
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": "wavespeed",
"model": "alibaba/wan-2.7/reference-to-video",
"input": {
"prompt": "<prompt>"
}
}'