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-i2v API Usage Guide
Overview
wan2.7-i2v converts images into videos with improved visual fidelity, temporal consistency, and flexible media inputs. It supports first frame, last frame, driving audio, and first clip as media references, with continuous duration from 2 to 15 seconds. 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 Generation Request
Base URL
Endpoint
Request Format
Request Parameters
| Parameter | Type | Required | Description | Default | Constraints |
|---|---|---|---|---|---|
prompt | string | No | Text prompt guiding motion/styling | "" | Max 1500 characters |
negative_prompt | string | No | What to avoid in the video | "" | Max 500 characters |
first_frame | image (URL) | No | Starting frame image | null | 360–2000 px, ≤10 MB, 1 image |
last_frame | image (URL) | No | Ending frame image | null | 360–2000 px, ≤10 MB, 1 image |
driving_audio | audio (URL) | No | Audio to drive video generation | null | wav/mp3, 3–30s, ≤15 MB |
first_clip | video (URL) | No | Video clip used as starting reference | null | 1 video |
resolution | string (enum) | No | Output resolution tier | ”1080P” | Options: "720P", "1080P" |
duration | integer | No | Video length in seconds | 5 | 2–15 |
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 generation is in progress |
success | Video generation completed successfully |
failed | Video generation failed |
cancelled | Request was cancelled |
List Your Requests
Endpoint
Example
List Available Models
Endpoint
Example
Tips for Better Results
- Provide clear reference frames: High-quality first/last frame images yield smoother interpolation
- Detailed prompts: Describe motion, camera movement, and atmosphere explicitly
- Prompt Extension: Keep
prompt_extendenabled for short prompts - Driving Audio: Supply
driving_audiofor precise audio-visual synchronization - First Clip: Use
first_clipto provide motion reference from an existing video