Video Generation
Wan Series
Alibaba Tongyi Wanxiang 2.7 video-edit edition — style transfer / content replacement / video rewriting
POST
Wan Series
Alibaba Tongyi Wanxiang 2.7 video-edit edition. Purpose-built for video-rewriting workflows — feed in a source video plus a text instruction (and up to 4 optional style reference images), get back a new video with style transfer / content replacement / full rewrite. Unlike T2V/I2V, VideoEdit requiresDocumentation Index
Fetch the complete documentation index at: https://docs.qingbo.dev/llms.txt
Use this file to discover all available pages before exploring further.
video_urls and operates on “reworking an existing video”.
Billed by resolution, with linear scaling by source-video duration.
Other tiers in the Wan 2.7 family (T2V / I2V / R2V) are not yet available; please contact sales if you need them.
Pricing
| Resolution | Unit price |
|---|---|
| 720P | $0.07055 / sec |
| 1080P | $0.11645 / sec |
duration=0 follows the source video, billing is based on the source-video duration.
Examples
GET /v1/tasks/{task_id}; see Task System for details.
Available Models
| Model ID | Description |
|---|---|
wan2.7-videoedit | Video editing — style transfer / content replacement / full rewrite, 720P/1080P, 0-10 sec, ≤ 4 reference images |
Common Parameters
Fixed to
wan2.7-videoeditOperation type. Allowed values:
edit— video edit (default)video_edit— equivalent toeditstyle_transfer— style transfer
Edit instruction text describing the target effect (replacement / transfer / rewrite), up to 5000 characters
Source video URL array (single element), required:
- Base64 not currently supported
- Public download URL required
Style / content reference image URL array, up to 4
Frame aspect ratio. Allowed values:
16:9— landscape widescreen9:16— portrait1:1— square4:3— landscape3:4— portraitadaptive— follow source-video ratio (recommended)
Output resolution. Allowed values:
720p1080p
Video duration in seconds, range
0-10:0— follow source-video duration (recommended)1-10— specify output duration
Webhook callback URL, invoked when the task reaches a terminal state. See Callback Mechanism
Subscribed callback event types; defaults to terminal events
Model-specific Parameters
Add an AI-generated watermark to the bottom-right corner
Smart prompt rewriting — the backend auto-expands the edit instruction toward the target style
Additional parameter object. Commonly used
audio_setting controls the output audio-track strategy:auto— auto-generate audio matching the edited video (default)origin— keep the source video’s original audio track
Resource Limits
| Item | Limit |
|---|---|
| Source video | MP4/MOV, ≤ 100MB, 2-30 sec, public download required |
| Style reference image | Up to 4, each ≤ 30MB, JPG/PNG/WEBP |
| Prompt | ≤ 5000 characters |
| Output | MP4, link valid for 24 hours, please download promptly |
Related Docs
- Task System Reference — task state machine / polling cadence / async push
- Request & Response Format — common error codes / headers / rate limits
- Authentication — API key signup and usage
Wan Series