VideoWan 3.0
Image to video · Text to video
Starting price $0.0793 / second
By Alibaba
Wan 2.7 makes 2 to 15 second clips at 720p or 1080p from a prompt, a first and last frame, reference images or a clip to continue, and edits clips you upload.
wan/v2.7/reference-to-videoThis model has other modes with their own ids: wan/v2.7/text-to-video, wan/v2.7/image-to-video, wan/v2.7/edit-video.
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.7/reference-to-video",
"input": {
"prompt": "The girl and the white horse from the reference images meet in a misty meadow at dawn. She feeds the horse an apple and strokes its mane as the sun comes up."
}
}'
# 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.7/reference-to-video", "quote_id": "QUOTE_ID", "input": {"prompt":"The girl and the white horse from the reference images meet in a misty meadow at dawn. She feeds the horse an apple and strokes its mane as the sun comes up."}}'
# 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 |
|---|---|---|
promptrequired | string | Text prompt describing the desired video. Max 5000 characters. |
reference_image_urls | array of image URLs | Reference image URLs for character/object appearance. Pass multiple images for multi-subject generation. Max 20 MB each. |
negative_prompt | string | Content to avoid in the video. Max 500 characters. |
aspect_ratio | string (enum) | Aspect ratio of the generated video. |
resolution | string (enum) | Output video resolution tier. |
duration | number (enum) | Output video duration in seconds (2-10). |
multi_shots | boolean | When true, enables intelligent multi-shot segmentation. When false (default), generates a single continuous shot. |
seed | integer | Random seed for reproducibility (0-2147483647). |
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.7 renders 2 to 15 seconds in 16:9, 9:16, 1:1, 4:3 or 3:4. Upload a WAV or MP3 to drive the clip; without one, text clips get background music made to match.
The image mode starts from a first frame, can end on a last frame, or continues a video clip of 2 to 10 seconds instead. The reference mode builds a 2 to 10 second scene around the people and objects in your images; the edit mode restyles or changes a clip of 2 to 10 seconds and can keep its sound. A negative prompt keeps things out.
Check motion continuity, the ending transition and sound alignment across the clip.