📡 API 接口文档
Base URL: https://yt.feedmob.it.com
认证: x-api-key: YOUR_KEY 或 Authorization: Bearer YOUR_KEY
GET /api/state
获取所有视频状态、总结、字幕原文。返回结构:
{ generatedAt, config, items: [{ videoId, title, status, summary: { headline, bullets, whyItMatters, topics }, transcriptText, transcriptLength, ... }] }
POST /api/refresh
手动触发刷新。返回
{ ok: true, status: "refresh_started" }
POST /api/transcript-detail
获取字幕原文段落。Body:
{ videoId }
返回
{ videoId, segments: [{ text, startMs, startTime }], fallbackText }
POST /api/transcript-process
处理字幕(去废话)。Body:
{ videoId, segments } 或
{ videoId, text }
返回
{ videoId, processed, hasTimestamps }
🔑 API Keys
加载中...