Skip to content

Cancel queued speech

POSThttps://api.vidmoat.com/v1/speech/generations/{id}/cancel
Bearer tokenScope speech.generateFree; refunds the queued jobTry it in the playground

Cancel only work that has not started inference. A job already running, or being submitted to the worker, returns 409. Retry status rather than assuming it was cancelled.

Path parameters#

  • idstringrequired
    A voice or generation ID belonging to the credential owner.

Response#

Returns 200.

Errors#

Besides the errors any request can get (authentication, rate limits):

StatusCodeWhen
409conflictThe idempotency key belongs to different inputs, or the job is not in the required state.
503unavailableInference, private storage, configured pilot billing or the limiter is unavailable. Nothing new is charged before admission.