高级视频去重接口
POST
https://api.sqidh.com/api/videovip/removal
请求参数
Body 参数application/json
key
string
必需
openid
string
必需
name
string
用户昵称,随意设置
url
string
必需
mode
string
可选
specials
string
可选
templateConfig
object
可选
tplId
integer
可选
imgTagId
integer
可选
imgUrls
array[string]
可选
textConfig
array [object {5}]
可选
changeSubtitleConfig
object
可选
enable
boolean
必需
rects
array [object {4}]
可选
fontConfig
object
新字幕字体配置
title1Config
object
可选
title2Config
object
可选
notifyUrl
string
可选
示例
{
"openid": "FPDPjUD5VD",
"name": "CYC",
"url": "https://v.douyin.com/Aywuf7d/",
"key": "FPDPjUD5VD",
"mode": "m126",
"specials": "e001,e002",
"templateConfig": {
"imgTagId": 303,
"tplId": 12,
"textConfig": [
{
"position": 4,
"text": "这个视频真有意思~"
}
]
},
"notifyUrl": "",
"changeSubtitleConfig": {
"enable": true,
"fontConfig": {
"fontId": 11,
"fontSize": 28,
"fontColor": "#ff9900",
"borderColor": "ff9900"
},
"rects": [
{
"x": 0,
"y": 0,
"h": 49,
"w": 500
}
]
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.sqidh.com/api/videovip/removal' \
--header 'Content-Type: application/json' \
--data-raw '{
"openid": "FPDPjUD5VD",
"name": "CYC",
"url": "https://v.douyin.com/Aywuf7d/",
"key": "FPDPjUD5VD",
"mode": "m126",
"specials": "e001,e002",
"templateConfig": {
"imgTagId": 303,
"tplId": 12,
"textConfig": [
{
"position": 4,
"text": "这个视频真有意思~"
}
]
},
"notifyUrl": "",
"changeSubtitleConfig": {
"enable": true,
"fontConfig": {
"fontId": 11,
"fontSize": 28,
"fontColor": "#ff9900",
"borderColor": "ff9900"
},
"rects": [
{
"x": 0,
"y": 0,
"h": 49,
"w": 500
}
]
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}