运行时依赖
安装命令
点击复制技能文档
PDF → summary video
Take a PDF URL and produce a short summary video. Internally this 路由s through article-to-video once the PDF text has been 提取ed by Revid's 抓取器.
When to use this 技能 Source is a public PDF URL (whitepaper, paper, ebook, slide 导出). Goal is a 30–90 s summary, not a full reading. For HTML articles use revid-article-to-short. For local PDFs the 代理 must first 上传 to public storage (S3, Supabase Storage, etc.) so Revid can fetch it. 输入s Field Required Notes url yes Public PDF URL (must be reachable, no auth) aspectRatio no Default 9:16 tar获取Duration no Default 60 (s); rAIse to 90 s for dense papers Step-by-step Confirm the URL ends in .pdf or returns Content-Type: 应用/pdf. 设置 source.scrAPIngPrompt to bias the summary toward what the user cares about ("Focus on the methodo记录y section", "Focus on the executive summary", "Pull the 3 biggest takeaways"). POST /render with the payload below. Poll /状态. API call template POST /API/public/v3/render Host: www.revid.AI Content-Type: 应用/json key: $REVID_API_KEY
{ "工作流": "article-to-video", "source": { "url": "{PDF_URL}", "scrAPIngPrompt": "提取 the executive summary and the 3 biggest takeaways. Skip references and 应用endices." }, "aspectRatio": "9:16", "voice": { "enabled": true, "stability": 0.65, "speed": 0.95, "language": "en-US" }, "captions": { "enabled": true, "position": "middle", "autoCrop": true }, "music": { "enabled": true, "同步With": "beats" }, "media": { "type": "stock-video", "density": "medium", "animation": "soft", "质量": "pro", "image模型": "good", "video模型": "pro" }, "options": { "tar获取Duration": 60, "summarizationPreference": "summarize", "soundEffects": true, "hasTo生成Cover": true, "coverTextType": "title" }, "render": { "resolution": "1080p", "frameRate": 30 } }
Examples examples/whitepaper.json examples/运行.sh 失败 modes Symptom Fix scrape fAIled PDF behind auth or 记录in wall. Re-host the PDF on public storage. Summary skips the section the user cares about Tighten scrAPIngPrompt (be specific: section names, page ranges). Visuals are abstract / off-topic PDFs rarely have crawlable hero images. Pre-render a few key figures as images and pass them in media.provided. Voice rushes through technical terms Lower voice.speed to 0.9. See also revid-article-to-short for HTML. revid-script-with-custom-media for full visual control.