Pular para o conteúdo principal
POST
/
videos
/
upload
/
complete
Complete an upload
curl --request POST \
  --url https://api.cut.pro/api/v1/videos/upload/complete \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "video_id": "<string>",
  "file_name": "<string>",
  "duration": 123,
  "width": 123,
  "height": 123
}
'
{
  "video_id": "<string>",
  "title": "<string>",
  "description": "<string>",
  "author": "<string>",
  "platform": "<string>",
  "duration": 123,
  "thumbnail_url": "<string>",
  "credits_cost": 123,
  "credits_original": 123,
  "discount_percent": 123,
  "force_watermark": true,
  "current_balance": 123
}

Autorizações

X-Api-Key
string
header
obrigatório

Corpo

video_id
string
obrigatório

The video_id returned by POST /videos/upload.

file_name
string
obrigatório

Original file name — used as the video title.

duration
number
obrigatório

Video duration in seconds.

width
number
obrigatório

Video width in pixels.

height
number
obrigatório

Video height in pixels.

Resposta

Response for status 200

video_id
string
obrigatório
title
string
obrigatório
description
string
obrigatório
author
string
obrigatório
platform
string
obrigatório
duration
number
obrigatório
thumbnail_url
string
obrigatório
credits_cost
number
obrigatório

Credits that will be charged when you submit this video.

credits_original
number
obrigatório

Credit cost before any plan discount.

discount_percent
number
obrigatório

Discount applied by the current plan (0-100).

force_watermark
boolean
obrigatório

true if generated clips will carry a CutPro watermark.

current_balance
number
obrigatório

Current workspace credit balance.

Última modificação em 6 de junho de 2026