Skip to main content
POST
/
v1
/
video
/
generations
Create video task
curl --request POST \
  --url https://api.ai.cc/v1/video/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "wan2.6-t2v",
  "input": {
    "prompt": "An epic and adorable scene. A tiny, cute cartoon cat general, clad in intricately detailed golden armor and wearing a slightly oversized helmet, stands bravely on a cliff. Riding a small but valiant warhorse, he proclaims: \"Long clouds over Qinghai darken the snow-capped mountains, a lonely city gazes afar at the Jade Gate Pass. Through a hundred battles in the yellow sands, my golden armor is worn, I will not return until Lou Lan is conquered.\" Below the cliff, a vast, seemingly endless army of mice charges forward with makeshift weapons. This is a dramatic, large-scale battle scene inspired by ancient Chinese war epics. In the distance, dark clouds blanket the snow-capped mountains. The overall atmosphere is a humorous and epic blend of \"cuteness\" and \"power\".",
    "audio_url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250923/hbiayh/%E4%BB%8E%E5%86%9B%E8%A1%8C.mp3"
  },
  "parameters": {
    "size": "1280*720",
    "prompt_extend": true,
    "duration": 10,
    "shot_type": "multi"
  }
}
'
{
  "id": "123456",
  "object": "video",
  "model": "wan2.6-t2v",
  "status": "queued",
  "progress": 0,
  "created_at": 1764347090922,
  "seconds": "8"
}
Using models from different platforms requires passing their respective parameters. Please refer to:

Authorizations

Authorization
string
header
required

Authentication is done using Bearer Token. Format: Authorization: Bearer sk-xxxxxx

Body

application/json
model
string

model name

Example:

"wan2.6-t2v"

Response

Successfully created video task

id
string
required

Video ID

object
string
required

object type

model
string
required

Model used

status
string
required

Task status

progress
integer
required

Progress percentage

created_at
integer
required

Create timestamp

seconds
string
required

Video length

completed_at
integer

Completion timestamp

expires_at
integer

Expiration timestamp

size
string

Video size

error
object

OpenAI error message

metadata
object

Additional metadata