POST
/
v1
/
projects
/
{project_id}
/
snapshots
/
{project_snapshot_id}
/
stream
curl --request POST \
  --url https://api.elevenlabs.io/v1/projects/{project_id}/snapshots/{project_snapshot_id}/stream \
  --header 'Content-Type: application/json' \
  --data '{
  "convert_to_mpeg": true
}'
This response has no body data.
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.

project_snapshot_id
string
required

The project_snapshot_id of the project snapshot. You can query GET /v1/projects/{project_id}/snapshots to list all available snapshots for a project.

Body

application/json
convert_to_mpeg
boolean
default: false

Whether to convert the audio to mpeg format.