show 播放视频
开发中POST
http://127.0.0.1:8091/show请求参数
Body 参数application/json
type
string
必需
audio_path
string
必需
video_path
string
必需
captions_printer
object
可选
content
string
必需
start_delay
integer
必需
keep_time
integer
必需
insert_index
integer
必需
默认值:
-1
move_file
boolean
可选
默认值:
true
示例
{
"type": "local",
"audio_path": "",
"video_path": "E:\\GitHub_pro\\digital_human_video_player\\output\\video_player\\_internal\\static\\20240422_210605.mp4",
"insert_index": -1
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
示例
{
"code": 200,
"message": "操作成功"
}
最后修改时间: 6 个月前