> ## 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 Qwen Image Max 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": "123e4567-e89b-12d3-a456-426614174000",
  "deleted_at": "2025-01-15T10:35:00Z"
}
```


## OpenAPI

````yaml api-reference/endpoint/alibaba/qwen-image-max/qwen-image-max.yaml DELETE /vendors/alibaba/v1/qwen-image-max/generation/{task_id}
openapi: 3.1.0
info:
  title: Qwen-Image-Max API
  description: Qwen-Image-Max Text-to-Image Model API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.mulerouter.ai/
security:
  - bearerAuth: []
paths:
  /vendors/alibaba/v1/qwen-image-max/generation/{task_id}:
    delete:
      summary: Delete Generation Task
      description: |-
        Permanently delete a task.

        **Note:** Tasks in `processing` or `retrying` status cannot be deleted.
      operationId: qwen_image_max_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

````