Model IDDocumentation Index
Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt
Use this file to discover all available pages before exploring further.
wan2.7-videoedit API Usage Guide
Overview
wan2.7-videoedit enables text-guided editing of existing videos. Provide a source video and describe the desired edits in a prompt. Optionally supply a reference image to guide the visual style or subject appearance of the edit. Requests are submitted to the request-queue API and results are retrieved via polling.Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header:Submit Video Edit Request
Base URL
Endpoint
Request Format
Request Parameters
| Parameter | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
prompt | string | Yes | Text prompt describing the desired edit | - | Max 1500 characters |
negative_prompt | string | No | What to avoid in the output | "" | Max 500 characters |
video | video (URL) | Yes | Source video to edit | - | 1 video |
reference_image | image (URL) | No | Reference image for style/subject guidance | null | Max 1 image |
resolution | string (enum) | No | Output resolution tier | ”1080P” | Options: "720P", "1080P" |
duration | integer | No | Output video length in seconds | - | 2–10 |
audio_setting | string (enum) | No | Audio handling for the output video | ”auto” | "auto": model decides; "origin": keep original audio |
prompt_extend | boolean | No | LLM rewrites prompt for richer detail | true | - |
watermark | boolean | No | Add fixed AI Generated watermark | false | - |
seed | integer | No | Random seed for reproducibility | - | 0–2147483647 |
Response
Check Request Status
Endpoint
Example
Response
Request Status Values
| Status | Description |
|---|---|
queued | Request is waiting to be processed |
processing | Video editing is in progress |
success | Video editing completed successfully |
failed | Video editing failed |
cancelled | Request was cancelled |
List Your Requests
Endpoint
Example
List Available Models
Endpoint
Example
Tips for Better Results
- Be specific about edits: Clearly describe what should change (e.g. “replace the sky with a stormy sky”) rather than vague instructions
- Reference image: Supply a reference image when you want the edit to match a specific visual style or subject appearance
- Audio setting: Use
originto preserve the original audio track, orautoto let the model decide - Prompt Extension: Keep
prompt_extendenabled for short prompts - Duration: Output duration is capped at 10 seconds; if not specified, the model decides based on the source video