Skip to main content
Videos, snack packs, memes, carousels and transcriptions take minutes, not milliseconds. So the API does not make you wait. You start the work, get a job ID straight away, and check back until it is done.

How it works

1

Start the work

A POST, like POST /api/v1/snacks, reserves the credits and returns 201 with a jobId and a pollUrl.
2

Poll the job

Call GET /api/v1/jobs/{id} every 5 to 10 seconds.
3

Read the result

Stop when status is completed, failed or cancelled. On completed, the output is in result.
Start response
pollUrl is a path. Put https://www.vidguy.ai in front of it.
A few endpoints have their own poll URL instead of the jobs endpoint, for example Studio and Seedance generations, AI Edit projects and dubs. The start response always tells you where to poll.

Job states

Credits and refunds

  • Reserved up front. The start call holds the credits in creditsReserved.
  • Settled at the end. creditsFinal shows what you paid. On the first poll after completed it can still be null. The next poll shows the number.
  • Refunded on failure. A failed job gives its credits back. You do not need to do anything.
  • Timeouts. A snack job still not done after 15 minutes is marked failed and refunded. A TikTok carousel batch gets 10 minutes.

Example in Node.js

If a start call times out on your side, check GET /api/v1/videos or GET /api/v1/snacks before you send it again. A second POST starts a second job and spends credits twice.
Each poll counts toward your rate limit. Polling every 5 seconds uses 12 requests a minute.