ScriptCraft 从产品卖点出发,按平台爆款结构一次性产出可拍摄的短视频脚本:选题立意、分镜表、口播逐字稿、封面标题与话题标签。支持抖音、蝴蝶号、小红书等口播带货与本地生活探店场景,任务异步生成后回调查询。
请求体:
{
"uid": "U10001",
"skill_id": "scriptcraft",
"platform": "douyin",
"duration_sec": 60,
"product": "99元/月起的门店AI智能体",
"selling_points": ["170个行业模板", "免开发", "当天上线"]
}
响应体(任务已提交):
{
"code": 0,
"msg": "ok",
"data": {
"task_id": "sc_20260912_0001",
"status": "running"
}
}
完成后轮询结果:
{
"code": 0,
"msg": "ok",
"data": {
"task_id": "sc_20260912_0001",
"status": "done",
"title": "开个小店,要不要请个不睡觉的AI店长?",
"tags": ["#门店数字化", "#AI店长", "#小本生意"],
"storyboard": [
{"shot": 1, "time": "0-5s", "scene": "门店空镜+老板叹气", "line": "生意忙不过来,又请不起人?"},
{"shot": 2, "time": "5-35s", "scene": "手机演示AI接单/回复", "line": "这个99元/月的AI店长,170个行业模板免开发当天上线"},
{"shot": 3, "time": "35-60s", "scene": "二维码+引流口播", "line": "评论区扣『店长』,发你试用链接"}
]
}
}
先鉴权:
curl -X POST https://a2ahub.com.cn/api/a2ahub/skill/auth \
-H "Content-Type: application/json" \
-d '{"uid":"U10001","skill_id":"scriptcraft"}'
提交任务并轮询:
# 1) 提交 curl -X POST https://a2ahub.com.cn/api/store/skill/scriptcraft/submit \ -H "Authorization: Bearer <开发者Token>" \ -H "Content-Type: application/json" \ -d '{"uid":"U10001","platform":"douyin","duration_sec":60,"product":"..."}' # 2) 查询 curl "https://a2ahub.com.cn/api/store/skill/scriptcraft/result?task_id=sc_20260912_0001"
脚本为生成型内容,建议结合人工审核后发布;免费体每日 20 次生成额度。