NEW🎬 New: MAGI 2 1080p video with native audio, 4–30 s · only 4.15 credits/sec (5 s clip = 20.75)Try it →

Wan 2.7 Video Edit

🎬 Video wan2.7-videoedit ⧉ 5.04 credits / sec (720p)
🎬

Sign in to try Wan 2.7 Video Edit

Sign in with your Google account and top up credits to get started.

Sign in with Google

API Key

Sign in to select or create a key

Connect an AI agent with OAuth

Other agents

Use via API

Base URL: https://adverraai.com/hub/api/v1 · Authenticate with Authorization: Bearer YOUR_API_KEY

# 1) Submit a task
curl https://adverraai.com/hub/api/v1/videos/generations \
  -H "Authorization: Bearer $ADVERRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan2.7-videoedit",
    "video_urls": ["https://example.com/input.mp4"],
    "prompt": "a cinematic shot of a city at night",
    "resolution": "1080P",
    "duration": 10,
    "size": "9:16"
  }'
# => {"id":"task_xxx","status":"queued",...}

# 2) Check status (every 3-5 seconds until status = completed)
curl https://adverraai.com/hub/api/v1/tasks/task_xxx -H "Authorization: Bearer $ADVERRA_API_KEY"
# => {"status":"completed","output":[{"type":"video","url":"https://..."}]}

Common parameters: prompt, image_urls, size / aspect_ratio, resolution, duration, n, negative_prompt, seed. Credits are reserved at an estimated price when you submit and adjusted to the actual cost when the task finishes (failed tasks are fully refunded).

Parameters for this model

Send as JSON in the request body. Fields marked * are required.

ParameterTypeAllowed valuesDefaultDescription
model * string – – ID of the model to call — wan2.7-videoedit
nsfw_check boolean true, false false Run content moderation (omni-moderation-latest) on prompts and input images before submitting the video task. Off by default, no extra cost or latency.
video_urls * array (URL) – – Reference video URLs
prompt string – – Text describing what to generate
negative_prompt string – – What should not appear in the result
image_urls array (URL) – – Reference image URLs
resolution string 720P, 1080P 1080P Output resolution
duration number 0 – 10 10 Length of the result in seconds
size string 16:9, 9:16, 1:1, 4:3, 3:4 9:16 Size or aspect ratio of the result
prompt_extend boolean true, false true Enable intelligent prompt rewriting; improves short prompts but increases processing time.
watermark boolean true, false false Whether to add a watermark
seed number – – Random seed; reuse a value for similar results
metadata.audio_setting string auto, origin auto Audio handling: auto regenerates matching audio from the edited video; origin keeps the original video audio.

🤖 ต่อกับ AI Agent

เชื่อมผ่าน MCP

คัดลอกข้อความนี้ไปวางให้ AI Agent (เช่น Claude, ChatGPT, Gemini, Cursor, Codex) แล้วมันจะเรียกใช้โมเดลนี้ผ่านระบบของเราได้ทันที · ในข้อความมีวิธีเชื่อมต่อ พารามิเตอร์ และวิธีรับผลงานครบ · เลือกคีย์ด้านบนเพื่อใส่ในข้อความที่จะคัดลอก

# Adverra AI Hub — Wan 2.7 Video Edit (`wan2.7-videoedit`)

You can use this AI model through the Adverra AI Hub REST API. Follow these instructions exactly.

## Connection
- Base URL: https://adverraai.com/hub/api/v1
- Header: `Authorization: Bearer <ADVERRA_API_KEY>` (read the credential from the ADVERRA_API_KEY environment variable). Never print the key.
- Header: `Content-Type: application/json`
- Endpoint: `POST https://adverraai.com/hub/api/v1/generate`
- Credits are deducted from the user's Adverra balance (check with `GET https://adverraai.com/hub/api/v1/me`).

## Example request body
```json
{
    "model": "wan2.7-videoedit",
    "prompt": "a cute cat wearing sunglasses",
    "duration": 5
}
```

## Parameters
- `model` (string, required) — ID of the model to call — wan2.7-videoedit
- `nsfw_check` (boolean, optional) — Run content moderation (omni-moderation-latest) on prompts and input images before submitting the video task. Off by default, no extra cost or latency. · allowed: true, false · default: false
- `video_urls` (array (URL), required) — Reference video URLs
- `prompt` (string, optional) — Text describing what to generate
- `negative_prompt` (string, optional) — What should not appear in the result
- `image_urls` (array (URL), optional) — Reference image URLs
- `resolution` (string, optional) — Output resolution · allowed: 720P, 1080P · default: 1080P
- `duration` (number, optional) — Length of the result in seconds · allowed: 0 – 10 · default: 10
- `size` (string, optional) — Size or aspect ratio of the result · allowed: 16:9, 9:16, 1:1, 4:3, 3:4 · default: 9:16
- `prompt_extend` (boolean, optional) — Enable intelligent prompt rewriting; improves short prompts but increases processing time. · allowed: true, false · default: true
- `watermark` (boolean, optional) — Whether to add a watermark · allowed: true, false · default: false
- `seed` (number, optional) — Random seed; reuse a value for similar results
- `metadata.audio_setting` (string, optional) — Audio handling: auto regenerates matching audio from the edited video; origin keeps the original video audio. · allowed: auto, origin · default: auto


## Result
Returns a task object `{ "id": "task_...", "status": "queued" }`.
Poll `GET https://adverraai.com/hub/api/v1/tasks/{id}` every 5 seconds until `status` is `completed` or `failed`, then download every `output[].url` (links expire after about 24 hours).
If the user already has many jobs running, new jobs are queued automatically (`queued_waiting: true`) — keep polling, do not resubmit.
Optional: add `"wait": true` to the request to wait up to ~100 seconds for the result in one call.

## Errors
- 401 = invalid API key · 402 = not enough credits (tell the user to top up at https://adverraai.com/hub/topup.php) · 429 = too many requests (wait and retry) · 5xx = temporary error (credits are refunded automatically).

## MCP (optional)
Agents that support MCP can connect to `https://adverraai.com/hub/mcp.php` instead (setup guide: https://adverraai.com/hub/connect.php).

About this model

Wan 2.7 Video Edit is a Video model by Adverra AI Hub

CapabilitiesImage to Video, Text to Video
Price5.04 credits / sec (720p)

Wan 2.7 Video Edit is an advanced video editing model from Alibaba's Wan 2.7 suite. It allows users to transform and refine existing video footage using natural language instructions and optional reference images. This model is best suited for precise video modifications and restyling tasks.

Key features

  • Multimodal input (text, image, video)
  • Instruction-based video editing
  • Style transfer capabilities
  • Supports up to 4 reference images
  • Option to keep or regenerate audio
  • High-definition output (720P or 1080P)
  • Ability to replace backgrounds and add elements
  • Can change outfits on subjects

What you can do

  • Restyling video clips with artistic effects (e.g., watercolor)
  • Replacing subjects in a video while maintaining scene and motion
  • Adding new elements or overlays to existing footage
  • Changing outfits or appearances of people in videos
  • Swapping backgrounds in video clips
  • Transforming video aesthetics to match a reference image
  • Creating consistent visual styles across video segments
  • Refining short video content with specific instructions

Specs

  • Input video duration: 2 to 10 seconds
  • Input video file size: Up to 100 MB
  • Supported input video formats: MP4, MOV
  • Output resolutions: 720P, 1080P
  • Supported aspect ratios: 16:9, 9:16, 1:1, 4:3, 3:4 (or match source)
  • Inputs: Text prompt, source video, up to 4 reference images

Prompt tips

  • For precise edits, provide clear and detailed instructions in your prompt, up to 5,000 characters.
  • Use up to four reference images to guide the model towards a specific style or appearance.
  • If you want to keep the original audio, specify 'origin' for the audio setting; otherwise, new audio will be generated.
  • Experiment with the 'prompt_extend' option for short prompts, as it can enrich your instructions.
  • To avoid certain content, utilize the 'negative_prompt' field with up to 500 characters.
  • Specify '720P' or '1080P' for your desired output resolution.

Examples

▶ Tongyi Lab · Wan2.7-Video | Video Editing: Don't Re-generate, Just Edit!
▶ Alibaba Cloud · Wan2.7-Video is live! 🚀

Sample videos from the model developer's official channels