Skip to main content
POST
/
services
/
aigc
/
video-generation
/
video-synthesis
Create video generation task
curl --request POST \
  --url https://api.aisa.one/apis/v1/services/aigc/video-generation/video-synthesis \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-DashScope-Async: <x-dashscope-async>' \
  --data '
{
  "model": "wan2.6-t2v",
  "input": {
    "prompt": "<string>",
    "img_url": "<string>",
    "negative_prompt": "<string>",
    "audio_url": "<string>"
  },
  "parameters": {
    "resolution": "720P",
    "duration": 5,
    "shot_type": "single",
    "watermark": false,
    "seed": 1073741823
  }
}
'
{
  "output": {
    "task_id": "<string>",
    "task_status": "PENDING"
  },
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-DashScope-Async
enum<string>
required

Must be set to enable for asynchronous execution

Available options:
enable

Body

application/json
model
string
required
Example:

"wan2.6-t2v"

input
object
required
parameters
object

Response

Task created successfully

output
object
request_id
string