diff --git a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostEditImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostEditImage.g.cs index f8cb4c7..2af7185 100644 --- a/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostEditImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.GenerateClient.PostEditImage.g.cs @@ -92,7 +92,7 @@ partial void ProcessPostEditImageResponseContent( __httpRequestContent.Add( content: new global::System.Net.Http.StringContent($"{request.Model.ToValueString()}"), name: "model"); - if (request.MagicPromptOption != global::Ideogram.MagicPromptOption.AUTO) + if (request.MagicPromptOption != default) { __httpRequestContent.Add( content: new global::System.Net.Http.StringContent($"{request.MagicPromptOption?.ToValueString()}"), @@ -205,7 +205,7 @@ partial void ProcessPostEditImageResponseContent( string maskname, string prompt, global::Ideogram.ModelEnum model, - global::Ideogram.MagicPromptOption? magicPromptOption = global::Ideogram.MagicPromptOption.AUTO, + global::Ideogram.MagicPromptOption? magicPromptOption = default, int? seed = default, global::Ideogram.StyleType? styleType = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/Ideogram/Generated/Ideogram.IGenerateClient.PostEditImage.g.cs b/src/libs/Ideogram/Generated/Ideogram.IGenerateClient.PostEditImage.g.cs index 3c14860..7749001 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IGenerateClient.PostEditImage.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IGenerateClient.PostEditImage.g.cs @@ -65,7 +65,7 @@ public partial interface IGenerateClient string maskname, string prompt, global::Ideogram.ModelEnum model, - global::Ideogram.MagicPromptOption? magicPromptOption = global::Ideogram.MagicPromptOption.AUTO, + global::Ideogram.MagicPromptOption? magicPromptOption = default, int? seed = default, global::Ideogram.StyleType? styleType = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.EditImageRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.EditImageRequest.g.cs index d48c0a7..7545ebb 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.EditImageRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.EditImageRequest.g.cs @@ -52,7 +52,7 @@ public sealed partial class EditImageRequest [global::System.Text.Json.Serialization.JsonPropertyName("model")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ModelEnumJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required global::Ideogram.ModelEnum Model { get; set; } + public required global::Ideogram.ModelEnum Model { get; set; } = global::Ideogram.ModelEnum.V2; /// /// Determine if MagicPrompt should be used in generating the request or not
@@ -61,7 +61,7 @@ public sealed partial class EditImageRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("magic_prompt_option")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.MagicPromptOptionJsonConverter))] - public global::Ideogram.MagicPromptOption? MagicPromptOption { get; set; } = global::Ideogram.MagicPromptOption.AUTO; + public global::Ideogram.MagicPromptOption? MagicPromptOption { get; set; } /// /// Example: 12345 diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ImageRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ImageRequest.g.cs index d94fe85..4abd8f6 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.ImageRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.ImageRequest.g.cs @@ -31,7 +31,7 @@ public sealed partial class ImageRequest /// [global::System.Text.Json.Serialization.JsonPropertyName("model")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ModelEnumJsonConverter))] - public global::Ideogram.ModelEnum? Model { get; set; } = global::Ideogram.ModelEnum.V2; + public global::Ideogram.ModelEnum? Model { get; set; } /// /// Determine if MagicPrompt should be used in generating the request or not
@@ -40,7 +40,7 @@ public sealed partial class ImageRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("magic_prompt_option")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.MagicPromptOptionJsonConverter))] - public global::Ideogram.MagicPromptOption? MagicPromptOption { get; set; } = global::Ideogram.MagicPromptOption.AUTO; + public global::Ideogram.MagicPromptOption? MagicPromptOption { get; set; } /// /// Example: 12345 diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.InitialImageRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.InitialImageRequest.g.cs index 247d11f..c66efa8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.InitialImageRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.InitialImageRequest.g.cs @@ -13,7 +13,7 @@ public sealed partial class InitialImageRequest /// Example: 50 /// [global::System.Text.Json.Serialization.JsonPropertyName("image_weight")] - public int? ImageWeight { get; set; } = 50; + public int? ImageWeight { get; set; } /// /// Additional properties that are not explicitly defined in the schema diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.UpscaleInitialImageRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.UpscaleInitialImageRequest.g.cs index c720fec..8025563 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.UpscaleInitialImageRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.UpscaleInitialImageRequest.g.cs @@ -20,14 +20,14 @@ public sealed partial class UpscaleInitialImageRequest /// Example: 50 /// [global::System.Text.Json.Serialization.JsonPropertyName("resemblance")] - public int? Resemblance { get; set; } = 50; + public int? Resemblance { get; set; } /// /// Default Value: 50
/// Example: 50 ///
[global::System.Text.Json.Serialization.JsonPropertyName("detail")] - public int? Detail { get; set; } = 50; + public int? Detail { get; set; } /// /// Determine if MagicPrompt should be used in generating the request or not
@@ -36,7 +36,7 @@ public sealed partial class UpscaleInitialImageRequest ///
[global::System.Text.Json.Serialization.JsonPropertyName("magic_prompt_option")] [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.MagicPromptOptionJsonConverter))] - public global::Ideogram.MagicPromptOption? MagicPromptOption { get; set; } = global::Ideogram.MagicPromptOption.AUTO; + public global::Ideogram.MagicPromptOption? MagicPromptOption { get; set; } /// /// Example: 12345