diff --git a/pyproject.toml b/pyproject.toml index eb5abd7b..06c3efab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ dynamic = ["version"] [tool.poetry] name = "elevenlabs" -version = "v2.36.0" +version = "v2.36.1" description = "" readme = "README.md" authors = [] diff --git a/src/elevenlabs/core/client_wrapper.py b/src/elevenlabs/core/client_wrapper.py index 633b4804..39154332 100644 --- a/src/elevenlabs/core/client_wrapper.py +++ b/src/elevenlabs/core/client_wrapper.py @@ -22,10 +22,10 @@ def __init__( def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { - "User-Agent": "elevenlabs/v2.36.0", + "User-Agent": "elevenlabs/v2.36.1", "X-Fern-Language": "Python", "X-Fern-SDK-Name": "elevenlabs", - "X-Fern-SDK-Version": "v2.36.0", + "X-Fern-SDK-Version": "v2.36.1", **(self.get_custom_headers() or {}), } if self._api_key is not None: diff --git a/src/elevenlabs/music_custom.py b/src/elevenlabs/music_custom.py index 265b059c..7fb53eeb 100644 --- a/src/elevenlabs/music_custom.py +++ b/src/elevenlabs/music_custom.py @@ -46,7 +46,10 @@ def compose_detailed( # type: ignore[override] composition_plan: typing.Optional[MusicPrompt] = OMIT, music_length_ms: typing.Optional[int] = OMIT, model_id: typing.Optional[typing.Literal["music_v1"]] = OMIT, + with_timestamps: typing.Optional[bool] = OMIT, + sign_with_c2pa: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, + **kwargs: typing.Any, ) -> MultipartResponse: """ Compose a song from a prompt or a composition plan with detailed response parsing. @@ -61,7 +64,10 @@ def compose_detailed( # type: ignore[override] composition_plan=composition_plan, music_length_ms=music_length_ms, model_id=model_id, + with_timestamps=with_timestamps, + sign_with_c_2_pa=sign_with_c2pa, request_options=request_options, + **kwargs, ) # Parse the stream using the parsing method @@ -172,7 +178,10 @@ async def compose_detailed( # type: ignore[override] composition_plan: typing.Optional[MusicPrompt] = OMIT, music_length_ms: typing.Optional[int] = OMIT, model_id: typing.Optional[typing.Literal["music_v1"]] = OMIT, + with_timestamps: typing.Optional[bool] = OMIT, + sign_with_c2pa: typing.Optional[bool] = OMIT, request_options: typing.Optional[RequestOptions] = None, + **kwargs: typing.Any, ) -> MultipartResponse: """ Compose a song from a prompt or a composition plan with detailed response parsing. @@ -187,7 +196,10 @@ async def compose_detailed( # type: ignore[override] composition_plan=composition_plan, music_length_ms=music_length_ms, model_id=model_id, + with_timestamps=with_timestamps, + sign_with_c_2_pa=sign_with_c2pa, request_options=request_options, + **kwargs, ) # Parse the stream using the parsing method