Wan2.7 video editing supports both localized and global edits using prompts. Seamlessly replaces elements with image references and replicates complex dynamic processes, including motion, special effects, and camera movements. https://bailian.console.alibabacloud.com/cn-beijing?tab=model#/model-market/detail/wan2.7-videoedit?serviceSite=asia-pacific-china
Generate video
All API requests must be authenticated using a Bearer token in the Authorization header. Please ensure your API key is active.Authorization: Bearer sk-xxxxxx
These parameters come from the selected model form_schema. Switching models updates this list and the request example.
video_url*stringRequired. Upload the video to edit (mp4/mov, 2-10s, ≤100MB).
reference_images?arrayUpload up to 4 reference images for local edits or style guidance.
prompt*stringDescribe how you want to modify the video (e.g., convert to claymation, change background). Max 5000 chars.
negative_prompt?stringOptional. Describe content to exclude, max 500 chars.
resolution?stringOutput resolution tier, 720P or 1080P; directly affects cost. Default 1080P.
ratio?stringOutput video aspect ratio: 16:9 / 9:16 / 1:1 / 4:3 / 3:4. Default 16:9.
duration?numberTruncate video to specified seconds. Set to 0 to keep original duration.
audio_setting?string'Auto' regenerates the soundtrack; 'Origin' keeps the original video's audio. Default Auto.
prompt_extend?booleanWhen on, an LLM intelligently rewrites your prompt. Enabled by default.
watermark?booleanAdd a fixed 'AI生成' watermark to the bottom-right of the video. Disabled by default.
seed?numberRandom seed, range [0, 2147483647]. System generates a random seed when unspecified.
task_id?stringParameter description for Task Id
status?stringParameter description for Status
error?objectParameter description for Error
message?stringError Message
type?stringError Type
param?stringRelated Parameters
code?stringError Code