Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ partial void ProcessGetDubbingByDubbingIdTranscriptByLanguageCodeResponseContent
/// ID of the language.
/// </param>
/// <param name="formatType">
/// Format to use for the subtitle file, either 'srt' or 'webvtt'
/// Format to use for the subtitle file, either 'srt' or 'webvtt'<br/>
/// Default Value: srt
/// </param>
/// <param name="xiApiKey">
/// Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public partial interface IDubbingClient
/// ID of the language.
/// </param>
/// <param name="formatType">
/// Format to use for the subtitle file, either 'srt' or 'webvtt'
/// Format to use for the subtitle file, either 'srt' or 'webvtt'<br/>
/// Default Value: srt
/// </param>
/// <param name="xiApiKey">
/// Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ public partial interface ITextToSpeechClient
/// <param name="nextRequestIds">
/// A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
/// </param>
/// <param name="usePvcAsIvc">
/// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.<br/>
/// Default Value: false
/// </param>
/// <param name="applyTextNormalization">
/// 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. Cannot be turned on for 'eleven_turbo_v2_5' model.<br/>
/// Default Value: auto
Expand All @@ -145,6 +149,7 @@ public partial interface ITextToSpeechClient
string? nextText = default,
global::System.Collections.Generic.IList<string>? previousRequestIds = default,
global::System.Collections.Generic.IList<string>? nextRequestIds = default,
bool? usePvcAsIvc = default,
global::ElevenLabs.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization? applyTextNormalization = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ public partial interface ITextToSpeechClient
/// <param name="nextRequestIds">
/// A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
/// </param>
/// <param name="usePvcAsIvc">
/// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.<br/>
/// Default Value: false
/// </param>
/// <param name="applyTextNormalization">
/// 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. Cannot be turned on for 'eleven_turbo_v2_5' model.<br/>
/// Default Value: auto
Expand All @@ -145,6 +149,7 @@ public partial interface ITextToSpeechClient
string? nextText = default,
global::System.Collections.Generic.IList<string>? previousRequestIds = default,
global::System.Collections.Generic.IList<string>? nextRequestIds = default,
bool? usePvcAsIvc = default,
global::ElevenLabs.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization? applyTextNormalization = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ public partial interface ITextToSpeechClient
/// <param name="nextRequestIds">
/// A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
/// </param>
/// <param name="usePvcAsIvc">
/// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.<br/>
/// Default Value: false
/// </param>
/// <param name="applyTextNormalization">
/// 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. Cannot be turned on for 'eleven_turbo_v2_5' model.<br/>
/// Default Value: auto
Expand All @@ -145,6 +149,7 @@ public partial interface ITextToSpeechClient
string? nextText = default,
global::System.Collections.Generic.IList<string>? previousRequestIds = default,
global::System.Collections.Generic.IList<string>? nextRequestIds = default,
bool? usePvcAsIvc = default,
global::ElevenLabs.BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization? applyTextNormalization = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ public partial interface ITextToSpeechClient
/// <param name="nextRequestIds">
/// A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
/// </param>
/// <param name="usePvcAsIvc">
/// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.<br/>
/// Default Value: false
/// </param>
/// <param name="applyTextNormalization">
/// 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. Cannot be turned on for 'eleven_turbo_v2_5' model.<br/>
/// Default Value: auto
Expand All @@ -145,6 +149,7 @@ public partial interface ITextToSpeechClient
string? nextText = default,
global::System.Collections.Generic.IList<string>? previousRequestIds = default,
global::System.Collections.Generic.IList<string>? nextRequestIds = default,
bool? usePvcAsIvc = default,
global::ElevenLabs.BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization? applyTextNormalization = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ namespace ElevenLabs
/// </summary>
public enum ASRInputFormat
{
/// <summary>
///
/// </summary>
Pcm8000,
/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -42,6 +46,7 @@ public static string ToValueString(this ASRInputFormat value)
{
return value switch
{
ASRInputFormat.Pcm8000 => "pcm_8000",
ASRInputFormat.Pcm16000 => "pcm_16000",
ASRInputFormat.Pcm22050 => "pcm_22050",
ASRInputFormat.Pcm24000 => "pcm_24000",
Expand All @@ -57,6 +62,7 @@ public static string ToValueString(this ASRInputFormat value)
{
return value switch
{
"pcm_8000" => ASRInputFormat.Pcm8000,
"pcm_16000" => ASRInputFormat.Pcm16000,
"pcm_22050" => ASRInputFormat.Pcm22050,
"pcm_24000" => ASRInputFormat.Pcm24000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public sealed partial class BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStream
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("use_pvc_as_ivc")]
[global::System.Obsolete("This property marked as deprecated.")]
public bool? UsePvcAsIvc { get; set; }

/// <summary>
Expand Down Expand Up @@ -126,6 +125,10 @@ public sealed partial class BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStream
/// <param name="nextRequestIds">
/// A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
/// </param>
/// <param name="usePvcAsIvc">
/// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.<br/>
/// Default Value: false
/// </param>
/// <param name="applyTextNormalization">
/// 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. Cannot be turned on for 'eleven_turbo_v2_5' model.<br/>
/// Default Value: auto
Expand All @@ -142,6 +145,7 @@ public BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost(
string? nextText,
global::System.Collections.Generic.IList<string>? previousRequestIds,
global::System.Collections.Generic.IList<string>? nextRequestIds,
bool? usePvcAsIvc,
global::ElevenLabs.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization? applyTextNormalization)
{
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
Expand All @@ -154,6 +158,7 @@ public BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost(
this.NextText = nextText;
this.PreviousRequestIds = previousRequestIds;
this.NextRequestIds = nextRequestIds;
this.UsePvcAsIvc = usePvcAsIvc;
this.ApplyTextNormalization = applyTextNormalization;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public sealed partial class BodyTextToSpeechStreamingWithTimestampsV1TextToSpeec
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("use_pvc_as_ivc")]
[global::System.Obsolete("This property marked as deprecated.")]
public bool? UsePvcAsIvc { get; set; }

/// <summary>
Expand Down Expand Up @@ -126,6 +125,10 @@ public sealed partial class BodyTextToSpeechStreamingWithTimestampsV1TextToSpeec
/// <param name="nextRequestIds">
/// A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
/// </param>
/// <param name="usePvcAsIvc">
/// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.<br/>
/// Default Value: false
/// </param>
/// <param name="applyTextNormalization">
/// 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. Cannot be turned on for 'eleven_turbo_v2_5' model.<br/>
/// Default Value: auto
Expand All @@ -142,6 +145,7 @@ public BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTim
string? nextText,
global::System.Collections.Generic.IList<string>? previousRequestIds,
global::System.Collections.Generic.IList<string>? nextRequestIds,
bool? usePvcAsIvc,
global::ElevenLabs.BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization? applyTextNormalization)
{
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
Expand All @@ -154,6 +158,7 @@ public BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTim
this.NextText = nextText;
this.PreviousRequestIds = previousRequestIds;
this.NextRequestIds = nextRequestIds;
this.UsePvcAsIvc = usePvcAsIvc;
this.ApplyTextNormalization = applyTextNormalization;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public sealed partial class BodyTextToSpeechV1TextToSpeechVoiceIdPost
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("use_pvc_as_ivc")]
[global::System.Obsolete("This property marked as deprecated.")]
public bool? UsePvcAsIvc { get; set; }

/// <summary>
Expand Down Expand Up @@ -126,6 +125,10 @@ public sealed partial class BodyTextToSpeechV1TextToSpeechVoiceIdPost
/// <param name="nextRequestIds">
/// A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
/// </param>
/// <param name="usePvcAsIvc">
/// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.<br/>
/// Default Value: false
/// </param>
/// <param name="applyTextNormalization">
/// 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. Cannot be turned on for 'eleven_turbo_v2_5' model.<br/>
/// Default Value: auto
Expand All @@ -142,6 +145,7 @@ public BodyTextToSpeechV1TextToSpeechVoiceIdPost(
string? nextText,
global::System.Collections.Generic.IList<string>? previousRequestIds,
global::System.Collections.Generic.IList<string>? nextRequestIds,
bool? usePvcAsIvc,
global::ElevenLabs.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization? applyTextNormalization)
{
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
Expand All @@ -154,6 +158,7 @@ public BodyTextToSpeechV1TextToSpeechVoiceIdPost(
this.NextText = nextText;
this.PreviousRequestIds = previousRequestIds;
this.NextRequestIds = nextRequestIds;
this.UsePvcAsIvc = usePvcAsIvc;
this.ApplyTextNormalization = applyTextNormalization;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public sealed partial class BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdW
/// Default Value: false
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("use_pvc_as_ivc")]
[global::System.Obsolete("This property marked as deprecated.")]
public bool? UsePvcAsIvc { get; set; }

/// <summary>
Expand Down Expand Up @@ -126,6 +125,10 @@ public sealed partial class BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdW
/// <param name="nextRequestIds">
/// A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send.
/// </param>
/// <param name="usePvcAsIvc">
/// If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions.<br/>
/// Default Value: false
/// </param>
/// <param name="applyTextNormalization">
/// 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. Cannot be turned on for 'eleven_turbo_v2_5' model.<br/>
/// Default Value: auto
Expand All @@ -142,6 +145,7 @@ public BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPost(
string? nextText,
global::System.Collections.Generic.IList<string>? previousRequestIds,
global::System.Collections.Generic.IList<string>? nextRequestIds,
bool? usePvcAsIvc,
global::ElevenLabs.BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization? applyTextNormalization)
{
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
Expand All @@ -154,6 +158,7 @@ public BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPost(
this.NextText = nextText;
this.PreviousRequestIds = previousRequestIds;
this.NextRequestIds = nextRequestIds;
this.UsePvcAsIvc = usePvcAsIvc;
this.ApplyTextNormalization = applyTextNormalization;
}

Expand Down
Loading
Loading