Video Generation
MiniMax-H3
Cancel or Delete Task
Cancel queued tasks based on current task status, or delete successful and failed video generation, H3-Context-IR, and video regeneration task records.
This API automatically performs cancellation or deletion based on the task’s current status. Behavior:
| Task Status | Action | Description |
|---|---|---|
| queued | cancelled | Cancel the task; the task has not started processing, no charges apply |
| succeeded | deleted | Delete the task record |
| failed | deleted | Delete the task record |
| running | — | Operation not allowed; returns an error (cannot cancel while processing) |
| cancelled | — | Operation not allowed; returns an error |
DELETE
Video Generation
Authorizations
Pass Authorization: Bearer <token> in the request header.
Path Parameters
The task ID to cancel or delete.
Response
200 - application/json
The task ID that was operated on.
The actual operation performed: cancelled (cancel, only for queued status) or deleted (delete successful or failed task records).
Available options:
cancelled, deleted The operation result status: cancelled (cancelled) or deleted (record deleted).
Available options:
cancelled, deleted