Queue a render
POST
https://api.vidmoat.com/v1/rendersQueue an export of a project's saved document. Resolution cap, watermark and concurrency come from the owner's plan.
Body#
projectIdstringrequiredA project you own, with at least one clip.formatenumdefaultmp4Container. Any other value becomesmp4.One ofmp4,webm,gifqualityenumdefaultstandardEncoder quality. Any other value becomesstandard.One ofdraft,standard,highresolutionenumdefaultfullHalf renders at half the project height.One offull,half
Response#
Returns 202.
Response fields#
renderobjectThe job,PENDINGat first.Show 11 child fields
idstringRender job id.projectIdstringThe project rendered.statusenumWhere the job is.One ofPENDING,PROCESSING,COMPLETED,FAILED,CANCELLEDprogressinteger0 to 100.formatstringmp4,webmorgif.resolutionstringfullorhalf.qualitystringdraft,standardorhigh.urlstring or nullThe download URL onceCOMPLETED.errorstring or nullWhy it failed, whenFAILED.createdAtstringISO 8601 time.updatedAtstringISO 8601 time.
appliedobjectWhat the plan decided:{ resolution, watermark, priority }, plusmaxHeightandcappedByPlan: truewhen the plan capped the height.pollstringThe path to poll.
Errors#
Besides the errors any request can get (authentication, rate limits):
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | projectId is missing, or the project has no clips. |
| 404 | not_found | No such project, or not yours. |
| 402 | quota_exceeded | Monthly exports used up, too many renders running at once for the plan, or the project uses media the plan cannot export. |