Build a storyboard
POST
https://api.vidmoat.com/v1/projects/{id}/storyboard/runsBuild the board on the server with the editing agent, one scene at a time. Each scene is its own run held to its card's requirements, with its own review; its verdict is written to the scene. Built scenes are skipped, so calling again carries on.
Path parameters#
idstringrequiredThe project id.
Body#
sceneIdsarray of stringsOnly these scenes. Default: every unbuilt scene.maxCreditsintegerRefuse a board quoted above this, and stop between scenes when the next would pass it.quoteOnlybooleandefaultfalseReturn the quote only.
Response#
Returns 200.
Response fields#
boardRunIdstringPoll GET /v1/storyboard-runs/{id}.sceneIdstringThe scene building first.estimateobjectSteps and credits per scene.
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. |
| 402 | plan_required | The plan has no server runs; build it in the editor instead (editorUrl). |
| 409 | conflict | No board, every scene built, server runs turned off, or a run is already going on the project. |
| 400 | invalid_request | maxCredits is below the quote or out of range. |