DataEyesAI
Official SiteConsoleDocs Home
Getting StartedDeveloper ToolsAI Models APITerms & Policies
Official SiteConsoleDocs Home
Getting StartedDeveloper ToolsAI Models APITerms & Policies
  1. Wan Video Generation
  • Documentation
    • Getting Started
      • Overview
      • Console (Getting Started)
      • API Key
      • Base URL
    • Developer Tool Integration
      • OpenClaw
      • Claude Code
      • Codex
      • Gemini CLI
      • Grok CLI
      • Other Tools
    • AI Models API
      • OpenAI format (supports major original models)
        • Chat (Response)
          • Create Network Search
          • Create Model Response GPT-5 Enable Thinking
          • Create Function Call
          • Create Model Response
          • Create Model Response (Streaming Return)
          • Create Model Response (Control Thinking Length)
        • ChatGPT Interface
          • Audio
            • Audio to text gpt-4o-transcribe
            • GPT-4o-audio
            • Audio to text whisper-1
            • Audio to text gpt-4o-transcribe
            • Create voice gpt-4o-mini-tts
          • Chat
            • Create chat-based image recognition (non-streaming)
            • Create chat-based image recognition (streaming)
            • Create chat-based image recognition (streaming) best64
            • Official N test
            • Create structured output
            • Control the effort level of the inference model
            • Create chat function call
            • deepseek-ocr recognition
            • Create chat completion (non-stream)
          • Completions
            • ChatGPT automatic completion
            • Create completion
        • Image
          • Edit image
          • Create chat completion (streaming)
          • Create chat completion (qwen-mt-turbo)
          • Create chat completion with deepseek v3.1 level of reasoning (streaming)
        • Audio
          • Speech recognition
          • Speech synthesis
          • Official Function Calling invocation
          • Create chat-generated images (non-streaming)
        • Embedding
          • Text embeddings
      • Anthropic format
        • Chat
        • Chat(prompt cache)
        • Streaming response
        • Chat (deep reasoning)
        • Tool invocation (function call)
        • Analyze image
      • Google Gemini interface
        • Native format
          • Text-to-image + control over aspect ratio + clarity
          • Generate image
          • Text generation
          • Text generation - stream
          • Text generation + reasoning - stream
          • Image generation
          • Formatted output
          • Function call
          • Document understanding
          • URL context [native format]
          • Code execution
          • Video understanding
          • URL context
          • Video understanding - url [native format]
          • Imagen 4
          • Audio understanding
          • Embeddings
          • Chat
          • Edit image
        • Image-to-image Base64 request method
          • Multi-image fusion slice generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity
          • Image editing
          • Single image gemini-3-pro-image-preview, controlling aspect ratio and clarity.
          • Image generation( gemini-2.5-flash-image)
          • Image generation gemini-2.5-flash-image, controlling aspect ratio.
          • Image understanding
        • Image-to-image URL request returns URL request format OpenAI
          • Single image generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity.
          • Multi-image fusion slice generation with gemini-3-pro-image-preview, controlling aspect ratio and clarity.
          • Image understanding
      • NanoBanana
        • OpenAI request
          • Edit image
          • OpenAI image format
        • Gemini request
          • Generate image
          • Edit image
      • Midjourney format
        • Midjourney API Reference
        • Task query interface
        • Upload image
        • Get seed (Seed)
        • Submit Imagine task
        • Query tasks based on ID list
        • FaceSwap
        • Execute Action operation
        • /mj/submit/blend
        • Submit Describe task
        • Submit Modal
        • Refresh link
        • Edit image
        • Query task status by task ID
        • Get the seed of the task image
      • Doubao - Painting
        • doubao-seededit-3-0-i2i-250628
        • doubao-seedream-4-0-250828 - text-to-image
        • doubao-seedream-4-0-250828 - image-to-image
        • doubao-seedream-4-0-250828 - multi-image generation
      • Rerank Reordering Model
        • Rerank
      • Video Model
        • Grok Video Generation
          • 00-Overview
          • 01-Text-to-Video
          • 02-Image-to-Video
          • 03-Reference-to-Video
          • 04-Video-Editing
          • 05-Video-Extension
        • Seedance Video Generation
          • 00-Overview
          • 01-Create-Video-Generation-Task
          • 02-Query-Video-Generation-Task
          • 03-Query-Video-Generation-Task-List
          • 04-Cancel-or-Delete-Task
          • Seedance Private Asset Library API Documentation
        • MiniMax-H3 Video Generation
          • 00-Overview
          • 01-Create-Video-Generation
          • 02-Create-Video-Regeneration
          • 03-Create-H3-Context-IR
          • 04-Query-Task
          • 05-List-Tasks
          • 06-Cancel-or-Delete-Task
        • Hailuo Video Generation
          • 00-Overview
          • 01-Text-to-Video-T2V
          • 02-Image-to-Video-I2V
          • 03-First-Last-Frame-FL2V
          • 04-Subject-Reference-S2V
          • 05-Query-Task-Status
          • 06-Video-Download
          • 99-Appendix-Camera-Movement-and-Webhooks
        • Jimeng Video Generation
          • 00-Overview
          • 01-3.0-Pro-Video-Generation
          • 02-720P-Text-to-Video
          • 03-720P-Image-to-Video-First-Frame
          • 04-720P-Image-to-Video-Start-End-Frame
          • 05-720P-Image-to-Video-Camera
          • 06-1080P-Text-to-Video
          • 07-1080P-Image-to-Video-First-Frame
          • 08-1080P-Image-to-Video-Start-End-Frame
          • 09-Error-Codes
        • Kling AI Video Generation
          • 00-Overview
          • 01-Text-to-Video
          • 02-Image-to-Video
          • 03-Omni-Video
          • 04-Multi-Image-to-Video
          • 05-Motion-Control
          • 06-Multi-Elements
          • 07-Video-Extension
          • 08-Lip-Sync
          • 09-Avatar
          • 10-Text-to-Audio
          • 11-Video-to-Audio
          • 12-TTS
          • 13-Custom-Voices
          • 14-Image-Recognition
          • 15-Element-Management
          • 16-Video-Effects
        • Vidu Video Generation
          • 00-Overview
          • 01-Text-to-Video
          • 02-Image-to-Video
          • 03-Reference-to-Video
          • 04-Start-End-Frame
          • 05-Multi-Frame
          • 06-Scene-Template
          • 07-Template-Story
          • 08-Query-Tasks
        • HappyHorse
          • HappyHorse Text-to-Video
          • HappyHorse Image-to-Video (First Frame)
          • HappyHorse Reference-to-Video
          • HappyHorse Video Editing
        • Wan Video Generation
          • 00-Overview.md
          • 01-Text-to-Video
          • 02-Image-to-Video
          • 03-Reference-to-Video
          • 04-Video-Editing
          • 05-First-Last-Frame-to-Video
          • 06-Motion-Transfer-and-Character-Swap
          • 07-Digital-Human-Video
          • 08-VACE-Video-Editing
          • 09-Query-Task
      • Audio API
        • Audio API
        • Gemini TTS API
        • Google DeepMind Lyria API
        • Elevenlabs Speech to Text API Reference
        • Text-to-Music Suno
          • Task Submission
            • Generate Song (Inspiration Mode)
            • Generate Song (Custom Mode)
            • Generate Song (Continuation Mode)
            • Generate Song (Singer Style)
            • Generate Song (Secondary Creation from Uploaded Song)
            • Generate Song (Song Stitching)
            • Generate Lyrics
            • Song Stitching
          • Query Interface
            • Batch Retrieve Tasks
            • Query Single Task
    • Search / Reader Product
      • Web Reader API​​
        • Web Reader API
        • Web Reader API(HK)
      • Web Search API​​
        • Modal Card API
          • Weather
            • All City ID
            • Weather Query API
        • Web Search API
        • Video Search api
        • Trending Search API
      • Document OCR Parsing API
        • fiel upload
        • URL Parsing
    • Advanced & System API
      • Data Updates
      • System interface
        • API Key & Quota Query API
        • API Key Management API
      • API Reference​​
        • Error Codes
        • HTTP Notes
      • List models
        • Models
  • Terms & Policies
    • DataEyesAI API Terms of Service
    • DataEyesAI Legal Notice and Privacy Policy
    • DataEyesAI Paid Services Agreement
    • Automatic Renewal Service Rules
  1. Wan Video Generation

00-Overview.md

Wan Video Generation - Overview#

Doc version:v1.0.0 | Last updated:2026-07-22
This platform fully supports the official Tongyi Wanxiang (Wan) video generation API. Requests and responses are transparently proxied; parameter semantics are identical to the official API.

Overview#

Wan Video Generation supports the following task types:
Task TypeEndpointDescription
Text-to-VideoPOST /ali/api/v1/services/aigc/video-generation/video-synthesisGenerate video from a text prompt; wan2.7/wan2.6 support automatic audio and multi-shot narratives.
Image-to-VideoPOST /ali/api/v1/services/aigc/video-generation/video-synthesisGenerate video using an image as the first frame; supports first-last frame transitions and audio-driven generation (wan2.7).
Reference-to-VideoPOST /ali/api/v1/services/aigc/video-generation/video-synthesisGenerate video based on subject appearances from reference images/videos; reference them in the prompt with syntax such as [Image 1].
Video EditingPOST /ali/api/v1/services/aigc/video-generation/video-synthesisEdit an existing video by instruction (recoloring, scene replacement, adding/removing elements, etc.), wan2.7-videoedit.
VACE Video EditingPOST /ali/api/v1/services/aigc/video-generation/video-synthesisFive capabilities in one: multi-image reference, video repainting, local editing, video extension, and canvas expansion (wanx2.1-vace-plus).
First-Last-Frame-to-VideoPOST /ali/api/v1/services/aigc/image2video/video-synthesisInput a first frame and a last frame to generate a transitional video between them (kf2v series).
Motion Transfer / Character SwapPOST /ali/api/v1/services/aigc/image2video/video-synthesisMake the person in an image imitate the motion in a video (animate-move), or replace the person in a video with the person in an image (animate-mix).
Digital Human VideoPOST /ali/api/v1/services/aigc/image2video/video-synthesisGenerate a talking/singing digital human video from an image + audio (wan2.2-s2v).
Face DetectionPOST /ali/api/v1/services/aigc/image2video/face-detectPre-check for digital human tasks — validates face usability in the image (synchronous endpoint, returns immediately).
Query TaskGET /ali/api/v1/tasks/{task_id}Poll task status and results
Except for Face Detection, which is a synchronous endpoint, all others are asynchronous tasks: creating a task returns output.task_id, and you must poll the query endpoint for status. On success, the response contains a video download URL (valid for 24 hours) — download or transfer promptly.

Standard Workflow#

Create Task (POST https://platform.dataeyes.ai/ali/api/v1/services/aigc/video-generation/video-synthesis)
        │  Returns output.task_id
        ▼
Query Status (GET https://platform.dataeyes.ai/ali/api/v1/tasks/{task_id})   ← Poll until SUCCEEDED
        │  Returns output.video_url
        ▼
Download Video

Endpoint Address#

Path Rule:Append the channel prefix /ali after the platform domain, then add the official API path.
Official: https://dashscope.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis
→ Platform: https://platform.dataeyes.ai/ali/api/v1/services/aigc/video-generation/video-synthesis

Authentication#

All requests use a Bearer Token in the HTTP Authorization header:
Authorization: Bearer {API_KEY}
{API_KEY} is the API key created in your platform dashboard.

Request Headers#

HeaderRequiredDescription
AuthorizationYesBearer {API_KEY}
Content-TypeYesFixed as application/json
The X-DashScope-Async: enable header required by the official API is added automatically by the platform — you do not need to include it; including it is also compatible.

Model Overview#

ModelCapabilitySubmit EndpointKey Specs
wan2.7-t2v, wan2.7-t2v-2026-06-12Text-to-Videovideo-generation720P/1080P, 2–15 s, with audio, multi-shot
wan2.7-i2vImage-to-Video (first frame / first-last frame / audio-driven)video-generation720P/1080P, 2–15 s, with audio
wan2.7-r2vReference-to-Videovideo-generation720P/1080P, 2–15 s
wan2.7-videoeditVideo Editingvideo-generationInstruction-based editing; duration can inherit from the input video
wan2.6-t2vText-to-Videovideo-generation720P/1080P (size), 2–15 s
wan2.6-i2v, wan2.6-i2v-flashImage-to-Videovideo-generation480P–1080P (model-dependent); flash is the cost-effective variant
wan2.6-r2vReference-to-Videovideo-generation720P/1080P
wan2.5-t2v-preview, wan2.2-t2v-plus, wanx2.1-t2v-turbo, wanx2.1-t2v-plusText-to-Video (earlier versions)video-generationResolution tiers vary by model; fixed or 5/10 s
wanx2.1-vace-plusVACE Video Editingvideo-generationFixed 720P, 5 s
wan2.2-kf2v-flash, wanx2.1-kf2v-plusFirst-Last-Frame-to-Videoimage2videoflash: 480P/720P/1080P; plus: 720P
wan2.2-animate-move, wan2.2-animate-mixMotion Transfer / Character Swapimage2videoTwo tiers: wan-std / wan-pro
wan2.2-s2vDigital Human Videoimage2video480P/720P, duration determined by the audio
wan2.2-s2v-detectFace Detection (synchronous)face-detectReturns detection results immediately
The actual available models are subject to the model list in the platform dashboard.

Task Status Values#

StatusMeaning
PENDINGTask queued
RUNNINGTask processing
SUCCEEDEDTask succeeded
FAILEDTask failed
CANCELEDTask canceled
UNKNOWNTask does not exist or status unknown (task_id does not exist or has exceeded its 24-hour validity)
Status flow: PENDING → RUNNING → SUCCEEDED / FAILED.

Response Format#

All asynchronous endpoints use a unified response pattern:
Create Task Response — returns task_id for polling:
{
  "output": {
    "task_status": "PENDING",
    "task_id": "0385dc79-5ff8-4d82-bcb6-xxxxxx"
  },
  "request_id": "4909100c-7b5a-9f92-bfe5-xxxxxx"
}
Query Task Response — returns task status, video URL, and usage:
{
  "request_id": "caa62a12-xxxx",
  "output": {
    "task_id": "eff1443c-xxxx",
    "task_status": "SUCCEEDED",
    "video_url": "https://dashscope-result-sh.oss-accelerate.aliyuncs.com/xxx.mp4?Expires=xxx"
  },
  "usage": {
    "duration": 5,
    "video_count": 1,
    "SR": 1080
  }
}
The generated video and the task_id are both valid for 24 hours — download or transfer promptly.
Generation typically takes 1–5 minutes (depending on model and duration); polling the query endpoint at roughly 15-second intervals is recommended.

Related Documents#

01-Text-to-Video
02-Image-to-Video
03-Reference-to-Video
04-Video-Editing
05-First-Last-Frame-to-Video
06-Motion-Transfer-and-Character-Swap
07-Digital-Human-Video
08-VACE-Video-Editing
09-Query-Task
Previous
HappyHorse Video Editing
Next
01-Text-to-Video