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/edit-videoThis model has other modes with their own ids: wan/v2.7/text-to-video, wan/v2.7/image-to-video, wan/v2.7/reference-to-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/edit-video",
"input": {
"prompt": "Restyle the clip as a hand-drawn watercolor animation. Keep the camera move and the dancer'\''s steps exactly as they are.",
"video_url": "https://example.com/input.mp4"
}
}'
# 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/edit-video", "quote_id": "QUOTE_ID", "input": {"prompt":"Restyle the clip as a hand-drawn watercolor animation. Keep the camera move and the dancer'\''s steps exactly as they are.","video_url":"https://example.com/input.mp4"}}'
# 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 | Editing instruction or style transfer description. |
video_urlrequired | string (URL) | URL of the input video to edit. Format: MP4, MOV. Duration: 2-10s. Max 100 MB. Max file size: 100.0MB, Min duration: 2s, Max duration: 10s, Timeout: 30.0s |
reference_image_url | string (image URL) | Reference image URL for reference-based editing. |
resolution | string (enum) | Output video resolution tier. |
aspect_ratio | string (enum) | Aspect ratio of the generated video. If not provided, uses the aspect ratio of the input video. |
duration | number (enum) | Output video duration in seconds. Default 0 means match input video duration. When set (2-10), truncates from the start. |
audio_setting | string (enum) | Audio handling. 'auto': model decides whether to regenerate audio. 'origin': preserve original audio from input video. |
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.