Skip to content

Commit 86987eb

Browse files
🌿 Fern Regeneration -- September 8, 2025 (#622)
* SDK regeneration * fix --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Paul Asjes <paul.asjes@elevenlabs.io>
1 parent 283cb07 commit 86987eb

127 files changed

Lines changed: 8894 additions & 2618 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: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "elevenlabs"
33

44
[tool.poetry]
55
name = "elevenlabs"
6-
version = "v2.14.0"
6+
version = "v2.15.0"
77
description = ""
88
readme = "README.md"
99
authors = []
@@ -39,7 +39,7 @@ python = "^3.8"
3939
httpx = ">=0.21.2"
4040
pyaudio = { version = ">=0.2.14", optional = true}
4141
pydantic = ">= 1.9.2"
42-
pydantic-core = "^2.18.2"
42+
pydantic-core = ">=2.18.2"
4343
requests = ">=2.20"
4444
typing_extensions = ">= 4.0.0"
4545
websockets = ">=11.0"

reference.md

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2326,6 +2326,165 @@ client.text_to_voice.design(
23262326
</dl>
23272327

23282328

2329+
</dd>
2330+
</dl>
2331+
</details>
2332+
2333+
<details><summary><code>client.text_to_voice.<a href="src/elevenlabs/text_to_voice/client.py">remix</a>(...)</code></summary>
2334+
<dl>
2335+
<dd>
2336+
2337+
#### 📝 Description
2338+
2339+
<dl>
2340+
<dd>
2341+
2342+
<dl>
2343+
<dd>
2344+
2345+
Remix an existing voice via a prompt. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.
2346+
</dd>
2347+
</dl>
2348+
</dd>
2349+
</dl>
2350+
2351+
#### 🔌 Usage
2352+
2353+
<dl>
2354+
<dd>
2355+
2356+
<dl>
2357+
<dd>
2358+
2359+
```python
2360+
from elevenlabs import ElevenLabs
2361+
2362+
client = ElevenLabs(
2363+
api_key="YOUR_API_KEY",
2364+
)
2365+
client.text_to_voice.remix(
2366+
voice_id="21m00Tcm4TlvDq8ikWAM",
2367+
voice_description="Make the voice have a higher pitch.",
2368+
)
2369+
2370+
```
2371+
</dd>
2372+
</dl>
2373+
</dd>
2374+
</dl>
2375+
2376+
#### ⚙️ Parameters
2377+
2378+
<dl>
2379+
<dd>
2380+
2381+
<dl>
2382+
<dd>
2383+
2384+
**voice_id:** `str` — Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
2385+
2386+
</dd>
2387+
</dl>
2388+
2389+
<dl>
2390+
<dd>
2391+
2392+
**voice_description:** `str` — Description of the changes to make to the voice.
2393+
2394+
</dd>
2395+
</dl>
2396+
2397+
<dl>
2398+
<dd>
2399+
2400+
**output_format:** `typing.Optional[TextToVoiceRemixRequestOutputFormat]` — Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.
2401+
2402+
</dd>
2403+
</dl>
2404+
2405+
<dl>
2406+
<dd>
2407+
2408+
**text:** `typing.Optional[str]` — Text to generate, text length has to be between 100 and 1000.
2409+
2410+
</dd>
2411+
</dl>
2412+
2413+
<dl>
2414+
<dd>
2415+
2416+
**auto_generate_text:** `typing.Optional[bool]` — Whether to automatically generate a text suitable for the voice description.
2417+
2418+
</dd>
2419+
</dl>
2420+
2421+
<dl>
2422+
<dd>
2423+
2424+
**loudness:** `typing.Optional[float]` — Controls the volume level of the generated voice. -1 is quietest, 1 is loudest, 0 corresponds to roughly -24 LUFS.
2425+
2426+
</dd>
2427+
</dl>
2428+
2429+
<dl>
2430+
<dd>
2431+
2432+
**seed:** `typing.Optional[int]` — Random number that controls the voice generation. Same seed with same inputs produces same voice.
2433+
2434+
</dd>
2435+
</dl>
2436+
2437+
<dl>
2438+
<dd>
2439+
2440+
**guidance_scale:** `typing.Optional[float]` — Controls how closely the AI follows the prompt. Lower numbers give the AI more freedom to be creative, while higher numbers force it to stick more to the prompt. High numbers can cause voice to sound artificial or robotic. We recommend to use longer, more detailed prompts at lower Guidance Scale.
2441+
2442+
</dd>
2443+
</dl>
2444+
2445+
<dl>
2446+
<dd>
2447+
2448+
**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.
2449+
2450+
</dd>
2451+
</dl>
2452+
2453+
<dl>
2454+
<dd>
2455+
2456+
**remixing_session_id:** `typing.Optional[str]` — The remixing session id.
2457+
2458+
</dd>
2459+
</dl>
2460+
2461+
<dl>
2462+
<dd>
2463+
2464+
**remixing_session_iteration_id:** `typing.Optional[str]` — The id of the remixing session iteration where these generations should be attached to. If not provided, a new iteration will be created.
2465+
2466+
</dd>
2467+
</dl>
2468+
2469+
<dl>
2470+
<dd>
2471+
2472+
**prompt_strength:** `typing.Optional[float]` — Controls the balance of prompt versus reference audio when generating voice samples. 0 means almost no prompt influence, 1 means almost no reference audio influence. Only supported when using the eleven_ttv_v3 model and providing reference audio.
2473+
2474+
</dd>
2475+
</dl>
2476+
2477+
<dl>
2478+
<dd>
2479+
2480+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2481+
2482+
</dd>
2483+
</dl>
2484+
</dd>
2485+
</dl>
2486+
2487+
23292488
</dd>
23302489
</dl>
23312490
</details>
@@ -6809,6 +6968,7 @@ client.conversational_ai.agents.simulate_conversation(
68096968
simulated_user_config=AgentConfig(
68106969
first_message="Hello, how can I help you today?",
68116970
language="en",
6971+
disable_first_message_interruptions=False,
68126972
),
68136973
),
68146974
)
@@ -6913,6 +7073,7 @@ client.conversational_ai.agents.simulate_conversation_stream(
69137073
simulated_user_config=AgentConfig(
69147074
first_message="Hello, how can I help you today?",
69157075
language="en",
7076+
disable_first_message_interruptions=False,
69167077
),
69177078
),
69187079
)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
httpx>=0.21.2
22
pyaudio>=0.2.14
33
pydantic>= 1.9.2
4-
pydantic-core==2.18.2
4+
pydantic-core>=2.18.2
55
requests>=2.20
66
typing_extensions>= 4.0.0
77
websockets>=11.0

0 commit comments

Comments
 (0)