infery
← All models

Wan

wan-v2.7-edit-video

Video generationby Alibaba

Wan 2.7 is the latest generation AI video model, delivering enhanced motion smoothness, superior scene fidelity, and greater visual coherence.

Example

Details

Accepts
video

Pricing

Price
12.5 cr / second

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducibility (0-2147483647).
promptrequiredstringEditing instruction or style transfer description.
durationintegerenum: 0, 2, 3, 4, 5, 6Output video duration in seconds. Default 0 means match input video duration. When set (2-10), truncates from the start.
video_urlrequiredstringURL 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
resolutionstringenum: 720p, 1080pOutput video resolution tier.
aspect_ratioAspect ratio of the generated video. If not provided, uses the aspect ratio of the input video.
audio_settingstringenum: auto, originAudio handling. 'auto': model decides whether to regenerate audio. 'origin': preserve original audio from input video.
reference_image_urlReference image URL for reference-based editing.
enable_safety_checkerbooleanEnable content moderation for input and output. Disabling it requires account authorization; unauthorized requests are always checked.

Output

FieldTypeDescription
seedintegerThe seed used for generation.
videoThe edited video file.
actual_promptThe actual prompt used if prompt rewriting was enabled.