Skip to content

Commit b591b7f

Browse files
🌿 Fern Regeneration -- July 17, 2025 (#593)
* SDK regeneration * fix sdk --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Angelo Giacco <[email protected]>
1 parent 1c8c319 commit b591b7f

File tree

131 files changed

+1112
-441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+1112
-441
lines changed

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

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

44
[tool.poetry]
55
name = "elevenlabs"
6-
version = "v2.7.1"
6+
version = "v2.8.0"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 158 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2262,6 +2262,14 @@ client.text_to_voice.design(
22622262
<dl>
22632263
<dd>
22642264

2265+
**stream_previews:** `typing.Optional[bool]` — Determines whether the Text to Voice previews should be included in the response. If true, only the generated IDs will be returned which can then be streamed via the /v1/text-to-voice/:generated_voice_id/stream endpoint.
2266+
2267+
</dd>
2268+
</dl>
2269+
2270+
<dl>
2271+
<dd>
2272+
22652273
**quality:** `typing.Optional[float]` — Higher quality results in better voice output but less variety.
22662274

22672275
</dd>
@@ -3338,6 +3346,30 @@ long - produces podcasts longer than 7 minutes.
33383346
<dl>
33393347
<dd>
33403348

3349+
**intro:** `typing.Optional[str]` — The intro text that will always be added to the beginning of the podcast.
3350+
3351+
</dd>
3352+
</dl>
3353+
3354+
<dl>
3355+
<dd>
3356+
3357+
**outro:** `typing.Optional[str]` — The outro text that will always be added to the end of the podcast.
3358+
3359+
</dd>
3360+
</dl>
3361+
3362+
<dl>
3363+
<dd>
3364+
3365+
**instructions_prompt:** `typing.Optional[str]` — Additional instructions prompt for the podcast generation used to adjust the podcast's style and tone.
3366+
3367+
</dd>
3368+
</dl>
3369+
3370+
<dl>
3371+
<dd>
3372+
33413373
**highlights:** `typing.Optional[typing.Sequence[str]]` — A brief summary or highlights of the Studio project's content, providing key points or themes. This should be between 10 and 70 characters.
33423374

33433375
</dd>
@@ -3423,6 +3455,98 @@ long - produces podcasts longer than 7 minutes.
34233455
</details>
34243456

34253457
## Dubbing
3458+
<details><summary><code>client.dubbing.<a href="src/elevenlabs/dubbing/client.py">list</a>(...)</code></summary>
3459+
<dl>
3460+
<dd>
3461+
3462+
#### 📝 Description
3463+
3464+
<dl>
3465+
<dd>
3466+
3467+
<dl>
3468+
<dd>
3469+
3470+
List the dubs you have access to.
3471+
</dd>
3472+
</dl>
3473+
</dd>
3474+
</dl>
3475+
3476+
#### 🔌 Usage
3477+
3478+
<dl>
3479+
<dd>
3480+
3481+
<dl>
3482+
<dd>
3483+
3484+
```python
3485+
from elevenlabs import ElevenLabs
3486+
3487+
client = ElevenLabs(
3488+
api_key="YOUR_API_KEY",
3489+
)
3490+
client.dubbing.list()
3491+
3492+
```
3493+
</dd>
3494+
</dl>
3495+
</dd>
3496+
</dl>
3497+
3498+
#### ⚙️ Parameters
3499+
3500+
<dl>
3501+
<dd>
3502+
3503+
<dl>
3504+
<dd>
3505+
3506+
**cursor:** `typing.Optional[str]` — Used for fetching next page. Cursor is returned in the response.
3507+
3508+
</dd>
3509+
</dl>
3510+
3511+
<dl>
3512+
<dd>
3513+
3514+
**page_size:** `typing.Optional[int]` — How many dubs to return at maximum. Can not exceed 200, defaults to 100.
3515+
3516+
</dd>
3517+
</dl>
3518+
3519+
<dl>
3520+
<dd>
3521+
3522+
**dubbing_status:** `typing.Optional[DubbingListRequestDubbingStatus]` — Status of the dubbing, either 'in_progress', 'completed' or 'failed'.
3523+
3524+
</dd>
3525+
</dl>
3526+
3527+
<dl>
3528+
<dd>
3529+
3530+
**filter_by_creator:** `typing.Optional[DubbingListRequestFilterByCreator]` — Filters who created the resources being listed, whether it was the user running the request or someone else that shared the resource with them.
3531+
3532+
</dd>
3533+
</dl>
3534+
3535+
<dl>
3536+
<dd>
3537+
3538+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3539+
3540+
</dd>
3541+
</dl>
3542+
</dd>
3543+
</dl>
3544+
3545+
3546+
</dd>
3547+
</dl>
3548+
</details>
3549+
34263550
<details><summary><code>client.dubbing.<a href="src/elevenlabs/dubbing/client.py">create</a>(...)</code></summary>
34273551
<dl>
34283552
<dd>
@@ -4881,6 +5005,14 @@ typing.Optional[core.File]` — See core.File for more documentation
48815005
<dl>
48825006
<dd>
48835007

5008+
**webhook_id:** `typing.Optional[str]` — Optional specific webhook ID to send the transcription result to. Only valid when webhook is set to true. If not provided, transcription will be sent to all configured speech-to-text webhooks.
5009+
5010+
</dd>
5011+
</dl>
5012+
5013+
<dl>
5014+
<dd>
5015+
48845016
**temperature:** `typing.Optional[float]` — Controls the randomness of the transcription output. Accepts values between 0.0 and 2.0, where higher values result in more diverse and less deterministic results. If omitted, we will use a temperature based on the model you selected which is usually 0.
48855017

48865018
</dd>
@@ -4889,6 +5021,14 @@ typing.Optional[core.File]` — See core.File for more documentation
48895021
<dl>
48905022
<dd>
48915023

5024+
**seed:** `typing.Optional[int]` — If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be an integer between 0 and 2147483647.
5025+
5026+
</dd>
5027+
</dl>
5028+
5029+
<dl>
5030+
<dd>
5031+
48925032
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
48935033

48945034
</dd>
@@ -5865,6 +6005,14 @@ client.conversational_ai.agents.create(
58656005
<dl>
58666006
<dd>
58676007

6008+
**workflow:** `typing.Optional[typing.Optional[typing.Any]]`
6009+
6010+
</dd>
6011+
</dl>
6012+
6013+
<dl>
6014+
<dd>
6015+
58686016
**name:** `typing.Optional[str]` — A name to make the agent easier to find
58696017

58706018
</dd>
@@ -6107,6 +6255,14 @@ client.conversational_ai.agents.update(
61076255
<dl>
61086256
<dd>
61096257

6258+
**workflow:** `typing.Optional[typing.Optional[typing.Any]]`
6259+
6260+
</dd>
6261+
</dl>
6262+
6263+
<dl>
6264+
<dd>
6265+
61106266
**name:** `typing.Optional[str]` — A name to make the agent easier to find
61116267

61126268
</dd>
@@ -8197,7 +8353,7 @@ client.conversational_ai.batch_calls.cancel(
81978353
<dl>
81988354
<dd>
81998355

8200-
Retry a batch call by setting completed recipients back to pending status.
8356+
Retry a batch call, calling failed and no-response recipients again.
82018357
</dd>
82028358
</dl>
82038359
</dd>
@@ -13287,6 +13443,7 @@ client.studio.projects.chapters.snapshots.get(
1328713443
</dl>
1328813444
</details>
1328913445

13446+
## TextToVoice Preview
1329013447
## User Subscription
1329113448
<details><summary><code>client.user.subscription.<a href="src/elevenlabs/user/subscription/client.py">get</a>()</code></summary>
1329213449
<dl>

src/elevenlabs/__init__.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
AgentPlatformSettingsResponseModel,
2828
AgentSimulatedChatTestResponseModel,
2929
AgentSummaryResponseModel,
30+
AgentTestingSettings,
3031
AgentTransfer,
3132
AgentWorkspaceOverridesInput,
3233
AgentWorkspaceOverridesOutput,
@@ -172,6 +173,7 @@
172173
ConversationInitiationClientDataRequestOutputDynamicVariablesValue,
173174
ConversationInitiationClientDataWebhook,
174175
ConversationInitiationClientDataWebhookRequestHeadersValue,
176+
ConversationInitiationSource,
175177
ConversationSignedUrlResponseModel,
176178
ConversationSimulationSpecification,
177179
ConversationSimulationSpecificationDynamicVariablesValue,
@@ -188,7 +190,7 @@
188190
CreatePhoneNumberResponseModel,
189191
CreatePreviouslyGeneratedVoiceRequest,
190192
CreatePronunciationDictionaryResponseModel,
191-
CreateSipTrunkPhoneNumberRequestV2,
193+
CreateSipTrunkPhoneNumberRequest,
192194
CreateTranscriptRequest,
193195
CreateTwilioPhoneNumberRequest,
194196
CustomLlm,
@@ -224,6 +226,7 @@
224226
DubbedSegment,
225227
DubbingMediaMetadata,
226228
DubbingMediaReference,
229+
DubbingMetadataPageResponseModel,
227230
DubbingMetadataResponse,
228231
DubbingRenderResponseModel,
229232
DubbingResource,
@@ -700,6 +703,7 @@
700703
)
701704
from .audio_isolation import AudioIsolationConvertRequestFileFormat, AudioIsolationStreamRequestFileFormat
702705
from .client import AsyncElevenLabs, ElevenLabs
706+
from .dubbing import DubbingListRequestDubbingStatus, DubbingListRequestFilterByCreator
703707
from .environment import ElevenLabsEnvironment
704708
from .history import HistoryListRequestSource
705709
from .play import play, save, stream
@@ -776,6 +780,7 @@
776780
"AgentPlatformSettingsResponseModel",
777781
"AgentSimulatedChatTestResponseModel",
778782
"AgentSummaryResponseModel",
783+
"AgentTestingSettings",
779784
"AgentTransfer",
780785
"AgentWorkspaceOverridesInput",
781786
"AgentWorkspaceOverridesOutput",
@@ -942,6 +947,7 @@
942947
"ConversationInitiationClientDataRequestOutputDynamicVariablesValue",
943948
"ConversationInitiationClientDataWebhook",
944949
"ConversationInitiationClientDataWebhookRequestHeadersValue",
950+
"ConversationInitiationSource",
945951
"ConversationSignedUrlResponseModel",
946952
"ConversationSimulationSpecification",
947953
"ConversationSimulationSpecificationDynamicVariablesValue",
@@ -958,7 +964,7 @@
958964
"CreatePhoneNumberResponseModel",
959965
"CreatePreviouslyGeneratedVoiceRequest",
960966
"CreatePronunciationDictionaryResponseModel",
961-
"CreateSipTrunkPhoneNumberRequestV2",
967+
"CreateSipTrunkPhoneNumberRequest",
962968
"CreateTranscriptRequest",
963969
"CreateTwilioPhoneNumberRequest",
964970
"CustomLlm",
@@ -992,8 +998,11 @@
992998
"DocumentUsageModeEnum",
993999
"DocxExportOptions",
9941000
"DubbedSegment",
1001+
"DubbingListRequestDubbingStatus",
1002+
"DubbingListRequestFilterByCreator",
9951003
"DubbingMediaMetadata",
9961004
"DubbingMediaReference",
1005+
"DubbingMetadataPageResponseModel",
9971006
"DubbingMetadataResponse",
9981007
"DubbingRenderResponseModel",
9991008
"DubbingResource",

src/elevenlabs/audio_isolation/raw_client.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ def convert(
5252
"""
5353
with self._client_wrapper.httpx_client.stream(
5454
"v1/audio-isolation",
55-
base_url=self._client_wrapper.get_environment().base,
5655
method="POST",
5756
data={
5857
"file_format": file_format,
@@ -122,7 +121,6 @@ def stream(
122121
"""
123122
with self._client_wrapper.httpx_client.stream(
124123
"v1/audio-isolation/stream",
125-
base_url=self._client_wrapper.get_environment().base,
126124
method="POST",
127125
data={
128126
"file_format": file_format,
@@ -197,7 +195,6 @@ async def convert(
197195
"""
198196
async with self._client_wrapper.httpx_client.stream(
199197
"v1/audio-isolation",
200-
base_url=self._client_wrapper.get_environment().base,
201198
method="POST",
202199
data={
203200
"file_format": file_format,
@@ -268,7 +265,6 @@ async def stream(
268265
"""
269266
async with self._client_wrapper.httpx_client.stream(
270267
"v1/audio-isolation/stream",
271-
base_url=self._client_wrapper.get_environment().base,
272268
method="POST",
273269
data={
274270
"file_format": file_format,

0 commit comments

Comments
 (0)