Skip to main content
POST
/
wan2.5-t2v-preview
/
async
Wan 2.5 T2V Preview
curl --request POST \
  --url https://modellixapi.jpushoa.com/api/v1/text-to-video/alibaba/wan2.5-t2v-preview/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-abc123",
    "model_id": "wan2.6-t2v"
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
prompt
string
required
Required string length: 1 - 1500
negative_prompt
string
Maximum string length: 500
audio_url
string<uri>
size
enum<string>
default:1920*1080
Available options:
832*480,
480*832,
624*624,
1280*720,
720*1280,
960*960,
1088*832,
832*1088,
1920*1080,
1080*1920,
1440*1440,
1632*1248,
1248*1632
duration
integer
Required range: 5 <= x <= 10
prompt_extend
boolean
default:false
seed
integer
Required range: 0 <= x <= 2147483647

Response

200 - application/json

Task submitted successfully

code
integer

Response code, 0 for success

Example:

0

message
string

Response message

Example:

"success"

data
object