Skip to content

Commit 19dcefd

Browse files
author
github-actions[bot]
committed
feat: Updated OpenAPI spec
1 parent cda0180 commit 19dcefd

File tree

19 files changed

+102
-13
lines changed

19 files changed

+102
-13
lines changed

src/libs/ElevenLabs/Generated/ElevenLabs.DubbingClient.GetDubbingByDubbingIdTranscriptByLanguageCode.g.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ partial void ProcessGetDubbingByDubbingIdTranscriptByLanguageCodeResponseContent
3838
/// ID of the language.
3939
/// </param>
4040
/// <param name="formatType">
41-
/// Format to use for the subtitle file, either 'srt' or 'webvtt'
41+
/// Format to use for the subtitle file, either 'srt' or 'webvtt'<br/>
42+
/// Default Value: srt
4243
/// </param>
4344
/// <param name="xiApiKey">
4445
/// 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.

src/libs/ElevenLabs/Generated/ElevenLabs.IDubbingClient.GetDubbingByDubbingIdTranscriptByLanguageCode.g.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ public partial interface IDubbingClient
1515
/// ID of the language.
1616
/// </param>
1717
/// <param name="formatType">
18-
/// Format to use for the subtitle file, either 'srt' or 'webvtt'
18+
/// Format to use for the subtitle file, either 'srt' or 'webvtt'<br/>
19+
/// Default Value: srt
1920
/// </param>
2021
/// <param name="xiApiKey">
2122
/// 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.

src/libs/ElevenLabs/Generated/ElevenLabs.ITextToSpeechClient.CreateTextToSpeechByVoiceId.g.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ public partial interface ITextToSpeechClient
123123
/// <param name="nextRequestIds">
124124
/// 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.
125125
/// </param>
126+
/// <param name="usePvcAsIvc">
127+
/// 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/>
128+
/// Default Value: false
129+
/// </param>
126130
/// <param name="applyTextNormalization">
127131
/// 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/>
128132
/// Default Value: auto
@@ -145,6 +149,7 @@ public partial interface ITextToSpeechClient
145149
string? nextText = default,
146150
global::System.Collections.Generic.IList<string>? previousRequestIds = default,
147151
global::System.Collections.Generic.IList<string>? nextRequestIds = default,
152+
bool? usePvcAsIvc = default,
148153
global::ElevenLabs.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization? applyTextNormalization = default,
149154
global::System.Threading.CancellationToken cancellationToken = default);
150155
}

src/libs/ElevenLabs/Generated/ElevenLabs.ITextToSpeechClient.CreateTextToSpeechByVoiceIdStream.g.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ public partial interface ITextToSpeechClient
123123
/// <param name="nextRequestIds">
124124
/// 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.
125125
/// </param>
126+
/// <param name="usePvcAsIvc">
127+
/// 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/>
128+
/// Default Value: false
129+
/// </param>
126130
/// <param name="applyTextNormalization">
127131
/// 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/>
128132
/// Default Value: auto
@@ -145,6 +149,7 @@ public partial interface ITextToSpeechClient
145149
string? nextText = default,
146150
global::System.Collections.Generic.IList<string>? previousRequestIds = default,
147151
global::System.Collections.Generic.IList<string>? nextRequestIds = default,
152+
bool? usePvcAsIvc = default,
148153
global::ElevenLabs.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization? applyTextNormalization = default,
149154
global::System.Threading.CancellationToken cancellationToken = default);
150155
}

src/libs/ElevenLabs/Generated/ElevenLabs.ITextToSpeechClient.CreateTextToSpeechByVoiceIdStreamWithTimestamps.g.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ public partial interface ITextToSpeechClient
123123
/// <param name="nextRequestIds">
124124
/// 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.
125125
/// </param>
126+
/// <param name="usePvcAsIvc">
127+
/// 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/>
128+
/// Default Value: false
129+
/// </param>
126130
/// <param name="applyTextNormalization">
127131
/// 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/>
128132
/// Default Value: auto
@@ -145,6 +149,7 @@ public partial interface ITextToSpeechClient
145149
string? nextText = default,
146150
global::System.Collections.Generic.IList<string>? previousRequestIds = default,
147151
global::System.Collections.Generic.IList<string>? nextRequestIds = default,
152+
bool? usePvcAsIvc = default,
148153
global::ElevenLabs.BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization? applyTextNormalization = default,
149154
global::System.Threading.CancellationToken cancellationToken = default);
150155
}

src/libs/ElevenLabs/Generated/ElevenLabs.ITextToSpeechClient.CreateTextToSpeechByVoiceIdWithTimestamps.g.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ public partial interface ITextToSpeechClient
123123
/// <param name="nextRequestIds">
124124
/// 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.
125125
/// </param>
126+
/// <param name="usePvcAsIvc">
127+
/// 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/>
128+
/// Default Value: false
129+
/// </param>
126130
/// <param name="applyTextNormalization">
127131
/// 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/>
128132
/// Default Value: auto
@@ -145,6 +149,7 @@ public partial interface ITextToSpeechClient
145149
string? nextText = default,
146150
global::System.Collections.Generic.IList<string>? previousRequestIds = default,
147151
global::System.Collections.Generic.IList<string>? nextRequestIds = default,
152+
bool? usePvcAsIvc = default,
148153
global::ElevenLabs.BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization? applyTextNormalization = default,
149154
global::System.Threading.CancellationToken cancellationToken = default);
150155
}

src/libs/ElevenLabs/Generated/ElevenLabs.Models.ASRInputFormat.g.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ namespace ElevenLabs
88
/// </summary>
99
public enum ASRInputFormat
1010
{
11+
/// <summary>
12+
///
13+
/// </summary>
14+
Pcm8000,
1115
/// <summary>
1216
///
1317
/// </summary>
@@ -42,6 +46,7 @@ public static string ToValueString(this ASRInputFormat value)
4246
{
4347
return value switch
4448
{
49+
ASRInputFormat.Pcm8000 => "pcm_8000",
4550
ASRInputFormat.Pcm16000 => "pcm_16000",
4651
ASRInputFormat.Pcm22050 => "pcm_22050",
4752
ASRInputFormat.Pcm24000 => "pcm_24000",
@@ -57,6 +62,7 @@ public static string ToValueString(this ASRInputFormat value)
5762
{
5863
return value switch
5964
{
65+
"pcm_8000" => ASRInputFormat.Pcm8000,
6066
"pcm_16000" => ASRInputFormat.Pcm16000,
6167
"pcm_22050" => ASRInputFormat.Pcm22050,
6268
"pcm_24000" => ASRInputFormat.Pcm24000,

src/libs/ElevenLabs/Generated/ElevenLabs.Models.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost.g.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public sealed partial class BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStream
7575
/// Default Value: false
7676
/// </summary>
7777
[global::System.Text.Json.Serialization.JsonPropertyName("use_pvc_as_ivc")]
78-
[global::System.Obsolete("This property marked as deprecated.")]
7978
public bool? UsePvcAsIvc { get; set; }
8079

8180
/// <summary>
@@ -126,6 +125,10 @@ public sealed partial class BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStream
126125
/// <param name="nextRequestIds">
127126
/// 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.
128127
/// </param>
128+
/// <param name="usePvcAsIvc">
129+
/// 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/>
130+
/// Default Value: false
131+
/// </param>
129132
/// <param name="applyTextNormalization">
130133
/// 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/>
131134
/// Default Value: auto
@@ -142,6 +145,7 @@ public BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost(
142145
string? nextText,
143146
global::System.Collections.Generic.IList<string>? previousRequestIds,
144147
global::System.Collections.Generic.IList<string>? nextRequestIds,
148+
bool? usePvcAsIvc,
145149
global::ElevenLabs.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization? applyTextNormalization)
146150
{
147151
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
@@ -154,6 +158,7 @@ public BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPost(
154158
this.NextText = nextText;
155159
this.PreviousRequestIds = previousRequestIds;
156160
this.NextRequestIds = nextRequestIds;
161+
this.UsePvcAsIvc = usePvcAsIvc;
157162
this.ApplyTextNormalization = applyTextNormalization;
158163
}
159164

src/libs/ElevenLabs/Generated/ElevenLabs.Models.BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPost.g.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public sealed partial class BodyTextToSpeechStreamingWithTimestampsV1TextToSpeec
7575
/// Default Value: false
7676
/// </summary>
7777
[global::System.Text.Json.Serialization.JsonPropertyName("use_pvc_as_ivc")]
78-
[global::System.Obsolete("This property marked as deprecated.")]
7978
public bool? UsePvcAsIvc { get; set; }
8079

8180
/// <summary>
@@ -126,6 +125,10 @@ public sealed partial class BodyTextToSpeechStreamingWithTimestampsV1TextToSpeec
126125
/// <param name="nextRequestIds">
127126
/// 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.
128127
/// </param>
128+
/// <param name="usePvcAsIvc">
129+
/// 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/>
130+
/// Default Value: false
131+
/// </param>
129132
/// <param name="applyTextNormalization">
130133
/// 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/>
131134
/// Default Value: auto
@@ -142,6 +145,7 @@ public BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTim
142145
string? nextText,
143146
global::System.Collections.Generic.IList<string>? previousRequestIds,
144147
global::System.Collections.Generic.IList<string>? nextRequestIds,
148+
bool? usePvcAsIvc,
145149
global::ElevenLabs.BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization? applyTextNormalization)
146150
{
147151
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
@@ -154,6 +158,7 @@ public BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTim
154158
this.NextText = nextText;
155159
this.PreviousRequestIds = previousRequestIds;
156160
this.NextRequestIds = nextRequestIds;
161+
this.UsePvcAsIvc = usePvcAsIvc;
157162
this.ApplyTextNormalization = applyTextNormalization;
158163
}
159164

src/libs/ElevenLabs/Generated/ElevenLabs.Models.BodyTextToSpeechV1TextToSpeechVoiceIdPost.g.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public sealed partial class BodyTextToSpeechV1TextToSpeechVoiceIdPost
7575
/// Default Value: false
7676
/// </summary>
7777
[global::System.Text.Json.Serialization.JsonPropertyName("use_pvc_as_ivc")]
78-
[global::System.Obsolete("This property marked as deprecated.")]
7978
public bool? UsePvcAsIvc { get; set; }
8079

8180
/// <summary>
@@ -126,6 +125,10 @@ public sealed partial class BodyTextToSpeechV1TextToSpeechVoiceIdPost
126125
/// <param name="nextRequestIds">
127126
/// 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.
128127
/// </param>
128+
/// <param name="usePvcAsIvc">
129+
/// 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/>
130+
/// Default Value: false
131+
/// </param>
129132
/// <param name="applyTextNormalization">
130133
/// 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/>
131134
/// Default Value: auto
@@ -142,6 +145,7 @@ public BodyTextToSpeechV1TextToSpeechVoiceIdPost(
142145
string? nextText,
143146
global::System.Collections.Generic.IList<string>? previousRequestIds,
144147
global::System.Collections.Generic.IList<string>? nextRequestIds,
148+
bool? usePvcAsIvc,
145149
global::ElevenLabs.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization? applyTextNormalization)
146150
{
147151
this.Text = text ?? throw new global::System.ArgumentNullException(nameof(text));
@@ -154,6 +158,7 @@ public BodyTextToSpeechV1TextToSpeechVoiceIdPost(
154158
this.NextText = nextText;
155159
this.PreviousRequestIds = previousRequestIds;
156160
this.NextRequestIds = nextRequestIds;
161+
this.UsePvcAsIvc = usePvcAsIvc;
157162
this.ApplyTextNormalization = applyTextNormalization;
158163
}
159164

0 commit comments

Comments
 (0)