Skip to content

Commit 8aa7d4d

Browse files
committed
Release 1.1.0
1 parent 2bb55ec commit 8aa7d4d

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "speechify-api"
33

44
[tool.poetry]
55
name = "speechify-api"
6-
version = "1.0.0"
6+
version = "1.1.0"
77
description = "Official Speechify API SDK"
88
readme = "README.md"
99
authors = [

src/speechify/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]:
2222
headers: typing.Dict[str, str] = {
2323
"X-Fern-Language": "Python",
2424
"X-Fern-SDK-Name": "speechify-api",
25-
"X-Fern-SDK-Version": "1.0.0",
25+
"X-Fern-SDK-Version": "1.1.0",
2626
}
2727
headers["Authorization"] = f"Bearer {self._get_token()}"
2828
return headers

src/speechify/tts/types/get_speech_options_request.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ class GetSpeechOptionsRequest(UniversalBaseModel):
2222
Enabling loudness normalization can increase latency due to additional processing required for audio level adjustments.
2323
"""
2424

25+
text_normalization: typing.Optional[bool] = pydantic.Field(default=None)
26+
"""
27+
Determines whether to normalize the text. If enabled, it will transform numbers, dates, etc. into words. For example, "55" is normalized into "fifty five".
28+
This can increase latency due to additional processing required for text normalization.
29+
"""
30+
2531
if IS_PYDANTIC_V2:
2632
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
2733
else:

src/speechify/tts/types/get_stream_options_request.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ class GetStreamOptionsRequest(UniversalBaseModel):
2222
Enabling loudness normalization can increase latency due to additional processing required for audio level adjustments.
2323
"""
2424

25+
text_normalization: typing.Optional[bool] = pydantic.Field(default=None)
26+
"""
27+
Determines whether to normalize the text. If enabled, it will transform numbers, dates, etc. into words. For example, "55" is normalized into "fifty five".
28+
This can increase latency due to additional processing required for text normalization.
29+
"""
30+
2531
if IS_PYDANTIC_V2:
2632
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
2733
else:

0 commit comments

Comments
 (0)