curl --request POST \
--url https://api.modellix.ai/api/v1/vidu/viduq3-drama \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"script_name": "City Sunrise",
"script_content": "A young man walks through the city at night, recalls his childhood hometown, and finally watches the sunrise from a rooftop.",
"assets": [
{
"id": "1",
"type": "character",
"name": "Protagonist",
"image_uri": "https://example.com/protagonist.png",
"description": "Young man in a white shirt"
}
]
}
'
{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-vidu-drama-001",
"model_id": "vidu/viduq3-drama",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-vidu-drama-001"
}
}
}{
"code": 400,
"message": "Invalid parameters: parameter 'first_frame_image' is required"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Vidu Q3 Drama
Vidu’s short-drama model for scripted episodes with dialogue, character placement, and film-style camera work. It plans the shots from a script and 1 to 14 reference images, in an 8 to 12 second 1080p clip at 16:9 or 9:16.
POST
/
vidu
/
viduq3-drama
curl --request POST \
--url https://api.modellix.ai/api/v1/vidu/viduq3-drama \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"script_name": "City Sunrise",
"script_content": "A young man walks through the city at night, recalls his childhood hometown, and finally watches the sunrise from a rooftop.",
"assets": [
{
"id": "1",
"type": "character",
"name": "Protagonist",
"image_uri": "https://example.com/protagonist.png",
"description": "Young man in a white shirt"
}
]
}
'
{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-vidu-drama-001",
"model_id": "vidu/viduq3-drama",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-vidu-drama-001"
}
}
}{
"code": 400,
"message": "Invalid parameters: parameter 'first_frame_image' is required"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Body
application/json
Vidu Q3 Drama short-play request. Field names are passed through to Vidu as-is. Note the asset image field is image_uri, not image_url.
Script content (20-5000 characters; Vidu limits Chinese to <=2000, English to <=5000). To hint an approximate length, include a phrase like 'generate a duration of XX seconds'.
Required string length:
20 - 5000Example:
"A young man walks through the city at night, recalls his childhood hometown, and finally watches the sunrise from a rooftop."