| Item | Description |
|---|---|
| Name | Create video generation task |
| Description | Asynchronously create task; returns task id upon success, requires polling with 'Query video generation task' interface or waiting for callback to get results. |
| Task type | Text-to-video; Image-to-video first frame; Image-to-video first and last frame; Multimodal reference to video |
Authorization: ********************{
"model": "bytedance/doubao-seedance-2-0-260128",
"content": [
{
"type": "text",
"text": "City street at sunset, cinematic shot slowly pushing forward"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}curl --location 'https://api-xmodel.nexconn.ai/v3/contents/generations/tasks' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"model": "bytedance/doubao-seedance-2-0-260128",
"content": [
{
"type": "text",
"text": "City street at sunset, cinematic shot slowly pushing forward"
}
],
"resolution": "720p",
"ratio": "16:9",
"duration": 5,
"generate_audio": true
}'{
"id": "qvideo-xxxxxxxxxxxxxxxx"
}