> ## Documentation Index
> Fetch the complete documentation index at: https://docs.heihuzi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# MiniMax 视频：删除任务

> 删除已成功任务的记录。

删除已成功任务的记录。

```bash theme={null}
curl --fail-with-body --silent --show-error \
  --request DELETE \
  --url "https://code.heihuzi.ai/v2/video_generation/$TASK_ID" \
  --header "Authorization: Bearer $HEIHUZI_API_KEY"
```

## 路径参数

**task\_id** `string` *required*

创建任务返回的 `task_id`。只能操作自己创建的任务。

## 响应

```json theme={null}
{"action":"deleted","status":"deleted","task_id":"video_e992bbae16f64f0fa2ef2d18d5a22360"}
```

删除后再查询或再次删除，返回 404。删除不影响已扣的费用和用量明细。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.