Skip to content

Commit f74a304

Browse files
committed
SDK regeneration
1 parent c090428 commit f74a304

71 files changed

Lines changed: 2257 additions & 480 deletions

File tree

Some content is hidden

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

poetry.lock

Lines changed: 80 additions & 93 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.9.2"
6+
version = "v2.10.0"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 130 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4375,6 +4375,14 @@ client.usage.get(
43754375
<dl>
43764376
<dd>
43774377

4378+
**aggregation_bucket_size:** `typing.Optional[int]` — Aggregation bucket size in seconds. Overrides the aggregation interval.
4379+
4380+
</dd>
4381+
</dl>
4382+
4383+
<dl>
4384+
<dd>
4385+
43784386
**metric:** `typing.Optional[MetricType]` — Which metric to aggregate.
43794387

43804388
</dd>
@@ -4910,7 +4918,7 @@ client.webhooks.list(
49104918
<dl>
49114919
<dd>
49124920

4913-
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript.
4921+
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks. When use_multi_channel is true and the provided audio has multiple channels, a 'transcripts' object with separate transcripts for each channel is returned. Otherwise, returns a single transcript. The optional webhook_metadata parameter allows you to attach custom data that will be included in webhook responses for request correlation and tracking.
49144922
</dd>
49154923
</dl>
49164924
</dd>
@@ -5086,6 +5094,14 @@ typing.Optional[core.File]` — See core.File for more documentation
50865094
<dl>
50875095
<dd>
50885096

5097+
**webhook_metadata:** `typing.Optional[SpeechToTextConvertRequestWebhookMetadata]` — Optional metadata to be included in the webhook response. This should be a JSON string representing an object with a maximum depth of 2 levels and maximum size of 16KB. Useful for tracking internal IDs, job references, or other contextual information.
5098+
5099+
</dd>
5100+
</dl>
5101+
5102+
<dl>
5103+
<dd>
5104+
50895105
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
50905106

50915107
</dd>
@@ -5200,7 +5216,7 @@ core.File` — See core.File for more documentation
52005216
<dl>
52015217
<dd>
52025218

5203-
Upload a file or webpage URL to create a knowledge base document. <br> <Note> After creating the document, update the agent's knowledge base by calling [Update agent](/docs/conversational-ai/api-reference/agents/update-agent). </Note>
5219+
Upload a file or webpage URL to create a knowledge base document. <br> <Note> After creating the document, update the agent's knowledge base by calling [Update agent](/docs/api-reference/agents/update). </Note>
52045220
</dd>
52055221
</dl>
52065222
</dd>
@@ -5579,6 +5595,7 @@ client.conversational_ai.update_secret(
55795595
</dl>
55805596
</details>
55815597

5598+
## Music
55825599
## ConversationalAi Conversations
55835600
<details><summary><code>client.conversational_ai.conversations.<a href="src/elevenlabs/conversational_ai/conversations/client.py">get_signed_url</a>(...)</code></summary>
55845601
<dl>
@@ -5716,22 +5733,6 @@ client.conversational_ai.conversations.get_webrtc_token(
57165733
<dl>
57175734
<dd>
57185735

5719-
**source:** `typing.Optional[ConversationInitiationSource]` — The source of the conversation initiation.
5720-
5721-
</dd>
5722-
</dl>
5723-
5724-
<dl>
5725-
<dd>
5726-
5727-
**version:** `typing.Optional[str]` — The SDK version number
5728-
5729-
</dd>
5730-
</dl>
5731-
5732-
<dl>
5733-
<dd>
5734-
57355736
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
57365737

57375738
</dd>
@@ -6172,6 +6173,14 @@ client.conversational_ai.agents.create(
61726173
<dl>
61736174
<dd>
61746175

6176+
**workflow:** `typing.Optional[typing.Optional[typing.Any]]`
6177+
6178+
</dd>
6179+
</dl>
6180+
6181+
<dl>
6182+
<dd>
6183+
61756184
**name:** `typing.Optional[str]` — A name to make the agent easier to find
61766185

61776186
</dd>
@@ -6414,6 +6423,14 @@ client.conversational_ai.agents.update(
64146423
<dl>
64156424
<dd>
64166425

6426+
**workflow:** `typing.Optional[typing.Optional[typing.Any]]`
6427+
6428+
</dd>
6429+
</dl>
6430+
6431+
<dl>
6432+
<dd>
6433+
64176434
**name:** `typing.Optional[str]` — A name to make the agent easier to find
64186435

64196436
</dd>
@@ -11672,6 +11689,101 @@ client.dubbing.resource.speaker.segment.create(
1167211689
</dl>
1167311690

1167411691

11692+
</dd>
11693+
</dl>
11694+
</details>
11695+
11696+
## Music CompositionPlan
11697+
<details><summary><code>client.music.composition_plan.<a href="src/elevenlabs/music/composition_plan/client.py">create</a>(...)</code></summary>
11698+
<dl>
11699+
<dd>
11700+
11701+
#### 📝 Description
11702+
11703+
<dl>
11704+
<dd>
11705+
11706+
<dl>
11707+
<dd>
11708+
11709+
Create a composition plan for music generation. Usage of this endpoint does not cost any credits but is subject to rate limiting depending on your tier.
11710+
</dd>
11711+
</dl>
11712+
</dd>
11713+
</dl>
11714+
11715+
#### 🔌 Usage
11716+
11717+
<dl>
11718+
<dd>
11719+
11720+
<dl>
11721+
<dd>
11722+
11723+
```python
11724+
from elevenlabs import ElevenLabs
11725+
11726+
client = ElevenLabs(
11727+
api_key="YOUR_API_KEY",
11728+
)
11729+
client.music.composition_plan.create(
11730+
prompt="prompt",
11731+
)
11732+
11733+
```
11734+
</dd>
11735+
</dl>
11736+
</dd>
11737+
</dl>
11738+
11739+
#### ⚙️ Parameters
11740+
11741+
<dl>
11742+
<dd>
11743+
11744+
<dl>
11745+
<dd>
11746+
11747+
**prompt:** `str` — A simple text prompt to compose a plan from.
11748+
11749+
</dd>
11750+
</dl>
11751+
11752+
<dl>
11753+
<dd>
11754+
11755+
**music_length_ms:** `typing.Optional[int]` — The length of the composition plan to generate in milliseconds. Must be between 10000ms and 300000ms. Optional - if not provided, the model will choose a length based on the prompt.
11756+
11757+
</dd>
11758+
</dl>
11759+
11760+
<dl>
11761+
<dd>
11762+
11763+
**source_composition_plan:** `typing.Optional[MusicPrompt]` — An optional composition plan to use as a source for the new composition plan.
11764+
11765+
</dd>
11766+
</dl>
11767+
11768+
<dl>
11769+
<dd>
11770+
11771+
**model_id:** `typing.Optional[typing.Literal["music_v1"]]` — The model to use for the generation.
11772+
11773+
</dd>
11774+
</dl>
11775+
11776+
<dl>
11777+
<dd>
11778+
11779+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
11780+
11781+
</dd>
11782+
</dl>
11783+
</dd>
11784+
</dl>
11785+
11786+
1167511787
</dd>
1167611788
</dl>
1167711789
</details>

0 commit comments

Comments
 (0)