Skip to main content
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>"
}

Overview

Upsample or generate a preview from a previously generated video:
  • get1080p — Upscale video to 1080p resolution
  • get4k — Upscale video to 4K resolution
  • getgif — Generate an animated GIF preview
Requires a valid videoId from a completed /gemini/video/generate task.

Authorizations

Authorization
string
header
required

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

Body

application/json
videoId
string
required

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

Example:

"task-uuid-xxx"

action
enum<string>
required

升级操作类型

Available options:
get1080p,
get4k,
getgif
Example:

"get1080p"

Response

201 - application/json
taskId
string
required

task id, used to get task result later