AI Studio API
Generation history
Read paginated generation history with status and keyword filters.
API playground
Send a real request to this site and inspect the HTTP response immediately.
Response
Send a request to view its response here.GET
/api/ai-studio/video-history?page={page}&limit={limit}&status={status}&q={q}取得帶有狀態和關鍵字篩選的分頁生成歷史。
請求標頭
Authorization: Bearer YOUR_API_KEY請求參數
| 名稱 | 類型 | 必填 | 預設 | 選項 | 描述 |
|---|---|---|---|---|---|
| page | number | 不 | 1 | - | 歷史頁碼。 |
| limit | number | 不 | 12 | - | 歷史清單的頁面大小(1-50)。 |
| status | string | 不 | all | all, pending, success, failed | 歷史列表的狀態過濾器。 |
| q | string | 不 | "" | - | 搜尋歷史記錄的可選關鍵字。 |
請求
curl -X GET "https://freesoragenerator.com/api/ai-studio/video-history?page=1&limit=12&status=all" \
-H "Authorization: Bearer YOUR_API_KEY"回應範例
{
"success": true,
"data": {
"records": [],
"total": 0,
"totalPages": 1,
"page": 1
}
}錯誤範例
{
"success": false,
"error": "Failed to load AI Studio generation history"
}