Video V2

Cancel or delete task

Cancel or delete a video generation, H3-Context-IR, or video regeneration task based on its current status:

  • queued: cancel the task (action=cancelled); processing has not started yet.
  • succeeded / failed: delete the task record (action=deleted).
  • running / cancelled: not allowed, an error is returned.
delete/v2/video_generation/{task_id}

Request

Path parameters

task_idstring required

ID of the task to cancel or delete.

Response

task_idstring

ID of the affected task.

action'cancelled' | 'deleted'

The action actually performed: cancelled (only for the queued state) or deleted (remove a succeeded or failed task record).

status'cancelled' | 'deleted'

Operation result: cancelled or deleted.

Example response

{
  "task_id": "424010985738629",
  "action": "cancelled",
  "status": "cancelled"
}

Changes

No recorded changes to this operation across all 1 revision of this API.