/v1/tools/plan_slidespricedPlan the slides
Plans an explainer video's slides, to be shown while a script is said with a voiceover, kept word for word: a slide every few lines, laid out to make each point clear, with the words to remember highlighted as they are said and a picture place for each part. The skill make-narrated-video makes the video from them.
Takes script (text). Returns timeline (the script as a timeline, scene by scene with what is said, and its slides, each with its words on screen, the words to remember marked to light as they are said, its cards and icons, and its picture places with what each shows, every part coming in on the word that says it).
$0.05 per 3 minutes of script, up to 60 minutes.
Fields
| Field | Type | Default | What it is |
|---|---|---|---|
script | string | Required | What is said, word for word, in its own language. Scene labels, directions in round brackets and words in square brackets are read as a script's are, and never said. |
Call it
Request
curl -X POST https://app.scrub.app/v1/tools/plan_slides \
-H "Authorization: Bearer $SCRUB_KEY" \
-H "Content-Type: application/json" \
-d '{"script":"…"}'Answer
{
"ok": true,
"result": {
"job_id": "job_…",
"status": "running",
"price_usd": "$…"
}
}It starts at once and answers running. Ask job_status with the job_id for its result. quote gives its price first, free.
Every call can also answer an error: what comes back. Try it with your key from Account.