Skip to content

Commit 5e6c555

Browse files
author
github-actions[bot]
committed
feat: Updated OpenAPI spec
1 parent 8b4f90f commit 5e6c555

12 files changed

Lines changed: 472 additions & 3 deletions

src/libs/ElevenLabs/Generated/ElevenLabs.ConversationalAIClient.CreateConvaiBatchCallingByBatchIdRetry.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ partial void ProcessCreateConvaiBatchCallingByBatchIdRetryResponseContent(
2525

2626
/// <summary>
2727
/// Retry A Batch Call.<br/>
28-
/// Retry a batch call by setting completed recipients back to pending status.
28+
/// Retry a batch call, calling failed and no-response recipients again.
2929
/// </summary>
3030
/// <param name="batchId"></param>
3131
/// <param name="xiApiKey">

src/libs/ElevenLabs/Generated/ElevenLabs.IConversationalAIClient.CreateConvaiBatchCallingByBatchIdRetry.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public partial interface IConversationalAIClient
66
{
77
/// <summary>
88
/// Retry A Batch Call.<br/>
9-
/// Retry a batch call by setting completed recipients back to pending status.
9+
/// Retry a batch call, calling failed and no-response recipients again.
1010
/// </summary>
1111
/// <param name="batchId"></param>
1212
/// <param name="xiApiKey">

src/libs/ElevenLabs/Generated/ElevenLabs.IStudioClient.CreateStudioPodcasts.g.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ public partial interface IStudioClient
5757
/// An optional language of the Studio project. Two-letter language code (ISO 639-1).<br/>
5858
/// Example: en
5959
/// </param>
60+
/// <param name="intro">
61+
/// The intro text that will always be added to the beginning of the podcast.<br/>
62+
/// Example: Welcome to the podcast.
63+
/// </param>
64+
/// <param name="outro">
65+
/// The outro text that will always be added to the end of the podcast.<br/>
66+
/// Example: Thank you for listening!
67+
/// </param>
68+
/// <param name="instructionsPrompt">
69+
/// Additional instructions prompt for the podcast generation used to adjust the podcast's style and tone.<br/>
70+
/// Example: Ensure the podcast remains factual, accurate and appropriate for all audiences.
71+
/// </param>
6072
/// <param name="highlights">
6173
/// A brief summary or highlights of the Studio project's content, providing key points or themes. This should be between 10 and 70 characters.<br/>
6274
/// Example: [Emphasize the importance of AI on education]
@@ -127,6 +139,9 @@ public partial interface IStudioClient
127139
global::ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostQualityPreset? qualityPreset = default,
128140
global::ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostDurationScale? durationScale = default,
129141
string? language = default,
142+
string? intro = default,
143+
string? outro = default,
144+
string? instructionsPrompt = default,
130145
global::System.Collections.Generic.IList<string>? highlights = default,
131146
string? callbackUrl = default,
132147
global::System.Threading.CancellationToken cancellationToken = default);

src/libs/ElevenLabs/Generated/ElevenLabs.ITextToVoiceClient.CreateTextToVoiceDesign.g.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ public partial interface ITextToVoiceClient
6666
/// Default Value: 5<br/>
6767
/// Example: 5
6868
/// </param>
69+
/// <param name="streamPreviews">
70+
/// 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.<br/>
71+
/// Default Value: false<br/>
72+
/// Example: true
73+
/// </param>
6974
/// <param name="quality">
7075
/// Higher quality results in better voice output but less variety.<br/>
7176
/// Example: 0.9
@@ -89,6 +94,7 @@ public partial interface ITextToVoiceClient
8994
double? loudness = default,
9095
int? seed = default,
9196
double? guidanceScale = default,
97+
bool? streamPreviews = default,
9298
double? quality = default,
9399
string? referenceAudioBase64 = default,
94100
double? promptStrength = default,
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#nullable enable
2+
3+
namespace ElevenLabs
4+
{
5+
public partial interface ITextToVoiceClient
6+
{
7+
/// <summary>
8+
/// Text To Voice Preview Streaming<br/>
9+
/// Stream a the voice preview for a generated voice as it is being generated.
10+
/// </summary>
11+
/// <param name="generatedVoiceId">
12+
/// The generated_voice_id to stream.<br/>
13+
/// Example: 37HceQefKmEi3bGovXjL
14+
/// </param>
15+
/// <param name="xiApiKey">
16+
/// 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.
17+
/// </param>
18+
/// <param name="cancellationToken">The token to cancel the operation with</param>
19+
/// <exception cref="global::ElevenLabs.ApiException"></exception>
20+
global::System.Threading.Tasks.Task<byte[]> GetTextToVoiceByGeneratedVoiceIdStreamAsync(
21+
string generatedVoiceId,
22+
string? xiApiKey = default,
23+
global::System.Threading.CancellationToken cancellationToken = default);
24+
}
25+
}

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,30 @@ public sealed partial class BodyCreatePodcastV1ProjectsPodcastCreatePost
7070
[global::System.Text.Json.Serialization.JsonPropertyName("language")]
7171
public string? Language { get; set; }
7272

73+
/// <summary>
74+
/// The intro text that will always be added to the beginning of the podcast.<br/>
75+
/// Example: Welcome to the podcast.
76+
/// </summary>
77+
/// <example>Welcome to the podcast.</example>
78+
[global::System.Text.Json.Serialization.JsonPropertyName("intro")]
79+
public string? Intro { get; set; }
80+
81+
/// <summary>
82+
/// The outro text that will always be added to the end of the podcast.<br/>
83+
/// Example: Thank you for listening!
84+
/// </summary>
85+
/// <example>Thank you for listening!</example>
86+
[global::System.Text.Json.Serialization.JsonPropertyName("outro")]
87+
public string? Outro { get; set; }
88+
89+
/// <summary>
90+
/// Additional instructions prompt for the podcast generation used to adjust the podcast's style and tone.<br/>
91+
/// Example: Ensure the podcast remains factual, accurate and appropriate for all audiences.
92+
/// </summary>
93+
/// <example>Ensure the podcast remains factual, accurate and appropriate for all audiences.</example>
94+
[global::System.Text.Json.Serialization.JsonPropertyName("instructions_prompt")]
95+
public string? InstructionsPrompt { get; set; }
96+
7397
/// <summary>
7498
/// A brief summary or highlights of the Studio project's content, providing key points or themes. This should be between 10 and 70 characters.<br/>
7599
/// Example: [Emphasize the importance of AI on education]
@@ -178,6 +202,18 @@ public sealed partial class BodyCreatePodcastV1ProjectsPodcastCreatePost
178202
/// An optional language of the Studio project. Two-letter language code (ISO 639-1).<br/>
179203
/// Example: en
180204
/// </param>
205+
/// <param name="intro">
206+
/// The intro text that will always be added to the beginning of the podcast.<br/>
207+
/// Example: Welcome to the podcast.
208+
/// </param>
209+
/// <param name="outro">
210+
/// The outro text that will always be added to the end of the podcast.<br/>
211+
/// Example: Thank you for listening!
212+
/// </param>
213+
/// <param name="instructionsPrompt">
214+
/// Additional instructions prompt for the podcast generation used to adjust the podcast's style and tone.<br/>
215+
/// Example: Ensure the podcast remains factual, accurate and appropriate for all audiences.
216+
/// </param>
181217
/// <param name="highlights">
182218
/// A brief summary or highlights of the Studio project's content, providing key points or themes. This should be between 10 and 70 characters.<br/>
183219
/// Example: [Emphasize the importance of AI on education]
@@ -248,6 +284,9 @@ public BodyCreatePodcastV1ProjectsPodcastCreatePost(
248284
global::ElevenLabs.BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset? qualityPreset,
249285
global::ElevenLabs.BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale? durationScale,
250286
string? language,
287+
string? intro,
288+
string? outro,
289+
string? instructionsPrompt,
251290
global::System.Collections.Generic.IList<string>? highlights,
252291
string? callbackUrl)
253292
{
@@ -257,6 +296,9 @@ public BodyCreatePodcastV1ProjectsPodcastCreatePost(
257296
this.QualityPreset = qualityPreset;
258297
this.DurationScale = durationScale;
259298
this.Language = language;
299+
this.Intro = intro;
300+
this.Outro = outro;
301+
this.InstructionsPrompt = instructionsPrompt;
260302
this.Highlights = highlights;
261303
this.CallbackUrl = callbackUrl;
262304
}

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,30 @@ public sealed partial class BodyCreatePodcastV1StudioPodcastsPost
7070
[global::System.Text.Json.Serialization.JsonPropertyName("language")]
7171
public string? Language { get; set; }
7272

73+
/// <summary>
74+
/// The intro text that will always be added to the beginning of the podcast.<br/>
75+
/// Example: Welcome to the podcast.
76+
/// </summary>
77+
/// <example>Welcome to the podcast.</example>
78+
[global::System.Text.Json.Serialization.JsonPropertyName("intro")]
79+
public string? Intro { get; set; }
80+
81+
/// <summary>
82+
/// The outro text that will always be added to the end of the podcast.<br/>
83+
/// Example: Thank you for listening!
84+
/// </summary>
85+
/// <example>Thank you for listening!</example>
86+
[global::System.Text.Json.Serialization.JsonPropertyName("outro")]
87+
public string? Outro { get; set; }
88+
89+
/// <summary>
90+
/// Additional instructions prompt for the podcast generation used to adjust the podcast's style and tone.<br/>
91+
/// Example: Ensure the podcast remains factual, accurate and appropriate for all audiences.
92+
/// </summary>
93+
/// <example>Ensure the podcast remains factual, accurate and appropriate for all audiences.</example>
94+
[global::System.Text.Json.Serialization.JsonPropertyName("instructions_prompt")]
95+
public string? InstructionsPrompt { get; set; }
96+
7397
/// <summary>
7498
/// A brief summary or highlights of the Studio project's content, providing key points or themes. This should be between 10 and 70 characters.<br/>
7599
/// Example: [Emphasize the importance of AI on education]
@@ -178,6 +202,18 @@ public sealed partial class BodyCreatePodcastV1StudioPodcastsPost
178202
/// An optional language of the Studio project. Two-letter language code (ISO 639-1).<br/>
179203
/// Example: en
180204
/// </param>
205+
/// <param name="intro">
206+
/// The intro text that will always be added to the beginning of the podcast.<br/>
207+
/// Example: Welcome to the podcast.
208+
/// </param>
209+
/// <param name="outro">
210+
/// The outro text that will always be added to the end of the podcast.<br/>
211+
/// Example: Thank you for listening!
212+
/// </param>
213+
/// <param name="instructionsPrompt">
214+
/// Additional instructions prompt for the podcast generation used to adjust the podcast's style and tone.<br/>
215+
/// Example: Ensure the podcast remains factual, accurate and appropriate for all audiences.
216+
/// </param>
181217
/// <param name="highlights">
182218
/// A brief summary or highlights of the Studio project's content, providing key points or themes. This should be between 10 and 70 characters.<br/>
183219
/// Example: [Emphasize the importance of AI on education]
@@ -248,6 +284,9 @@ public BodyCreatePodcastV1StudioPodcastsPost(
248284
global::ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostQualityPreset? qualityPreset,
249285
global::ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostDurationScale? durationScale,
250286
string? language,
287+
string? intro,
288+
string? outro,
289+
string? instructionsPrompt,
251290
global::System.Collections.Generic.IList<string>? highlights,
252291
string? callbackUrl)
253292
{
@@ -257,6 +296,9 @@ public BodyCreatePodcastV1StudioPodcastsPost(
257296
this.QualityPreset = qualityPreset;
258297
this.DurationScale = durationScale;
259298
this.Language = language;
299+
this.Intro = intro;
300+
this.Outro = outro;
301+
this.InstructionsPrompt = instructionsPrompt;
260302
this.Highlights = highlights;
261303
this.CallbackUrl = callbackUrl;
262304
}

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ public sealed partial class VoiceDesignRequestModel
6868
[global::System.Text.Json.Serialization.JsonPropertyName("guidance_scale")]
6969
public double? GuidanceScale { get; set; }
7070

71+
/// <summary>
72+
/// 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.<br/>
73+
/// Default Value: false<br/>
74+
/// Example: true
75+
/// </summary>
76+
/// <example>true</example>
77+
[global::System.Text.Json.Serialization.JsonPropertyName("stream_previews")]
78+
public bool? StreamPreviews { get; set; }
79+
7180
/// <summary>
7281
/// Higher quality results in better voice output but less variety.<br/>
7382
/// Example: 0.9
@@ -130,6 +139,11 @@ public sealed partial class VoiceDesignRequestModel
130139
/// Default Value: 5<br/>
131140
/// Example: 5
132141
/// </param>
142+
/// <param name="streamPreviews">
143+
/// 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.<br/>
144+
/// Default Value: false<br/>
145+
/// Example: true
146+
/// </param>
133147
/// <param name="quality">
134148
/// Higher quality results in better voice output but less variety.<br/>
135149
/// Example: 0.9
@@ -152,6 +166,7 @@ public VoiceDesignRequestModel(
152166
double? loudness,
153167
int? seed,
154168
double? guidanceScale,
169+
bool? streamPreviews,
155170
double? quality,
156171
string? referenceAudioBase64,
157172
double? promptStrength)
@@ -163,6 +178,7 @@ public VoiceDesignRequestModel(
163178
this.Loudness = loudness;
164179
this.Seed = seed;
165180
this.GuidanceScale = guidanceScale;
181+
this.StreamPreviews = streamPreviews;
166182
this.Quality = quality;
167183
this.ReferenceAudioBase64 = referenceAudioBase64;
168184
this.PromptStrength = promptStrength;

src/libs/ElevenLabs/Generated/ElevenLabs.StudioClient.CreateStudioPodcasts.g.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,18 @@ partial void ProcessCreateStudioPodcastsResponseContent(
255255
/// An optional language of the Studio project. Two-letter language code (ISO 639-1).<br/>
256256
/// Example: en
257257
/// </param>
258+
/// <param name="intro">
259+
/// The intro text that will always be added to the beginning of the podcast.<br/>
260+
/// Example: Welcome to the podcast.
261+
/// </param>
262+
/// <param name="outro">
263+
/// The outro text that will always be added to the end of the podcast.<br/>
264+
/// Example: Thank you for listening!
265+
/// </param>
266+
/// <param name="instructionsPrompt">
267+
/// Additional instructions prompt for the podcast generation used to adjust the podcast's style and tone.<br/>
268+
/// Example: Ensure the podcast remains factual, accurate and appropriate for all audiences.
269+
/// </param>
258270
/// <param name="highlights">
259271
/// A brief summary or highlights of the Studio project's content, providing key points or themes. This should be between 10 and 70 characters.<br/>
260272
/// Example: [Emphasize the importance of AI on education]
@@ -325,6 +337,9 @@ partial void ProcessCreateStudioPodcastsResponseContent(
325337
global::ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostQualityPreset? qualityPreset = default,
326338
global::ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostDurationScale? durationScale = default,
327339
string? language = default,
340+
string? intro = default,
341+
string? outro = default,
342+
string? instructionsPrompt = default,
328343
global::System.Collections.Generic.IList<string>? highlights = default,
329344
string? callbackUrl = default,
330345
global::System.Threading.CancellationToken cancellationToken = default)
@@ -337,6 +352,9 @@ partial void ProcessCreateStudioPodcastsResponseContent(
337352
QualityPreset = qualityPreset,
338353
DurationScale = durationScale,
339354
Language = language,
355+
Intro = intro,
356+
Outro = outro,
357+
InstructionsPrompt = instructionsPrompt,
340358
Highlights = highlights,
341359
CallbackUrl = callbackUrl,
342360
};

src/libs/ElevenLabs/Generated/ElevenLabs.TextToVoiceClient.CreateTextToVoiceDesign.g.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@ partial void ProcessCreateTextToVoiceDesignResponseContent(
271271
/// Default Value: 5<br/>
272272
/// Example: 5
273273
/// </param>
274+
/// <param name="streamPreviews">
275+
/// 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.<br/>
276+
/// Default Value: false<br/>
277+
/// Example: true
278+
/// </param>
274279
/// <param name="quality">
275280
/// Higher quality results in better voice output but less variety.<br/>
276281
/// Example: 0.9
@@ -294,6 +299,7 @@ partial void ProcessCreateTextToVoiceDesignResponseContent(
294299
double? loudness = default,
295300
int? seed = default,
296301
double? guidanceScale = default,
302+
bool? streamPreviews = default,
297303
double? quality = default,
298304
string? referenceAudioBase64 = default,
299305
double? promptStrength = default,
@@ -308,6 +314,7 @@ partial void ProcessCreateTextToVoiceDesignResponseContent(
308314
Loudness = loudness,
309315
Seed = seed,
310316
GuidanceScale = guidanceScale,
317+
StreamPreviews = streamPreviews,
311318
Quality = quality,
312319
ReferenceAudioBase64 = referenceAudioBase64,
313320
PromptStrength = promptStrength,

0 commit comments

Comments
 (0)