POST
/
v1
/
projects
/
{project_id}
/
chapters
/
{chapter_id}
/
snapshots
/
{chapter_snapshot_id}
/
stream
Projects API avaliable upon request. To get access, contact sales.

Headers

xi-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Path Parameters

project_id
string
required

The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects.

chapter_id
string
required

The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project.

chapter_snapshot_id
string
required

The chapter_snapshot_id of the chapter snapshot. You can query GET /v1/projects/{project_id}/chapters/{chapter_id}/snapshots to the all available snapshots for a chapter.

Body

application/json
convert_to_mpeg
boolean
default: false

Whether to convert the audio to mpeg format.