Take a PDF URL and produce a short summary video. Internally this routes
through article-to-video once the PDF text has been extracted by Revid's
scraper.
revid-article-to-short.Storage, etc.) so Revid can fetch it.
| Field | Required | Notes |
|---|---|---|
| --- | --- | --- |
url | yes | Public PDF URL (must be reachable, no auth) |
aspectRatio | no | Default 9:16 |
targetDuration | no | Default 60 (s); raise to 90 s for dense papers |
.pdf or returns Content-Type: application/pdf.source.scrapingPrompt to bias the summary toward what the user caresabout ("Focus on the methodology section", "Focus on the executive summary",
"Pull the 3 biggest takeaways").
/render with the payload below./status.POST /api/public/v3/render
Host: www.revid.ai
Content-Type: application/json
key: $REVID_API_KEY
{
"workflow": "article-to-video",
"source": {
"url": "{PDF_URL}",
"scrapingPrompt": "Extract the executive summary and the 3 biggest takeaways. Skip references and appendices."
},
"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, "syncWith": "beats" },
"media": {
"type": "stock-video",
"density": "medium",
"animation": "soft",
"quality": "pro",
"imageModel": "good",
"videoModel": "pro"
},
"options": {
"targetDuration": 60,
"summarizationPreference": "summarize",
"soundEffects": true,
"hasToGenerateCover": true,
"coverTextType": "title"
},
"render": { "resolution": "1080p", "frameRate": 30 }
}
| Symptom | Fix |
|---|---|
| --- | --- |
scrape failed | PDF behind auth or login 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. |
for full visual control.
共 1 个版本