Wan 2.7 Video Extend
/v1/runAlibaba Wan 2.7 Video Extend continues an input clip from a text instruction, optionally ending on a chosen last frame, for a total length of up to 15 seconds.
Request body
Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.
Model identifier. Set to alibaba/wan/2.7/video-extend.
Default: alibaba/wan/2.7/video-extend
What happens after the source clip ends: action, camera movement, scene progression, and sound. Up to 5,000 characters.
URL of the source clip to continue (MP4 or MOV, 2-10 seconds, 240-4096px per side, up to 100MB).
Optional last frame the continuation should end on (JPEG, PNG, BMP, or WebP; 240-8000px per side, up to 20MB).
Total length of the output in seconds, including the source clip (2-15). For a 3-second source and duration 10, the model adds 7 seconds. Must be longer than the source clip.
Allowed values: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Default: 5
The resolution of the video to generate.
Allowed values: 720p, 1080p
Default: 720p
Random seed (0-2147483647) for reproducible results. Omit for a random seed.
Range: 0 to 2147483647
Response Schema
The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.
Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.
Current public run status.
Allowed values: pending, running, completed, failed, timeout
Public SandBase model name used for this run.
Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.
Present only for failed or timeout runs. Contains a public error type and sanitized message.
Stable public error category.
Sanitized error message safe to show to clients.
Usage details when available.
Model capabilities
Capabilities declared by the model registry.
Default: video-to-video
Execution mode declared by the model registry.
Default: async