Skip to content
Request
Response

Cancel or Delete Video Generation Task ​

Cancel a queued video generation task, or delete a video generation task record.

Request Parameters ​

id string
The video generation task to be cancelled or deleted.
Depending on the task status, calling the DELETE interface performs different operations, as detailed below:

Current Task StatusDELETE SupportedOperation MeaningTask Status After DELETE
queuedYesTask is cancelled from queue, task status is changed to cancelled.cancelled
runningNo--
succeededYesDelete video generation task record, no longer queryable.-
failedYesDelete video generation task record, no longer queryable.-
cancelledNo--
expiredYesDelete video generation task record, no longer queryable.-