Create a storyboard
POST
https://api.vidmoat.com/v1/projects/{id}/storyboardStart a board from exactly one of: a template id (needs an empty project), a script (one paragraph becomes one scene, split by blank lines), or a list of scenes. Scenes with a target length get a placeholder slot.
Path parameters#
idstringrequiredThe project id.
Body#
fromobjectrequired{ template },{ script }or{ scenes }.aspectRatiostring16:9, 9:16, 1:1, 4:5, 4:3 or 21:9.replacebooleandefaultfalseReplace an existing board; its clips stay as board-level clips.
Response#
Returns 200.
Response fields#
createdbooleanAlways true.scenesarrayAs GET /v1/projects/{id}/storyboard.
Errors#
Besides the errors any request can get (authentication, rate limits):
| Status | Code | When |
|---|---|---|
| 404 | not_found | No such project, or it is not yours. The two are indistinguishable on purpose. |
| 400 | invalid_request | from names none or several sources, or a scene breaks a limit. |
| 409 | conflict | The project already has a board (pass replace), or a template was asked for a project with clips. |