Wan 2.7 Video Edit
alibaba/wan/2.7/video-editAlibaba Wan 2.7 video editing model.
- Base price
- $0.50USD / run
- Execution
- async
- Model type
- video
- Input fields
- 6
Try the model
Playground
PNG, JPEG, WebP, or GIF · 20 MiB maximum each
Your output will appear here
Complete the inputs, then click Run.
Specifications
Pricing
- Base price
- $0.50 / run
- Billing formula
- ((params.duration ?? 0) > 0 ? params.duration : Math.ceil(usage.duration ?? 5.0)) * ((params.resolution ?? "720p") == "1080p" ? 0.15 : 0.10)
Context & modalities
- Input
- Schema-defined
- Output
- video
Capabilities
- Chat
- Not supported
- Vision
- Not supported
- Reasoning
- Not supported
- Structured output
- Not supported
- Function calling
- Not supported
- Audio input
- Not supported
Access
- Provider
- Alibaba
- Model ID
- alibaba/wan/2.7/video-edit
- Execution
- async
- API
- Unified Run API
- Endpoint
- /v1/run
API README
Wan 2.7 Edit Video
Wan 2.7 Edit Video revises an existing video according to natural-language direction while accounting for motion and scene continuity. Instead of treating frames independently, it carries the requested transformation through the clip so style, objects, environment, and subject appearance remain connected over time.
Use it for cinematic restyling, wardrobe or object changes, background transformation, atmosphere shifts, and other revisions that would be difficult to reproduce manually across every frame. State what changes, what remains original, and how the new treatment should behave during movement and camera changes.
Highlights
- Instruction-based video editing. Applies a written semantic or stylistic transformation to existing footage.
- Cross-frame edit consistency. Keeps the revised appearance stable through motion, cuts, and changing viewpoints.
- Source-motion preservation. Retains useful action and timing from the input while changing visual presentation.
- Cinematic style transfer. Reinterprets a clip’s color, material, lighting, or artistic language as a coherent sequence.
Pricing
| Resolution | Price |
|---|---|
| 720p, per second of output | $0.10 |
| 1080p, per second of output | $0.15 |
duration=0 (match input) | Billed on the output video length (rounded up); 5s if unavailable |
| Default (720p, 5s) | $0.50 |
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| The project needs this exact video editing workflow | The intended task belongs to a different media route |
| Available source media matches every required field | Required assets or usage rights are unavailable |
| The brief can define subject, action, camera, and style | Output must be deterministic at frame or pixel level |
| Supported duration, resolution, and framing fit delivery | Final placement requires unsupported specifications |
| An asynchronous generation job fits production | A live or frame-synchronous response is mandatory |
Prompt Guide
Describe the result as a shot or design brief: identify subjects and references, state the action or transformation, specify environment and composition, then add camera behavior, lighting, pacing, style, sound, and preservation constraints where relevant. Use exact reference identifiers exposed by the local schema.
{
"duration": 5,
"images": [
"https://example.com/reference-1.png",
"https://example.com/reference-2.png"
],
"prompt": "",
"resolution": "720p",
"video": "https://example.com/source.mp4"
}
Technical Specs
| Spec | Value |
|---|---|
| Model ID | alibaba/wan/2.7/video-edit |
| Input fields | video (string)<br>images (array)<br>prompt (string)<br>duration (integer; 0, 2, 3, 4, 5, 6, 7, 8, 9, 10)<br>resolution (string; 720p, 1080p)<br>audio_setting (string; auto, origin) |
| Required input | prompt, video |
| Output fields | url, content_type |
| Execution | Asynchronous job |
Related Models
alibaba/wan/2.7— Compare this concrete local family route.alibaba/wan/2.7/edit— Compare this concrete local family route.alibaba/wan/2.7/image-to-video— Compare this concrete local family route.
Start building
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "alibaba/wan/2.7/video-edit",
"duration": 0,
"resolution": "720p",
"audio_setting": "auto"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
Wan 2.7 Video EditThis model Alibaba | Video | $0.50 / run | Oct 5, 2026 |
Alibaba | Video | — | Oct 5, 2026 |
Alibaba | Video | — | Oct 4, 2026 |
Alibaba | Video | — | Oct 4, 2026 |
Alibaba | Video | — | Oct 4, 2026 |
Alibaba | Video | — | Oct 4, 2026 |
