XRToken API Docs

Cancel / delete video task (ARK alias)

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

Cancel a queued task or delete a finished one by upstream task id. Same semantics as DELETE /v1/videos/generations/{taskId}.

DELETE
/v1/contents/generations/tasks/{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

Upstream task id

Response Body

application/json

application/json

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