Skip to main content
POST
Create a video project: a canvas video authored as separate scenes.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Body

application/json

The video project

Request body for creating a video project

companyId
string
required

Company ID

name
string
required

Video name

duration
number
required

Video length in seconds

format
string

'wide' (1920x1080), 'story' (1080x1920), 'square' or 'portrait'

width
integer

Custom width in px (with height)

height
integer

Custom height in px (with width)

theme
string

theme.css: a :root block of theme variables plus shared classes

fonts
string[]

Google font specs, e.g. "Inter:wght@400;600"

shared
string

shared.html: hidden markup every scene can use (logo symbols)

audio
object[]

Music and sound effects

scenes
object[]

Every scene with its timing

canvasId
string

Turn this existing canvas into the project instead of creating one

replace
boolean

With canvasId: discard the design already on it

Response

The created project with the authoring guide

Video project

canvasId
string

Canvas ID of the project

summary
string

Scenes with timing, audio, fonts, files and the last render

path
string

The file read, when a path was given

content
string

That file's exact text

notes
string[]

Warnings worth checking after a change

guide
string

Scene file contract, partials and kit helpers (on create)