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

# Delete Alibaba W3.0 Video Generation Task

> Permanently delete a task.

Note: Tasks in `processing` or `retrying` status cannot be deleted.

## Overview

Permanently delete a generation task.

## Notes

* Tasks in `processing` or `retrying` status cannot be deleted

## Example Response

```json theme={null}
{
  "task_id": "95c457ab-6ea4-4cd9-af18-6f42cdc88411",
  "deleted_at": "2026-08-21T10:35:00Z"
}
```


## OpenAPI

````yaml api-reference/endpoint/alibaba/w3.0-video/w3.0-video.yaml DELETE /vendors/alibaba/v1/w3.0-video/generation/{task_id}
openapi: 3.1.0
info:
  title: Alibaba W3.0 Video Generation API
  description: >-
    Generate videos with the W3.0 all-in-one model (Alibaba Wan 3.0).


    A single `generation` endpoint covers three capability sets — the media
    fields you send decide which one runs:


    - Text-to-video: `prompt` only, no media fields.

    - Image-to-video (keyframe mode): `first_frame` and/or `last_frame`.

    - Reference-to-video (reference mode): `reference_images` /
    `reference_videos` / `reference_audios` / `file` / `link`.


    Keyframe mode and reference mode are mutually exclusive — a single request
    cannot mix fields from both.


    In reference mode the `prompt` may refer to inputs by index ("Image 1" /
    "Video 1"),

    counted separately per field in array order.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.mulerouter.ai/
security:
  - bearerAuth: []
paths:
  /vendors/alibaba/v1/w3.0-video/generation/{task_id}:
    delete:
      summary: Delete Generation Task
      description: |-
        Permanently delete a task.

        Note: Tasks in `processing` or `retrying` status cannot be deleted.
      operationId: alibaba_w3_0_video_generation_delete
      parameters:
        - name: task_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Task deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskDeletedResponse'
        '404':
          description: Task not found
        '422':
          description: Task cannot be deleted (still processing)
components:
  schemas:
    TaskDeletedResponse:
      type: object
      additionalProperties: true
      properties:
        task_id:
          type: string
          description: UUID of the deleted task
          format: uuid
        deleted_at:
          type: string
          description: Deletion timestamp (ISO 8601)
          format: date-time
      required:
        - task_id
        - deleted_at
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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