Skip to main content
DELETE
Delete a video task
DELETE /v1/contents/generations/tasks/{task_id} returns 204 on success. A task that has not started is cancelled and its reservation refunded; a finished task is removed from the list. Only tasks that have not started can be cancelled. A running task cannot be cancelled. If deletion returns task_not_deletable, keep polling the original task rather than treating it as cancelled.

Authorizations

Authorization
string
header
required

API key (sk-xxx)

Path Parameters

task_id
string
required

The id returned when the task was created

Response

Deleted, no body