Get a generation job
GET
https://api.vidmoat.com/v1/ai/jobs/{id}Poll a video generation job until it is COMPLETED or FAILED. Images, speech and stickers answer synchronously and have no job. A job that fails is refunded.
Path parameters#
idstringrequiredTheidfrom Generate a video.
Response#
Returns 200.
Response fields#
jobobjectThe job.Show 8 child fields
idstringJob id.statusenumWhere it is.One ofPROCESSING,COMPLETED,FAILEDkindstringvideo.outputUrlstring or nullThe clip, onceCOMPLETED.errorstring or nullWhy it failed.durationSecintegerSeconds generated, once finished.creditsobjectOnce finished:{ charged, refunded }.warningstringPresent when the provider could not be checked this time; poll again.
hintstringPresent on completion.
Errors#
Besides the errors any request can get (authentication, rate limits):
| Status | Code | When |
|---|---|---|
| 404 | not_found | No such video job on your projects. |