Skip to content

Commit a5281d4

Browse files
committed
SDK regeneration
1 parent 4f2685c commit a5281d4

47 files changed

Lines changed: 395 additions & 1097 deletions

Some content is hidden

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

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.5.0"
6+
version = "v2.6.0"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 56 additions & 262 deletions
Original file line numberDiff line numberDiff line change
@@ -4649,267 +4649,6 @@ client.pronunciation_dictionaries.list()
46494649
</dl>
46504650

46514651

4652-
</dd>
4653-
</dl>
4654-
</details>
4655-
4656-
## Workspace
4657-
<details><summary><code>client.workspace.<a href="src/elevenlabs/workspace/client.py">update_user_auto_provisioning</a>(...)</code></summary>
4658-
<dl>
4659-
<dd>
4660-
4661-
#### 📝 Description
4662-
4663-
<dl>
4664-
<dd>
4665-
4666-
<dl>
4667-
<dd>
4668-
4669-
Update user auto provisioning settings for the workspace.
4670-
</dd>
4671-
</dl>
4672-
</dd>
4673-
</dl>
4674-
4675-
#### 🔌 Usage
4676-
4677-
<dl>
4678-
<dd>
4679-
4680-
<dl>
4681-
<dd>
4682-
4683-
```python
4684-
from elevenlabs import ElevenLabs
4685-
4686-
client = ElevenLabs(
4687-
api_key="YOUR_API_KEY",
4688-
)
4689-
client.workspace.update_user_auto_provisioning(
4690-
enabled=True,
4691-
)
4692-
4693-
```
4694-
</dd>
4695-
</dl>
4696-
</dd>
4697-
</dl>
4698-
4699-
#### ⚙️ Parameters
4700-
4701-
<dl>
4702-
<dd>
4703-
4704-
<dl>
4705-
<dd>
4706-
4707-
**enabled:** `bool`
4708-
4709-
</dd>
4710-
</dl>
4711-
4712-
<dl>
4713-
<dd>
4714-
4715-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4716-
4717-
</dd>
4718-
</dl>
4719-
</dd>
4720-
</dl>
4721-
4722-
4723-
</dd>
4724-
</dl>
4725-
</details>
4726-
4727-
<details><summary><code>client.workspace.<a href="src/elevenlabs/workspace/client.py">get_default_sharing_preferences</a>()</code></summary>
4728-
<dl>
4729-
<dd>
4730-
4731-
#### 📝 Description
4732-
4733-
<dl>
4734-
<dd>
4735-
4736-
<dl>
4737-
<dd>
4738-
4739-
Get the user's default sharing preferences.
4740-
</dd>
4741-
</dl>
4742-
</dd>
4743-
</dl>
4744-
4745-
#### 🔌 Usage
4746-
4747-
<dl>
4748-
<dd>
4749-
4750-
<dl>
4751-
<dd>
4752-
4753-
```python
4754-
from elevenlabs import ElevenLabs
4755-
4756-
client = ElevenLabs(
4757-
api_key="YOUR_API_KEY",
4758-
)
4759-
client.workspace.get_default_sharing_preferences()
4760-
4761-
```
4762-
</dd>
4763-
</dl>
4764-
</dd>
4765-
</dl>
4766-
4767-
#### ⚙️ Parameters
4768-
4769-
<dl>
4770-
<dd>
4771-
4772-
<dl>
4773-
<dd>
4774-
4775-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4776-
4777-
</dd>
4778-
</dl>
4779-
</dd>
4780-
</dl>
4781-
4782-
4783-
</dd>
4784-
</dl>
4785-
</details>
4786-
4787-
<details><summary><code>client.workspace.<a href="src/elevenlabs/workspace/client.py">update_default_sharing_preferences</a>(...)</code></summary>
4788-
<dl>
4789-
<dd>
4790-
4791-
#### 📝 Description
4792-
4793-
<dl>
4794-
<dd>
4795-
4796-
<dl>
4797-
<dd>
4798-
4799-
Update the user's default sharing preferences.
4800-
</dd>
4801-
</dl>
4802-
</dd>
4803-
</dl>
4804-
4805-
#### 🔌 Usage
4806-
4807-
<dl>
4808-
<dd>
4809-
4810-
<dl>
4811-
<dd>
4812-
4813-
```python
4814-
from elevenlabs import ElevenLabs
4815-
4816-
client = ElevenLabs(
4817-
api_key="YOUR_API_KEY",
4818-
)
4819-
client.workspace.update_default_sharing_preferences(
4820-
default_sharing_groups=["default_sharing_groups"],
4821-
)
4822-
4823-
```
4824-
</dd>
4825-
</dl>
4826-
</dd>
4827-
</dl>
4828-
4829-
#### ⚙️ Parameters
4830-
4831-
<dl>
4832-
<dd>
4833-
4834-
<dl>
4835-
<dd>
4836-
4837-
**default_sharing_groups:** `typing.Sequence[str]` — List of group IDs to share with by default
4838-
4839-
</dd>
4840-
</dl>
4841-
4842-
<dl>
4843-
<dd>
4844-
4845-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4846-
4847-
</dd>
4848-
</dl>
4849-
</dd>
4850-
</dl>
4851-
4852-
4853-
</dd>
4854-
</dl>
4855-
</details>
4856-
4857-
<details><summary><code>client.workspace.<a href="src/elevenlabs/workspace/client.py">get_share_options</a>()</code></summary>
4858-
<dl>
4859-
<dd>
4860-
4861-
#### 📝 Description
4862-
4863-
<dl>
4864-
<dd>
4865-
4866-
<dl>
4867-
<dd>
4868-
4869-
Get the share options for a workspace.
4870-
</dd>
4871-
</dl>
4872-
</dd>
4873-
</dl>
4874-
4875-
#### 🔌 Usage
4876-
4877-
<dl>
4878-
<dd>
4879-
4880-
<dl>
4881-
<dd>
4882-
4883-
```python
4884-
from elevenlabs import ElevenLabs
4885-
4886-
client = ElevenLabs(
4887-
api_key="YOUR_API_KEY",
4888-
)
4889-
client.workspace.get_share_options()
4890-
4891-
```
4892-
</dd>
4893-
</dl>
4894-
</dd>
4895-
</dl>
4896-
4897-
#### ⚙️ Parameters
4898-
4899-
<dl>
4900-
<dd>
4901-
4902-
<dl>
4903-
<dd>
4904-
4905-
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4906-
4907-
</dd>
4908-
</dl>
4909-
</dd>
4910-
</dl>
4911-
4912-
49134652
</dd>
49144653
</dl>
49154654
</details>
@@ -5102,6 +4841,14 @@ typing.Optional[core.File]` — See core.File for more documentation
51024841
<dl>
51034842
<dd>
51044843

4844+
**diarization_threshold:** `typing.Optional[float]` — Diarization threshold to apply during speaker diarization. A higher value means there will be a lower chance of one speaker being diarized as two different speakers but also a higher chance of two different speakers being diarized as one speaker (less total speakers predicted). A low value means there will be a higher chance of one speaker being diarized as two different speakers but also a lower chance of two different speakers being diarized as one speaker (more total speakers predicted). Can only be set when diarize=True and num_speakers=None. Defaults to None, in which case we will choose a threshold based on the model_id (0.22 usually).
4845+
4846+
</dd>
4847+
</dl>
4848+
4849+
<dl>
4850+
<dd>
4851+
51054852
**additional_formats:** `typing.Optional[AdditionalFormats]` — A list of additional formats to export the transcript to.
51064853

51074854
</dd>
@@ -5292,6 +5039,14 @@ client.conversational_ai.add_to_knowledge_base()
52925039
<dl>
52935040
<dd>
52945041

5042+
**agent_id:** `typing.Optional[str]`
5043+
5044+
</dd>
5045+
</dl>
5046+
5047+
<dl>
5048+
<dd>
5049+
52955050
**name:** `typing.Optional[str]` — A custom, human-readable name for the document.
52965051

52975052
</dd>
@@ -9709,6 +9464,14 @@ client.conversational_ai.knowledge_base.documents.get(
97099464
<dl>
97109465
<dd>
97119466

9467+
**agent_id:** `typing.Optional[str]`
9468+
9469+
</dd>
9470+
</dl>
9471+
9472+
<dl>
9473+
<dd>
9474+
97129475
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
97139476

97149477
</dd>
@@ -11925,7 +11688,14 @@ typing.Optional[core.File]` — See core.File for more documentation
1192511688
<dl>
1192611689
<dd>
1192711690

11928-
**from_content_json:** `typing.Optional[str]` — An optional content to initialize the Studio project with. If this is set, 'from_url' and 'from_document' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank.
11691+
**from_content_json:** `typing.Optional[str]`
11692+
11693+
11694+
An optional content to initialize the Studio project with. If this is set, 'from_url' and 'from_document' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank.
11695+
11696+
Example:
11697+
[{"name": "Chapter A", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "A", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "B", "type": "tts_node"}]}, {"sub_type": "h1", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "C", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "D", "type": "tts_node"}]}]}, {"name": "Chapter B", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "E", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "F", "type": "tts_node"}]}, {"sub_type": "h2", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "G", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "H", "type": "tts_node"}]}]}]
11698+
1192911699

1193011700
</dd>
1193111701
</dl>
@@ -12584,6 +12354,21 @@ client.studio.projects.content.update(
1258412354

1258512355
typing.Optional[core.File]` — See core.File for more documentation
1258612356

12357+
</dd>
12358+
</dl>
12359+
12360+
<dl>
12361+
<dd>
12362+
12363+
**from_content_json:** `typing.Optional[str]`
12364+
12365+
12366+
An optional content to initialize the Studio project with. If this is set, 'from_url' and 'from_document' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank.
12367+
12368+
Example:
12369+
[{"name": "Chapter A", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "A", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "B", "type": "tts_node"}]}, {"sub_type": "h1", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "C", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "D", "type": "tts_node"}]}]}, {"name": "Chapter B", "blocks": [{"sub_type": "p", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "E", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "F", "type": "tts_node"}]}, {"sub_type": "h2", "nodes": [{"voice_id": "6lCwbsX1yVjD49QmpkT0", "text": "G", "type": "tts_node"}, {"voice_id": "6lCwbsX1yVjD49QmpkT1", "text": "H", "type": "tts_node"}]}]}]
12370+
12371+
1258712372
</dd>
1258812373
</dl>
1258912374

@@ -14572,6 +14357,7 @@ client = ElevenLabs(
1457214357
client.voices.pvc.samples.audio.get(
1457314358
voice_id="21m00Tcm4TlvDq8ikWAM",
1457414359
sample_id="VW7YKqPnjY4h39yTbx2L",
14360+
remove_background_noise=True,
1457514361
)
1457614362

1457714363
```
@@ -14604,6 +14390,14 @@ client.voices.pvc.samples.audio.get(
1460414390
<dl>
1460514391
<dd>
1460614392

14393+
**remove_background_noise:** `typing.Optional[bool]` — If set will remove background noise for voice samples using our audio isolation model. If the samples do not include background noise, it can make the quality worse.
14394+
14395+
</dd>
14396+
</dl>
14397+
14398+
<dl>
14399+
<dd>
14400+
1460714401
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1460814402

1460914403
</dd>

0 commit comments

Comments
 (0)