Skip to main content
POST
Replace a video's AI segments

Authorizations

Authorization
string
header
required

A scoped token minted in Settings → API tokens. Send it as Authorization: Bearer tplt_… or X-API-Key: tplt_….

Path Parameters

video
integer
required

The video's numeric ID.

Body

application/json
segments
object[]
required

The complete segment list. This is a full replace: send every segment you want to keep.

model
string

A label for whatever produced these segments. Defaults to custom.

Maximum string length: 64

Response

The video's AI segments.

ai_segments
object