- CV任务状态码信息附录
- 绘图信息
- 绘图任务
- 模型训练
- 绘图工具
- 图片检测
- 视频工具
- 音频工具
- 翻译
扩大视频图像
开发中
POST
/AIGCImgOpenServ/saas/video/enlarge
请求参数
Header 参数
X-Request-req-accessKeyId
string
可选
示例值:
openapi-b36wlodifjhz95cs
X-Request-req-accessKeySecret
string
可选
示例值:
l6l37c5p7k50je2r05wo56k7e1yqvs36
Body 参数application/json
businessTaskId
string
任务ID
videoUrl
string
视频url
callbackUrl
string
回调地址
ext
string
待处理视频类型后缀
model
string
处理使用的模型名称
scalingRatio
integer
放大倍数
示例
{
"businessTaskId": "test111",
"videoUrl": "Output-Img2/zjy/video/to_upscae.mp4",
"scalingRatio": "2"
}
示例代码
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.zhiqite.com/AIGCImgOpenServ/saas/video/enlarge' \
--header 'X-Request-req-accessKeyId: openapi-b36wlodifjhz95cs' \
--header 'X-Request-req-accessKeySecret: l6l37c5p7k50je2r05wo56k7e1yqvs36' \
--header 'Content-Type: application/json' \
--data-raw '{
"businessTaskId": "test111",
"videoUrl": "Output-Img2/zjy/video/to_upscae.mp4",
"scalingRatio":"2"
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
data
object
必需
businessTaskId
string
业务任务id
outputVideoUrl
string
输出视频url
status
integer
任务状态
taskId
string
任务id
videoInfo
object
视频信息
示例
{
"code": "string",
"data": {
"businessTaskId": "string",
"outputVideoUrl": "string",
"status": 0,
"taskId": "string",
"videoInfo": {
"bitrate": 0,
"duration": 0,
"format": "string",
"fps": 0,
"shape": [
0
],
"size": 0
}
}
}
修改于 2024-08-12 03:58:41