code stringlengths 66 870k | docstring stringlengths 19 26.7k | func_name stringlengths 1 138 | language stringclasses 1
value | repo stringlengths 7 68 | path stringlengths 5 324 | url stringlengths 46 389 | license stringclasses 7
values |
|---|---|---|---|---|---|---|---|
async def get(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ProjectExtendedResponse:
"""
Returns information about a specific Studio project. This endpoint returns more detailed information about a project than `GET /v1/studio`.
Parameters
... |
Returns information about a specific Studio project. This endpoint returns more detailed information about a project than `GET /v1/studio`.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/ge... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py | MIT |
async def update(
self,
project_id: str,
*,
name: str,
default_title_voice_id: str,
default_paragraph_voice_id: str,
title: typing.Optional[str] = OMIT,
author: typing.Optional[str] = OMIT,
isbn_number: typing.Optional[str] = OMIT,
volume_n... |
Updates the specified Studio project by setting the values of the parameters passed.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py | MIT |
async def delete(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> DeleteProjectResponseModel:
"""
Deletes a Studio project.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [Li... |
Deletes a Studio project.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
request_options : typing.Optional[RequestOptions... | delete | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py | MIT |
async def convert(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ConvertProjectResponseModel:
"""
Starts conversion of a Studio project and all of its chapters.
Parameters
----------
project_id : str
The ID of the ... |
Starts conversion of a Studio project and all of its chapters.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
request_opt... | convert | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/client.py | MIT |
def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[GetProjectsResponse]:
"""
Returns a list of your Studio projects with metadata.
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configu... |
Returns a list of your Studio projects with metadata.
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
HttpResponse[GetProjectsResponse]
Successful Response
| list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
def create(
self,
*,
name: str,
default_title_voice_id: str,
default_paragraph_voice_id: str,
default_model_id: str,
from_url: typing.Optional[str] = OMIT,
from_document: typing.Optional[core.File] = OMIT,
quality_preset: typing.Optional[str] = OMI... |
Creates a new Studio project, it can be either initialized as blank, from a document or from a URL.
Parameters
----------
name : str
The name of the Studio project, used for identification only.
default_title_voice_id : str
The voice_id that corresponds... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
def get(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[ProjectExtendedResponse]:
"""
Returns information about a specific Studio project. This endpoint returns more detailed information about a project than `GET /v1/studio`.
Para... |
Returns information about a specific Studio project. This endpoint returns more detailed information about a project than `GET /v1/studio`.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/ge... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
def update(
self,
project_id: str,
*,
name: str,
default_title_voice_id: str,
default_paragraph_voice_id: str,
title: typing.Optional[str] = OMIT,
author: typing.Optional[str] = OMIT,
isbn_number: typing.Optional[str] = OMIT,
volume_normali... |
Updates the specified Studio project by setting the values of the parameters passed.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
def delete(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[DeleteProjectResponseModel]:
"""
Deletes a Studio project.
Parameters
----------
project_id : str
The ID of the project to be used. You can use... |
Deletes a Studio project.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
request_options : typing.Optional[RequestOptions... | delete | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
def convert(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[ConvertProjectResponseModel]:
"""
Starts conversion of a Studio project and all of its chapters.
Parameters
----------
project_id : str
The ID... |
Starts conversion of a Studio project and all of its chapters.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
request_opt... | convert | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
async def list(
self, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[GetProjectsResponse]:
"""
Returns a list of your Studio projects with metadata.
Parameters
----------
request_options : typing.Optional[RequestOptions]
... |
Returns a list of your Studio projects with metadata.
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
AsyncHttpResponse[GetProjectsResponse]
Successful Response
... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
async def create(
self,
*,
name: str,
default_title_voice_id: str,
default_paragraph_voice_id: str,
default_model_id: str,
from_url: typing.Optional[str] = OMIT,
from_document: typing.Optional[core.File] = OMIT,
quality_preset: typing.Optional[str]... |
Creates a new Studio project, it can be either initialized as blank, from a document or from a URL.
Parameters
----------
name : str
The name of the Studio project, used for identification only.
default_title_voice_id : str
The voice_id that corresponds... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
async def get(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[ProjectExtendedResponse]:
"""
Returns information about a specific Studio project. This endpoint returns more detailed information about a project than `GET /v1/studio`.
... |
Returns information about a specific Studio project. This endpoint returns more detailed information about a project than `GET /v1/studio`.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/ge... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
async def update(
self,
project_id: str,
*,
name: str,
default_title_voice_id: str,
default_paragraph_voice_id: str,
title: typing.Optional[str] = OMIT,
author: typing.Optional[str] = OMIT,
isbn_number: typing.Optional[str] = OMIT,
volume_n... |
Updates the specified Studio project by setting the values of the parameters passed.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
async def delete(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[DeleteProjectResponseModel]:
"""
Deletes a Studio project.
Parameters
----------
project_id : str
The ID of the project to be used. ... |
Deletes a Studio project.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
request_options : typing.Optional[RequestOptions... | delete | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
async def convert(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[ConvertProjectResponseModel]:
"""
Starts conversion of a Studio project and all of its chapters.
Parameters
----------
project_id : str
... |
Starts conversion of a Studio project and all of its chapters.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
request_opt... | convert | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/raw_client.py | MIT |
def create(
self,
project_id: str,
*,
name: str,
from_url: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AddChapterResponseModel:
"""
Creates a new chapter either as blank or from a URL.
Parameters
... |
Creates a new chapter either as blank or from a URL.
Parameters
----------
project_id : str
The ID of the Studio project.
name : str
The name of the chapter, used for identification only.
from_url : typing.Optional[str]
An optional ... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
def get(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ChapterWithContentResponseModel:
"""
Returns information about a specific chapter.
Parameters
----------
project_id : str
The ID of the projec... |
Returns information about a specific chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
def update(
self,
project_id: str,
chapter_id: str,
*,
name: typing.Optional[str] = OMIT,
content: typing.Optional[ChapterContentInputModel] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> EditChapterResponseModel:
"""
Upd... |
Updates a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ID of the chapter to b... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
def delete(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> DeleteChapterResponseModel:
"""
Deletes a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the... |
Deletes a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ID of the chapter to b... | delete | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
def convert(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ConvertChapterResponseModel:
"""
Starts conversion of a specific chapter.
Parameters
----------
project_id : str
The ID of the project to ... |
Starts conversion of a specific chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ... | convert | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
async def list(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> GetChaptersResponse:
"""
Returns a list of a Studio project's chapters.
Parameters
----------
project_id : str
The ID of the Studio project.
re... |
Returns a list of a Studio project's chapters.
Parameters
----------
project_id : str
The ID of the Studio project.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
GetChaptersRes... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
async def create(
self,
project_id: str,
*,
name: str,
from_url: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AddChapterResponseModel:
"""
Creates a new chapter either as blank or from a URL.
Param... |
Creates a new chapter either as blank or from a URL.
Parameters
----------
project_id : str
The ID of the Studio project.
name : str
The name of the chapter, used for identification only.
from_url : typing.Optional[str]
An optional ... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
async def get(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ChapterWithContentResponseModel:
"""
Returns information about a specific chapter.
Parameters
----------
project_id : str
The ID of the ... |
Returns information about a specific chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
async def update(
self,
project_id: str,
chapter_id: str,
*,
name: typing.Optional[str] = OMIT,
content: typing.Optional[ChapterContentInputModel] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> EditChapterResponseModel:
"""
... |
Updates a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ID of the chapter to b... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
async def delete(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> DeleteChapterResponseModel:
"""
Deletes a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can u... |
Deletes a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ID of the chapter to b... | delete | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
async def convert(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ConvertChapterResponseModel:
"""
Starts conversion of a specific chapter.
Parameters
----------
project_id : str
The ID of the proje... |
Starts conversion of a specific chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ... | convert | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/client.py | MIT |
def list(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[GetChaptersResponse]:
"""
Returns a list of a Studio project's chapters.
Parameters
----------
project_id : str
The ID of the Studio project.
... |
Returns a list of a Studio project's chapters.
Parameters
----------
project_id : str
The ID of the Studio project.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
HttpResponse[G... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
def create(
self,
project_id: str,
*,
name: str,
from_url: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[AddChapterResponseModel]:
"""
Creates a new chapter either as blank or from a URL.
... |
Creates a new chapter either as blank or from a URL.
Parameters
----------
project_id : str
The ID of the Studio project.
name : str
The name of the chapter, used for identification only.
from_url : typing.Optional[str]
An optional ... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
def get(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[ChapterWithContentResponseModel]:
"""
Returns information about a specific chapter.
Parameters
----------
project_id : str
The ID... |
Returns information about a specific chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
def update(
self,
project_id: str,
chapter_id: str,
*,
name: typing.Optional[str] = OMIT,
content: typing.Optional[ChapterContentInputModel] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[EditChapterResponseModel]:
"... |
Updates a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ID of the chapter to b... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
def delete(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[DeleteChapterResponseModel]:
"""
Deletes a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. Y... |
Deletes a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ID of the chapter to b... | delete | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
def convert(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[ConvertChapterResponseModel]:
"""
Starts conversion of a specific chapter.
Parameters
----------
project_id : str
The ID of t... |
Starts conversion of a specific chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ... | convert | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
async def list(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[GetChaptersResponse]:
"""
Returns a list of a Studio project's chapters.
Parameters
----------
project_id : str
The ID of the Studio p... |
Returns a list of a Studio project's chapters.
Parameters
----------
project_id : str
The ID of the Studio project.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
AsyncHttpRespo... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
async def create(
self,
project_id: str,
*,
name: str,
from_url: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[AddChapterResponseModel]:
"""
Creates a new chapter either as blank or from a ... |
Creates a new chapter either as blank or from a URL.
Parameters
----------
project_id : str
The ID of the Studio project.
name : str
The name of the chapter, used for identification only.
from_url : typing.Optional[str]
An optional ... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
async def get(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[ChapterWithContentResponseModel]:
"""
Returns information about a specific chapter.
Parameters
----------
project_id : str
... |
Returns information about a specific chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
async def update(
self,
project_id: str,
chapter_id: str,
*,
name: typing.Optional[str] = OMIT,
content: typing.Optional[ChapterContentInputModel] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[EditChapterResponseModel]... |
Updates a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ID of the chapter to b... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
async def delete(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[DeleteChapterResponseModel]:
"""
Deletes a chapter.
Parameters
----------
project_id : str
The ID of the project to... |
Deletes a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ID of the chapter to b... | delete | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
async def convert(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[ConvertChapterResponseModel]:
"""
Starts conversion of a specific chapter.
Parameters
----------
project_id : str
... |
Starts conversion of a specific chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
chapter_id : str
The ... | convert | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/raw_client.py | MIT |
def list(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ChapterSnapshotsResponse:
"""
Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a snapshot will aut... |
Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a snapshot will automatically be created.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/client.py | MIT |
def get(
self,
project_id: str,
chapter_id: str,
chapter_snapshot_id: str,
*,
request_options: typing.Optional[RequestOptions] = None,
) -> ChapterSnapshotExtendedResponseModel:
"""
Returns the chapter snapshot.
Parameters
----------
... |
Returns the chapter snapshot.
Parameters
----------
project_id : str
The ID of the Studio project.
chapter_id : str
The ID of the chapter.
chapter_snapshot_id : str
The ID of the chapter snapshot.
request_options : typing.O... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/client.py | MIT |
def stream(
self,
project_id: str,
chapter_id: str,
chapter_snapshot_id: str,
*,
convert_to_mpeg: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> typing.Iterator[bytes]:
"""
Stream the audio from a ch... |
Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-refe... | stream | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/client.py | MIT |
async def list(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ChapterSnapshotsResponse:
"""
Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a snapshot wi... |
Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a snapshot will automatically be created.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/client.py | MIT |
async def get(
self,
project_id: str,
chapter_id: str,
chapter_snapshot_id: str,
*,
request_options: typing.Optional[RequestOptions] = None,
) -> ChapterSnapshotExtendedResponseModel:
"""
Returns the chapter snapshot.
Parameters
------... |
Returns the chapter snapshot.
Parameters
----------
project_id : str
The ID of the Studio project.
chapter_id : str
The ID of the chapter.
chapter_snapshot_id : str
The ID of the chapter snapshot.
request_options : typing.O... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/client.py | MIT |
async def stream(
self,
project_id: str,
chapter_id: str,
chapter_snapshot_id: str,
*,
convert_to_mpeg: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> typing.AsyncIterator[bytes]:
"""
Stream the audi... |
Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-refe... | stream | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/client.py | MIT |
def list(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[ChapterSnapshotsResponse]:
"""
Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a sna... |
Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a snapshot will automatically be created.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | MIT |
def get(
self,
project_id: str,
chapter_id: str,
chapter_snapshot_id: str,
*,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[ChapterSnapshotExtendedResponseModel]:
"""
Returns the chapter snapshot.
Parameters
... |
Returns the chapter snapshot.
Parameters
----------
project_id : str
The ID of the Studio project.
chapter_id : str
The ID of the chapter.
chapter_snapshot_id : str
The ID of the chapter snapshot.
request_options : typing.O... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | MIT |
def stream(
self,
project_id: str,
chapter_id: str,
chapter_snapshot_id: str,
*,
convert_to_mpeg: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]:
"""
... |
Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-refe... | stream | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | MIT |
async def list(
self, project_id: str, chapter_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[ChapterSnapshotsResponse]:
"""
Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is conv... |
Gets information about all the snapshots of a chapter. Each snapshot can be downloaded as audio. Whenever a chapter is converted a snapshot will automatically be created.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | MIT |
async def get(
self,
project_id: str,
chapter_id: str,
chapter_snapshot_id: str,
*,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[ChapterSnapshotExtendedResponseModel]:
"""
Returns the chapter snapshot.
Parame... |
Returns the chapter snapshot.
Parameters
----------
project_id : str
The ID of the Studio project.
chapter_id : str
The ID of the chapter.
chapter_snapshot_id : str
The ID of the chapter snapshot.
request_options : typing.O... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | MIT |
async def stream(
self,
project_id: str,
chapter_id: str,
chapter_snapshot_id: str,
*,
convert_to_mpeg: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[byte... |
Stream the audio from a chapter snapshot. Use `GET /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the snapshots of a chapter.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-refe... | stream | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/chapters/snapshots/raw_client.py | MIT |
def update(
self,
project_id: str,
*,
from_url: typing.Optional[str] = OMIT,
from_document: typing.Optional[core.File] = OMIT,
auto_convert: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> EditProjectResponseModel:
... |
Updates Studio project content.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
from_url : typing.Optional[str]
... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/content/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/content/client.py | MIT |
async def update(
self,
project_id: str,
*,
from_url: typing.Optional[str] = OMIT,
from_document: typing.Optional[core.File] = OMIT,
auto_convert: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> EditProjectResponseMo... |
Updates Studio project content.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
from_url : typing.Optional[str]
... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/content/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/content/client.py | MIT |
def update(
self,
project_id: str,
*,
from_url: typing.Optional[str] = OMIT,
from_document: typing.Optional[core.File] = OMIT,
auto_convert: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[EditProjectRes... |
Updates Studio project content.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
from_url : typing.Optional[str]
... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/content/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/content/raw_client.py | MIT |
async def update(
self,
project_id: str,
*,
from_url: typing.Optional[str] = OMIT,
from_document: typing.Optional[core.File] = OMIT,
auto_convert: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[Edi... |
Updates Studio project content.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
from_url : typing.Optional[str]
... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/content/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/content/raw_client.py | MIT |
def create(
self,
project_id: str,
*,
pronunciation_dictionary_locators: typing.Sequence[PronunciationDictionaryVersionLocator],
invalidate_affected_text: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> CreatePronunciationDi... |
Create a set of pronunciation dictionaries acting on a project. This will automatically mark text within this project as requiring reconverting where the new dictionary would apply or the old one no longer does.
Parameters
----------
project_id : str
The ID of the project t... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/pronunciation_dictionaries/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/pronunciation_dictionaries/client.py | MIT |
async def create(
self,
project_id: str,
*,
pronunciation_dictionary_locators: typing.Sequence[PronunciationDictionaryVersionLocator],
invalidate_affected_text: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> CreatePronuncia... |
Create a set of pronunciation dictionaries acting on a project. This will automatically mark text within this project as requiring reconverting where the new dictionary would apply or the old one no longer does.
Parameters
----------
project_id : str
The ID of the project t... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/pronunciation_dictionaries/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/pronunciation_dictionaries/client.py | MIT |
def create(
self,
project_id: str,
*,
pronunciation_dictionary_locators: typing.Sequence[PronunciationDictionaryVersionLocator],
invalidate_affected_text: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[CreatePr... |
Create a set of pronunciation dictionaries acting on a project. This will automatically mark text within this project as requiring reconverting where the new dictionary would apply or the old one no longer does.
Parameters
----------
project_id : str
The ID of the project t... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py | MIT |
async def create(
self,
project_id: str,
*,
pronunciation_dictionary_locators: typing.Sequence[PronunciationDictionaryVersionLocator],
invalidate_affected_text: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpRespon... |
Create a set of pronunciation dictionaries acting on a project. This will automatically mark text within this project as requiring reconverting where the new dictionary would apply or the old one no longer does.
Parameters
----------
project_id : str
The ID of the project t... | create | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/pronunciation_dictionaries/raw_client.py | MIT |
def list(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ProjectSnapshotsResponse:
"""
Retrieves a list of snapshots for a Studio project.
Parameters
----------
project_id : str
The ID of the Studio project.
... |
Retrieves a list of snapshots for a Studio project.
Parameters
----------
project_id : str
The ID of the Studio project.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
ProjectSn... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/client.py | MIT |
def get(
self, project_id: str, project_snapshot_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ProjectSnapshotExtendedResponseModel:
"""
Returns the project snapshot.
Parameters
----------
project_id : str
The ID of the Studio p... |
Returns the project snapshot.
Parameters
----------
project_id : str
The ID of the Studio project.
project_snapshot_id : str
The ID of the Studio project snapshot.
request_options : typing.Optional[RequestOptions]
Request-specific c... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/client.py | MIT |
def stream(
self,
project_id: str,
project_snapshot_id: str,
*,
convert_to_mpeg: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> typing.Iterator[bytes]:
"""
Stream the audio from a Studio project snapshot.
... |
Stream the audio from a Studio project snapshot.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
project_snapshot_id : str... | stream | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/client.py | MIT |
def stream_archive(
self, project_id: str, project_snapshot_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> typing.Iterator[bytes]:
"""
Returns a compressed archive of the Studio project's audio.
Parameters
----------
project_id : str
... |
Returns a compressed archive of the Studio project's audio.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
project_snapsh... | stream_archive | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/client.py | MIT |
async def list(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ProjectSnapshotsResponse:
"""
Retrieves a list of snapshots for a Studio project.
Parameters
----------
project_id : str
The ID of the Studio project.
... |
Retrieves a list of snapshots for a Studio project.
Parameters
----------
project_id : str
The ID of the Studio project.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
ProjectSn... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/client.py | MIT |
async def get(
self, project_id: str, project_snapshot_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> ProjectSnapshotExtendedResponseModel:
"""
Returns the project snapshot.
Parameters
----------
project_id : str
The ID of the St... |
Returns the project snapshot.
Parameters
----------
project_id : str
The ID of the Studio project.
project_snapshot_id : str
The ID of the Studio project snapshot.
request_options : typing.Optional[RequestOptions]
Request-specific c... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/client.py | MIT |
async def stream(
self,
project_id: str,
project_snapshot_id: str,
*,
convert_to_mpeg: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> typing.AsyncIterator[bytes]:
"""
Stream the audio from a Studio project s... |
Stream the audio from a Studio project snapshot.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
project_snapshot_id : str... | stream | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/client.py | MIT |
async def stream_archive(
self, project_id: str, project_snapshot_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> typing.AsyncIterator[bytes]:
"""
Returns a compressed archive of the Studio project's audio.
Parameters
----------
project_id : ... |
Returns a compressed archive of the Studio project's audio.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
project_snapsh... | stream_archive | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/client.py | MIT |
def list(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[ProjectSnapshotsResponse]:
"""
Retrieves a list of snapshots for a Studio project.
Parameters
----------
project_id : str
The ID of the Studio pr... |
Retrieves a list of snapshots for a Studio project.
Parameters
----------
project_id : str
The ID of the Studio project.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
HttpRespo... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/raw_client.py | MIT |
def get(
self, project_id: str, project_snapshot_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> HttpResponse[ProjectSnapshotExtendedResponseModel]:
"""
Returns the project snapshot.
Parameters
----------
project_id : str
The ID o... |
Returns the project snapshot.
Parameters
----------
project_id : str
The ID of the Studio project.
project_snapshot_id : str
The ID of the Studio project snapshot.
request_options : typing.Optional[RequestOptions]
Request-specific c... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/raw_client.py | MIT |
def stream(
self,
project_id: str,
project_snapshot_id: str,
*,
convert_to_mpeg: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]:
"""
Stream the audio fro... |
Stream the audio from a Studio project snapshot.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
project_snapshot_id : str... | stream | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/raw_client.py | MIT |
def stream_archive(
self, project_id: str, project_snapshot_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]:
"""
Returns a compressed archive of the Studio project's audio.
Parameters
----------
... |
Returns a compressed archive of the Studio project's audio.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
project_snapsh... | stream_archive | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/raw_client.py | MIT |
async def list(
self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[ProjectSnapshotsResponse]:
"""
Retrieves a list of snapshots for a Studio project.
Parameters
----------
project_id : str
The ID of th... |
Retrieves a list of snapshots for a Studio project.
Parameters
----------
project_id : str
The ID of the Studio project.
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
AsyncHttp... | list | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/raw_client.py | MIT |
async def get(
self, project_id: str, project_snapshot_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> AsyncHttpResponse[ProjectSnapshotExtendedResponseModel]:
"""
Returns the project snapshot.
Parameters
----------
project_id : str
... |
Returns the project snapshot.
Parameters
----------
project_id : str
The ID of the Studio project.
project_snapshot_id : str
The ID of the Studio project snapshot.
request_options : typing.Optional[RequestOptions]
Request-specific c... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/raw_client.py | MIT |
async def stream(
self,
project_id: str,
project_snapshot_id: str,
*,
convert_to_mpeg: typing.Optional[bool] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]:
"""
... |
Stream the audio from a Studio project snapshot.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
project_snapshot_id : str... | stream | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/raw_client.py | MIT |
async def stream_archive(
self, project_id: str, project_snapshot_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]:
"""
Returns a compressed archive of the Studio project's audio.
Parameters... |
Returns a compressed archive of the Studio project's audio.
Parameters
----------
project_id : str
The ID of the project to be used. You can use the [List projects](/docs/api-reference/studio/get-projects) endpoint to list all the available projects.
project_snapsh... | stream_archive | python | elevenlabs/elevenlabs-python | src/elevenlabs/studio/projects/snapshots/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/studio/projects/snapshots/raw_client.py | MIT |
def create_previews(
self,
*,
voice_description: str,
output_format: typing.Optional[TextToVoiceCreatePreviewsRequestOutputFormat] = None,
text: typing.Optional[str] = OMIT,
auto_generate_text: typing.Optional[bool] = OMIT,
loudness: typing.Optional[float] = OMIT,... |
Create a voice from a text prompt.
Parameters
----------
voice_description : str
Description to use for the created voice.
output_format : typing.Optional[TextToVoiceCreatePreviewsRequestOutputFormat]
The output format of the generated audio.
t... | create_previews | python | elevenlabs/elevenlabs-python | src/elevenlabs/text_to_voice/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/text_to_voice/client.py | MIT |
def create_voice_from_preview(
self,
*,
voice_name: str,
voice_description: str,
generated_voice_id: str,
labels: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT,
played_not_selected_voice_ids: typing.Optional[typing.Sequence[str]] = OMIT,
r... |
Add a generated voice to the voice library.
Parameters
----------
voice_name : str
Name to use for the created voice.
voice_description : str
Description to use for the created voice.
generated_voice_id : str
The generated_voice_id ... | create_voice_from_preview | python | elevenlabs/elevenlabs-python | src/elevenlabs/text_to_voice/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/text_to_voice/client.py | MIT |
async def create_previews(
self,
*,
voice_description: str,
output_format: typing.Optional[TextToVoiceCreatePreviewsRequestOutputFormat] = None,
text: typing.Optional[str] = OMIT,
auto_generate_text: typing.Optional[bool] = OMIT,
loudness: typing.Optional[float] =... |
Create a voice from a text prompt.
Parameters
----------
voice_description : str
Description to use for the created voice.
output_format : typing.Optional[TextToVoiceCreatePreviewsRequestOutputFormat]
The output format of the generated audio.
t... | create_previews | python | elevenlabs/elevenlabs-python | src/elevenlabs/text_to_voice/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/text_to_voice/client.py | MIT |
async def create_voice_from_preview(
self,
*,
voice_name: str,
voice_description: str,
generated_voice_id: str,
labels: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT,
played_not_selected_voice_ids: typing.Optional[typing.Sequence[str]] = OMIT,
... |
Add a generated voice to the voice library.
Parameters
----------
voice_name : str
Name to use for the created voice.
voice_description : str
Description to use for the created voice.
generated_voice_id : str
The generated_voice_id ... | create_voice_from_preview | python | elevenlabs/elevenlabs-python | src/elevenlabs/text_to_voice/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/text_to_voice/client.py | MIT |
def create_previews(
self,
*,
voice_description: str,
output_format: typing.Optional[TextToVoiceCreatePreviewsRequestOutputFormat] = None,
text: typing.Optional[str] = OMIT,
auto_generate_text: typing.Optional[bool] = OMIT,
loudness: typing.Optional[float] = OMIT,... |
Create a voice from a text prompt.
Parameters
----------
voice_description : str
Description to use for the created voice.
output_format : typing.Optional[TextToVoiceCreatePreviewsRequestOutputFormat]
The output format of the generated audio.
t... | create_previews | python | elevenlabs/elevenlabs-python | src/elevenlabs/text_to_voice/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/text_to_voice/raw_client.py | MIT |
def create_voice_from_preview(
self,
*,
voice_name: str,
voice_description: str,
generated_voice_id: str,
labels: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT,
played_not_selected_voice_ids: typing.Optional[typing.Sequence[str]] = OMIT,
r... |
Add a generated voice to the voice library.
Parameters
----------
voice_name : str
Name to use for the created voice.
voice_description : str
Description to use for the created voice.
generated_voice_id : str
The generated_voice_id ... | create_voice_from_preview | python | elevenlabs/elevenlabs-python | src/elevenlabs/text_to_voice/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/text_to_voice/raw_client.py | MIT |
async def create_previews(
self,
*,
voice_description: str,
output_format: typing.Optional[TextToVoiceCreatePreviewsRequestOutputFormat] = None,
text: typing.Optional[str] = OMIT,
auto_generate_text: typing.Optional[bool] = OMIT,
loudness: typing.Optional[float] =... |
Create a voice from a text prompt.
Parameters
----------
voice_description : str
Description to use for the created voice.
output_format : typing.Optional[TextToVoiceCreatePreviewsRequestOutputFormat]
The output format of the generated audio.
t... | create_previews | python | elevenlabs/elevenlabs-python | src/elevenlabs/text_to_voice/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/text_to_voice/raw_client.py | MIT |
async def create_voice_from_preview(
self,
*,
voice_name: str,
voice_description: str,
generated_voice_id: str,
labels: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT,
played_not_selected_voice_ids: typing.Optional[typing.Sequence[str]] = OMIT,
... |
Add a generated voice to the voice library.
Parameters
----------
voice_name : str
Name to use for the created voice.
voice_description : str
Description to use for the created voice.
generated_voice_id : str
The generated_voice_id ... | create_voice_from_preview | python | elevenlabs/elevenlabs-python | src/elevenlabs/text_to_voice/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/text_to_voice/raw_client.py | MIT |
def get(
self,
*,
start_unix: int,
end_unix: int,
include_workspace_metrics: typing.Optional[bool] = None,
breakdown_type: typing.Optional[BreakdownTypes] = None,
aggregation_interval: typing.Optional[UsageAggregationInterval] = None,
metric: typing.Option... |
Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/usage/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/usage/client.py | MIT |
async def get(
self,
*,
start_unix: int,
end_unix: int,
include_workspace_metrics: typing.Optional[bool] = None,
breakdown_type: typing.Optional[BreakdownTypes] = None,
aggregation_interval: typing.Optional[UsageAggregationInterval] = None,
metric: typing.... |
Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/usage/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/usage/client.py | MIT |
def get(
self,
*,
start_unix: int,
end_unix: int,
include_workspace_metrics: typing.Optional[bool] = None,
breakdown_type: typing.Optional[BreakdownTypes] = None,
aggregation_interval: typing.Optional[UsageAggregationInterval] = None,
metric: typing.Option... |
Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/usage/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/usage/raw_client.py | MIT |
async def get(
self,
*,
start_unix: int,
end_unix: int,
include_workspace_metrics: typing.Optional[bool] = None,
breakdown_type: typing.Optional[BreakdownTypes] = None,
aggregation_interval: typing.Optional[UsageAggregationInterval] = None,
metric: typing.... |
Returns the usage metrics for the current user or the entire workspace they are part of. The response provides a time axis based on the specified aggregation interval (default: day), with usage values for each interval along that axis. Usage is broken down by the selected breakdown type. For example, breakdown... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/usage/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/usage/raw_client.py | MIT |
async def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> User:
"""
Gets information about the user
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
... |
Gets information about the user
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
User
Successful Response
Examples
--------
import asyncio
... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/user/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/user/client.py | MIT |
def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[User]:
"""
Gets information about the user
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-----... |
Gets information about the user
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
HttpResponse[User]
Successful Response
| get | python | elevenlabs/elevenlabs-python | src/elevenlabs/user/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/user/raw_client.py | MIT |
async def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpResponse[User]:
"""
Gets information about the user
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
... |
Gets information about the user
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
AsyncHttpResponse[User]
Successful Response
| get | python | elevenlabs/elevenlabs-python | src/elevenlabs/user/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/user/raw_client.py | MIT |
async def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> Subscription:
"""
Gets extended information about the users subscription
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
... |
Gets extended information about the users subscription
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
Subscription
Successful Response
Examples
---... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/user/subscription/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/user/subscription/client.py | MIT |
def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Subscription]:
"""
Gets extended information about the users subscription
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.... |
Gets extended information about the users subscription
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
HttpResponse[Subscription]
Successful Response
| get | python | elevenlabs/elevenlabs-python | src/elevenlabs/user/subscription/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/user/subscription/raw_client.py | MIT |
async def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpResponse[Subscription]:
"""
Gets extended information about the users subscription
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific con... |
Gets extended information about the users subscription
Parameters
----------
request_options : typing.Optional[RequestOptions]
Request-specific configuration.
Returns
-------
AsyncHttpResponse[Subscription]
Successful Response
| get | python | elevenlabs/elevenlabs-python | src/elevenlabs/user/subscription/raw_client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/user/subscription/raw_client.py | MIT |
def get_all(
self, *, show_legacy: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None
) -> GetVoicesResponse:
"""
Returns a list of all available voices for a user.
Parameters
----------
show_legacy : typing.Optional[bool]
... |
Returns a list of all available voices for a user.
Parameters
----------
show_legacy : typing.Optional[bool]
If set to true, legacy premade voices will be included in responses from /v1/voices
request_options : typing.Optional[RequestOptions]
Request-sp... | get_all | python | elevenlabs/elevenlabs-python | src/elevenlabs/voices/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/voices/client.py | MIT |
def search(
self,
*,
next_page_token: typing.Optional[str] = None,
page_size: typing.Optional[int] = None,
search: typing.Optional[str] = None,
sort: typing.Optional[str] = None,
sort_direction: typing.Optional[str] = None,
voice_type: typing.Optional[str]... |
Gets a list of all available voices for a user with search, filtering and pagination.
Parameters
----------
next_page_token : typing.Optional[str]
The next page token to use for pagination. Returned from the previous request.
page_size : typing.Optional[int]
... | search | python | elevenlabs/elevenlabs-python | src/elevenlabs/voices/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/voices/client.py | MIT |
def get(
self,
voice_id: str,
*,
with_settings: typing.Optional[bool] = None,
request_options: typing.Optional[RequestOptions] = None,
) -> Voice:
"""
Returns metadata about a specific voice.
Parameters
----------
voice_id : str
... |
Returns metadata about a specific voice.
Parameters
----------
voice_id : str
ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
with_settings : typing.Optional[bool]
This ... | get | python | elevenlabs/elevenlabs-python | src/elevenlabs/voices/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/voices/client.py | MIT |
def delete(
self, voice_id: str, *, request_options: typing.Optional[RequestOptions] = None
) -> DeleteVoiceResponseModel:
"""
Deletes a voice by its ID.
Parameters
----------
voice_id : str
ID of the voice to be used. You can use the [Get voices](/docs/a... |
Deletes a voice by its ID.
Parameters
----------
voice_id : str
ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
request_options : typing.Optional[RequestOptions]
Request... | delete | python | elevenlabs/elevenlabs-python | src/elevenlabs/voices/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/voices/client.py | MIT |
def update(
self,
voice_id: str,
*,
name: str,
files: typing.Optional[typing.List[core.File]] = OMIT,
remove_background_noise: typing.Optional[bool] = OMIT,
description: typing.Optional[str] = OMIT,
labels: typing.Optional[str] = OMIT,
request_opti... |
Edit a voice created by you.
Parameters
----------
voice_id : str
ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
name : str
The name that identifies this voice. This wi... | update | python | elevenlabs/elevenlabs-python | src/elevenlabs/voices/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/voices/client.py | MIT |
def get_shared(
self,
*,
page_size: typing.Optional[int] = None,
category: typing.Optional[VoicesGetSharedRequestCategory] = None,
gender: typing.Optional[str] = None,
age: typing.Optional[str] = None,
accent: typing.Optional[str] = None,
language: typing.... |
Retrieves a list of shared voices.
Parameters
----------
page_size : typing.Optional[int]
How many shared voices to return at maximum. Can not exceed 100, defaults to 30.
category : typing.Optional[VoicesGetSharedRequestCategory]
Voice category used for... | get_shared | python | elevenlabs/elevenlabs-python | src/elevenlabs/voices/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/voices/client.py | MIT |
def find_similar_voices(
self,
*,
audio_file: typing.Optional[core.File] = OMIT,
similarity_threshold: typing.Optional[float] = OMIT,
top_k: typing.Optional[int] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> GetLibraryVoicesResponse:
""... |
Returns a list of shared voices similar to the provided audio sample. If neither similarity_threshold nor top_k is provided, we will apply default values.
Parameters
----------
audio_file : typing.Optional[core.File]
See core.File for more documentation
similarity_... | find_similar_voices | python | elevenlabs/elevenlabs-python | src/elevenlabs/voices/client.py | https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/voices/client.py | MIT |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.