Pricing
Compare models →The price depends on the billed duration (in seconds) and the output resolution. 1080p costs more than 720p for the same duration.
Price by duration (when you set the duration yourself):
| Duration | 720p | 1080p |
|---|---|---|
| 2 s | $0.40 | $0.60 |
| 3 s | $0.60 | $0.90 |
| 4 s | $0.80 | $1.20 |
| 5 s | $1.00 | $1.50 |
| 6 s | $1.20 | $1.80 |
| 7 s | $1.40 | $2.10 |
| 8 s | $1.60 | $2.40 |
| 9 s | $1.80 | $2.70 |
| 10 s | $2.00 | $3.00 |
Price by input video length (when duration is left at 0, so the output matches the input video):
| Input video length | 720p | 1080p |
|---|---|---|
| 1 s (billed as 2 s) | $0.40 | $0.60 |
| 3 s | $0.60 | $0.90 |
| 5 s | $1.00 | $1.50 |
| 8 s | $1.60 | $2.40 |
| 10 s | $2.00 | $3.00 |
| 30 s (billed as 10 s) | $2.00 | $3.00 |
Billing Rules
- Billing is per second of billed duration, and the rate depends on the resolution.
- 720p: $0.20 per second.
- 1080p: $0.30 per second.
- Minimum billed duration: 2 seconds, so the lowest price is $0.40 at 720p and $0.60 at 1080p.
- Maximum billed duration: 10 seconds, so the highest price is $2.00 at 720p and $3.00 at 1080p.
- When
durationis0, billing uses the input video duration, rounded up to a whole second and limited to 2-10 seconds. - Failed requests are not billed.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
videoRequired | string | The source video to edit. |
reference_images | array | List of reference images for video editing (0-3 images, optional).Items: 0–3JSON schema{
"x-aliases": [
"images"
]
} |
negative_prompt | string | The negative prompt for the generation. |
resolution | string | The resolution of the generated video.720p1080p"720p" |
duration | integer | Duration of the output video in seconds. 0 means use input video length (max 10s). Set 2-10 to trim from 0s to specified length.Default: 0Minimum: 0 · Maximum: 10 |
audio_setting | string | Audio setting. 'auto' (default): model decides based on prompt content. 'origin': keep original audio from input video.autoorigin"auto" |
enable_prompt_expansion | boolean | If set to true, the prompt optimizer will be enabled.Default: false |
seed | integer | The random seed to use for the generation. -1 means a random seed will be used. |
README
Wan 2.7 Video Edit
Wan 2.7 Video Edit performs prompt-driven editing on existing videos with optional multi-image reference support. Upload a source video, describe the desired edits in natural language, and optionally provide reference images to guide the target style or element appearance — the model applies precise, context-aware edits while preserving motion and temporal consistency throughout the clip.
- Need to extend a video? Try Wan 2.7 Video Extend
- Need to generate from an image? Try Wan 2.7 Image-to-Video
Why Choose This?
- Natural-language video editing
Describe your edit in plain text — swap colors, change objects, alter styles — without manual masking or keyframing.
- Multi-image reference support
Upload up to 3 reference images to guide the target element, style, or appearance in the edited output.
- Audio control
Choose between auto mode (model decides) or origin to preserve the original audio track.
- Negative prompt support
Specify what to avoid in the edit for more precise control over the output.
- Prompt expansion
Enable enable_prompt_expansion to let the model automatically enrich and optimize your prompt before generation.
- Resolution options
Generate at 720p or 1080p to match your delivery requirements.
Parameters
| Parameter | Required | Description |
|---|---|---|
| video | Yes | Source video to edit (URL or file upload). |
| prompt | Yes | Text description of the desired edits. |
| reference_images | No | Reference images to guide editing (up to 3 images). The earlier name images is still accepted. |
| negative_prompt | No | Elements to exclude from the edited video. |
| resolution | No | Output resolution: 720p (default) or 1080p. |
| duration | No | Output duration in seconds. Default 0 = same as input video. Set 2–10 to trim from the start to the specified length. |
| audio_setting | No | Audio mode: auto (default, model decides) or origin (keep original audio). |
| enable_prompt_expansion | No | Enable automatic prompt optimization before generation. Default: off. |
| seed | No | Random seed for reproducible results. Use -1 for a random seed. |
How to Use
- Upload your video — provide the source clip to edit via URL or drag-and-drop.
- Write your prompt — describe exactly what should change (e.g., "Change the motorcycle's color to blue.").
- Add reference images (optional) — upload images to guide the look of elements or styles in the edit.
- Add negative prompt (optional) — specify elements you want to exclude from the output.
- Select resolution — 720p for standard output, 1080p for higher-quality results.
- Set duration (optional) — leave at 0 to match the input video length, or set 2–10 to trim.
- Set audio_setting (optional) — choose auto or origin to preserve original audio.
- Enable prompt expansion (optional) — let the model automatically enrich your prompt.
- Set seed (optional) — fix the seed to reproduce a specific result in future runs.
- Submit — generate, preview, and download your edited video.
Pricing
The price depends on the billed duration (in seconds) and the output resolution. 1080p costs more than 720p for the same duration.
Price by duration (when you set the duration yourself):
| Duration | 720p | 1080p |
|---|---|---|
| 2 s | $0.40 | $0.60 |
| 3 s | $0.60 | $0.90 |
| 4 s | $0.80 | $1.20 |
| 5 s | $1.00 | $1.50 |
| 6 s | $1.20 | $1.80 |
| 7 s | $1.40 | $2.10 |
| 8 s | $1.60 | $2.40 |
| 9 s | $1.80 | $2.70 |
| 10 s | $2.00 | $3.00 |
Price by input video length (when duration is left at 0, so the output matches the input video):
| Input video length | 720p | 1080p |
|---|---|---|
| 1 s (billed as 2 s) | $0.40 | $0.60 |
| 3 s | $0.60 | $0.90 |
| 5 s | $1.00 | $1.50 |
| 8 s | $1.60 | $2.40 |
| 10 s | $2.00 | $3.00 |
| 30 s (billed as 10 s) | $2.00 | $3.00 |
Billing Rules
- Billing is per second of billed duration, and the rate depends on the resolution.
- 720p: $0.20 per second.
- 1080p: $0.30 per second.
- Minimum billed duration: 2 seconds, so the lowest price is $0.40 at 720p and $0.60 at 1080p.
- Maximum billed duration: 10 seconds, so the highest price is $2.00 at 720p and $3.00 at 1080p.
- When
durationis0, billing uses the input video duration, rounded up to a whole second and limited to 2–10 seconds.
- Failed requests are not billed.
Best Use Cases
- Color & Style Changes — Swap object colors, materials, or visual styles across the entire clip.
- Object Replacement — Replace specific elements in the video with different objects or variants.
- Scene Adjustments — Change background mood, lighting, or environment without reshooting.
- E-commerce — Edit product videos to showcase different variants or settings from a single source clip.
- Content Iteration — Rapidly test multiple edit directions on the same source footage.
Pro Tips
- Be specific and descriptive in your prompt — the more detail you provide, the more accurate the edit.
- Upload reference images when you want the model to match a specific target appearance or style.
- Use negative_prompt to prevent edits from bleeding into areas you want to preserve.
- Enable prompt expansion for shorter or less detailed prompts to get richer output automatically.
- Use 720p to test your edit direction before committing to a 1080p final render.
Notes
- Both video and prompt are required fields; all other parameters are optional.
- Billed duration is clamped between 2 and 10 seconds regardless of actual video length.
- Ensure video and image URLs are publicly accessible if using links rather than direct uploads.
- Please ensure your content complies with usage policies.
Related Models
- Wan 2.7 Video Extend — Extend existing videos with last frame control.
- Wan 2.7 Image-to-Video — Animate a reference image into a cinematic video clip.
- Wan 2.7 Text-to-Video — Generate video from text prompts without existing footage.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Wan 2.7 Video Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/alibaba/wan-2.7/video-edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"video": "https://static.website-files.org/assets/video-generator/landing/showcase/03-8f271f792649.mp4",
"reference_images": [],
"negative_prompt": "A cinematic ocean wave at sunrise, highly detailed",
"resolution": "720p",
"duration": 0,
"audio_setting": "auto",
"enable_prompt_expansion": false,
"seed": 0
}Wan 2.7 Video Edit API — Frequently asked questions
What is the Wan 2.7 Video Edit API?
Wan 2.7 Video Edit is a Alibaba model for video editing, exposed as a REST API on OpenSIAI. WAN 2.7 Video Edit performs prompt-driven video editing with multi-image reference support, supporting 720p/1080p output. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Wan 2.7 Video Edit API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/alibaba/wan-2.7/video-edit.
How much does Wan 2.7 Video Edit cost per run or per second?
Wan 2.7 Video Edit starts at $0.2 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Wan 2.7 Video Edit accept?
Key inputs: prompt, video, resolution, duration, seed, negative_prompt. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/alibaba/wan-2.7/video-edit.
How long does Wan 2.7 Video Edit take to generate?
Reported generation time on OpenSIAI is around 705 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Wan 2.7 Video Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Alibaba). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.