# Alibaba Wan 3.0 Pro Video Edit API

> Wan 3.0 Pro Video Edit by Alibaba restyles or modifies an input video from a text instruction, optionally guided by reference images and audio, keeping the original length, upscaled to 1080p, 2K, or 4K.

Source: https://www.sandbase.ai/models/alibaba/wan/3.0/pro/video-edit
API reference: https://www.sandbase.ai/models/alibaba/wan/3.0/pro/video-edit#api

## Facts

- Provider: Alibaba
- Type: Video model
- Model ID: `alibaba/wan/3.0/pro/video-edit`
- Price: From $1.80 per run
- Capabilities: video to video
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "alibaba/wan/3.0/pro/video-edit",
  "video": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260402/ldnfdf/wan2.7-videoedit-style-change.mp4",
  "resolution": "1080p",
  "generate_audio": true
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call Alibaba Wan 3.0 Pro Video Edit through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/wan/3.0/pro/video-edit" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate Alibaba account?

No. One SandBase API key and balance gives you access to Alibaba Wan 3.0 Pro Video Edit and the other models in the catalog; you do not need to sign up with Alibaba separately.

## README

### Wan 3.0 Pro Video Edit

Change an existing clip with a sentence: restyle it, swap a subject or prop, or rework the setting. Optional reference images and audio guide the change. The result keeps the length and framing of the source. Pro runs the same Wan 3.0 model, then upscales the result with FlashVSR, so output comes back at 1080p, 2K, or 4K. For 480p or 720p use the non-Pro endpoints.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Up to 5,000 characters. |
| `video` | video URL, required | — | Source clip, Video 1 in the prompt. MP4/MOV, 1–15s, ≥16fps, 240–4096px per side, ≤100MB. |
| `images` | image URL[] (≤10) | — | Referenced as Image 1, Image 2, … |
| `audios` | audio URL[] (≤5) | — | WAV/MP3, 1–15s each, 15s total, ≤15MB. Referenced as Audio 1, … |
| `resolution` | `1080p` / `2k` / `4k` | `1080p` | Output tier after FlashVSR super-resolution; sets the per-second rate. |
| `generate_audio` | boolean | true | Native dialogue, music, and effects. Same price on or off. |
| `seed` | integer 0–2147483647 | random | Fix it to compare prompt changes. |

There is no `duration` field; the output is as long as the source.

#### Billing

Like the Wan 3.0 Pro rate, billing counts the source clip and the edited output, which are the same length, so each source second bills twice: $0.36 at 1080p, $0.40 at 2K, $0.46 at 4K. References are not metered.

| Source clip | Billed | 1080p | 2K | 4K |
|---|---|---|---|---|
| 2s | 4s | $0.72 | $0.80 | $0.92 |
| 5s | 10s | $1.80 | $2.00 | $2.30 |
| 10s | 20s | $3.60 | $4.00 | $4.60 |
| 15s | 30s | $5.40 | $6.00 | $6.90 |

The quote shown before submission assumes a 5-second source ($1.80 at 1080p); the final charge uses the measured length. Failed runs are not charged. Output files are copied to SandBase storage and the returned URL stays valid for 7 days; download anything you need to keep.

#### Prompting

- Lead with the change and state what must stay: “turn the scene into clay animation; keep her face and the camera motion”.
- Refer to the source as Video 1 and to references as Image 1 or Audio 1.
- Draft on the non-Pro video-edit endpoint at 480p, then rerun here for the final tier; edits cost twice the source length.

#### Limits

- The output aspect ratio follows the source video.
- To add new footage after the clip, use video-extend.

#### Also on SandBase

Other Wan 3.0 Pro endpoints: `alibaba/wan/3.0/pro/video` (all modes in one schema), `alibaba/wan/3.0/pro/text-to-video`, `alibaba/wan/3.0/pro/image-to-video`, `alibaba/wan/3.0/pro/reference-to-video`, `alibaba/wan/3.0/pro/video-extend`.
