查询字幕擦除任务状态
API 配置
保存后下方「Try It」面板会自动携带此 API Key 发送真实请求。
Base: api.xrtoken.net
查询字幕擦除任务状态。
- processing:处理中,建议每 3–5 秒轮询一次。
- succeeded:擦除完成,
video_url字段包含结果视频下载链接。 - failed:处理失败,
error字段包含错误信息,冻结金额自动退还。
Authorization
BearerAuth AuthorizationBearer <token>
API 密钥认证(OpenAI 格式)。在 Authorization 请求头中传入:
Authorization: Bearer tr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Path Parameters
taskId*string
任务 ID(由 POST /v1/videos/erase-subtitle 返回的 id 字段)
Response Body
application/json
application/json
application/json
application/json
curl -X get "https://api.xrtoken.net/v1/videos/erase-subtitle/string"{
"id": "string",
"status": "processing",
"video_url": "http://example.com",
"result": {
"video_url": "http://example.com"
},
"error": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}{
"error": "invalid or missing API key",
"type": "auth_error"
}{
"error": "string",
"type": "invalid_request_error"
}{
"error": "rate limit exceeded",
"type": "rate_limit_error"
}