Create Chapter
Changed onCreates a new chapter either as blank or from a URL.
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/studio/projects/{project_id}/chapters
- Authnone declared
Path parameters
The ID of the Studio project.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Request body
Example request
{
"name": "Chapter 1",
"from_url": "https://blog.elevenlabs.io/the_first_ai_that_can_laugh/"
}Response
Successful Response
Example response
{
"chapter": {
"can_be_downloaded": true,
"chapter_id": "aw1NgEzBg83R7vgmiJt6",
"content": {
"blocks": []
},
"conversion_progress": 0.5,
"last_conversion_date_unix": 1714204800,
"name": "Chapter 1",
"state": "default",
"statistics": {
"characters_converted": 200,
"characters_unconverted": 100,
"paragraphs_converted": 5,
"paragraphs_unconverted": 3
}
}
}Changes
- info
response property
chapter/content/blocks/items/nodes/items/anyOf[subschema #1: ChapterContentBlockTtsNodeResponseModel]/voice_iddeprecated - info
response property
chapter/statistics/anyOf[subschema #1: ChapterStatisticsResponseModel]/voice_statistics/anyOf[subschema #1]/items/voice_iddeprecated - info
added the required property
///////to the response with the status - info
added the required property
//////to the response with the status - info
the response required property
///////became read-only for the status - info
the response required property
//////became read-only for the status
- info
- info
added the optional property
///to the response with the status - info
added the optional property
//////to the response with the status
- info