studio

Create Studio Project

Changed on

Creates a new Studio project, it can be either initialized as blank, from a document or from a URL.

post/v1/studio/projects

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/studio/projects
  • Auth
    none declared

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

namestring required

The name of the Studio project, used for identification only.

default_title_voice_idstring nullable

The voice_id that corresponds to the default voice used for new titles.

default_paragraph_voice_idstring nullable

The voice_id that corresponds to the default voice used for new paragraphs.

default_model_idstring nullable

The ID of the model to be used for this Studio project, you can query GET /v1/models to list all available models.

from_urlstring nullable

An optional URL from which we will extract content to initialize the Studio project. If this is set, 'from_url' and 'from_content' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank.

from_documentstring binary nullable

An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the Studio project with its content. If this is set, 'from_url' and 'from_content' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank.

from_content_jsonstring
An optional content to initialize the Studio project with. If this is set, 'from_url' and 'from_document' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank.

Example:
[{"name": "Chapter A", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "A", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "B", "type": "tts_node"}]}, {"sub_type": "h1", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "C", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "D", "type": "tts_node"}]}]}, {"name": "Chapter B", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "E", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "F", "type": "tts_node"}]}, {"sub_type": "h2", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "G", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "H", "type": "tts_node"}]}]}]
quality_preset'standard' | 'high' | 'ultra' | 'ultra_lossless'
titlestring nullable

An optional name of the author of the Studio project, this will be added as metadata to the mp3 file on Studio project or chapter download.

authorstring nullable

An optional name of the author of the Studio project, this will be added as metadata to the mp3 file on Studio project or chapter download.

descriptionstring nullable

An optional description of the Studio project.

genresstring[]

An optional list of genres associated with the Studio project.

target_audience'children' | 'young adult' | 'adult' | 'all ages' nullable

An optional target audience of the Studio project.

languagestring nullable

An optional language of the Studio project. Two-letter language code (ISO 639-1).

content_typestring nullable

An optional content type of the Studio project.

original_publication_datestring nullable

An optional original publication date of the Studio project, in the format YYYY-MM-DD or YYYY.

mature_contentboolean nullable

An optional specification of whether this Studio project contains mature content.

isbn_numberstring nullable

An optional ISBN number of the Studio project you want to create, this will be added as metadata to the mp3 file on Studio project or chapter download.

acx_volume_normalizationboolean

[Deprecated] When the Studio project is downloaded, should the returned audio have postprocessing in order to make it compliant with audiobook normalized volume requirements

volume_normalizationboolean

When the Studio project is downloaded, should the returned audio have postprocessing in order to make it compliant with audiobook normalized volume requirements

pronunciation_dictionary_locatorsstring[]

A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody. To specify multiple dictionaries use multiple --form lines in your curl, such as --form 'pronunciation_dictionary_locators="{"pronunciation_dictionary_id":"Vmd4Zor6fplcA7WrINey","version_id":"hRPaxjlTdR7wFMhV4w0b"}"' --form 'pronunciation_dictionary_locators="{"pronunciation_dictionary_id":"JzWtcGQMJ6bnlWwyMo7e","version_id":"lbmwxiLu4q6txYxgdZqn"}"'.

callback_urlstring nullable
A url that will be called by our service when the Studio project is converted. Request will contain a json blob containing the status of the conversion
Messages:
1. When project was converted successfully:
{
  type: "project_conversion_status",
  event_timestamp: 1234567890,
  data: {
    request_id: "1234567890",
    project_id: "21m00Tcm4TlvDq8ikWAM",
    conversion_status: "success",
    project_snapshot_id: "22m00Tcm4TlvDq8ikMAT",
    error_details: None,
  }
}
2. When project conversion failed:
{
  type: "project_conversion_status",
  event_timestamp: 1234567890,
  data: {
    request_id: "1234567890",
    project_id: "21m00Tcm4TlvDq8ikWAM",
    conversion_status: "error",
    project_snapshot_id: None,
    error_details: "Error details if conversion failed"
  }
}

3. When chapter was converted successfully:
{
  type: "chapter_conversion_status",
  event_timestamp: 1234567890,
  data: {
    request_id: "1234567890",
    project_id: "21m00Tcm4TlvDq8ikWAM",
    chapter_id: "22m00Tcm4TlvDq8ikMAT",
    conversion_status: "success",
    chapter_snapshot_id: "23m00Tcm4TlvDq8ikMAV",
    error_details: None,
  }
}
4. When chapter conversion failed:
{
  type: "chapter_conversion_status",
  event_timestamp: 1234567890,
  data: {
    request_id: "1234567890",
    project_id: "21m00Tcm4TlvDq8ikWAM",
    chapter_id: "22m00Tcm4TlvDq8ikMAT",
    conversion_status: "error",
    chapter_snapshot_id: None,
    error_details: "Error details if conversion failed"
  }
}
fiction'fiction' | 'non-fiction' nullable

An optional specification of whether the content of this Studio project is fiction.

apply_text_normalization'auto' | 'on' | 'off' | 'apply_english' nullable
This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' and 'off'.
When set to 'auto', the system will automatically decide whether to apply text normalization
(e.g., spelling out numbers). With 'on', text normalization will always be applied, while
with 'off', it will be skipped. 'apply_english' is the same as 'on' but will assume that text is in English.
auto_convertboolean

Whether to auto convert the Studio project to audio or not.

auto_assign_voicesboolean nullable

[Alpha Feature] Whether automatically assign voices to phrases in the create Project.

source_type'blank' | 'book' | 'article' | 'genfm' | 'video' | 'screenplay' nullable

The type of Studio project to create.

voice_settingsstring[]
Optional voice settings overrides for the project, encoded as a list of JSON strings.

Example:
["{\"voice_id\": \"21m00Tcm4TlvDq8ikWAM\", \"stability\": 0.7, \"similarity_boost\": 0.8, \"style\": 0.5, \"speed\": 1.0, \"use_speaker_boost\": true}"]
create_publishing_readboolean nullable

If true, creates a corresponding read for direct publishing in draft state

Example request

{
  "name": "Project 1",
  "default_title_voice_id": "21m00Tcm4TlvDq8ikWAM",
  "default_paragraph_voice_id": "21m00Tcm4TlvDq8ikWAM",
  "default_model_id": "eleven_multilingual_v2",
  "from_url": "https://blog.elevenlabs.io/the_first_ai_that_can_laugh/",
  "from_content_json": "[{\"name\": \"Chapter A\", \"blocks\": [{\"sub_type\": \"p\", \"nodes\": [{\"voice_id\": \"6lCwbsX1yVjD49QmpkT0\", \"text\": \"A\", \"type\": \"tts_node\"}, {\"voice_id\": \"6lCwbsX1yVjD49QmpkT1\", \"text\": \"B\", \"type\": \"tts_node\"}]}, {\"sub_type\": \"h1\", \"nodes\": [{\"voice_id\": \"6lCwbsX1yVjD49QmpkT0\", \"text\": \"C\", \"type\": \"tts_node\"}, {\"voice_id\": \"6lCwbsX1yVjD49QmpkT1\", \"text\": \"D\", \"type\": \"tts_node\"}]}]}, {\"name\": \"Chapter B\", \"blocks\": [{\"sub_type\": \"p\", \"nodes\": [{\"voice_id\": \"6lCwbsX1yVjD49QmpkT0\", \"text\": \"E\", \"type\": \"tts_node\"}, {\"voice_id\": \"6lCwbsX1yVjD49QmpkT1\", \"text\": \"F\", \"type\": \"tts_node\"}]}, {\"sub_type\": \"h2\", \"nodes\": [{\"voice_id\": \"6lCwbsX1yVjD49QmpkT0\", \"text\": \"G\", \"type\": \"tts_node\"}, {\"voice_id\": \"6lCwbsX1yVjD49QmpkT1\", \"text\": \"H\", \"type\": \"tts_node\"}]}]}]",
  "title": "Romeo and Juliet",
  "author": "William Shakespeare",
  "description": "A tragic love story between two young lovers.",
  "genres": [
    "Romance",
    "Drama"
  ],
  "target_audience": "adult",
  "language": "en",
  "content_type": "Book",
  "original_publication_date": "1597-01-01",
  "isbn_number": "0-306-40615-2",
  "pronunciation_dictionary_locators": [
    "{\"pronunciation_dictionary_id\": \"21m00Tcm4TlvDq8ikWAM\", \"version_id\": \"BdF0s0aZ3oFoKnDYdTox\"}"
  ],
  "fiction": "fiction",
  "source_type": "book",
  "voice_settings": [
    "{\"voice_id\": \"21m00Tcm4TlvDq8ikWAM\", \"stability\": 0.7, \"similarity_boost\": 0.8, \"style\": 0.5, \"speed\": 1.0, \"use_speaker_boost\": true}"
  ]
}

Response

Successful Response

Example response

{
  "project": {
    "access_level": "viewer",
    "author": "John Doe",
    "can_be_downloaded": true,
    "content_type": "Novel",
    "cover_image_url": "https://example.com/cover.jpg",
    "create_date_unix": 1714204800,
    "created_by_user_id": "Vbtgl3bRdj6lk79rYAgx",
    "creation_meta": {
      "creation_progress": 0.5,
      "status": "pending",
      "type": "blank"
    },
    "default_model_id": "eleven_multilingual_v2",
    "default_paragraph_voice_id": "JBFqnCBsd6RMkjVDRZzb",
    "default_paragraph_voice_ref_id": "JBFqnCBsd6RMkjVDRZzb",
    "default_title_voice_id": "JBFqnCBsd6RMkjVDRZzb",
    "default_title_voice_ref_id": "JBFqnCBsd6RMkjVDRZzb",
    "description": "This is a description of my project.",
    "fiction": "fiction",
    "genres": [
      "Novel",
      "Short Story"
    ],
    "isbn_number": "978-90-274-3964-2",
    "language": "en",
    "last_conversion_date_unix": 1714204800,
    "mature_content": false,
    "name": "My Project",
    "original_publication_date": "2025-01-01",
    "project_id": "aw1NgEzBg83R7vgmiJt6",
    "public_share_id": "abc123def456789",
    "quality_check_on": false,
    "quality_check_on_when_bulk_convert": false,
    "state": "default",
    "target_audience": "young adult",
    "title": "My Project",
    "volume_normalization": true
  }
}

Changes

    • breaking

      removed the enum value high of the request property

    • breaking

      removed the enum value standard of the request property

    • breaking

      removed the enum value ultra of the request property

    • breaking

      removed the enum value ultra_lossless of the request property

    • info

      added subschema #2 to the request property anyOf list

    • info

      the request property default value standard was removed

    • info

      the request property type was generalized from string to no type

    • warning

      added the new draft enum value to the /// response property for the response status