Apply a brand kit to a video

Applies brand colours and/or a logo from a brand kit to the video.

Scope is controlled by the flags: applyColors and applyLogo choose what is applied, allSlides whether it covers the whole video or just activeSlideId. persist decides whether the result is saved — with persist false the modified video is computed and returned without being written, which is how the editor previews the change.

Brand kits are plan-gated; the kit must belong to the caller's workspace.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
curl -X POST 'https://apis.elai.io/api/v1/videos/66a1f0c2b7cd13032a9c6002/apply-brandkit' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "brandKitId": "66a1f0c2b7cd13032a9c6500",
  "applyColors": true,
  "applyLogo": true,
  "placement": "topLeft",
  "allSlides": true,
  "persist": true
}'
Path Params
string
required

Video id (24-char hex ObjectId).

Body Params
string

Brand kit to apply. Must belong to this workspace.

string

Which logo from the kit to place.

string

Logo position, e.g. topLeft.

boolean

Place the logo.

boolean

Recolour slide elements.

boolean

Apply to every slide instead of only activeSlideId.

string | integer

Target slide when allSlides is not set.

boolean

Keep a logo position the user dragged by hand.

boolean

Marks the editor's explicit "apply to all" action.

boolean

Leave slide render statuses untouched instead of invalidating them.

boolean

Also update dynamic PPTX-imported elements.

number

Canvas width the client is laying out against, for logo scaling.

boolean

Save the result. When false the change is returned but not written.

Responses

persist was true).

message explains why.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json