audio-native

Update Audio-Native Project Content

Changed on

Updates content for the specific AudioNative Project.

post/v1/audio-native/{project_id}/content

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/audio-native/{project_id}/content
  • Auth
    none declared

Path parameters

project_idstring required

The ID of the Studio project.

Example:21m00Tcm4TlvDq8ikWAM

Headers

xi-api-keystring nullable

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 multipart/form-data

filestring binary

Either txt or HTML input file containing the article content. HTML should be formatted as follows '<html><body><div><p>Your content</p><h5>More of your content</h5><p>Some more of your content</p></div></body></html>'

auto_convertboolean

Whether to auto convert the project to audio or not.

auto_publishboolean

Whether to auto publish the new project snapshot after it's converted.

Response

Successful Response

project_idstring required

The ID of the project.

convertingboolean required

Whether the project is currently being converted.

publishingboolean required

Whether the project is currently being published.

html_snippetstring required

The HTML snippet to embed the Audio Native player.

Example response

{
  "converting": false,
  "html_snippet": "<div id='audio-native-player'></div>",
  "project_id": "JBFqnCBsd6RMkjVDRZzb",
  "publishing": false
}

Changes