ElevenLabsVoiceClone
Python template · sinapsis_elevenlabs.templates.elevenlabs_voice_clone
Overview
Template to clone a voice using the ElevenLabs API.
This template allows you to create a new custom voice in ElevenLabs by providing one or more audio samples. The cloned voice can then be used for subsequent text-to-speech synthesis within the Sinapsis pipeline.
Capabilities
Capabilities: not setInstallation
Install the published package using pip or uv.
pip install sinapsis-elevenlabs==1.0.0uv pip install sinapsis-elevenlabs==1.0.0uv add sinapsis-elevenlabs==1.0.0Configuration
Effective fields from the inspector schema, including nested Pydantic model fields.
Name for the cloned voice. If None, a default name may be used.
Optional
Default: null
Optional
Default: "eleven_turbo_v2_5"
Optional
Default: null
Optional
Default: false
Optional
Default: null
Optional
Default: null
Description for the cloned voice. Optional.
Optional
Default: null
Optional
Default: "mp3_44100_128"
Optional
Default: null
Optional
Default: null
Optional
Default: null
Optional
Default: null
Optional
Default: null
Optional
Default: null
Optional
Default: null
Whether to remove background noise from samples. Defaults to False.
Optional
Default: false
Configuration example
Example from the Python docstring:
agent:
name: my_test_agent
templates:
- template_name: InputTemplate
class_name: InputTemplate
attributes: {}
- template_name: ElevenLabsVoiceClone
class_name: ElevenLabsVoiceClone
template_input: InputTemplate
attributes:
api_key: null
model: eleven_turbo_v2_5
output_format: mp3_44100_128
stream: false
voice: null
voice_settings:
stability: null
similarity_boost: null
style: null
use_speaker_boost: null
speed: null
name: null
description: null
remove_background_noise: falseShow schema-based configuration skeleton
templates:
- template_name: "ElevenLabsVoiceClone"
class_name: "ElevenLabsVoiceClone"
attributes:
name: null
model: "eleven_turbo_v2_5"
voice: null
stream: false
api_key: null
description: null
output_format: "mp3_44100_128"
voice_settings:
speed: null
style: null
stability: null
clone_strength: null
similarity_boost: null
use_speaker_boost: null
remove_background_noise: false
Inheritance
sinapsis_elevenlabs.templates.elevenlabs_tts.ElevenLabsTTSEnvironment variables
Environment definitions belong to their canonical Python modules.
No directly related environment variables listed.