Create a project
POST
https://api.vidmoat.com/v1/projectsCreate an empty 16:9, 1920x1080, 30 fps project, optionally applying a first batch of commands. Counts against the plan's project limit.
Body#
namestringdefaultUntitled ProjectUp to 80 characters.commandsarray of objectsOptional commands to apply straight after creation, with the same rules as Apply commands. If they fail, the project is still created.
Response#
Returns 201.
Response fields#
projectobjectThe new project, summary view.Show 8 child fields
idstringProject id.namestringProject name.createdAtstringISO 8601 time.updatedAtstringISO 8601 time.durationSecnumberEnd of the last clip, in seconds.clipCountintegerNumber of clips on the timeline.settingsobjectOutput settings.Show 5 child fields
aspectRatiostringFor example16:9.widthintegerPixels.heightintegerPixels.fpsnumberFrames per second.backgroundstringCSS colour.
workspaceobject or nullThe workspace it is filed in:{ id, name }, ornull.
resultsarrayOnly when you sentcommands. See Apply commands.
Errors#
Besides the errors any request can get (authentication, rate limits):
| Status | Code | When |
|---|---|---|
| 402 | quota_exceeded | The plan's project limit is reached. |