chapters

Create a chapter or scene

Defaults to the end of the manuscript unless order_index is given. Leave content empty to draft into it afterward with /ai/generate.

post/stories/{id}/chapters

Request

  • Base URL: https://aistoryhub.co/api/v1
  • URL: https://aistoryhub.co/api/v1/stories/{id}/chapters
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

titlestring required
type'chapter' | 'scene'
contentstring
parent_idstring uuid
order_indexinteger

Response

The created chapter.

idstring uuid
titlestring
type'chapter' | 'scene'
orderinteger
word_countinteger
updated_atstring date-time nullable
contentstring

Changes

No recorded changes to this operation across all 1 revision of this API.