Skip to content

Commit 283cb07

Browse files
SDK regeneration (#621)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 01da892 commit 283cb07

77 files changed

Lines changed: 2404 additions & 57 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.

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

reference.md

Lines changed: 138 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ client.history.delete(
313313
<dl>
314314
<dd>
315315

316-
Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects model in the world.
316+
Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects models in the world.
317317
</dd>
318318
</dl>
319319
</dd>
@@ -367,7 +367,7 @@ client.text_to_sound_effects.convert(
367367
<dl>
368368
<dd>
369369

370-
**loop:** `typing.Optional[bool]` — Whether to create a sound effect that loops smoothly.
370+
**loop:** `typing.Optional[bool]` — Whether to create a sound effect that loops smoothly. Only available for the 'eleven_text_to_sound_v2 model'.
371371

372372
</dd>
373373
</dl>
@@ -391,6 +391,14 @@ client.text_to_sound_effects.convert(
391391
<dl>
392392
<dd>
393393

394+
**model_id:** `typing.Optional[str]` — The model ID to use for the sound generation.
395+
396+
</dd>
397+
</dl>
398+
399+
<dl>
400+
<dd>
401+
394402
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
395403

396404
</dd>
@@ -595,7 +603,7 @@ Defaults to None.
595603
<dl>
596604
<dd>
597605

598-
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 and Flash v2.5 support language enforcement. For other models, an error will be returned if language code is provided.
606+
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned.
599607

600608
</dd>
601609
</dl>
@@ -803,7 +811,7 @@ Defaults to None.
803811
<dl>
804812
<dd>
805813

806-
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 and Flash v2.5 support language enforcement. For other models, an error will be returned if language code is provided.
814+
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned.
807815

808816
</dd>
809817
</dl>
@@ -1015,7 +1023,7 @@ Defaults to None.
10151023
<dl>
10161024
<dd>
10171025

1018-
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 and Flash v2.5 support language enforcement. For other models, an error will be returned if language code is provided.
1026+
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned.
10191027

10201028
</dd>
10211029
</dl>
@@ -1229,7 +1237,7 @@ Defaults to None.
12291237
<dl>
12301238
<dd>
12311239

1232-
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 and Flash v2.5 support language enforcement. For other models, an error will be returned if language code is provided.
1240+
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned.
12331241

12341242
</dd>
12351243
</dl>
@@ -1415,6 +1423,14 @@ client.text_to_dialogue.convert(
14151423
<dl>
14161424
<dd>
14171425

1426+
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned.
1427+
1428+
</dd>
1429+
</dl>
1430+
1431+
<dl>
1432+
<dd>
1433+
14181434
**settings:** `typing.Optional[ModelSettingsResponseModel]` — Settings controlling the dialogue generation.
14191435

14201436
</dd>
@@ -1439,6 +1455,16 @@ client.text_to_dialogue.convert(
14391455
<dl>
14401456
<dd>
14411457

1458+
**apply_text_normalization:** `typing.Optional[
1459+
BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization
1460+
]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
1461+
1462+
</dd>
1463+
</dl>
1464+
1465+
<dl>
1466+
<dd>
1467+
14421468
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
14431469

14441470
</dd>
@@ -1534,6 +1560,14 @@ client.text_to_dialogue.stream(
15341560
<dl>
15351561
<dd>
15361562

1563+
**language_code:** `typing.Optional[str]` — Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned.
1564+
1565+
</dd>
1566+
</dl>
1567+
1568+
<dl>
1569+
<dd>
1570+
15371571
**settings:** `typing.Optional[ModelSettingsResponseModel]` — Settings controlling the dialogue generation.
15381572

15391573
</dd>
@@ -1558,6 +1592,16 @@ client.text_to_dialogue.stream(
15581592
<dl>
15591593
<dd>
15601594

1595+
**apply_text_normalization:** `typing.Optional[
1596+
BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization
1597+
]` — This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
1598+
1599+
</dd>
1600+
</dl>
1601+
1602+
<dl>
1603+
<dd>
1604+
15611605
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
15621606

15631607
</dd>
@@ -5058,7 +5102,7 @@ client.speech_to_text.convert(
50585102
<dl>
50595103
<dd>
50605104

5061-
**enable_logging:** `typing.Optional[bool]` — When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.
5105+
**enable_logging:** `typing.Optional[bool]` — When enable_logging is set to false zero retention mode will be used for the request. This will mean log and transcript storage features are unavailable for this request. Zero retention mode may only be used by enterprise customers.
50625106

50635107
</dd>
50645108
</dl>
@@ -5749,6 +5793,14 @@ client.conversational_ai.conversations.get_signed_url(
57495793
<dl>
57505794
<dd>
57515795

5796+
**include_conversation_id:** `typing.Optional[bool]` — Whether to include a conversation_id with the response. If included, the conversation_signature cannot be used again.
5797+
5798+
</dd>
5799+
</dl>
5800+
5801+
<dl>
5802+
<dd>
5803+
57525804
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
57535805

57545806
</dd>
@@ -13267,6 +13319,77 @@ client.service_accounts.api_keys.update(
1326713319
</dl>
1326813320

1326913321

13322+
</dd>
13323+
</dl>
13324+
</details>
13325+
13326+
## SpeechToText Transcripts
13327+
<details><summary><code>client.speech_to_text.transcripts.<a href="src/elevenlabs/speech_to_text/transcripts/client.py">get</a>(...)</code></summary>
13328+
<dl>
13329+
<dd>
13330+
13331+
#### 📝 Description
13332+
13333+
<dl>
13334+
<dd>
13335+
13336+
<dl>
13337+
<dd>
13338+
13339+
Retrieve a previously generated transcript by its ID.
13340+
</dd>
13341+
</dl>
13342+
</dd>
13343+
</dl>
13344+
13345+
#### 🔌 Usage
13346+
13347+
<dl>
13348+
<dd>
13349+
13350+
<dl>
13351+
<dd>
13352+
13353+
```python
13354+
from elevenlabs import ElevenLabs
13355+
13356+
client = ElevenLabs(
13357+
api_key="YOUR_API_KEY",
13358+
)
13359+
client.speech_to_text.transcripts.get(
13360+
transcription_id="transcription_id",
13361+
)
13362+
13363+
```
13364+
</dd>
13365+
</dl>
13366+
</dd>
13367+
</dl>
13368+
13369+
#### ⚙️ Parameters
13370+
13371+
<dl>
13372+
<dd>
13373+
13374+
<dl>
13375+
<dd>
13376+
13377+
**transcription_id:** `str` — The unique ID of the transcript to retrieve
13378+
13379+
</dd>
13380+
</dl>
13381+
13382+
<dl>
13383+
<dd>
13384+
13385+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
13386+
13387+
</dd>
13388+
</dl>
13389+
</dd>
13390+
</dl>
13391+
13392+
1327013393
</dd>
1327113394
</dl>
1327213395
</details>
@@ -13746,6 +13869,14 @@ client.studio.projects.get(
1374613869
<dl>
1374713870
<dd>
1374813871

13872+
**share_id:** `typing.Optional[str]` — The share ID of the project
13873+
13874+
</dd>
13875+
</dl>
13876+
13877+
<dl>
13878+
<dd>
13879+
1374913880
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1375013881

1375113882
</dd>

0 commit comments

Comments
 (0)