Skip to content

Commit fbd1f40

Browse files
committed
Release 1.0.1
1 parent bed7860 commit fbd1f40

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ client = Murf(
2626
api_key="YOUR_API_KEY",
2727
)
2828
client.text_to_speech.generate(
29-
text="And off they went. Gently walking into the sunset, with not a single care in the world",
30-
variation=5,
31-
voice_id="en-US-julia",
29+
channel_type="STEREO",
30+
format="MP3",
31+
sample_rate=44100.0,
32+
text="Hello, world!",
33+
voice_id="en-US-natalie",
3234
)
3335
```
3436

@@ -48,9 +50,11 @@ client = AsyncMurf(
4850

4951
async def main() -> None:
5052
await client.text_to_speech.generate(
51-
text="And off they went. Gently walking into the sunset, with not a single care in the world",
52-
variation=5,
53-
voice_id="en-US-julia",
53+
channel_type="STEREO",
54+
format="MP3",
55+
sample_rate=44100.0,
56+
text="Hello, world!",
57+
voice_id="en-US-natalie",
5458
)
5559

5660

pyproject.toml

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

44
[tool.poetry]
55
name = "murf"
6-
version = "1.0.0"
6+
version = "1.0.1"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ client = Murf(
9494
api_key="YOUR_API_KEY",
9595
)
9696
client.text_to_speech.generate(
97-
text="And off they went. Gently walking into the sunset, with not a single care in the world",
98-
variation=5,
99-
voice_id="en-US-julia",
97+
channel_type="STEREO",
98+
format="MP3",
99+
sample_rate=44100.0,
100+
text="Hello, world!",
101+
voice_id="en-US-natalie",
100102
)
101103

102104
```

src/murf/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1616
headers: typing.Dict[str, str] = {
1717
"X-Fern-Language": "Python",
1818
"X-Fern-SDK-Name": "murf",
19-
"X-Fern-SDK-Version": "1.0.0",
19+
"X-Fern-SDK-Version": "1.0.1",
2020
}
2121
if self._api_key is not None:
2222
headers["api-key"] = self._api_key

0 commit comments

Comments
 (0)