Skip to main content
POST
/
wanx2.1-t2v-turbo
/
async
Wanx 2.1 T2V Turbo
curl --request POST \
  --url https://modellixapi.jpushoa.com/api/v1/text-to-video/alibaba/wanx2.1-t2v-turbo/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 - 800
negative_prompt
string
Maximum string length: 500
size
enum<string>
default:1280*720
Available options:
832*480,
480*832,
624*624,
1280*720,
720*1280,
960*960,
1088*832,
832*1088
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