diff --git a/pyproject.toml b/pyproject.toml index 197a4b3..bf487a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "elevenlabs" -version = "v1.6.1" +version = "1.7.0" description = "" readme = "README.md" authors = [] diff --git a/reference.md b/reference.md index 281e88a..11afc47 100644 --- a/reference.md +++ b/reference.md @@ -948,7 +948,7 @@ client.text_to_speech.convert( -
client.text_to_speech.convert_with_timstamps(...) +
client.text_to_speech.convert_with_timestamps(...)
@@ -980,7 +980,7 @@ from elevenlabs.client import ElevenLabs client = ElevenLabs( api_key="YOUR_API_KEY", ) -client.text_to_speech.convert_with_timstamps( +client.text_to_speech.convert_with_timestamps( voice_id="21m00Tcm4TlvDq8ikWAM", text="text", ) diff --git a/src/elevenlabs/core/client_wrapper.py b/src/elevenlabs/core/client_wrapper.py index f7a50d0..8eb9e81 100644 --- a/src/elevenlabs/core/client_wrapper.py +++ b/src/elevenlabs/core/client_wrapper.py @@ -17,7 +17,7 @@ def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { "X-Fern-Language": "Python", "X-Fern-SDK-Name": "elevenlabs", - "X-Fern-SDK-Version": "v1.6.0", + "X-Fern-SDK-Version": "1.7.0", } if self._api_key is not None: headers["xi-api-key"] = self._api_key diff --git a/src/elevenlabs/text_to_speech/client.py b/src/elevenlabs/text_to_speech/client.py index 4042d88..3896b7e 100644 --- a/src/elevenlabs/text_to_speech/client.py +++ b/src/elevenlabs/text_to_speech/client.py @@ -157,7 +157,7 @@ def convert( raise ApiError(status_code=_response.status_code, body=_response.text) raise ApiError(status_code=_response.status_code, body=_response_json) - def convert_with_timstamps( + def convert_with_timestamps( self, voice_id: str, *, @@ -240,7 +240,7 @@ def convert_with_timstamps( client = ElevenLabs( api_key="YOUR_API_KEY", ) - client.text_to_speech.convert_with_timstamps( + client.text_to_speech.convert_with_timestamps( voice_id="21m00Tcm4TlvDq8ikWAM", text="text", ) @@ -683,7 +683,7 @@ async def main() -> None: raise ApiError(status_code=_response.status_code, body=_response.text) raise ApiError(status_code=_response.status_code, body=_response_json) - async def convert_with_timstamps( + async def convert_with_timestamps( self, voice_id: str, *, @@ -771,7 +771,7 @@ async def convert_with_timstamps( async def main() -> None: - await client.text_to_speech.convert_with_timstamps( + await client.text_to_speech.convert_with_timestamps( voice_id="21m00Tcm4TlvDq8ikWAM", text="text", )