XRToken API Docs

Get video task status (ARK alias)

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

Look up a task by the upstream id returned from arkCreateVideoTask. Field names match the official Ark response: id, model, status, created_at, updated_at, plus video_url etc. on success.

GET
/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 (returned from arkCreateVideoTask)

Response Body

application/json

application/json

application/json

curl -X get "https://api.xrtoken.ai/v1/contents/generations/tasks/string"
{
  "id": "string",
  "model": "string",
  "status": "queued",
  "video_url": "string",
  "duration": 0,
  "created_at": "string",
  "updated_at": "string"
}
{
  "error": "invalid or missing API key",
  "type": "auth_error"
}
{
  "error": "string",
  "type": "invalid_request_error"
}