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-t2v API Usage Guide
Overview
wan2.7-t2v is Wan AI’s latest text-to-video model with improved visual quality and more flexible controls. It supports separate resolution and aspect-ratio selection, continuous duration from 2 to 15 seconds, and optional audio-driven generation. 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 | Yes | Text prompt describing desired video | - | Max 1500 characters |
negative_prompt | string | No | What to avoid in the video | "" | Max 500 characters |
audio_url | string (URL) | No | wav/mp3 audio to drive the video | null | 3–30s, ≤15 MB; excess trimmed to duration |
resolution | string (enum) | No | Output resolution tier | ”1080P” | Options: "720P", "1080P" |
ratio | string (enum) | No | Aspect ratio | ”16:9” | Options: "16:9", "9:16", "1:1", "4:3", "3:4" |
duration | integer | No | Video length in seconds | 5 | 2–15 |
prompt_extend | boolean | No | Let LLM rewrite 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
- Detailed prompts: Describe motion, camera movement, lighting, and atmosphere explicitly
- Prompt Extension: Keep
prompt_extendenabled for short prompts to let the model enrich them - Negative prompts: Exclude common artifacts like “blurry, low quality, deformed, extra fingers”
- Audio-driven: Supply
audio_urlfor precise audio-visual alignment - Seed for reproducibility: Fix a seed value to regenerate consistent results