精彩时刻-开始创作
开发中
POST
https://saas-open.vhall.com/v3/ai/video/moments-create
{
"type": "vod_ai_moments_complete",
"record_id": 793578,
"file_url": "https://t-tehlsvodhls02.vhallyun.com/vhallyun/vhallcoop/b4f25a26ef2610eda08c8a9bb62e940f/62a07eaf/62a07eaf_92_ai_highlight.json",
"status": 1,
"user_id": 16623378,
"vod_id": "62a07eaf"
}
file_url: 精彩时刻列表 json 文件
status: 状态, 1 成功, 其他失败
record_id: 回放 ID
vod_id: Paas 回放 ID
user_id: 回放所属用户 ID
{
"record_id": 4356856,
"file_url": "https://tehlsvodhls02.vhallyun.com/vhallyun/vhallrecord/lss_a041ef89/20240124085430_7f24f099/7f24f099_6_ai_highlight.json",
"user_id": 162721098,
"refer": "vhall",
"signature": "79b5caff2a50e46ab148a12c9a0074d3",
"method_id": 21,
"child_user_id": 162721098,
"mid": "5c156e05ac17a3d323ed37ec39cebc51",
"time": 1706077440,
"status": 1
}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/ai/video/moments-create' \
--header 'platform: 15' \
--form 'record_id="1111"' \
--form 'max_limit="5"' \
--form 'app_key=""' \
--form 'sign_type=""' \
--form 'signed_at=""' \
--form 'sign=""'
响应示例响应示例
{
"code": 0,
"msg": "string",
"data": {},
"request_id": "string"
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
platform
integer
可选
默认值:
15
Body 参数multipart/form-data
record_id
string
视频记录 ID
示例值:
1111
max_limit
string
最大数量
示例值:
5
max_len
string
最大字数限制
示例值:
100
tips
string
AI 提示信息
示例值:
企业直播、私域流量的价值、品牌营销的重要
example
string
示例
示例值:
xxx,在xxxx中发挥的xxx的意义
app_key
string
必需
默认值:
{{app_key}}
sign_type
integer
必需
默认值:
{{sign_type}}
signed_at
integer
必需
默认值:
{{signed_at}}
sign
string
计算生成的签名值
默认值:
{{sign}}
返回响应
修改于 2025-05-28 05:26:38