Developer documentationCancel or delete a task

Cancel or delete a task

H3 video task API · /api/v3

Endpoint

DELETEhttps://fablun.com/api/v3/contents/generations/tasks/{id}

Cancel a task before model execution is submitted, or delete a finished task. Cancellation/deletion is limited to 20 QPS shared by the account.

Request and response

cURL
curl -X DELETE 'https://fablun.com/api/v3/contents/generations/tasks/cgt-0123456789abcdef0123456789abcdef' \
  -H "Authorization: Bearer $ARK_API_KEY"
HTTP 200 · application/json
{}

Allowed operations

StatusBehavior
queuedCancel the task and prevent further execution.
cancelledRepeated cancellation returns HTTP 200 and {}, without refunding quota again.
runningCancellation may succeed during input preparation, before model submission. Once inference has been submitted, it returns 409.
succeeded / failed / expiredDelete the externally visible task record and invalidate existing video links.
Cancelled, failed or expired tasks incur no successful-generation charge. Deleting a task does not reverse monthly charges for an already successful video.