XRToken API Docs

Cancel or delete video generation task

API Configuration
After saving, the Try It panel below sends real requests with this key.
Base: api.xrtoken.ai

Performs different operations based on the current task status:

Current StatusActionResulting Status
queuedCancel queue, refund frozen amountcancelled
succeededDelete task record-
failedDelete task record-
expiredDelete task record-
runningNot supported-
cancelledNot supported-
DELETE
/v1/videos/generations/{taskId}

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication (OpenAI format). Pass in the Authorization header:

Authorization: Bearer tr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

In: header

Path Parameters

taskId*string

Response Body

application/json

application/json

application/json

curl -X delete "https://api.xrtoken.ai/v1/videos/generations/string"
Empty
{
  "error": "model field is required",
  "type": "invalid_request_error"
}
{
  "error": "invalid or missing API key",
  "type": "auth_error"
}
{
  "error": "string",
  "type": "invalid_request_error"
}