About WAN 2.7 - Edit Video
WAN 2.7 edit-video transforms existing videos using instruction-based editing, reference image-based editing, and video style transfer. It supports up to 1080p output, input videos of 2-10 seconds, multiple aspect ratios, and configurable audio handling (auto-regenerate or preserve original).
Ready to build with WAN 2.7 - Edit Video?
Try WAN 2.7 - Edit Video in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/videos/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "wan-v2-7-edit-video",
"input_video": "https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/videos/waterfall.mp4",
"prompt": "Transform the entire scene into a beautiful watercolor painting style. Soft brushstrokes, flowing paint washes, visible paper texture.",
"resolution": "1080p",
"duration": 0,
"audio_setting": "auto"
}'Request parameters
Every field WAN 2.7 - Edit Video accepts in the request body. See the API reference for response formats.
POST
https://hub.oxen.ai/api/ai/videos/generate| Field | Type | Required | Default | Description |
|---|---|---|---|---|
input_video | stringuri | Yes | — | URL of the input video to edit. Format: MP4, MOV. Duration: 2-10s. Max 100 MB. |
prompt | string | Yes | — | Editing instruction or style transfer description. |
reference_image_url | stringuri | No | — | Reference image URL for reference-based editing. |
resolution | string | No | "1080p" | 720p1080p |
duration | integer | No | 0 | Range: 2 – 10 |
audio_setting | string | No | "auto" | Audio handling. 'auto': model decides whether to regenerate audio. 'origin': preserve original audio from input video.autoorigin |
seed | integer | No | — | Random seed for reproducibility (0-2147483647). |