curl --request POST \
--url https://api.modellix.ai/api/v1/vidu/one-click-ad-film \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"images": [
"https://example.com/product-front.jpg",
"https://example.com/product-side.jpg"
]
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-vidu-ad-001",
"model_id": "vidu/one-click-ad-film",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-vidu-ad-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"
}One Click AD Film
[Core Function] Vidu One-Click AD-Film is an automated marketing video generation model. [Strengths] It excels at transforming 1 to 7 product or scene images into a polished, commercial-style advertisement video (10-60s) automatically. [Best For] Highly recommended for: e-commerce product showcases, social media ads, promotional reels, and quick marketing campaigns. [Limitations] Do NOT use this model for narrative storytelling or cinematic films; it is optimized specifically for commercial pacing and product emphasis. [Routing] Use this specifically when the user wants to generate an ‘ad’, ‘commercial’, or ‘promotional video’ from product photos.
curl --request POST \
--url https://api.modellix.ai/api/v1/vidu/one-click-ad-film \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"images": [
"https://example.com/product-front.jpg",
"https://example.com/product-side.jpg"
]
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-vidu-ad-001",
"model_id": "vidu/one-click-ad-film",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-vidu-ad-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"
}Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
Vidu one-click ad film request.
Product or scene images (1-7) as URLs or base64 data URIs
1 - 7 elements1["https://example.com/product.jpg"]
Marketing message or product description
1 - 2000"Highlight the innovative design and premium quality"
Video duration in seconds (10-60)
10 <= x <= 6030
Video aspect ratio
16:9, 9:16, 1:1 "9:16"
Script language for generated narration
zh, en "en"