Video & Materials
Cancel Task (Volc Compatible)
Cancel a queued or cancellable Seedance compatibility task.
Overview
Cancellation is best-effort and only succeeds while the task is still cancellable. A successful DELETE returns HTTP 200 with an empty body. Query the task afterward if you need to confirm the final state.
See also Seedance 2.0 Video Models and Video Generation.
Cancellation Semantics
- The request can succeed while the task is queued or still cancellable.
- If the task has already completed, failed, expired, or is no longer cancellable, the endpoint returns an error; query the task to confirm its current state.
- A cancelled task does not return a video result.
Example
curl -X DELETE https://api.tokenlab.sh/api/v3/contents/generations/tasks/cgt-20260102030405-a1b2c \
-H "Authorization: Bearer $TOKENLAB_API_KEY"curl -X DELETE "https://example.com/api/v3/contents/generations/tasks/string"Empty
Authorization
BearerAuth AuthorizationBearer <token>
API Key authentication. Create or manage API keys in Dashboard > API > API Keys.
In: header
Path Parameters
id*string
Compatibility task ID returned by the create endpoint. IDs start with cgt-.
Response
application/json
application/json
application/json