v1

latestOpenAPI 3.0.02026-07-26117076.0 KB
Wan 2.5

Submit Wan 2.5 Text-to-Video Task

Generate videos from text prompts with Wan 2.5

post/api/generate/submit

Request body

model'wan2.5-text-to-video' required

Wan 2.5 text-to-video model identifier

callback_urlstring uri

Webhook callback URL for result notifications

Example request

{
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "prompt": "A cinematic video scene",
    "aspect_ratio": "832*480",
    "duration": 5,
    "audio": "background_music",
    "negative_prompt": "blurry, low quality",
    "seed": 426
  }
}

Response

Task submitted successfully

codeinteger required

HTTP status code

Example response

{
  "code": 200,
  "data": {
    "task_id": "task-unified-1757165031-uyujaw3d",
    "status": "not_started",
    "created_time": "2025-11-12T10:30:00"
  }
}