Skip to main content
POST
/
wan2.6-t2v
/
async
curl --request POST \
  --url https://modellixapi.jpushoa.com/api/v1/text-to-video/alibaba/wan2.6-t2v/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A cute cat running in the moonlight"
}
'
{
  "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

Video content description, supports Chinese and English

Required string length: 1 - 1500
Example:

"A cute cat running in the moonlight"

negative_prompt
string

Negative prompt describing unwanted content

Maximum string length: 500
Example:

"blurry, low quality"

audio_url
string<uri>

Custom audio URL (supports wav/mp3, 3-30 seconds, ≤15MB)

Example:

"https://example.com/audio.mp3"

size
enum<string>
default:1920*1080

Video resolution in format 'width*height'

Available options:
1280*720,
720*1280,
960*960,
1088*832,
832*1088,
1920*1080,
1080*1920,
1440*1440,
1632*1248,
1248*1632
Example:

"1920*1080"

duration
integer

Video duration in seconds (integer)

Required range: 2 <= x <= 15
Example:

5

prompt_extend
boolean
default:false

Enable prompt intelligent rewriting

Example:

false

shot_type
enum<string>

Shot type

Available options:
single,
multi
Example:

"single"

seed
integer

Random seed for reproducibility

Required range: 0 <= x <= 2147483647
Example:

42

Response

200 - application/json

Task submitted successfully

code
integer

Response code, 0 for success

Example:

0

message
string

Response message

Example:

"success"

data
object