Skip to main content

Try WAN 2.7 - Edit Video in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: wan-v2-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).

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
This blocks until the video is ready (typically 5-15 minutes). Prefer Async or Async with SSE for anything beyond quick experimentation.See the video generation reference for more details.
curl -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",
  "prompt": "Transform the entire scene into a beautiful watercolor painting style. Soft brushstrokes, flowing paint washes, visible paper texture.",
  "input_video": "https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/videos/waterfall.mp4"
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/wan-v2-7-edit-video

Request parameters

Required parameters

FieldTypeDefaultDescription
promptstring"Transform the entire scene into a beautiful watercolor painting style. Soft brushstrokes, flowing paint washes, visible paper texture."Editing instruction or style transfer description.
input_videostring"https://hub.oxen.ai/api/repos/ox/Oxen-AI-Assets/file/main/videos/waterfall.mp4"URL of the input video to edit. Format: MP4, MOV. Duration: 2-10s. Max 100 MB. Format: uri.

Optional parameters

FieldTypeDefaultDescription
resolutionstring"1080p"Output video resolution tier. One of: 720p, 1080p.
durationinteger0Output video duration in seconds. Default 0 means match input video duration. When set (2-10), truncates from the start. One of: 0, 2, 3, 4, 5, 6, 7, 8, 9, 10.
reference_image_urlstringReference image URL for reference-based editing. Format: uri.
audio_settingstring"auto"Audio handling. ‘auto’: model decides whether to regenerate audio. ‘origin’: preserve original audio from input video. One of: auto, origin.
seedintegerRandom seed for reproducibility (0-2147483647).