Skip to main content
POST
/
wan2.7-t2v
/
async
curl --request POST \ --url https://api.modellix.ai/api/v1/alibaba/wan2.7-t2v/async \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "prompt": "A cute cat running in the moonlight, multi-shot cinematic video." } '
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-abc123",
    "model_id": "model-123",
    "get_result": {
      "method": "GET",
      "url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.modellix.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
prompt
string
required

Text prompt describing the desired video content. Supports Chinese and English

Required string length: 1 - 5000
Example:

"A cute cat running in the moonlight, multi-shot cinematic video."

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, 2–30 seconds, ≤15MB)

Example:

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

resolution
enum<string>
default:1080P

Specifies the resolution tier for the generated video

Available options:
720P,
1080P
Example:

"1080P"

ratio
enum<string>
default:16:9

Specifies the aspect ratio for the generated video

Available options:
16:9,
9:16,
1:1,
4:3,
3:4
Example:

"16:9"

duration
enum<integer>
default:5

Video duration in seconds (integer)

Available options:
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
Example:

5

prompt_extend
boolean
default:true

Enable prompt intelligent rewriting to enhance generation quality

Example:

true

seed
integer

Random number seed for reproducibility. Note: identical seeds cannot guarantee completely identical results due to model probabilistic nature

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

42

Response

200 - application/json

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.