Skip to main content
POST
/
v3
/
async
/
wan-2.5-t2v-preview
Wan 2.5 Text to Video Preview
curl --request POST \
  --url https://api.myrouter.ai/v3/async/wan-2.5-t2v-preview \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "input": {
    "prompt": "<string>",
    "negative_prompt": "<string>"
  },
  "model": "<string>",
  "parameters": {
    "seed": 123,
    "size": "<string>",
    "duration": 123,
    "watermark": true,
    "prompt_extend": true
  }
}
'
{
  "task_id": "<string>",
  "provider_request_id": "<string>"
}
Wan 2.5 Text-to-Video API that generates high-quality videos with native audio synchronization from text descriptions.
This is an async API that only returns the task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

input
object
required
Input parameters, including the text prompt for video generation.
model
string
Model name for video generation, e.g. wan2.5-t2v-preview.
parameters
object
Optional parameters for controlling video generation.

Response

task_id
string
Use the task_id to call the Get Async Task Result API to retrieve the generated output.
provider_request_id
string
Unique request identifier from the service provider.