v1
latestOpenAPI 3.0.1MIT2026-07-2638658.5 KBAsset
Submit AI script generation request
Generate AI-powered video script based on product information and requirements. The script generation is asynchronous - use the returned task_id to check status.
post/v2/ai_scripts
Request body
Example request
{
"language": "english",
"video_length_seconds": "30",
"script_style": "Storytime",
"product_info": {
"source_type": "id",
"data": {
"id": "NTQ0MTkzNjg",
"name": "Owala FreeSip Insulated Stainless Steel Water Bottle",
"description": "The Owala FreeSip bottle is perfect for active lifestyles..."
}
},
"target_audience": "Fitness enthusiasts and outdoor adventurers"
}Response
Success
Example response
{
"msg": "Success",
"data": {
"task_id": "task_123456789"
}
}