Generate a script

Expands every chapter-bearing draft into a voice-over, written to drafts[].speech, and moves status to script. Takes no request body.

Destructive: re-running replaces every drafts[].speech. Chapter ids are preserved. Rate limited for API callers.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Expands every chapter-bearing draft into a voice-over, written to drafts[].speech, and moves
status to script. Takes no request body — the outline already holds everything needed.

Drafts without a chapter are skipped silently, which is why an outline with no chapters at all
returns 400 rather than succeeding with nothing to show.

❗️

This is destructive

Re-running replaces every drafts[].speech. Chapter ids and structure are preserved, but any
hand-edited speech is lost. To change one draft's speech without touching the others, use
Rewrite speech instead.

A 409 here has two possible meanings: LLM access is unavailable on the account, or the model
could not ground the chapters in the source material — the second is common when an outline was
created from a video whose transcript does not actually cover the chapters you asked for.

🚧

Rate limited

5 requests per minute, 60 per hour, per account, for API callers only.

Path Params
string
required

Id of the outline.

Responses

X-RateLimit-* response headers.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json