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
def create( self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[PostWorkspaceSecretResponseModel]: """ Create a new secret for the workspace Parameters ---------- name : str value : str request_o...
Create a new secret for the workspace Parameters ---------- name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[PostWorkspaceSecretResponseModel] ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
def delete(self, secret_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: """ Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestOptions] Reque...
Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[None]
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
async def list( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetWorkspaceSecretsResponseModel]: """ Get all workspace secrets for the user Parameters ---------- request_options : typing.Optional[RequestOptions] R...
Get all workspace secrets for the user Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[GetWorkspaceSecretsResponseModel] Successful Response ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
async def create( self, *, name: str, value: str, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[PostWorkspaceSecretResponseModel]: """ Create a new secret for the workspace Parameters ---------- name : str value : str ...
Create a new secret for the workspace Parameters ---------- name : str value : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[PostWorkspaceSecretResponseModel...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
async def delete( self, secret_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[None]: """ Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestO...
Delete a workspace secret if it's not in use Parameters ---------- secret_id : str request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[None]
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/secrets/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/secrets/raw_client.py
MIT
def update( self, *, conversation_initiation_client_data_webhook: typing.Optional[ConversationInitiationClientDataWebhook] = OMIT, webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing.Option...
Update Convai settings for the workspace Parameters ---------- conversation_initiation_client_data_webhook : typing.Optional[ConversationInitiationClientDataWebhook] webhooks : typing.Optional[ConvAiWebhooks] can_use_mcp_servers : typing.Optional[bool] Whe...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/client.py
MIT
async def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> GetConvAiSettingsResponseModel: """ Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- GetConvAiSettingsResponseModel Successful Response Examples ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/client.py
MIT
async def update( self, *, conversation_initiation_client_data_webhook: typing.Optional[ConversationInitiationClientDataWebhook] = OMIT, webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing....
Update Convai settings for the workspace Parameters ---------- conversation_initiation_client_data_webhook : typing.Optional[ConversationInitiationClientDataWebhook] webhooks : typing.Optional[ConvAiWebhooks] can_use_mcp_servers : typing.Optional[bool] Whe...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/client.py
MIT
def get( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[GetConvAiSettingsResponseModel]: """ Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-spe...
Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[GetConvAiSettingsResponseModel] Successful Response
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/raw_client.py
MIT
def update( self, *, conversation_initiation_client_data_webhook: typing.Optional[ConversationInitiationClientDataWebhook] = OMIT, webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing.Option...
Update Convai settings for the workspace Parameters ---------- conversation_initiation_client_data_webhook : typing.Optional[ConversationInitiationClientDataWebhook] webhooks : typing.Optional[ConvAiWebhooks] can_use_mcp_servers : typing.Optional[bool] Whe...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/raw_client.py
MIT
async def get( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[GetConvAiSettingsResponseModel]: """ Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] ...
Retrieve Convai settings for the workspace Parameters ---------- request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[GetConvAiSettingsResponseModel] Successful Response ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/raw_client.py
MIT
async def update( self, *, conversation_initiation_client_data_webhook: typing.Optional[ConversationInitiationClientDataWebhook] = OMIT, webhooks: typing.Optional[ConvAiWebhooks] = OMIT, can_use_mcp_servers: typing.Optional[bool] = OMIT, rag_retention_period_days: typing....
Update Convai settings for the workspace Parameters ---------- conversation_initiation_client_data_webhook : typing.Optional[ConversationInitiationClientDataWebhook] webhooks : typing.Optional[ConvAiWebhooks] can_use_mcp_servers : typing.Optional[bool] Whe...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/settings/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/settings/raw_client.py
MIT
def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SipT...
Handle an outbound call via SIP trunk Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Option...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/sip_trunk/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/sip_trunk/client.py
MIT
async def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Handle an outbound call via SIP trunk Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Option...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/sip_trunk/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/sip_trunk/client.py
MIT
def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> Http...
Handle an outbound call via SIP trunk Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Option...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/sip_trunk/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py
MIT
async def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Handle an outbound call via SIP trunk Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Option...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/sip_trunk/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/sip_trunk/raw_client.py
MIT
def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> Twil...
Handle an outbound call via Twilio Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Optional[...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/twilio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/twilio/client.py
MIT
async def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Handle an outbound call via Twilio Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Optional[...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/twilio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/twilio/client.py
MIT
def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> Http...
Handle an outbound call via Twilio Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Optional[...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/twilio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/twilio/raw_client.py
MIT
async def outbound_call( self, *, agent_id: str, agent_phone_number_id: str, to_number: str, conversation_initiation_client_data: typing.Optional[ConversationInitiationClientDataRequestInput] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -...
Handle an outbound call via Twilio Parameters ---------- agent_id : str agent_phone_number_id : str to_number : str conversation_initiation_client_data : typing.Optional[ConversationInitiationClientDataRequestInput] request_options : typing.Optional[...
outbound_call
python
elevenlabs/elevenlabs-python
src/elevenlabs/conversational_ai/twilio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/conversational_ai/twilio/raw_client.py
MIT
def serialize_datetime(v: dt.datetime) -> str: """ Serialize a datetime including timezone info. Uses the timezone info provided if present, otherwise uses the current runtime's timezone info. UTC datetimes end in "Z" while all other timezones are represented as offset from UTC, e.g. +05:00. """ ...
Serialize a datetime including timezone info. Uses the timezone info provided if present, otherwise uses the current runtime's timezone info. UTC datetimes end in "Z" while all other timezones are represented as offset from UTC, e.g. +05:00.
serialize_datetime
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/datetime_utils.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/datetime_utils.py
MIT
def convert_file_dict_to_httpx_tuples( d: Dict[str, Union[File, List[File]]], ) -> List[Tuple[str, File]]: """ The format we use is a list of tuples, where the first element is the name of the file and the second is the file object. Typically HTTPX wants a dict, but to be able to send lists of files...
The format we use is a list of tuples, where the first element is the name of the file and the second is the file object. Typically HTTPX wants a dict, but to be able to send lists of files, you have to use the list approach (which also works for non-lists) https://github.com/encode/httpx/pull/1032...
convert_file_dict_to_httpx_tuples
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/file.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/file.py
MIT
def with_content_type(*, file: File, default_content_type: str) -> File: """ This function resolves to the file's content type, if provided, and defaults to the default_content_type value if not. """ if isinstance(file, tuple): if len(file) == 2: filename, content = cast(Tuple[Op...
This function resolves to the file's content type, if provided, and defaults to the default_content_type value if not.
with_content_type
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/file.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/file.py
MIT
def _parse_retry_after(response_headers: httpx.Headers) -> typing.Optional[float]: """ This function parses the `Retry-After` header in a HTTP response and returns the number of seconds to wait. Inspired by the urllib3 retry implementation. """ retry_after_ms = response_headers.get("retry-after-ms"...
This function parses the `Retry-After` header in a HTTP response and returns the number of seconds to wait. Inspired by the urllib3 retry implementation.
_parse_retry_after
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/http_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/http_client.py
MIT
def _retry_timeout(response: httpx.Response, retries: int) -> float: """ Determine the amount of time to wait before retrying a request. This function begins by trying to parse a retry-after header from the response, and then proceeds to use exponential backoff with a jitter to determine the number of s...
Determine the amount of time to wait before retrying a request. This function begins by trying to parse a retry-after header from the response, and then proceeds to use exponential backoff with a jitter to determine the number of seconds to wait.
_retry_timeout
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/http_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/http_client.py
MIT
def dict(self, **kwargs: Any) -> Dict[str, Any]: """ Override the default dict method to `exclude_unset` by default. This function patches `exclude_unset` to work include fields within non-None default values. """ # Note: the logic here is multiplexed given the levers exposed in ...
Override the default dict method to `exclude_unset` by default. This function patches `exclude_unset` to work include fields within non-None default values.
dict
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/pydantic_utilities.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/pydantic_utilities.py
MIT
def convert_and_respect_annotation_metadata( *, object_: typing.Any, annotation: typing.Any, inner_type: typing.Optional[typing.Any] = None, direction: typing.Literal["read", "write"], ) -> typing.Any: """ Respect the metadata annotations on a field, such as aliasing. This function effective...
Respect the metadata annotations on a field, such as aliasing. This function effectively manipulates the dict-form of an object to respect the metadata annotations. This is primarily used for TypedDicts, which cannot support aliasing out of the box, and can be extended for additional utilities, such as...
convert_and_respect_annotation_metadata
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/serialization.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/serialization.py
MIT
def construct_type(*, type_: typing.Type[typing.Any], object_: typing.Any) -> typing.Any: """ Here we are essentially creating the same `construct` method in spirit as the above, but for all types, not just Pydantic models. The idea is to essentially attempt to coerce object_ to type_ (recursively) ...
Here we are essentially creating the same `construct` method in spirit as the above, but for all types, not just Pydantic models. The idea is to essentially attempt to coerce object_ to type_ (recursively)
construct_type
python
elevenlabs/elevenlabs-python
src/elevenlabs/core/unchecked_base_model.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/core/unchecked_base_model.py
MIT
def create( self, *, file: typing.Optional[core.File] = OMIT, csv_file: typing.Optional[core.File] = OMIT, foreground_audio_file: typing.Optional[core.File] = OMIT, background_audio_file: typing.Optional[core.File] = OMIT, name: typing.Optional[str] = OMIT, ...
Dubs a provided audio or video file into given language. Parameters ---------- file : typing.Optional[core.File] See core.File for more documentation csv_file : typing.Optional[core.File] See core.File for more documentation foreground_audio_fi...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DubbingMetadataResponse: """ Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str I...
Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Return...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
def delete( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteDubbingResponseModel: """ Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typi...
Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- DeleteDubbingResponseModel ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
async def create( self, *, file: typing.Optional[core.File] = OMIT, csv_file: typing.Optional[core.File] = OMIT, foreground_audio_file: typing.Optional[core.File] = OMIT, background_audio_file: typing.Optional[core.File] = OMIT, name: typing.Optional[str] = OMIT, ...
Dubs a provided audio or video file into given language. Parameters ---------- file : typing.Optional[core.File] See core.File for more documentation csv_file : typing.Optional[core.File] See core.File for more documentation foreground_audio_fi...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
async def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DubbingMetadataResponse: """ Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ...
Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Return...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
async def delete( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteDubbingResponseModel: """ Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options ...
Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- DeleteDubbingResponseModel ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/client.py
MIT
def create( self, *, file: typing.Optional[core.File] = OMIT, csv_file: typing.Optional[core.File] = OMIT, foreground_audio_file: typing.Optional[core.File] = OMIT, background_audio_file: typing.Optional[core.File] = OMIT, name: typing.Optional[str] = OMIT, ...
Dubs a provided audio or video file into given language. Parameters ---------- file : typing.Optional[core.File] See core.File for more documentation csv_file : typing.Optional[core.File] See core.File for more documentation foreground_audio_fi...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[DubbingMetadataResponse]: """ Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str...
Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Return...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
def delete( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[DeleteDubbingResponseModel]: """ Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_...
Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- HttpResponse[DeleteDubbingResponseMod...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
async def create( self, *, file: typing.Optional[core.File] = OMIT, csv_file: typing.Optional[core.File] = OMIT, foreground_audio_file: typing.Optional[core.File] = OMIT, background_audio_file: typing.Optional[core.File] = OMIT, name: typing.Optional[str] = OMIT, ...
Dubs a provided audio or video file into given language. Parameters ---------- file : typing.Optional[core.File] See core.File for more documentation csv_file : typing.Optional[core.File] See core.File for more documentation foreground_audio_fi...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
async def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DubbingMetadataResponse]: """ Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbi...
Returns metadata about a dubbing project, including whether it's still in progress or not Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Return...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
async def delete( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DeleteDubbingResponseModel]: """ Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
Deletes a dubbing project. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- AsyncHttpResponse[DeleteDubbingRespon...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/raw_client.py
MIT
def get( self, dubbing_id: str, language_code: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Iterator[bytes]: """ Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this end...
Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/audio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/audio/client.py
MIT
async def get( self, dubbing_id: str, language_code: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.AsyncIterator[bytes]: """ Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint ...
Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/audio/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/audio/client.py
MIT
def get( self, dubbing_id: str, language_code: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: """ Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resou...
Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/audio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/audio/raw_client.py
MIT
async def get( self, dubbing_id: str, language_code: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: """ Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you ...
Returns dub as a streamed MP3 or MP4 file. If this dub has been edited using Dubbing Studio you need to use the resource render endpoint as this endpoint only returns the original automatic dub result. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/audio/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/audio/raw_client.py
MIT
def transcribe( self, dubbing_id: str, *, segments: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> SegmentTranscriptionResponse: """ Regenerate the transcriptions for the specified segments. Does not automatically regenerat...
Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequence[str] Transcribe this specific list of segments...
transcribe
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
def translate( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SegmentTranslationResponse: """ Regenerate the translations ...
Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segme...
translate
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
def dub( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SegmentDubResponse: """ Regenerate the dubs for either the entire ...
Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequ...
dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
async def get(self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> DubbingResource: """ Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- dubbing_id : str ...
Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configur...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
async def transcribe( self, dubbing_id: str, *, segments: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> SegmentTranscriptionResponse: """ Regenerate the transcriptions for the specified segments. Does not automatically reg...
Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequence[str] Transcribe this specific list of segments...
transcribe
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
async def translate( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SegmentTranslationResponse: """ Regenerate the transla...
Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segme...
translate
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
async def dub( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SegmentDubResponse: """ Regenerate the dubs for either the e...
Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequ...
dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/client.py
MIT
def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[DubbingResource]: """ Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- du...
Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configur...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
def transcribe( self, dubbing_id: str, *, segments: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SegmentTranscriptionResponse]: """ Regenerate the transcriptions for the specified segments. Does not automatic...
Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequence[str] Transcribe this specific list of segments...
transcribe
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
def translate( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SegmentTranslationResponse]: """ Regenerate the...
Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segme...
translate
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
def dub( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SegmentDubResponse]: """ Regenerate the dubs for eith...
Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequ...
dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
async def get( self, dubbing_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[DubbingResource]: """ Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ----------...
Given a dubbing ID generated from the '/v1/dubbing' endpoint with studio enabled, returns the dubbing resource. Parameters ---------- dubbing_id : str ID of the dubbing project. request_options : typing.Optional[RequestOptions] Request-specific configur...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
async def transcribe( self, dubbing_id: str, *, segments: typing.Sequence[str], request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SegmentTranscriptionResponse]: """ Regenerate the transcriptions for the specified segments. Does no...
Regenerate the transcriptions for the specified segments. Does not automatically regenerate translations or dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequence[str] Transcribe this specific list of segments...
transcribe
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
async def translate( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SegmentTranslationResponse]: """ Reg...
Regenerate the translations for either the entire resource or the specified segments/languages. Will automatically transcribe missing transcriptions. Will not automatically regenerate the dubs. Parameters ---------- dubbing_id : str ID of the dubbing project. segme...
translate
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
async def dub( self, dubbing_id: str, *, segments: typing.Sequence[str], languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SegmentDubResponse]: """ Regenerate the du...
Regenerate the dubs for either the entire resource or the specified segments/languages. Will automatically transcribe and translate any missing transcriptions and translations. Parameters ---------- dubbing_id : str ID of the dubbing project. segments : typing.Sequ...
dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/raw_client.py
MIT
def add( self, dubbing_id: str, *, language: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LanguageAddedResponse: """ Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically gene...
Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. language : typing.Optional[str] The Target language. ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/language/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/language/client.py
MIT
async def add( self, dubbing_id: str, *, language: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LanguageAddedResponse: """ Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automaticall...
Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. language : typing.Optional[str] The Target language. ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/language/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/language/client.py
MIT
def add( self, dubbing_id: str, *, language: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LanguageAddedResponse]: """ Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not auto...
Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. language : typing.Optional[str] The Target language. ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/language/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/language/raw_client.py
MIT
async def add( self, dubbing_id: str, *, language: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LanguageAddedResponse]: """ Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Do...
Adds the given ElevenLab Turbo V2/V2.5 language code to the resource. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. language : typing.Optional[str] The Target language. ...
add
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/language/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/language/raw_client.py
MIT
def update( self, dubbing_id: str, segment_id: str, language: str, *, start_time: typing.Optional[float] = OMIT, end_time: typing.Optional[float] = OMIT, text: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ...
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/client.py
MIT
def delete( self, dubbing_id: str, segment_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SegmentDeleteResponse: """ Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. ...
Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ID of the segment request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/client.py
MIT
async def update( self, dubbing_id: str, segment_id: str, language: str, *, start_time: typing.Optional[float] = OMIT, end_time: typing.Optional[float] = OMIT, text: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = No...
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/client.py
MIT
async def delete( self, dubbing_id: str, segment_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SegmentDeleteResponse: """ Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing projec...
Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ID of the segment request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/client.py
MIT
def update( self, dubbing_id: str, segment_id: str, language: str, *, start_time: typing.Optional[float] = OMIT, end_time: typing.Optional[float] = OMIT, text: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ...
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/raw_client.py
MIT
def delete( self, dubbing_id: str, segment_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[SegmentDeleteResponse]: """ Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbin...
Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ID of the segment request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/raw_client.py
MIT
async def update( self, dubbing_id: str, segment_id: str, language: str, *, start_time: typing.Optional[float] = OMIT, end_time: typing.Optional[float] = OMIT, text: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = No...
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/raw_client.py
MIT
async def delete( self, dubbing_id: str, segment_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[SegmentDeleteResponse]: """ Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of...
Deletes a single segment from the dubbing. Parameters ---------- dubbing_id : str ID of the dubbing project. segment_id : str ID of the segment request_options : typing.Optional[RequestOptions] Request-specific configuration. ...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/segment/raw_client.py
MIT
def update( self, dubbing_id: str, speaker_id: str, *, voice_id: typing.Optional[str] = OMIT, languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SpeakerUpdatedResponse: """ Ame...
Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/client.py
MIT
def find_similar_voices( self, dubbing_id: str, speaker_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SimilarVoicesForSpeakerResponse: """ Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audi...
Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. req...
find_similar_voices
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/client.py
MIT
async def update( self, dubbing_id: str, speaker_id: str, *, voice_id: typing.Optional[str] = OMIT, languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> SpeakerUpdatedResponse: """ ...
Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/client.py
MIT
async def find_similar_voices( self, dubbing_id: str, speaker_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SimilarVoicesForSpeakerResponse: """ Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sampl...
Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. req...
find_similar_voices
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/client.py
MIT
def update( self, dubbing_id: str, speaker_id: str, *, voice_id: typing.Optional[str] = OMIT, languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[SpeakerUpdatedResponse]: "...
Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/raw_client.py
MIT
def find_similar_voices( self, dubbing_id: str, speaker_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[SimilarVoicesForSpeakerResponse]: """ Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible,...
Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. req...
find_similar_voices
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/raw_client.py
MIT
async def update( self, dubbing_id: str, speaker_id: str, *, voice_id: typing.Optional[str] = OMIT, languages: typing.Optional[typing.Sequence[str]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[SpeakerUpdatedResponse]...
Amend the metadata associated with a speaker, such as their voice. Both voice cloning and using voices from the ElevenLabs library are supported. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. ...
update
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/raw_client.py
MIT
async def find_similar_voices( self, dubbing_id: str, speaker_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[SimilarVoicesForSpeakerResponse]: """ Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, wher...
Fetch the top 10 similar voices to a speaker, including the voice IDs, names, descriptions, and, where possible, a sample audio recording. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ID of the speaker. req...
find_similar_voices
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/raw_client.py
MIT
def create( self, dubbing_id: str, speaker_id: str, *, start_time: float, end_time: float, text: typing.Optional[str] = OMIT, translations: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT, request_options: typing.Optional[RequestOpti...
Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/segment/client.py
MIT
async def create( self, dubbing_id: str, speaker_id: str, *, start_time: float, end_time: float, text: typing.Optional[str] = OMIT, translations: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT, request_options: typing.Optional[Reque...
Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/segment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/segment/client.py
MIT
def create( self, dubbing_id: str, speaker_id: str, *, start_time: float, end_time: float, text: typing.Optional[str] = OMIT, translations: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT, request_options: typing.Optional[RequestOpti...
Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py
MIT
async def create( self, dubbing_id: str, speaker_id: str, *, start_time: float, end_time: float, text: typing.Optional[str] = OMIT, translations: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT, request_options: typing.Optional[Reque...
Creates a new segment in dubbing resource with a start and end time for the speaker in every available language. Does not automatically generate transcripts/translations/audio. Parameters ---------- dubbing_id : str ID of the dubbing project. speaker_id : str ...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/resource/speaker/segment/raw_client.py
MIT
def get_transcript_for_dub( self, dubbing_id: str, language_code: str, *, format_type: typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] = None, request_options: typing.Optional[RequestOptions] = None, ) -> str: """ Returns transcript for...
Returns transcript for the dub as an SRT or WEBVTT file. Parameters ---------- dubbing_id : str ID of the dubbing project. language_code : str ID of the language. format_type : typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] ...
get_transcript_for_dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/transcript/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/transcript/client.py
MIT
async def get_transcript_for_dub( self, dubbing_id: str, language_code: str, *, format_type: typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] = None, request_options: typing.Optional[RequestOptions] = None, ) -> str: """ Returns transcri...
Returns transcript for the dub as an SRT or WEBVTT file. Parameters ---------- dubbing_id : str ID of the dubbing project. language_code : str ID of the language. format_type : typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] ...
get_transcript_for_dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/transcript/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/transcript/client.py
MIT
def get_transcript_for_dub( self, dubbing_id: str, language_code: str, *, format_type: typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] = None, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[str]: """ Returns ...
Returns transcript for the dub as an SRT or WEBVTT file. Parameters ---------- dubbing_id : str ID of the dubbing project. language_code : str ID of the language. format_type : typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] ...
get_transcript_for_dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/transcript/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/transcript/raw_client.py
MIT
async def get_transcript_for_dub( self, dubbing_id: str, language_code: str, *, format_type: typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] = None, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[str]: """ ...
Returns transcript for the dub as an SRT or WEBVTT file. Parameters ---------- dubbing_id : str ID of the dubbing project. language_code : str ID of the language. format_type : typing.Optional[TranscriptGetTranscriptForDubRequestFormatType] ...
get_transcript_for_dub
python
elevenlabs/elevenlabs-python
src/elevenlabs/dubbing/transcript/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/dubbing/transcript/raw_client.py
MIT
def create( self, *, file: core.File, text: str, enabled_spooled_file: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> ForcedAlignmentResponseModel: """ Force align an audio file to text. Use this endpoint to...
Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. Parameters ---------- file : core.File See core.File for more documentation text : str T...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/forced_alignment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/forced_alignment/client.py
MIT
async def create( self, *, file: core.File, text: str, enabled_spooled_file: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> ForcedAlignmentResponseModel: """ Force align an audio file to text. Use this endpo...
Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. Parameters ---------- file : core.File See core.File for more documentation text : str T...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/forced_alignment/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/forced_alignment/client.py
MIT
def create( self, *, file: core.File, text: str, enabled_spooled_file: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[ForcedAlignmentResponseModel]: """ Force align an audio file to text. Use th...
Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. Parameters ---------- file : core.File See core.File for more documentation text : str T...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/forced_alignment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/forced_alignment/raw_client.py
MIT
async def create( self, *, file: core.File, text: str, enabled_spooled_file: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[ForcedAlignmentResponseModel]: """ Force align an audio file to t...
Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript. Parameters ---------- file : core.File See core.File for more documentation text : str T...
create
python
elevenlabs/elevenlabs-python
src/elevenlabs/forced_alignment/raw_client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/forced_alignment/raw_client.py
MIT
def list( self, *, page_size: typing.Optional[int] = None, start_after_history_item_id: typing.Optional[str] = None, voice_id: typing.Optional[str] = None, search: typing.Optional[str] = None, source: typing.Optional[HistoryListRequestSource] = None, reque...
Returns a list of your generated audio. Parameters ---------- page_size : typing.Optional[int] How many history items to return at maximum. Can not exceed 1000, defaults to 100. start_after_history_item_id : typing.Optional[str] After which ID to start ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
def get( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SpeechHistoryItemResponse: """ Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [G...
Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional[Reque...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
def delete( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteHistoryItemResponse: """ Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You can u...
Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
def get_audio( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.Iterator[bytes]: """ Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to be used. You...
Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Op...
get_audio
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
def download( self, *, history_item_ids: typing.Sequence[str], output_format: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> typing.Iterator[bytes]: """ Download one or more history items. If one history item ID is p...
Download one or more history items. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we will provide the history items packed into a .zip file. Parameters ---------- history_item_ids : typing.Sequence[str] ...
download
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
async def list( self, *, page_size: typing.Optional[int] = None, start_after_history_item_id: typing.Optional[str] = None, voice_id: typing.Optional[str] = None, search: typing.Optional[str] = None, source: typing.Optional[HistoryListRequestSource] = None, ...
Returns a list of your generated audio. Parameters ---------- page_size : typing.Optional[int] How many history items to return at maximum. Can not exceed 1000, defaults to 100. start_after_history_item_id : typing.Optional[str] After which ID to start ...
list
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
async def get( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> SpeechHistoryItemResponse: """ Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use ...
Retrieves a history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional[Reque...
get
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
async def delete( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> DeleteHistoryItemResponse: """ Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You...
Delete a history item by its ID Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Optional...
delete
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT
async def get_audio( self, history_item_id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> typing.AsyncIterator[bytes]: """ Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to b...
Returns the audio of an history item. Parameters ---------- history_item_id : str ID of the history item to be used. You can use the [Get generated items](/docs/api-reference/history/get-all) endpoint to retrieve a list of history items. request_options : typing.Op...
get_audio
python
elevenlabs/elevenlabs-python
src/elevenlabs/history/client.py
https://github.com/elevenlabs/elevenlabs-python/blob/master/src/elevenlabs/history/client.py
MIT