Regenerate speech

Regenerates the speech on the named drafts, applying enhancement as shared instructions. Mirrors the video generate-speech flow. Drafts with a chapter are regenerated from that chapter; drafts without one are regenerated from the linked video's matching slide.

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

Regenerates the speech on the named drafts, applying enhancement as shared instructions. Mirrors
the video-level Generate speech for slides flow.

Where the content comes from depends on the draft:

DraftRegenerated from
Has a chapterThe chapter's title and points, targeting a duration based on the outline's language
No chapterThe linked video's slide where slide.id matches draft.id, using that slide's own language, voice and provider

That second case is why a chapterless draft with no matching video slide returns 400 — there is
nothing to regenerate from.

👍

enhancement is instruction text, not an enum

The retired /gpt endpoints accepted one of ten fixed values (engaging, shorter, and so on).
Write what you want in plain language instead: "Make this more conversational and about a third shorter."

Path Params
string
required

Id of the outline.

Body Params
draftIds
array of integers
required
length ≥ 1

Ids of the outline drafts to act on. Must not be empty.

draftIds*
string
required

Free-form instruction text — not an enum.

config
object
Responses

draftIds empty, enhancement missing, a chapterless draft has no matching video slide, or an unknown field was included.

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

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