智能字幕样式-设置
开发中
POST
https://saas-open.vhall.com/v3/ai/video/subtitles-style-set
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/ai/video/subtitles-style-set?record_id=111' \
--header 'platform: 15' \
--form 'record_id="111"' \
--form 'font_size="1"' \
--form 'font_color="#ffccdd"' \
--form 'is_bold="0"' \
--form 'is_underline="0"' \
--form 'is_incline="0"' \
--form 'opacity="90"' \
--form 'stroke_color="#000000"' \
--form 'stroke_width="1"' \
--form 'app_key=""' \
--form 'sign_type=""' \
--form 'signed_at=""' \
--form 'sign=""'
响应示例响应示例
{
"code": 0,
"msg": "string",
"data": {},
"trace_id": "string"
}
请求参数
Query 参数
record_id
string
视频记录 ID
示例值:
111
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
platform
integer
可选
默认值:
15
Body 参数multipart/form-data
record_id
string
视频记录 ID
示例值:
111
font_size
string
字体尺寸
示例值:
1
font_color
string
字体颜色
示例值:
#ffccdd
is_bold
string
必需
示例值:
0
is_underline
string
必需
示例值:
0
is_incline
string
必需
示例值:
0
opacity
string
必需
示例值:
90
stroke_color
string
描边颜色
示例值:
#000000
stroke_width
string
必需
示例值:
1
app_key
string
必需
默认值:
{{app_key}}
sign_type
integer
必需
默认值:
{{sign_type}}
signed_at
integer
必需
默认值:
{{signed_at}}
sign
string
计算生成的签名值
默认值:
{{sign}}
返回响应
修改于 2025-05-28 05:26:37