語音合成

聲音克隆

對口型視頻

其他

獲取任務列表

獲取所有對口型任務列表及統計信息

獲取對口型任務列表接口

接口地址

GET /api/open/lip-sync/list?page=1&limit=10&status=completed

// 或使用 POST 請求
POST /api/open/lip-sync/list

請求頭

Authorization: Bearer YOUR_API_TOKEN  // API 密鑰

請求參數

{
  "page": number,    // 可選,頁碼,從 1 開始,默認 1
  "limit": number,   // 可選,每頁條數,默認 10,最大 50
  "status": string   // 可選,狀態過濾:"pending" | "processing" | "completed" | "failed"
}

返回數據

// 成功響應 - 200
{
  "success": true,
  "data": {
    "tasks": [...],
    "pagination": {
      "page": number,
      "limit": number,
      "total": number,
      "total_pages": number,
      "has_more": boolean
    },
    "statistics": {
      "total": number,
      "pending": number,
      "processing": number,
      "completed": number,
      "failed": number
    }
  }
}

CURL 示例

curl -X GET "https://kittaai.com/api/open/lip-sync/list?page=1&limit=10" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

在線調試

狀態碼說明

狀態碼說明:
200 OK                  - 請求成功
400 Bad Request         - 請求參數錯誤
401 Unauthorized        - API Token 無效
403 Forbidden          - 禁止訪問
404 Not Found          - 資源不存在
413 Payload Too Large  - 上傳文件過大
429 Too Many Requests  - 請求頻率超限/積分不足
500 Server Error       - 服務器內部錯誤

錯誤響應格式:
{
  "error": string,      // 錯誤信息
  "details": string,    // 詳細錯誤信息(可選)
  "code": string       // 錯誤代碼(可選)
}