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

# Cancel video

> Cancel a video generation request

Cancel a pending or in-progress video generation request. Cancellation is best-effort - if the video has already completed, this has no effect.

## Path parameters

<ParamField path="id" type="string" required>
  The ID of the video to cancel.
</ParamField>

## Response

Returns `204 No Content` on success.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.lumenfall.ai/openai/v1/videos/video_abc123 \
    -H "Authorization: Bearer $LUMENFALL_API_KEY"
  ```

  ```python Python theme={null}
  from openai import OpenAI

  client = OpenAI(
      api_key="your-lumenfall-api-key",
      base_url="https://api.lumenfall.ai/openai/v1"
  )

  client.videos.delete("video_abc123")
  ```

  ```typescript JavaScript / TypeScript theme={null}
  import OpenAI from "openai";

  const client = new OpenAI({
    apiKey: "your-lumenfall-api-key",
    baseURL: "https://api.lumenfall.ai/openai/v1",
  });

  await client.videos.delete("video_abc123");
  ```
</RequestExample>

<ResponseExample>
  ```text 204 No Content theme={null}
  (empty response body)
  ```
</ResponseExample>
