WAN 2.7 (Video Edit)

Alibaba WAN 2.7 video generation and editing via Bailian/DashScope. Text-to-video, image-to-video, reference-to-video, and video editing with synced audio, 720p / 1080p. · alibaba

All models
Parameters

Editing instruction.

0 = full input video length (billed by input duration); 2-10 = clip length.

Add a watermark.

Reference image URL(s); up to 4 are forwarded to Bailian.

Source video URL to edit (MP4/MOV). Exactly 1.

Optional. If omitted, Bailian follows the input video aspect ratio.

auto: model decides; origin: keep source audio.

Enable prompt rewriting.

Negative prompt.

Pricing
120credits
5s
Per second24 credits/s
Result

Configure parameters and click Run to test the API.

Code Example
curl -X POST https://aivideoapi.ai/v1/videos/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan-2.7-video-edit",
  "input": {
    "duration": 0,
    "watermark": false,
    "resolution": "720p",
    "aspect_ratio": "16:9",
    "audio_setting": "auto",
    "prompt_extend": true
  }
}'