VideoWan 3.0
Image to video · Text to video
Starting price $0.0793 / second
By Alibaba
Wan 2.2 A14B Turbo makes short clips at 480p, 580p or 720p from a prompt, or from a first-frame image with an optional end image.
wan/v2.2-a14b/image-to-video/turboThis model has other modes with their own ids: wan/v2.2-a14b/text-to-video/turbo.
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan/v2.2-a14b/image-to-video/turbo",
"input": {
"image_url": "https://example.com/input.png",
"prompt": "The sailboat in the image leans into the wind and cuts through the waves as the sun breaks through the clouds."
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "wan/v2.2-a14b/image-to-video/turbo", "quote_id": "QUOTE_ID", "input": {"image_url":"https://example.com/input.png","prompt":"The sailboat in the image leans into the wind and cuts through the waves as the sun breaks through the clouds."}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
image_urlrequired | string (image URL) | URL of the input image. If the input image does not match the chosen aspect ratio, it is resized and center cropped. |
promptrequired | string | The text prompt to guide video generation. |
seed | integer | Random seed for reproducibility. If None, a random seed is chosen. |
resolution | string (enum) | Resolution of the generated video (480p, 580p, or 720p). |
aspect_ratio | string (enum) | Aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image. |
enable_prompt_expansion | boolean | Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning. |
acceleration | string (enum) | Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'. |
video_quality | string (enum) | The quality of the output video. Higher quality means better visual quality but larger file size. |
video_write_mode | string (enum) | The write mode of the output video. Faster write mode means faster results but larger file size, balanced write mode is a good compromise between speed and quality, and small write mode is the slowest but produces the smallest file size. |
end_image_url | string (image URL) | URL of the end image. |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
Wan 2.2 A14B Turbo renders 16:9, 9:16 or 1:1 video at 480p, 580p or 720p; each run returns one clip of a length the model sets. Prompt expansion, off by default, can add detail to a short prompt while keeping its meaning.
The image mode starts from your picture and can finish on an end image. If the picture does not match the chosen shape it is resized and cropped from the center; auto keeps the picture's own shape.
Watch subject identity, camera movement and unwanted cropping; review the last frame.