Cancel video, image, or music currently being executed by the API

December 6, 2024 (November 16, 2026)

Table of contents

  1. Request Headers
  2. Path parameter
  3. Responses
  4. Model
  5. Examples
  6. Try It

Remove video_id, image_id, or audio_id generation tracking by the API.

https://api.useapi.net/v2/pixverse/scheduler/id

Request Headers
Authorization: Bearer {API token}
Path parameter
  • id is required. Specify the video_id, image_id, or audio_id you want to cancel.
Responses
Model

A successful cancel answers 204 with no body, and an error answers with error and code.

The error answer, field by field
{ // TypeScript, all fields are optional
  error: string
  code: number
}
Examples
  • curl -H "Accept: application/json" \
         -H "Content-Type: application/json" \
         -H "Authorization: Bearer …" \
         -X DELETE "https://api.useapi.net/v2/pixverse/scheduler/video_id" 
    
  • const video_id = "video_id to cancel"; 
    const apiUrl = `https://api.useapi.net/v2/pixverse/scheduler/${video_id}`; 
    const token = "API token";
    const data = { 
      method: 'DELETE',
      headers: {
        'Authorization': `Bearer ${token}`,
        'Content-Type': 'application/json' }
    };
    const response = await fetch(apiUrl, data);
    const result = await response.json();
    console.log("response", {response, result});
    
  • import requests
    video_id = "video_id to cancel" 
    apiUrl = f"https://api.useapi.net/v2/pixverse/scheduler/{video_id}" 
    token = "API token"
    headers = {
        "Content-Type": "application/json", 
        "Authorization" : f"Bearer {token}"
    }
    response = requests.delete(apiUrl, headers=headers)
    print(response, response.json())
    
Try It