跳转到主要内容
POST
/
gemini
/
video
/
upsample
Upsample or process existing video
curl --request POST \
  --url https://api.mountsea.ai/gemini/video/upsample \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "videoId": "task-uuid-xxx",
  "action": "get1080p"
}
'
{
  "taskId": "<string>"
}

概述

对之前生成的视频进行超分辨率处理或生成预览:
  • get1080p — 将视频提升至 1080p 分辨率
  • get4k — 将视频提升至 4K 分辨率
  • getgif — 生成动态 GIF 预览
需要来自已完成的 /gemini/video/generate 任务的有效 videoId

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
videoId
string
必填

视频任务 ID(来自 /video/generate 的返回值)

示例:

"task-uuid-xxx"

action
enum<string>
必填

升级操作类型

可用选项:
get1080p,
get4k,
getgif
示例:

"get1080p"

响应

201 - application/json
taskId
string
必填

task id, used to get task result later