Class ElevenLabsVoiceClonerSettings
- Namespace
- VisioForge.Core.Types.X.ElevenLabs
- Assembly
- VisioForge.Core.dll
Settings for the ElevenLabs voice cloner block.
public class ElevenLabsVoiceClonerSettings : IMediaBlockSettingsInheritance
Implements
Inherited Members
Constructors
ElevenLabsVoiceClonerSettings(string)
Initializes a new instance of the VisioForge.Core.Types.X.ElevenLabs.ElevenLabsVoiceClonerSettings class.
public ElevenLabsVoiceClonerSettings(string apiKey)Parameters
apiKeystring-
The ElevenLabs API key.
Properties
ApiKey
Gets or sets the ElevenLabs API key.
public string ApiKey { get; set; }Property Value
RemoveBackgroundNoise
Gets or sets a value indicating whether to ask ElevenLabs to remove background noise.
public bool RemoveBackgroundNoise { get; set; }Property Value
SegmentDuration
Gets or sets the amount of milliseconds to store before creating/updating a voice.
public uint SegmentDuration { get; set; }Property Value
Speaker
Gets or sets an optional speaker name. When set, the element will treat all audio as uttered by a single speaker and will not use rstranscribe/new-item events for diarization.
public string Speaker { get; set; }Property Value
Methods
CreateBlock()
Creates a new MediaBlock instance configured with the settings contained in this object. This factory method allows for separation of configuration from instantiation, making it easier to serialize settings or create multiple blocks with the same configuration.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
A new MediaBlock instance configured according to this settings object.