Generate chapters

Expands a topic into an ordered set of chapters, each with a title and bullet points, written onto drafts[]. Rate limited for API callers.

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

Expands a topic into an ordered set of chapters, each with a title and bullet points, written onto
drafts[]. Run this immediately after Create an outline.

Passing prompt again here is intentional — it lets you generate chapters from a different or
more detailed brief than the one the outline was created with, without creating a new outline.

Review the result with Update an outline before generating a script; the
chapter set determines the slide count of the finished video.

🚧

Rate limited

5 requests per minute, 60 per hour, per account. The limit applies to API callers only —
traffic from the Elai editor is exempt. Read X-RateLimit-Remaining-Min and
X-RateLimit-Remaining-Hour on the response to pace a batch job.

Requires LLM access on the account; without it the call returns 409.

Path Params
string
required

Id of the outline.

Body Params
string
required
length between 8 and 400

Topic to generate from. Trimmed before validation; must be 8-400 characters.

Responses

prompt missing, outside 8-400 characters, or an unknown field was included.

llmDisabled is set, or a non-paid organization has used its 5000-token allowance.

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