From dfd2833667ef1097c83e2f1a6bd65a3f4d255d10 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 27 Sep 2026 02:18:14 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ogram.AutoModel.JsonSerializerContext.g.cs | 18 +- ...am.EditWorkflow.JsonSerializerContext.g.cs | 18 +- ...eClient.PostGenerateImageV2Ideogram45.g.cs | 2 +- ...ient.PostPreciseEditImageV2Ideogram45.g.cs | 2 +- ...m.ImageDescribe.JsonSerializerContext.g.cs | 18 +- ....ImagesGenerate.JsonSerializerContext.g.cs | 18 +- ...eClient.PostGenerateImageV2Ideogram45.g.cs | 2 +- ...m.ImagesInpaint.JsonSerializerContext.g.cs | 18 +- ...agesPreciseEdit.JsonSerializerContext.g.cs | 18 +- ...ient.PostPreciseEditImageV2Ideogram45.g.cs | 2 +- ...m.ImagesReframe.JsonSerializerContext.g.cs | 18 +- ...ram.ImagesRemix.JsonSerializerContext.g.cs | 18 +- ...m.ImagesUpscale.JsonSerializerContext.g.cs | 18 +- ...ationErrorResponseTaskCompletionSpeed.g.cs | 53 ++ ...orResponseTaskCompletionSpeedNullable.g.cs | 60 ++ .../Ideogram.JsonSerializerContext.g.cs | 18 +- .../Ideogram.JsonSerializerContextTypes.g.cs | 892 +++++++++--------- ...Models.GenerateImageIdeogram45Request.g.cs | 4 +- ...GenerateImageIdeogram45RequestQuality.g.cs | 10 +- ...eogram.Models.GenerationErrorResponse.g.cs | 36 +- ...ationErrorResponseTaskCompletionSpeed.g.cs | 52 + .../Ideogram.Models.GenerationQuality.g.cs | 5 +- ...els.PreciseEditImageIdeogram45Request.g.cs | 4 +- ...ciseEditImageIdeogram45RequestQuality.g.cs | 2 +- .../Generated/Ideogram.Models.Quality.g.cs | 5 +- ...m.ObjectRemoval.JsonSerializerContext.g.cs | 18 +- .../Ideogram.Tool.JsonSerializerContext.g.cs | 18 +- .../Ideogram.Tools.JsonSerializerContext.g.cs | 18 +- ...m.VideoGenerate.JsonSerializerContext.g.cs | 18 +- src/libs/Ideogram/openapi.json | 29 +- 30 files changed, 930 insertions(+), 482 deletions(-) create mode 100644 src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeed.g.cs create mode 100644 src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullable.g.cs create mode 100644 src/libs/Ideogram/Generated/Ideogram.Models.GenerationErrorResponseTaskCompletionSpeed.g.cs diff --git a/src/libs/Ideogram/Generated/Ideogram.AutoModel.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.AutoModel.JsonSerializerContext.g.cs index 7b4daeb..5d923b5 100644 --- a/src/libs/Ideogram/Generated/Ideogram.AutoModel.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.AutoModel.JsonSerializerContext.g.cs @@ -26,6 +26,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -51,6 +52,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MagicPromptMode?), TypeInfoPropertyName = "NullableMagicPromptMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramColorPalette?), TypeInfoPropertyName = "NullableIdeogramColorPalette2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramV3StyleType?), TypeInfoPropertyName = "NullableIdeogramV3StyleType2")] @@ -133,7 +135,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -174,6 +180,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflow.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflow.JsonSerializerContext.g.cs index d8595a9..154ce63 100644 --- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflow.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflow.JsonSerializerContext.g.cs @@ -26,6 +26,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundResponse))] @@ -104,6 +105,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundQuality?), TypeInfoPropertyName = "NullableReplaceBackgroundQuality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundIdeogramV3RequestRenderingSpeed?), TypeInfoPropertyName = "NullableReplaceBackgroundIdeogramV3RequestRenderingSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LookbookRequestCategory?), TypeInfoPropertyName = "NullableLookbookRequestCategory2")] @@ -207,7 +209,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -352,6 +358,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs index 877955e..3652447 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs @@ -172,7 +172,7 @@ public partial interface IImagesGenerateClient /// Example: 2048x2048 /// /// - /// The rendering quality to use. Higher quality renders take longer.
+ /// The rendering quality to use. Higher quality renders take longer. `very_high` requires source images and an explicit `size` or `size: source`, supports at most 4 images per request, takes longer than `high`, and is priced higher.
/// Default Value: high /// /// diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs index cdfc841..ce3ffe6 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs @@ -173,7 +173,7 @@ public partial interface IImagesPreciseEditClient /// An optional mask confining the edit to part of `image`, as raw bytes (multipart requests only; JPEG, PNG, or WEBP, max 25MB). Black marks the area to edit and white the area to preserve; values in between are rounded to whichever is nearer. The mask must have the same width and height as `image`, and must contain both black and white areas. Requires the image being edited to be uploaded as raw `image` bytes in the same request; masks cannot be combined with asset references. The mask is supplied to the model as an additional reference image, so a masked request may carry at most three `reference_images`. /// /// - /// The rendering quality to use. `very_high` renders multiple candidate edits internally and returns the one that best applies the instruction; it takes longer than `high`, is priced higher, and supports at most 4 images per request.
+ /// The rendering quality to use. `very_high` takes longer than `high`, is priced higher, and supports at most 4 images per request.
/// Default Value: high /// /// diff --git a/src/libs/Ideogram/Generated/Ideogram.ImageDescribe.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImageDescribe.JsonSerializerContext.g.cs index 075287d..a338e4d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImageDescribe.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImageDescribe.JsonSerializerContext.g.cs @@ -27,6 +27,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.DescribeImageIdeogramV3Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -51,6 +52,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.DateTime?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.V4PromptElement?), TypeInfoPropertyName = "NullableV4PromptElement2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.V4PromptElementDiscriminatorType?), TypeInfoPropertyName = "NullableV4PromptElementDiscriminatorType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.V4ObjPromptElementType?), TypeInfoPropertyName = "NullableV4ObjPromptElementType2")] @@ -127,7 +129,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -152,6 +158,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerate.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerate.JsonSerializerContext.g.cs index 7e4cfca..236d638 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerate.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerate.JsonSerializerContext.g.cs @@ -29,6 +29,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageIdeogramV3Response))] @@ -110,6 +111,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AspectRatioV3?), TypeInfoPropertyName = "NullableAspectRatioV32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ResolutionV3?), TypeInfoPropertyName = "NullableResolutionV32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramV3AspectRatio?), TypeInfoPropertyName = "NullableIdeogramV3AspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageIdeogramV3RequestRenderingSpeed?), TypeInfoPropertyName = "NullableGenerateImageIdeogramV3RequestRenderingSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MagicPromptMode?), TypeInfoPropertyName = "NullableMagicPromptMode2")] @@ -214,7 +216,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -351,6 +357,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs index 9f7f9cb..58e9e66 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs @@ -968,7 +968,7 @@ request.Maskname is null /// Example: 2048x2048 /// /// - /// The rendering quality to use. Higher quality renders take longer.
+ /// The rendering quality to use. Higher quality renders take longer. `very_high` requires source images and an explicit `size` or `size: source`, supports at most 4 images per request, takes longer than `high`, and is priced higher.
/// Default Value: high /// /// diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaint.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaint.JsonSerializerContext.g.cs index 0355608..954a9ff 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaint.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaint.JsonSerializerContext.g.cs @@ -26,6 +26,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MagicPromptMode), TypeInfoPropertyName = "MagicPromptMode2")] @@ -47,6 +48,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MagicPromptMode?), TypeInfoPropertyName = "NullableMagicPromptMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramV3StyleType?), TypeInfoPropertyName = "NullableIdeogramV3StyleType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramV3StylePreset?), TypeInfoPropertyName = "NullableIdeogramV3StylePreset2")] @@ -125,7 +127,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -166,6 +172,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEdit.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEdit.JsonSerializerContext.g.cs index 9ec88a3..5f4a729 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEdit.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEdit.JsonSerializerContext.g.cs @@ -25,6 +25,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -36,6 +37,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PreciseEditImageIdeogram45RequestQuality?), TypeInfoPropertyName = "NullablePreciseEditImageIdeogram45RequestQuality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetType?), TypeInfoPropertyName = "NullableAssetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -107,7 +109,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -124,6 +130,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs index a56b7b7..4f4bc1c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs @@ -1003,7 +1003,7 @@ request.Maskname is null /// An optional mask confining the edit to part of `image`, as raw bytes (multipart requests only; JPEG, PNG, or WEBP, max 25MB). Black marks the area to edit and white the area to preserve; values in between are rounded to whichever is nearer. The mask must have the same width and height as `image`, and must contain both black and white areas. Requires the image being edited to be uploaded as raw `image` bytes in the same request; masks cannot be combined with asset references. The mask is supplied to the model as an additional reference image, so a masked request may carry at most three `reference_images`. /// /// - /// The rendering quality to use. `very_high` renders multiple candidate edits internally and returns the one that best applies the instruction; it takes longer than `high`, is priced higher, and supports at most 4 images per request.
+ /// The rendering quality to use. `very_high` takes longer than `high`, is priced higher, and supports at most 4 images per request.
/// Default Value: high /// /// diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesReframe.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesReframe.JsonSerializerContext.g.cs index 1f80f4e..b542aa8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesReframe.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesReframe.JsonSerializerContext.g.cs @@ -27,6 +27,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -49,6 +50,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ResolutionV3?), TypeInfoPropertyName = "NullableResolutionV32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramColorPalette?), TypeInfoPropertyName = "NullableIdeogramColorPalette2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramV3StylePreset?), TypeInfoPropertyName = "NullableIdeogramV3StylePreset2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] @@ -127,7 +129,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -156,6 +162,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesRemix.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesRemix.JsonSerializerContext.g.cs index d803738..8a1dcce 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesRemix.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesRemix.JsonSerializerContext.g.cs @@ -29,6 +29,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MagicPromptMode), TypeInfoPropertyName = "MagicPromptMode2")] @@ -63,6 +64,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AspectRatioV3?), TypeInfoPropertyName = "NullableAspectRatioV32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ResolutionV3?), TypeInfoPropertyName = "NullableResolutionV32")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MagicPromptMode?), TypeInfoPropertyName = "NullableMagicPromptMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramColorPalette?), TypeInfoPropertyName = "NullableIdeogramColorPalette2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramV3StyleType?), TypeInfoPropertyName = "NullableIdeogramV3StyleType2")] @@ -147,7 +149,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -208,6 +214,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscale.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscale.JsonSerializerContext.g.cs index 4521559..c14b770 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesUpscale.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesUpscale.JsonSerializerContext.g.cs @@ -25,6 +25,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(float))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.UpscaleImageTopazTextRefineResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -55,6 +56,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(float?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.UpscaleImageTopazTextRefineRequestUpscaleFactor?), TypeInfoPropertyName = "NullableUpscaleImageTopazTextRefineRequestUpscaleFactor2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.UpscaleImageTopazTextRefineRequestSubjectDetection?), TypeInfoPropertyName = "NullableUpscaleImageTopazTextRefineRequestSubjectDetection2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.UpscaleImageTopazWonder35RequestUpscaleFactor?), TypeInfoPropertyName = "NullableUpscaleImageTopazWonder35RequestUpscaleFactor2")] @@ -133,7 +135,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -186,6 +192,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeed.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeed.g.cs new file mode 100644 index 0000000..cc5ee45 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeed.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class GenerationErrorResponseTaskCompletionSpeedJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.GenerationErrorResponseTaskCompletionSpeed Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Ideogram.GenerationErrorResponseTaskCompletionSpeedExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.GenerationErrorResponseTaskCompletionSpeed value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Ideogram.GenerationErrorResponseTaskCompletionSpeedExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullable.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullable.g.cs new file mode 100644 index 0000000..b654971 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.GenerationErrorResponseTaskCompletionSpeed? Read( + ref global::System.Text.Json.Utf8JsonReader reader, + global::System.Type typeToConvert, + global::System.Text.Json.JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case global::System.Text.Json.JsonTokenType.String: + { + var stringValue = reader.GetString(); + if (stringValue != null) + { + return global::Ideogram.GenerationErrorResponseTaskCompletionSpeedExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.GenerationErrorResponseTaskCompletionSpeed? value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + if (value == null) + { + writer.WriteNullValue(); + } + else + { + writer.WriteStringValue(global::Ideogram.GenerationErrorResponseTaskCompletionSpeedExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs index 5509582..d2a069d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs @@ -193,6 +193,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SeedDance2Resolution), TypeInfoPropertyName = "SeedDance2Resolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateVideoSeedDance2ImageToVideoRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateVideoSeedDance25Response))] @@ -513,7 +514,6 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.UsageSource), TypeInfoPropertyName = "UsageSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GetApiProfilesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ApiProfile))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -526,6 +526,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex Converters = new global::System.Type[] { })] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ApiProfile))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ApiProfileType), TypeInfoPropertyName = "ApiProfileType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ApiProfileRole), TypeInfoPropertyName = "ApiProfileRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -703,6 +704,7 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SeedDance2AspectRatio?), TypeInfoPropertyName = "NullableSeedDance2AspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SeedDance2Resolution?), TypeInfoPropertyName = "NullableSeedDance2Resolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SeedDance25Resolution?), TypeInfoPropertyName = "NullableSeedDance25Resolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MinimaxH3AspectRatio?), TypeInfoPropertyName = "NullableMinimaxH3AspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MinimaxH3Resolution?), TypeInfoPropertyName = "NullableMinimaxH3Resolution2")] @@ -1081,6 +1083,10 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Ideogram.TextItemV3VerticalAlignment?) + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -1966,6 +1972,16 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Ideogram.JsonConverters.TextItemV3VerticalAlignmentNullableJsonConverter(); } + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs index fda2663..7dd356d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs @@ -733,1779 +733,1783 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Ideogram.GenerateVideoSeedDance2ImageToVideoRequest? Type175 { get; set; } + public global::Ideogram.GenerationErrorResponseTaskCompletionSpeed? Type175 { get; set; } /// /// /// - public global::Ideogram.AssetIdentifier? Type176 { get; set; } + public global::Ideogram.GenerateVideoSeedDance2ImageToVideoRequest? Type176 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoSeedDance25Response? Type177 { get; set; } + public global::Ideogram.AssetIdentifier? Type177 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoSeedDance25TextToVideoRequest? Type178 { get; set; } + public global::Ideogram.GenerateVideoSeedDance25Response? Type178 { get; set; } /// /// /// - public global::Ideogram.SeedDance25Resolution? Type179 { get; set; } + public global::Ideogram.GenerateVideoSeedDance25TextToVideoRequest? Type179 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoSeedDance25ImageToVideoRequest? Type180 { get; set; } + public global::Ideogram.SeedDance25Resolution? Type180 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoMinimaxH3TextToVideoRequest? Type181 { get; set; } + public global::Ideogram.GenerateVideoSeedDance25ImageToVideoRequest? Type181 { get; set; } /// /// /// - public global::Ideogram.MinimaxH3AspectRatio? Type182 { get; set; } + public global::Ideogram.GenerateVideoMinimaxH3TextToVideoRequest? Type182 { get; set; } /// /// /// - public global::Ideogram.MinimaxH3Resolution? Type183 { get; set; } + public global::Ideogram.MinimaxH3AspectRatio? Type183 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoMinimaxH3Response? Type184 { get; set; } + public global::Ideogram.MinimaxH3Resolution? Type184 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoMinimaxH3ImageToVideoRequest? Type185 { get; set; } + public global::Ideogram.GenerateVideoMinimaxH3Response? Type185 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoKlingV3Response? Type186 { get; set; } + public global::Ideogram.GenerateVideoMinimaxH3ImageToVideoRequest? Type186 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoKlingV3StandardTextToVideoRequest? Type187 { get; set; } + public global::Ideogram.GenerateVideoKlingV3Response? Type187 { get; set; } /// /// /// - public global::Ideogram.KlingV3AspectRatio? Type188 { get; set; } + public global::Ideogram.GenerateVideoKlingV3StandardTextToVideoRequest? Type188 { get; set; } /// /// /// - public global::Ideogram.KlingV3ShotType? Type189 { get; set; } + public global::Ideogram.KlingV3AspectRatio? Type189 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoKlingV3StandardImageToVideoRequest? Type190 { get; set; } + public global::Ideogram.KlingV3ShotType? Type190 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoSeedDance2ReferenceToVideoRequest? Type191 { get; set; } + public global::Ideogram.GenerateVideoKlingV3StandardImageToVideoRequest? Type191 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type192 { get; set; } + public global::Ideogram.GenerateVideoSeedDance2ReferenceToVideoRequest? Type192 { get; set; } /// /// /// - public global::Ideogram.GenerateVideoSeedDance25ReferenceToVideoRequest? Type193 { get; set; } + public global::System.Collections.Generic.IList? Type193 { get; set; } /// /// /// - public global::Ideogram.EditVideoMinimaxH3ReferenceToVideoRequest? Type194 { get; set; } + public global::Ideogram.GenerateVideoSeedDance25ReferenceToVideoRequest? Type194 { get; set; } /// /// /// - public global::Ideogram.MinimaxH3PromptExpansionMode? Type195 { get; set; } + public global::Ideogram.EditVideoMinimaxH3ReferenceToVideoRequest? Type195 { get; set; } /// /// /// - public global::Ideogram.EditVideoSeedDance2Request? Type196 { get; set; } + public global::Ideogram.MinimaxH3PromptExpansionMode? Type196 { get; set; } /// /// /// - public global::Ideogram.RemoveObjectFromV2AssetsResponse? Type197 { get; set; } + public global::Ideogram.EditVideoSeedDance2Request? Type197 { get; set; } /// /// /// - public global::Ideogram.RemoveObjectFromV2AssetsRequest? Type198 { get; set; } + public global::Ideogram.RemoveObjectFromV2AssetsResponse? Type198 { get; set; } /// /// /// - public global::Ideogram.RemoveBackgroundV2Response? Type199 { get; set; } + public global::Ideogram.RemoveObjectFromV2AssetsRequest? Type199 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type200 { get; set; } + public global::Ideogram.RemoveBackgroundV2Response? Type200 { get; set; } /// /// /// - public global::Ideogram.BackgroundRemovedImageObject? Type201 { get; set; } + public global::System.Collections.Generic.IList? Type201 { get; set; } /// /// /// - public global::Ideogram.RemoveBackgroundV2Request? Type202 { get; set; } + public global::Ideogram.BackgroundRemovedImageObject? Type202 { get; set; } /// /// /// - public global::Ideogram.RemoveBackgroundV2AssetRequest? Type203 { get; set; } + public global::Ideogram.RemoveBackgroundV2Request? Type203 { get; set; } /// /// /// - public global::Ideogram.ReplaceBackgroundResponse? Type204 { get; set; } + public global::Ideogram.RemoveBackgroundV2AssetRequest? Type204 { get; set; } /// /// /// - public global::Ideogram.ReplaceBackgroundRequest? Type205 { get; set; } + public global::Ideogram.ReplaceBackgroundResponse? Type205 { get; set; } /// /// /// - public global::Ideogram.ReplaceBackgroundQuality? Type206 { get; set; } + public global::Ideogram.ReplaceBackgroundRequest? Type206 { get; set; } /// /// /// - public global::Ideogram.ReplaceBackgroundIdeogramV3Request? Type207 { get; set; } + public global::Ideogram.ReplaceBackgroundQuality? Type207 { get; set; } /// /// /// - public global::Ideogram.ReplaceBackgroundIdeogramV3RequestRenderingSpeed? Type208 { get; set; } + public global::Ideogram.ReplaceBackgroundIdeogramV3Request? Type208 { get; set; } /// /// /// - public global::Ideogram.ListAccountApiKeysResponse? Type209 { get; set; } + public global::Ideogram.ReplaceBackgroundIdeogramV3RequestRenderingSpeed? Type209 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type210 { get; set; } + public global::Ideogram.ListAccountApiKeysResponse? Type210 { get; set; } /// /// /// - public global::Ideogram.AccountApiKey? Type211 { get; set; } + public global::System.Collections.Generic.IList? Type211 { get; set; } /// /// /// - public global::Ideogram.AccountApiKeyStatus? Type212 { get; set; } + public global::Ideogram.AccountApiKey? Type212 { get; set; } /// /// /// - public global::Ideogram.GetAccountUsageResponse? Type213 { get; set; } + public global::Ideogram.AccountApiKeyStatus? Type213 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type214 { get; set; } + public global::Ideogram.GetAccountUsageResponse? Type214 { get; set; } /// /// /// - public global::Ideogram.AccountUsageBucket? Type215 { get; set; } + public global::System.Collections.Generic.IList? Type215 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type216 { get; set; } + public global::Ideogram.AccountUsageBucket? Type216 { get; set; } /// /// /// - public global::Ideogram.AccountUsageLineItem? Type217 { get; set; } + public global::System.Collections.Generic.IList? Type217 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type218 { get; set; } + public global::Ideogram.AccountUsageLineItem? Type218 { get; set; } /// /// /// - public global::Ideogram.AccountUsageLineItemSource? Type219 { get; set; } + public global::System.Collections.Generic.Dictionary? Type219 { get; set; } /// /// /// - public global::Ideogram.AccountUsageApiKey? Type220 { get; set; } + public global::Ideogram.AccountUsageLineItemSource? Type220 { get; set; } /// /// /// - public global::Ideogram.AccountUsageBilledUnits? Type221 { get; set; } + public global::Ideogram.AccountUsageApiKey? Type221 { get; set; } /// /// /// - public global::Ideogram.ListAccountInvoicesResponse? Type222 { get; set; } + public global::Ideogram.AccountUsageBilledUnits? Type222 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type223 { get; set; } + public global::Ideogram.ListAccountInvoicesResponse? Type223 { get; set; } /// /// /// - public global::Ideogram.AccountInvoice? Type224 { get; set; } + public global::System.Collections.Generic.IList? Type224 { get; set; } /// /// /// - public global::Ideogram.AccountInvoiceStatus? Type225 { get; set; } + public global::Ideogram.AccountInvoice? Type225 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type226 { get; set; } + public global::Ideogram.AccountInvoiceStatus? Type226 { get; set; } /// /// /// - public global::Ideogram.AccountInvoiceLineItem? Type227 { get; set; } + public global::System.Collections.Generic.IList? Type227 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazTextRefineResponse? Type228 { get; set; } + public global::Ideogram.AccountInvoiceLineItem? Type228 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type229 { get; set; } + public global::Ideogram.UpscaleImageTopazTextRefineResponse? Type229 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageObject? Type230 { get; set; } + public global::System.Collections.Generic.IList? Type230 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazTextRefineRequest? Type231 { get; set; } + public global::Ideogram.UpscaleImageObject? Type231 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazTextRefineRequestUpscaleFactor? Type232 { get; set; } + public global::Ideogram.UpscaleImageTopazTextRefineRequest? Type232 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazTextRefineRequestSubjectDetection? Type233 { get; set; } + public global::Ideogram.UpscaleImageTopazTextRefineRequestUpscaleFactor? Type233 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazWonder35Response? Type234 { get; set; } + public global::Ideogram.UpscaleImageTopazTextRefineRequestSubjectDetection? Type234 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazWonder35Request? Type235 { get; set; } + public global::Ideogram.UpscaleImageTopazWonder35Response? Type235 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazWonder35RequestUpscaleFactor? Type236 { get; set; } + public global::Ideogram.UpscaleImageTopazWonder35Request? Type236 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazWonder35RequestEnhancementStrength? Type237 { get; set; } + public global::Ideogram.UpscaleImageTopazWonder35RequestUpscaleFactor? Type237 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazStandardV2Response? Type238 { get; set; } + public global::Ideogram.UpscaleImageTopazWonder35RequestEnhancementStrength? Type238 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazStandardV2Request? Type239 { get; set; } + public global::Ideogram.UpscaleImageTopazStandardV2Response? Type239 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazStandardV2RequestUpscaleFactor? Type240 { get; set; } + public global::Ideogram.UpscaleImageTopazStandardV2Request? Type240 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazStandardV2RequestSubjectDetection? Type241 { get; set; } + public global::Ideogram.UpscaleImageTopazStandardV2RequestUpscaleFactor? Type241 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazBloom2Response? Type242 { get; set; } + public global::Ideogram.UpscaleImageTopazStandardV2RequestSubjectDetection? Type242 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazBloom2Request? Type243 { get; set; } + public global::Ideogram.UpscaleImageTopazBloom2Response? Type243 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazBloom2RequestUpscaleFactor? Type244 { get; set; } + public global::Ideogram.UpscaleImageTopazBloom2Request? Type244 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazRedefineResponse? Type245 { get; set; } + public global::Ideogram.UpscaleImageTopazBloom2RequestUpscaleFactor? Type245 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazRedefineRequest? Type246 { get; set; } + public global::Ideogram.UpscaleImageTopazRedefineResponse? Type246 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazRedefineRequestUpscaleFactor? Type247 { get; set; } + public global::Ideogram.UpscaleImageTopazRedefineRequest? Type247 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageTopazRedefineRequestSubjectDetection? Type248 { get; set; } + public global::Ideogram.UpscaleImageTopazRedefineRequestUpscaleFactor? Type248 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageNanoBananaProResponse? Type249 { get; set; } + public global::Ideogram.UpscaleImageTopazRedefineRequestSubjectDetection? Type249 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageNanoBananaProRequest? Type250 { get; set; } + public global::Ideogram.UpscaleImageNanoBananaProResponse? Type250 { get; set; } /// /// /// - public global::Ideogram.UpscaleImageNanoBananaProRequestResolutionTier? Type251 { get; set; } + public global::Ideogram.UpscaleImageNanoBananaProRequest? Type251 { get; set; } /// /// /// - public global::Ideogram.LookbookResponse? Type252 { get; set; } + public global::Ideogram.UpscaleImageNanoBananaProRequestResolutionTier? Type252 { get; set; } /// /// /// - public global::Ideogram.LookbookRequest? Type253 { get; set; } + public global::Ideogram.LookbookResponse? Type253 { get; set; } /// /// /// - public global::Ideogram.LookbookRequestCategory? Type254 { get; set; } + public global::Ideogram.LookbookRequest? Type254 { get; set; } /// /// /// - public global::Ideogram.ModelPoseVariantsResponse? Type255 { get; set; } + public global::Ideogram.LookbookRequestCategory? Type255 { get; set; } /// /// /// - public global::Ideogram.ModelPoseVariantsRequest? Type256 { get; set; } + public global::Ideogram.ModelPoseVariantsResponse? Type256 { get; set; } /// /// /// - public global::Ideogram.ModelPoseVariantsQuality? Type257 { get; set; } + public global::Ideogram.ModelPoseVariantsRequest? Type257 { get; set; } /// /// /// - public global::Ideogram.PackshotsResponse? Type258 { get; set; } + public global::Ideogram.ModelPoseVariantsQuality? Type258 { get; set; } /// /// /// - public global::Ideogram.PackshotsRequest? Type259 { get; set; } + public global::Ideogram.PackshotsResponse? Type259 { get; set; } /// /// /// - public global::Ideogram.PackshotView? Type260 { get; set; } + public global::Ideogram.PackshotsRequest? Type260 { get; set; } /// /// /// - public global::Ideogram.PackshotsQuality? Type261 { get; set; } + public global::Ideogram.PackshotView? Type261 { get; set; } /// /// /// - public global::Ideogram.GhostMannequinResponse? Type262 { get; set; } + public global::Ideogram.PackshotsQuality? Type262 { get; set; } /// /// /// - public global::Ideogram.GhostMannequinRequest? Type263 { get; set; } + public global::Ideogram.GhostMannequinResponse? Type263 { get; set; } /// /// /// - public global::Ideogram.GhostMannequinRequestView? Type264 { get; set; } + public global::Ideogram.GhostMannequinRequest? Type264 { get; set; } /// /// /// - public global::Ideogram.GhostMannequinQuality? Type265 { get; set; } + public global::Ideogram.GhostMannequinRequestView? Type265 { get; set; } /// /// /// - public global::Ideogram.Product360VideoRequest? Type266 { get; set; } + public global::Ideogram.GhostMannequinQuality? Type266 { get; set; } /// /// /// - public global::Ideogram.Product360VideoDirection? Type267 { get; set; } + public global::Ideogram.Product360VideoRequest? Type267 { get; set; } /// /// /// - public global::Ideogram.PreciseMaskedEditResponse? Type268 { get; set; } + public global::Ideogram.Product360VideoDirection? Type268 { get; set; } /// /// /// - public global::Ideogram.PreciseMaskedEditRequest? Type269 { get; set; } + public global::Ideogram.PreciseMaskedEditResponse? Type269 { get; set; } /// /// /// - public global::Ideogram.PreciseMaskedEditModel? Type270 { get; set; } + public global::Ideogram.PreciseMaskedEditRequest? Type270 { get; set; } /// /// /// - public global::Ideogram.PreciseMaskedEditQuality? Type271 { get; set; } + public global::Ideogram.PreciseMaskedEditModel? Type271 { get; set; } /// /// /// - public global::Ideogram.VirtualTryOnResponse? Type272 { get; set; } + public global::Ideogram.PreciseMaskedEditQuality? Type272 { get; set; } /// /// /// - public global::Ideogram.VirtualTryOnRequest? Type273 { get; set; } + public global::Ideogram.VirtualTryOnResponse? Type273 { get; set; } /// /// /// - public global::Ideogram.ColorwaysResponse? Type274 { get; set; } + public global::Ideogram.VirtualTryOnRequest? Type274 { get; set; } /// /// /// - public global::Ideogram.ColorwaysRequest? Type275 { get; set; } + public global::Ideogram.ColorwaysResponse? Type275 { get; set; } /// /// /// - public global::Ideogram.ColorwaysQuality? Type276 { get; set; } + public global::Ideogram.ColorwaysRequest? Type276 { get; set; } /// /// /// - public global::Ideogram.AdLocalizerResponse? Type277 { get; set; } + public global::Ideogram.ColorwaysQuality? Type277 { get; set; } /// /// /// - public global::Ideogram.AdLocalizerRequest? Type278 { get; set; } + public global::Ideogram.AdLocalizerResponse? Type278 { get; set; } /// /// /// - public global::Ideogram.AdLocalizerRequestLanguage? Type279 { get; set; } + public global::Ideogram.AdLocalizerRequest? Type279 { get; set; } /// /// /// - public global::Ideogram.AdLocalizerQuality? Type280 { get; set; } + public global::Ideogram.AdLocalizerRequestLanguage? Type280 { get; set; } /// /// /// - public global::Ideogram.AdResizerResponse? Type281 { get; set; } + public global::Ideogram.AdLocalizerQuality? Type281 { get; set; } /// /// /// - public global::Ideogram.AdResizerRequest? Type282 { get; set; } + public global::Ideogram.AdResizerResponse? Type282 { get; set; } /// /// /// - public global::Ideogram.AdResizerRequestResolution? Type283 { get; set; } + public global::Ideogram.AdResizerRequest? Type283 { get; set; } /// /// /// - public global::Ideogram.AdResizerRequestPlatform? Type284 { get; set; } + public global::Ideogram.AdResizerRequestResolution? Type284 { get; set; } /// /// /// - public global::Ideogram.AdResizerQuality? Type285 { get; set; } + public global::Ideogram.AdResizerRequestPlatform? Type285 { get; set; } /// /// /// - public global::Ideogram.AdVariationsResponse? Type286 { get; set; } + public global::Ideogram.AdResizerQuality? Type286 { get; set; } /// /// /// - public global::Ideogram.AdVariationsRequest? Type287 { get; set; } + public global::Ideogram.AdVariationsResponse? Type287 { get; set; } /// /// /// - public global::Ideogram.AdVariationsRequestVariationType? Type288 { get; set; } + public global::Ideogram.AdVariationsRequest? Type288 { get; set; } /// /// /// - public global::Ideogram.AdVariationsQuality? Type289 { get; set; } + public global::Ideogram.AdVariationsRequestVariationType? Type289 { get; set; } /// /// /// - public global::Ideogram.SketchToRenderResponse? Type290 { get; set; } + public global::Ideogram.AdVariationsQuality? Type290 { get; set; } /// /// /// - public global::Ideogram.SketchToRenderRequest? Type291 { get; set; } + public global::Ideogram.SketchToRenderResponse? Type291 { get; set; } /// /// /// - public global::Ideogram.SketchToRenderQuality? Type292 { get; set; } + public global::Ideogram.SketchToRenderRequest? Type292 { get; set; } /// /// /// - public global::Ideogram.SoleSwapResponse? Type293 { get; set; } + public global::Ideogram.SketchToRenderQuality? Type293 { get; set; } /// /// /// - public global::Ideogram.SoleSwapRequest? Type294 { get; set; } + public global::Ideogram.SoleSwapResponse? Type294 { get; set; } /// /// /// - public global::Ideogram.SoleSwapRequestBaseGenerationSize? Type295 { get; set; } + public global::Ideogram.SoleSwapRequest? Type295 { get; set; } /// /// /// - public global::Ideogram.SoleSwapQuality? Type296 { get; set; } + public global::Ideogram.SoleSwapRequestBaseGenerationSize? Type296 { get; set; } /// /// /// - public global::Ideogram.SwapProductResponse? Type297 { get; set; } + public global::Ideogram.SoleSwapQuality? Type297 { get; set; } /// /// /// - public global::Ideogram.SwapProductRequest? Type298 { get; set; } + public global::Ideogram.SwapProductResponse? Type298 { get; set; } /// /// /// - public global::Ideogram.SwapProductMode? Type299 { get; set; } + public global::Ideogram.SwapProductRequest? Type299 { get; set; } /// /// /// - public global::Ideogram.SwapProductQuality? Type300 { get; set; } + public global::Ideogram.SwapProductMode? Type300 { get; set; } /// /// /// - public global::Ideogram.SkechersStyleEditResponse? Type301 { get; set; } + public global::Ideogram.SwapProductQuality? Type301 { get; set; } /// /// /// - public global::Ideogram.SkechersStyleEditRequest? Type302 { get; set; } + public global::Ideogram.SkechersStyleEditResponse? Type302 { get; set; } /// /// /// - public global::Ideogram.SkechersStyleEditRequestAspectRatio? Type303 { get; set; } + public global::Ideogram.SkechersStyleEditRequest? Type303 { get; set; } /// /// /// - public global::Ideogram.SkechersStyleEditRequestBaseGenerationSize? Type304 { get; set; } + public global::Ideogram.SkechersStyleEditRequestAspectRatio? Type304 { get; set; } /// /// /// - public global::Ideogram.SkechersStyleEditQuality? Type305 { get; set; } + public global::Ideogram.SkechersStyleEditRequestBaseGenerationSize? Type305 { get; set; } /// /// /// - public global::Ideogram.SwanSLogoDesignResponse? Type306 { get; set; } + public global::Ideogram.SkechersStyleEditQuality? Type306 { get; set; } /// /// /// - public global::Ideogram.SwanSLogoDesignRequest? Type307 { get; set; } + public global::Ideogram.SwanSLogoDesignResponse? Type307 { get; set; } /// /// /// - public global::Ideogram.SwanSLogoDesignRequestLogoStyle? Type308 { get; set; } + public global::Ideogram.SwanSLogoDesignRequest? Type308 { get; set; } /// /// /// - public global::Ideogram.SwanSLogoDesignRequestSourceMode? Type309 { get; set; } + public global::Ideogram.SwanSLogoDesignRequestLogoStyle? Type309 { get; set; } /// /// /// - public global::Ideogram.SwanSLogoDesignRequestDesignVariant? Type310 { get; set; } + public global::Ideogram.SwanSLogoDesignRequestSourceMode? Type310 { get; set; } /// /// /// - public global::Ideogram.SwanSLogoQuality? Type311 { get; set; } + public global::Ideogram.SwanSLogoDesignRequestDesignVariant? Type311 { get; set; } /// /// /// - public global::Ideogram.SwanSLogoInstallResponse? Type312 { get; set; } + public global::Ideogram.SwanSLogoQuality? Type312 { get; set; } /// /// /// - public global::Ideogram.SwanSLogoInstallRequest? Type313 { get; set; } + public global::Ideogram.SwanSLogoInstallResponse? Type313 { get; set; } /// /// /// - public global::Ideogram.SwanSLogoInstallRequestLogoStyle? Type314 { get; set; } + public global::Ideogram.SwanSLogoInstallRequest? Type314 { get; set; } /// /// /// - public global::Ideogram.ModelSwapResponse? Type315 { get; set; } + public global::Ideogram.SwanSLogoInstallRequestLogoStyle? Type315 { get; set; } /// /// /// - public global::Ideogram.ModelSwapRequest? Type316 { get; set; } + public global::Ideogram.ModelSwapResponse? Type316 { get; set; } /// /// /// - public global::Ideogram.ModelSwapQuality? Type317 { get; set; } + public global::Ideogram.ModelSwapRequest? Type317 { get; set; } /// /// /// - public global::Ideogram.MaterialSwapResponse? Type318 { get; set; } + public global::Ideogram.ModelSwapQuality? Type318 { get; set; } /// /// /// - public global::Ideogram.MaterialSwapRequest? Type319 { get; set; } + public global::Ideogram.MaterialSwapResponse? Type319 { get; set; } /// /// /// - public global::Ideogram.MaterialSwapQuality? Type320 { get; set; } + public global::Ideogram.MaterialSwapRequest? Type320 { get; set; } /// /// /// - public global::Ideogram.UpscaleToolResponse? Type321 { get; set; } + public global::Ideogram.MaterialSwapQuality? Type321 { get; set; } /// /// /// - public global::Ideogram.UpscaleToolRequest? Type322 { get; set; } + public global::Ideogram.UpscaleToolResponse? Type322 { get; set; } /// /// /// - public global::Ideogram.UpscaleToolRequestUpscaleFactor? Type323 { get; set; } + public global::Ideogram.UpscaleToolRequest? Type323 { get; set; } /// /// /// - public global::Ideogram.LayerizeDesignIdeogramV3Response? Type324 { get; set; } + public global::Ideogram.UpscaleToolRequestUpscaleFactor? Type324 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type325 { get; set; } + public global::Ideogram.LayerizeDesignIdeogramV3Response? Type325 { get; set; } /// /// /// - public global::Ideogram.LayerizedImageObject? Type326 { get; set; } + public global::System.Collections.Generic.IList? Type326 { get; set; } /// /// /// - public global::Ideogram.LayerizedImageObjectObjectType? Type327 { get; set; } + public global::Ideogram.LayerizedImageObject? Type327 { get; set; } /// /// /// - public global::Ideogram.LayerizeDesignIdeogramV3Request? Type328 { get; set; } + public global::Ideogram.LayerizedImageObjectObjectType? Type328 { get; set; } /// /// /// - public global::Ideogram.DescribeImageIdeogramV3Response? Type329 { get; set; } + public global::Ideogram.LayerizeDesignIdeogramV3Request? Type329 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type330 { get; set; } + public global::Ideogram.DescribeImageIdeogramV3Response? Type330 { get; set; } /// /// /// - public global::Ideogram.GeneratedDescription? Type331 { get; set; } + public global::System.Collections.Generic.IList? Type331 { get; set; } /// /// /// - public global::Ideogram.DescribeImageIdeogramV3Request? Type332 { get; set; } + public global::Ideogram.GeneratedDescription? Type332 { get; set; } /// /// /// - public global::Ideogram.ImageSafetyError? Type333 { get; set; } + public global::Ideogram.DescribeImageIdeogramV3Request? Type333 { get; set; } /// /// /// - public global::Ideogram.DescribeImageIdeogramV4Response? Type334 { get; set; } + public global::Ideogram.ImageSafetyError? Type334 { get; set; } /// /// /// - public global::Ideogram.DescribeImageIdeogramV4Request? Type335 { get; set; } + public global::Ideogram.DescribeImageIdeogramV4Response? Type335 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3Response? Type336 { get; set; } + public global::Ideogram.DescribeImageIdeogramV4Request? Type336 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type337 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3Response? Type337 { get; set; } /// /// /// - public global::Ideogram.GeneratedImageObject? Type338 { get; set; } + public global::System.Collections.Generic.IList? Type338 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3Request? Type339 { get; set; } + public global::Ideogram.GeneratedImageObject? Type339 { get; set; } /// /// /// - public global::Ideogram.IdeogramV3AspectRatio? Type340 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3Request? Type340 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3RequestRenderingSpeed? Type341 { get; set; } + public global::Ideogram.IdeogramV3AspectRatio? Type341 { get; set; } /// /// /// - public global::Ideogram.MagicPromptMode? Type342 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3RequestRenderingSpeed? Type342 { get; set; } /// /// /// - public global::Ideogram.IdeogramColorPalette? Type343 { get; set; } + public global::Ideogram.MagicPromptMode? Type343 { get; set; } /// /// /// - public global::Ideogram.IdeogramV3StyleType? Type344 { get; set; } + public global::Ideogram.IdeogramColorPalette? Type344 { get; set; } /// /// /// - public global::Ideogram.IdeogramV3StylePreset? Type345 { get; set; } + public global::Ideogram.IdeogramV3StyleType? Type345 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CustomModelResponse? Type346 { get; set; } + public global::Ideogram.IdeogramV3StylePreset? Type346 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CustomModelRequest? Type347 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CustomModelResponse? Type347 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CustomModelRequestRenderingSpeed? Type348 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CustomModelRequest? Type348 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4Response? Type349 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CustomModelRequestRenderingSpeed? Type349 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4Request? Type350 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4Response? Type350 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4RequestRenderingSpeed? Type351 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4Request? Type351 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4CustomModelResponse? Type352 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4RequestRenderingSpeed? Type352 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4CustomModelRequest? Type353 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4CustomModelResponse? Type353 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type354 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4CustomModelRequest? Type354 { get; set; } /// /// /// - public global::Ideogram.StackedCustomModel? Type355 { get; set; } + public global::System.Collections.Generic.IList? Type355 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4CustomModelRequestRenderingSpeed? Type356 { get; set; } + public global::Ideogram.StackedCustomModel? Type356 { get; set; } /// /// /// - public double? Type357 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4CustomModelRequestRenderingSpeed? Type357 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3Response? Type358 { get; set; } + public double? Type358 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type359 { get; set; } + public global::Ideogram.RemixImageIdeogramV3Response? Type359 { get; set; } /// /// /// - public global::Ideogram.RemixedImageObject? Type360 { get; set; } + public global::System.Collections.Generic.IList? Type360 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3Request? Type361 { get; set; } + public global::Ideogram.RemixedImageObject? Type361 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3RequestRenderingSpeed? Type362 { get; set; } + public global::Ideogram.RemixImageIdeogramV3Request? Type362 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3CustomModelResponse? Type363 { get; set; } + public global::Ideogram.RemixImageIdeogramV3RequestRenderingSpeed? Type363 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3CustomModelRequest? Type364 { get; set; } + public global::Ideogram.RemixImageIdeogramV3CustomModelResponse? Type364 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3CustomModelRequestRenderingSpeed? Type365 { get; set; } + public global::Ideogram.RemixImageIdeogramV3CustomModelRequest? Type365 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV4Response? Type366 { get; set; } + public global::Ideogram.RemixImageIdeogramV3CustomModelRequestRenderingSpeed? Type366 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV4Request? Type367 { get; set; } + public global::Ideogram.RemixImageIdeogramV4Response? Type367 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV4RequestRenderingSpeed? Type368 { get; set; } + public global::Ideogram.RemixImageIdeogramV4Request? Type368 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3CharacterResponse? Type369 { get; set; } + public global::Ideogram.RemixImageIdeogramV4RequestRenderingSpeed? Type369 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3CharacterRequest? Type370 { get; set; } + public global::Ideogram.RemixImageIdeogramV3CharacterResponse? Type370 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3CharacterRequestRenderingSpeed? Type371 { get; set; } + public global::Ideogram.RemixImageIdeogramV3CharacterRequest? Type371 { get; set; } /// /// /// - public global::Ideogram.RemixImageIdeogramV3CharacterRequestStyleType? Type372 { get; set; } + public global::Ideogram.RemixImageIdeogramV3CharacterRequestRenderingSpeed? Type372 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3TransparentResponse? Type373 { get; set; } + public global::Ideogram.RemixImageIdeogramV3CharacterRequestStyleType? Type373 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3TransparentRequest? Type374 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3TransparentResponse? Type374 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3TransparentRequestUpscaleFactor? Type375 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3TransparentRequest? Type375 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3TransparentRequestRenderingSpeed? Type376 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3TransparentRequestUpscaleFactor? Type376 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4TransparentResponse? Type377 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3TransparentRequestRenderingSpeed? Type377 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4TransparentRequest? Type378 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4TransparentResponse? Type378 { get; set; } /// /// /// - public global::Ideogram.IdeogramV4AspectRatio? Type379 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4TransparentRequest? Type379 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4TransparentRequestOutputResolution? Type380 { get; set; } + public global::Ideogram.IdeogramV4AspectRatio? Type380 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV4TransparentRequestRenderingSpeed? Type381 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4TransparentRequestOutputResolution? Type381 { get; set; } /// /// /// - public global::Ideogram.GenerateImagePImageIdeogramResponse? Type382 { get; set; } + public global::Ideogram.GenerateImageIdeogramV4TransparentRequestRenderingSpeed? Type382 { get; set; } /// /// /// - public global::Ideogram.GenerateImagePImageIdeogramRequest? Type383 { get; set; } + public global::Ideogram.GenerateImagePImageIdeogramResponse? Type383 { get; set; } /// /// /// - public global::Ideogram.GenerationQuality? Type384 { get; set; } + public global::Ideogram.GenerateImagePImageIdeogramRequest? Type384 { get; set; } /// /// /// - public global::Ideogram.GenerateImagePImageIdeogramRequestResolution? Type385 { get; set; } + public global::Ideogram.GenerationQuality? Type385 { get; set; } /// /// /// - public global::Ideogram.GenerateImageZImageResponse? Type386 { get; set; } + public global::Ideogram.GenerateImagePImageIdeogramRequestResolution? Type386 { get; set; } /// /// /// - public global::Ideogram.GenerateImageZImageRequest? Type387 { get; set; } + public global::Ideogram.GenerateImageZImageResponse? Type387 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogram45Response? Type388 { get; set; } + public global::Ideogram.GenerateImageZImageRequest? Type388 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogram45Request? Type389 { get; set; } + public global::Ideogram.GenerateImageIdeogram45Response? Type389 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogram45RequestQuality? Type390 { get; set; } + public global::Ideogram.GenerateImageIdeogram45Request? Type390 { get; set; } /// /// /// - public global::Ideogram.PreciseEditImageIdeogram45Response? Type391 { get; set; } + public global::Ideogram.GenerateImageIdeogram45RequestQuality? Type391 { get; set; } /// /// /// - public global::Ideogram.PreciseEditImageIdeogram45Request? Type392 { get; set; } + public global::Ideogram.PreciseEditImageIdeogram45Response? Type392 { get; set; } /// /// /// - public global::Ideogram.PreciseEditImageIdeogram45RequestQuality? Type393 { get; set; } + public global::Ideogram.PreciseEditImageIdeogram45Request? Type393 { get; set; } /// /// /// - public global::Ideogram.GenerateImageNanoBanana2Response? Type394 { get; set; } + public global::Ideogram.PreciseEditImageIdeogram45RequestQuality? Type394 { get; set; } /// /// /// - public global::Ideogram.GenerateImageNanoBanana2Request? Type395 { get; set; } + public global::Ideogram.GenerateImageNanoBanana2Response? Type395 { get; set; } /// /// /// - public global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier? Type396 { get; set; } + public global::Ideogram.GenerateImageNanoBanana2Request? Type396 { get; set; } /// /// /// - public global::Ideogram.GenerateImageNanoBananaProResponse? Type397 { get; set; } + public global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier? Type397 { get; set; } /// /// /// - public global::Ideogram.GenerateImageNanoBananaProRequest? Type398 { get; set; } + public global::Ideogram.GenerateImageNanoBananaProResponse? Type398 { get; set; } /// /// /// - public global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier? Type399 { get; set; } + public global::Ideogram.GenerateImageNanoBananaProRequest? Type399 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage2Response? Type400 { get; set; } + public global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier? Type400 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage2Request? Type401 { get; set; } + public global::Ideogram.GenerateImageGptImage2Response? Type401 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25FlareResponse? Type402 { get; set; } + public global::Ideogram.GenerateImageGptImage2Request? Type402 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25FlareRequest? Type403 { get; set; } + public global::Ideogram.GenerateImageGptImage25FlareResponse? Type403 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25FlareRequestBackground? Type404 { get; set; } + public global::Ideogram.GenerateImageGptImage25FlareRequest? Type404 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25FlareRequestQuality? Type405 { get; set; } + public global::Ideogram.GenerateImageGptImage25FlareRequestBackground? Type405 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25SunburstResponse? Type406 { get; set; } + public global::Ideogram.GenerateImageGptImage25FlareRequestQuality? Type406 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25SunburstRequest? Type407 { get; set; } + public global::Ideogram.GenerateImageGptImage25SunburstResponse? Type407 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25SunburstRequestBackground? Type408 { get; set; } + public global::Ideogram.GenerateImageGptImage25SunburstRequest? Type408 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25SunburstRequestQuality? Type409 { get; set; } + public global::Ideogram.GenerateImageGptImage25SunburstRequestBackground? Type409 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2Response? Type410 { get; set; } + public global::Ideogram.GenerateImageGptImage25SunburstRequestQuality? Type410 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2Request? Type411 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2Response? Type411 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2RequestRenderingSpeed? Type412 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2Request? Type412 { get; set; } /// /// /// - public global::Ideogram.IdeogramV2StyleType? Type413 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2RequestRenderingSpeed? Type413 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2AResponse? Type414 { get; set; } + public global::Ideogram.IdeogramV2StyleType? Type414 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2ARequest? Type415 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2AResponse? Type415 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2ARequestRenderingSpeed? Type416 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2ARequest? Type416 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3Response? Type417 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2ARequestRenderingSpeed? Type417 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type418 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3Response? Type418 { get; set; } /// /// /// - public global::Ideogram.InpaintedImageObject? Type419 { get; set; } + public global::System.Collections.Generic.IList? Type419 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3Request? Type420 { get; set; } + public global::Ideogram.InpaintedImageObject? Type420 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3RequestRenderingSpeed? Type421 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3Request? Type421 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CustomModelResponse? Type422 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3RequestRenderingSpeed? Type422 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CustomModelRequest? Type423 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CustomModelResponse? Type423 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CustomModelRequestRenderingSpeed? Type424 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CustomModelRequest? Type424 { get; set; } /// /// /// - public global::Ideogram.ReframeImageIdeogramV3Response? Type425 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CustomModelRequestRenderingSpeed? Type425 { get; set; } /// /// /// - public global::Ideogram.ReframeImageIdeogramV3Request? Type426 { get; set; } + public global::Ideogram.ReframeImageIdeogramV3Response? Type426 { get; set; } /// /// /// - public global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed? Type427 { get; set; } + public global::Ideogram.ReframeImageIdeogramV3Request? Type427 { get; set; } /// /// /// - public global::Ideogram.ReframeImageNanoBanana2Response? Type428 { get; set; } + public global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed? Type428 { get; set; } /// /// /// - public global::Ideogram.ReframeImageNanoBanana2Request? Type429 { get; set; } + public global::Ideogram.ReframeImageNanoBanana2Response? Type429 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CharacterResponse? Type430 { get; set; } + public global::Ideogram.ReframeImageNanoBanana2Request? Type430 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CharacterRequest? Type431 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CharacterResponse? Type431 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CharacterRequestRenderingSpeed? Type432 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CharacterRequest? Type432 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CharacterRequestStyleType? Type433 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CharacterRequestRenderingSpeed? Type433 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CharacterResponse? Type434 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CharacterRequestStyleType? Type434 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CharacterRequest? Type435 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CharacterResponse? Type435 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CharacterRequestRenderingSpeed? Type436 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CharacterRequest? Type436 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CharacterRequestStyleType? Type437 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CharacterRequestRenderingSpeed? Type437 { get; set; } /// /// /// - public global::Ideogram.GenerateImageV2AutoResponse? Type438 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CharacterRequestStyleType? Type438 { get; set; } /// /// /// - public global::Ideogram.GenerateImageV2AutoRequest? Type439 { get; set; } + public global::Ideogram.GenerateImageV2AutoResponse? Type439 { get; set; } /// /// /// - public global::Ideogram.GenerateImageV2AutoRequestResolutionTier? Type440 { get; set; } + public global::Ideogram.GenerateImageV2AutoRequest? Type440 { get; set; } /// /// /// - public global::Ideogram.ToolRemixResponse? Type441 { get; set; } + public global::Ideogram.GenerateImageV2AutoRequestResolutionTier? Type441 { get; set; } /// /// /// - public global::Ideogram.ToolRemixRequest? Type442 { get; set; } + public global::Ideogram.ToolRemixResponse? Type442 { get; set; } /// /// /// - public global::Ideogram.ToolRemixRequestResolutionTier? Type443 { get; set; } + public global::Ideogram.ToolRemixRequest? Type443 { get; set; } /// /// /// - public global::Ideogram.ResizeAdImageRequest? Type444 { get; set; } + public global::Ideogram.ToolRemixRequestResolutionTier? Type444 { get; set; } /// /// /// - public global::Ideogram.ResizeAdImageRequestResolution? Type445 { get; set; } + public global::Ideogram.ResizeAdImageRequest? Type445 { get; set; } /// /// /// - public global::Ideogram.ResizeAdImageQuality? Type446 { get; set; } + public global::Ideogram.ResizeAdImageRequestResolution? Type446 { get; set; } /// /// /// - public global::Ideogram.WebhookSigningJwks? Type447 { get; set; } + public global::Ideogram.ResizeAdImageQuality? Type447 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type448 { get; set; } + public global::Ideogram.WebhookSigningJwks? Type448 { get; set; } /// /// /// - public global::Ideogram.WebhookSigningJwk? Type449 { get; set; } + public global::System.Collections.Generic.IList? Type449 { get; set; } /// /// /// - public global::Ideogram.ProvenanceVerifyResponse? Type450 { get; set; } + public global::Ideogram.WebhookSigningJwk? Type450 { get; set; } /// /// /// - public global::Ideogram.ProvenanceVerifyResponseValidationState? Type451 { get; set; } + public global::Ideogram.ProvenanceVerifyResponse? Type451 { get; set; } /// /// /// - public global::Ideogram.ProvenanceVerifyRequest? Type452 { get; set; } + public global::Ideogram.ProvenanceVerifyResponseValidationState? Type452 { get; set; } /// /// /// - public global::Ideogram.ManageApiSubscriptionResponse? Type453 { get; set; } + public global::Ideogram.ProvenanceVerifyRequest? Type453 { get; set; } /// /// /// - public global::Ideogram.MetronomeLinks? Type454 { get; set; } + public global::Ideogram.ManageApiSubscriptionResponse? Type454 { get; set; } /// /// /// - public global::Ideogram.RechargeSettingsResponse? Type455 { get; set; } + public global::Ideogram.MetronomeLinks? Type455 { get; set; } /// /// /// - public global::Ideogram.Price? Type456 { get; set; } + public global::Ideogram.RechargeSettingsResponse? Type456 { get; set; } /// /// /// - public global::Ideogram.RechargeSettings? Type457 { get; set; } + public global::Ideogram.Price? Type457 { get; set; } /// /// /// - public global::Ideogram.PostApiSubscriptionResponse? Type458 { get; set; } + public global::Ideogram.RechargeSettings? Type458 { get; set; } /// /// /// - public global::Ideogram.PostApiSubscriptionError? Type459 { get; set; } + public global::Ideogram.PostApiSubscriptionResponse? Type459 { get; set; } /// /// /// - public global::Ideogram.PostApiSubscriptionRequest? Type460 { get; set; } + public global::Ideogram.PostApiSubscriptionError? Type460 { get; set; } /// /// /// - public global::Ideogram.ManageApiCreditSummaryResponse? Type461 { get; set; } + public global::Ideogram.PostApiSubscriptionRequest? Type461 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type462 { get; set; } + public global::Ideogram.ManageApiCreditSummaryResponse? Type462 { get; set; } /// /// /// - public global::Ideogram.CreditGrant? Type463 { get; set; } + public global::System.Collections.Generic.IList? Type463 { get; set; } /// /// /// - public global::Ideogram.PostApiReactivateResponse? Type464 { get; set; } + public global::Ideogram.CreditGrant? Type464 { get; set; } /// /// /// - public global::Ideogram.GetApiKeysResponse? Type465 { get; set; } + public global::Ideogram.PostApiReactivateResponse? Type465 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type466 { get; set; } + public global::Ideogram.GetApiKeysResponse? Type466 { get; set; } /// /// /// - public global::Ideogram.RedactedApiKey? Type467 { get; set; } + public global::System.Collections.Generic.IList? Type467 { get; set; } /// /// /// - public global::Ideogram.PostApiKeyResponse? Type468 { get; set; } + public global::Ideogram.RedactedApiKey? Type468 { get; set; } /// /// /// - public global::Ideogram.CreateApiKeyRequest? Type469 { get; set; } + public global::Ideogram.PostApiKeyResponse? Type469 { get; set; } /// /// /// - public global::Ideogram.ApiProfileApiKey? Type470 { get; set; } + public global::Ideogram.CreateApiKeyRequest? Type470 { get; set; } /// /// /// - public global::Ideogram.ApiKeyStatus? Type471 { get; set; } + public global::Ideogram.ApiProfileApiKey? Type471 { get; set; } /// /// /// - public global::Ideogram.PatchApiKeyRequest? Type472 { get; set; } + public global::Ideogram.ApiKeyStatus? Type472 { get; set; } /// /// /// - public global::Ideogram.ManageApiStripeSubscriptionResponse? Type473 { get; set; } + public global::Ideogram.PatchApiKeyRequest? Type473 { get; set; } /// /// /// - public global::Ideogram.ManageApiPaymentResponse? Type474 { get; set; } + public global::Ideogram.ManageApiStripeSubscriptionResponse? Type474 { get; set; } /// /// /// - public global::Ideogram.GetApiTermsResponse? Type475 { get; set; } + public global::Ideogram.ManageApiPaymentResponse? Type475 { get; set; } /// /// /// - public global::Ideogram.ApiTerms? Type476 { get; set; } + public global::Ideogram.GetApiTermsResponse? Type476 { get; set; } /// /// /// - public global::Ideogram.PostApiTermsRequest? Type477 { get; set; } + public global::Ideogram.ApiTerms? Type477 { get; set; } /// /// /// - public global::Ideogram.PostAddCreditsResponse? Type478 { get; set; } + public global::Ideogram.PostApiTermsRequest? Type478 { get; set; } /// /// /// - public global::Ideogram.PostAddCreditsError? Type479 { get; set; } + public global::Ideogram.PostAddCreditsResponse? Type479 { get; set; } /// /// /// - public global::Ideogram.PostAddCreditsRequest? Type480 { get; set; } + public global::Ideogram.PostAddCreditsError? Type480 { get; set; } /// /// /// - public global::Ideogram.GetUserCreditsResponse? Type481 { get; set; } + public global::Ideogram.PostAddCreditsRequest? Type481 { get; set; } /// /// /// - public global::Ideogram.SpendCommitInfoResponse? Type482 { get; set; } + public global::Ideogram.GetUserCreditsResponse? Type482 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type483 { get; set; } + public global::Ideogram.SpendCommitInfoResponse? Type483 { get; set; } /// /// /// - public global::Ideogram.SpendCommitInfo? Type484 { get; set; } + public global::System.Collections.Generic.IList? Type484 { get; set; } /// /// /// - public global::Ideogram.GetUsageInfoResponse? Type485 { get; set; } + public global::Ideogram.SpendCommitInfo? Type485 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type486 { get; set; } + public global::Ideogram.GetUsageInfoResponse? Type486 { get; set; } /// /// /// - public global::Ideogram.UsageSegment? Type487 { get; set; } + public global::System.Collections.Generic.IList? Type487 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type488 { get; set; } + public global::Ideogram.UsageSegment? Type488 { get; set; } /// /// /// - public global::Ideogram.ToolUsage? Type489 { get; set; } + public global::System.Collections.Generic.IList? Type489 { get; set; } /// /// /// - public global::Ideogram.ToolType? Type490 { get; set; } + public global::Ideogram.ToolUsage? Type490 { get; set; } /// /// /// - public global::Ideogram.ModelVersion? Type491 { get; set; } + public global::Ideogram.ToolType? Type491 { get; set; } /// /// /// - public global::Ideogram.SegmentBy? Type492 { get; set; } + public global::Ideogram.ModelVersion? Type492 { get; set; } /// /// /// - public global::Ideogram.UsageSource? Type493 { get; set; } + public global::Ideogram.SegmentBy? Type493 { get; set; } /// /// /// - public global::Ideogram.GetApiProfilesResponse? Type494 { get; set; } + public global::Ideogram.UsageSource? Type494 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type495 { get; set; } + public global::Ideogram.GetApiProfilesResponse? Type495 { get; set; } /// /// /// - public global::Ideogram.ApiProfile? Type496 { get; set; } + public global::System.Collections.Generic.IList? Type496 { get; set; } /// /// /// - public global::Ideogram.ApiProfileType? Type497 { get; set; } + public global::Ideogram.ApiProfile? Type497 { get; set; } /// /// /// - public global::Ideogram.ApiProfileRole? Type498 { get; set; } + public global::Ideogram.ApiProfileType? Type498 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type499 { get; set; } + public global::Ideogram.ApiProfileRole? Type499 { get; set; } /// /// /// - public global::Ideogram.UpdateOrganizationApiPropertiesResponse? Type500 { get; set; } + public global::System.Collections.Generic.IList? Type500 { get; set; } /// /// /// - public global::Ideogram.UpdateOrganizationApiPropertiesRequest? Type501 { get; set; } + public global::Ideogram.UpdateOrganizationApiPropertiesResponse? Type501 { get; set; } /// /// /// - public global::Ideogram.GetApiOrganizationUserSuggestionsResponse? Type502 { get; set; } + public global::Ideogram.UpdateOrganizationApiPropertiesRequest? Type502 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type503 { get; set; } + public global::Ideogram.GetApiOrganizationUserSuggestionsResponse? Type503 { get; set; } /// /// /// - public global::Ideogram.ApiOrganizationUserSuggestion? Type504 { get; set; } + public global::System.Collections.Generic.IList? Type504 { get; set; } /// /// /// - public global::Ideogram.GetOrganizationMembersResponse? Type505 { get; set; } + public global::Ideogram.ApiOrganizationUserSuggestion? Type505 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type506 { get; set; } + public global::Ideogram.GetOrganizationMembersResponse? Type506 { get; set; } /// /// /// - public global::Ideogram.OrganizationMember? Type507 { get; set; } + public global::System.Collections.Generic.IList? Type507 { get; set; } /// /// /// - public global::Ideogram.CreateApiKeyResponse? Type508 { get; set; } + public global::Ideogram.OrganizationMember? Type508 { get; set; } /// /// /// - public global::Ideogram.GetApiKeysV2Response? Type509 { get; set; } + public global::Ideogram.CreateApiKeyResponse? Type509 { get; set; } /// /// /// - public global::Ideogram.OrganizationMemberOperationResponse? Type510 { get; set; } + public global::Ideogram.GetApiKeysV2Response? Type510 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type511 { get; set; } + public global::Ideogram.OrganizationMemberOperationResponse? Type511 { get; set; } /// /// /// - public global::Ideogram.OrganizationMemberOperationResult? Type512 { get; set; } + public global::System.Collections.Generic.IList? Type512 { get; set; } /// /// /// - public global::Ideogram.AddOrganizationMembersRequest? Type513 { get; set; } + public global::Ideogram.OrganizationMemberOperationResult? Type513 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type514 { get; set; } + public global::Ideogram.AddOrganizationMembersRequest? Type514 { get; set; } /// /// /// - public global::Ideogram.LiteOrganizationMember? Type515 { get; set; } + public global::System.Collections.Generic.IList? Type515 { get; set; } /// /// /// - public global::Ideogram.RemoveOrganizationMembersRequest? Type516 { get; set; } + public global::Ideogram.LiteOrganizationMember? Type516 { get; set; } /// /// /// - public global::Ideogram.PromoteOrganizationAdminsRequest? Type517 { get; set; } + public global::Ideogram.RemoveOrganizationMembersRequest? Type517 { get; set; } /// /// /// - public global::Ideogram.DemoteOrganizationAdminsRequest? Type518 { get; set; } + public global::Ideogram.PromoteOrganizationAdminsRequest? Type518 { get; set; } /// /// /// - public global::Ideogram.CancelOrganizationInviteRequest? Type519 { get; set; } + public global::Ideogram.DemoteOrganizationAdminsRequest? Type519 { get; set; } /// /// /// - public global::Ideogram.ResendOrganizationInviteRequest? Type520 { get; set; } + public global::Ideogram.CancelOrganizationInviteRequest? Type520 { get; set; } /// /// /// - public global::Ideogram.ListOrganizationInvoicesResponse? Type521 { get; set; } + public global::Ideogram.ResendOrganizationInviteRequest? Type521 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type522 { get; set; } + public global::Ideogram.ListOrganizationInvoicesResponse? Type522 { get; set; } /// /// /// - public global::Ideogram.Invoice? Type523 { get; set; } + public global::System.Collections.Generic.IList? Type523 { get; set; } /// /// /// - public global::Ideogram.InvoiceStatus? Type524 { get; set; } + public global::Ideogram.Invoice? Type524 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type525 { get; set; } + public global::Ideogram.InvoiceStatus? Type525 { get; set; } /// /// /// - public global::Ideogram.InvoiceLineItem? Type526 { get; set; } + public global::System.Collections.Generic.IList? Type526 { get; set; } /// /// /// - public global::Ideogram.GetOrganizationBillingPortalResponse? Type527 { get; set; } + public global::Ideogram.InvoiceLineItem? Type527 { get; set; } /// /// /// - public global::Ideogram.ListDatasetsResponse? Type528 { get; set; } + public global::Ideogram.GetOrganizationBillingPortalResponse? Type528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type529 { get; set; } + public global::Ideogram.ListDatasetsResponse? Type529 { get; set; } /// /// /// - public global::Ideogram.Dataset? Type530 { get; set; } + public global::System.Collections.Generic.IList? Type530 { get; set; } /// /// /// - public global::Ideogram.CreateDatasetRequest? Type531 { get; set; } + public global::Ideogram.Dataset? Type531 { get; set; } /// /// /// - public global::Ideogram.GetDatasetResponse? Type532 { get; set; } + public global::Ideogram.CreateDatasetRequest? Type532 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type533 { get; set; } + public global::Ideogram.GetDatasetResponse? Type533 { get; set; } /// /// /// - public global::Ideogram.DatasetFile? Type534 { get; set; } + public global::System.Collections.Generic.IList? Type534 { get; set; } /// /// /// - public global::Ideogram.UploadDatasetAssetsResponse? Type535 { get; set; } + public global::Ideogram.DatasetFile? Type535 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type536 { get; set; } + public global::Ideogram.UploadDatasetAssetsResponse? Type536 { get; set; } /// /// /// - public global::Ideogram.DatasetUploadSucceededAsset? Type537 { get; set; } + public global::System.Collections.Generic.IList? Type537 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type538 { get; set; } + public global::Ideogram.DatasetUploadSucceededAsset? Type538 { get; set; } /// /// /// - public global::Ideogram.DatasetUploadFailedAsset? Type539 { get; set; } + public global::System.Collections.Generic.IList? Type539 { get; set; } /// /// /// - public global::Ideogram.DatasetAssetFailureReason? Type540 { get; set; } + public global::Ideogram.DatasetUploadFailedAsset? Type540 { get; set; } /// /// /// - public global::Ideogram.UploadDatasetAssetsRequest? Type541 { get; set; } + public global::Ideogram.DatasetAssetFailureReason? Type541 { get; set; } /// /// /// - public global::Ideogram.TrainDatasetModelResponse? Type542 { get; set; } + public global::Ideogram.UploadDatasetAssetsRequest? Type542 { get; set; } /// /// /// - public global::Ideogram.TrainDatasetModelRequest? Type543 { get; set; } + public global::Ideogram.TrainDatasetModelResponse? Type543 { get; set; } /// /// /// - public global::Ideogram.ListModelsResponse? Type544 { get; set; } + public global::Ideogram.TrainDatasetModelRequest? Type544 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type545 { get; set; } + public global::Ideogram.ListModelsResponse? Type545 { get; set; } /// /// /// - public global::Ideogram.CustomModel? Type546 { get; set; } + public global::System.Collections.Generic.IList? Type546 { get; set; } /// /// /// - public global::Ideogram.ModelStatus? Type547 { get; set; } + public global::Ideogram.CustomModel? Type547 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type548 { get; set; } + public global::Ideogram.ModelStatus? Type548 { get; set; } /// /// /// - public global::Ideogram.TrainingRun? Type549 { get; set; } + public global::System.Collections.Generic.IList? Type549 { get; set; } /// /// /// - public global::Ideogram.TrainingRunStatus? Type550 { get; set; } + public global::Ideogram.TrainingRun? Type550 { get; set; } /// /// /// - public global::Ideogram.GetModelResponse? Type551 { get; set; } + public global::Ideogram.TrainingRunStatus? Type551 { get; set; } /// /// /// - public global::Ideogram.TrainModelV3Request? Type552 { get; set; } + public global::Ideogram.GetModelResponse? Type552 { get; set; } /// /// /// - public global::Ideogram.TrainModelV3AdvancedRequest? Type553 { get; set; } + public global::Ideogram.TrainModelV3Request? Type553 { get; set; } /// /// /// - public global::Ideogram.TrainModelV4Request? Type554 { get; set; } + public global::Ideogram.TrainModelV3AdvancedRequest? Type554 { get; set; } /// /// /// - public global::Ideogram.TrainModelV4AdvancedRequest? Type555 { get; set; } + public global::Ideogram.TrainModelV4Request? Type555 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppResponse? Type556 { get; set; } + public global::Ideogram.TrainModelV4AdvancedRequest? Type556 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppRequest? Type557 { get; set; } + public global::Ideogram.PublishMiniAppResponse? Type557 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppRequestEmbed? Type558 { get; set; } + public global::Ideogram.PublishMiniAppRequest? Type558 { get; set; } /// /// /// - public object? Type559 { get; set; } + public global::Ideogram.PublishMiniAppRequestEmbed? Type559 { get; set; } /// /// /// - public global::Ideogram.MiniAppArtwork? Type560 { get; set; } + public object? Type560 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppPreviewResponse? Type561 { get; set; } + public global::Ideogram.MiniAppArtwork? Type561 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppPreviewRequest? Type562 { get; set; } + public global::Ideogram.PublishMiniAppPreviewResponse? Type562 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppPreviewRequestEmbed? Type563 { get; set; } + public global::Ideogram.PublishMiniAppPreviewRequest? Type563 { get; set; } /// /// /// - public global::Ideogram.UnpublishMiniAppPreviewResponse? Type564 { get; set; } + public global::Ideogram.PublishMiniAppPreviewRequestEmbed? Type564 { get; set; } /// /// /// - public global::Ideogram.GetStaleMiniAppPreviewsResponse? Type565 { get; set; } + public global::Ideogram.UnpublishMiniAppPreviewResponse? Type565 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type566 { get; set; } + public global::Ideogram.GetStaleMiniAppPreviewsResponse? Type566 { get; set; } /// /// /// - public global::Ideogram.MiniAppMarketingProjectionEntry? Type567 { get; set; } + public global::System.Collections.Generic.IList? Type567 { get; set; } /// /// /// - public global::Ideogram.MiniAppMarketingProjectionEntryEmbed? Type568 { get; set; } + public global::Ideogram.MiniAppMarketingProjectionEntry? Type568 { get; set; } /// /// /// - public global::Ideogram.GetIntegrationsResponse? Type569 { get; set; } + public global::Ideogram.MiniAppMarketingProjectionEntryEmbed? Type569 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type570 { get; set; } + public global::Ideogram.GetIntegrationsResponse? Type570 { get; set; } /// /// /// - public global::Ideogram.IntegrationType? Type571 { get; set; } + public global::System.Collections.Generic.IList? Type571 { get; set; } /// /// /// - public global::Ideogram.IntegrationErrorResponse? Type572 { get; set; } + public global::Ideogram.IntegrationType? Type572 { get; set; } /// /// /// - public global::Ideogram.IntegrationErrorResponseError? Type573 { get; set; } + public global::Ideogram.IntegrationErrorResponse? Type573 { get; set; } /// /// /// - public global::Ideogram.IntegrationAssetSearchResponse? Type574 { get; set; } + public global::Ideogram.IntegrationErrorResponseError? Type574 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type575 { get; set; } + public global::Ideogram.IntegrationAssetSearchResponse? Type575 { get; set; } /// /// /// - public global::Ideogram.IntegrationAsset? Type576 { get; set; } + public global::System.Collections.Generic.IList? Type576 { get; set; } /// /// /// - public global::Ideogram.IntegrationAssetDelivery? Type577 { get; set; } + public global::Ideogram.IntegrationAsset? Type577 { get; set; } /// /// /// - public global::Ideogram.IntegrationAssetSearchRequest? Type578 { get; set; } + public global::Ideogram.IntegrationAssetDelivery? Type578 { get; set; } /// /// /// - public global::Ideogram.V4StyleDescription? Type579 { get; set; } + public global::Ideogram.IntegrationAssetSearchRequest? Type579 { get; set; } /// /// /// - public global::Ideogram.V4CompositionalDeconstruction? Type580 { get; set; } + public global::Ideogram.V4StyleDescription? Type580 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type581 { get; set; } + public global::Ideogram.V4CompositionalDeconstruction? Type581 { get; set; } /// /// /// - public global::Ideogram.V4PromptElement? Type582 { get; set; } + public global::System.Collections.Generic.IList? Type582 { get; set; } /// /// /// - public global::Ideogram.V4ObjPromptElement? Type583 { get; set; } + public global::Ideogram.V4PromptElement? Type583 { get; set; } /// /// /// - public global::Ideogram.V4TextPromptElement? Type584 { get; set; } + public global::Ideogram.V4ObjPromptElement? Type584 { get; set; } /// /// /// - public global::Ideogram.V4PromptElementDiscriminator? Type585 { get; set; } + public global::Ideogram.V4TextPromptElement? Type585 { get; set; } /// /// /// - public global::Ideogram.V4PromptElementDiscriminatorType? Type586 { get; set; } + public global::Ideogram.V4PromptElementDiscriminator? Type586 { get; set; } /// /// /// - public global::Ideogram.V4ObjPromptElementType? Type587 { get; set; } + public global::Ideogram.V4PromptElementDiscriminatorType? Type587 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type588 { get; set; } + public global::Ideogram.V4ObjPromptElementType? Type588 { get; set; } /// /// /// - public global::Ideogram.V4TextPromptElementType? Type589 { get; set; } + public global::System.Collections.Generic.IList? Type589 { get; set; } /// /// /// - public global::Ideogram.ColorPaletteWithPresetName? Type590 { get; set; } + public global::Ideogram.V4TextPromptElementType? Type590 { get; set; } /// /// /// - public global::Ideogram.ColorPaletteWithMembers? Type591 { get; set; } + public global::Ideogram.ColorPaletteWithPresetName? Type591 { get; set; } /// /// /// - public global::Ideogram.ColorPalettePresetName? Type592 { get; set; } + public global::Ideogram.ColorPaletteWithMembers? Type592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type593 { get; set; } + public global::Ideogram.ColorPalettePresetName? Type593 { get; set; } /// /// /// - public global::Ideogram.ColorPaletteMember? Type594 { get; set; } + public global::System.Collections.Generic.IList? Type594 { get; set; } /// /// /// - public global::Ideogram.VideoObject? Type595 { get; set; } + public global::Ideogram.ColorPaletteMember? Type595 { get; set; } /// /// /// - public global::Ideogram.VideoObjectObjectType? Type596 { get; set; } + public global::Ideogram.VideoObject? Type596 { get; set; } /// /// /// - public global::Ideogram.DetectedTextBlockAlignment? Type597 { get; set; } + public global::Ideogram.VideoObjectObjectType? Type597 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type598 { get; set; } + public global::Ideogram.DetectedTextBlockAlignment? Type598 { get; set; } /// /// /// - public global::Ideogram.DetectedTextBlockFormattingItem? Type599 { get; set; } + public global::System.Collections.Generic.IList? Type599 { get; set; } /// /// /// - public global::Ideogram.DetectedTextBlockRole? Type600 { get; set; } + public global::Ideogram.DetectedTextBlockFormattingItem? Type600 { get; set; } /// /// /// - public global::Ideogram.AssetType? Type601 { get; set; } + public global::Ideogram.DetectedTextBlockRole? Type601 { get; set; } /// /// /// - public global::Ideogram.IdeogramColorPaletteWithPresetName? Type602 { get; set; } + public global::Ideogram.AssetType? Type602 { get; set; } /// /// /// - public global::Ideogram.IdeogramColorPalettePresetName? Type603 { get; set; } + public global::Ideogram.IdeogramColorPaletteWithPresetName? Type603 { get; set; } /// /// /// - public global::Ideogram.PostGenerateDesignV4200Response? Type604 { get; set; } + public global::Ideogram.IdeogramColorPalettePresetName? Type604 { get; set; } /// /// /// - public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminator? Type605 { get; set; } + public global::Ideogram.PostGenerateDesignV4200Response? Type605 { get; set; } /// /// /// - public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminatorResponseType? Type606 { get; set; } + public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminator? Type606 { get; set; } /// /// /// - public global::Ideogram.PostInternalTesting200Response? Type607 { get; set; } + public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminatorResponseType? Type607 { get; set; } /// /// /// - public global::Ideogram.GenerationResponseDataInnerDiscriminator? Type608 { get; set; } + public global::Ideogram.PostInternalTesting200Response? Type608 { get; set; } /// /// /// - public global::Ideogram.GenerationResponseDataInnerDiscriminatorObjectType? Type609 { get; set; } + public global::Ideogram.GenerationResponseDataInnerDiscriminator? Type609 { get; set; } /// /// /// - public global::Ideogram.MagicPromptRequestMessagesInnerRole? Type610 { get; set; } + public global::Ideogram.GenerationResponseDataInnerDiscriminatorObjectType? Type610 { get; set; } /// /// /// - public global::Ideogram.DatasetCoverAssetIdentifier? Type611 { get; set; } + public global::Ideogram.MagicPromptRequestMessagesInnerRole? Type611 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type612 { get; set; } + public global::Ideogram.DatasetCoverAssetIdentifier? Type612 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type613 { get; set; } + public global::System.Collections.Generic.IList? Type613 { get; set; } /// /// /// - public global::Ideogram.ListCustomModelsScope? Type614 { get; set; } + public global::System.Collections.Generic.IList? Type614 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type615 { get; set; } + public global::Ideogram.ListCustomModelsScope? Type615 { get; set; } /// /// /// - public global::Ideogram.GetAccountUsageBucketWidth? Type616 { get; set; } + public global::System.Collections.Generic.IList? Type616 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type617 { get; set; } + public global::Ideogram.GetAccountUsageBucketWidth? Type617 { get; set; } /// /// /// - public global::Ideogram.GetAccountUsageSource? Type618 { get; set; } + public global::System.Collections.Generic.IList? Type618 { get; set; } + /// + /// + /// + public global::Ideogram.GetAccountUsageSource? Type619 { get; set; } /// /// diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45Request.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45Request.g.cs index 8d6a4f1..f33e95a 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45Request.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45Request.g.cs @@ -86,7 +86,7 @@ public sealed partial class GenerateImageIdeogram45Request public string? Size { get; set; } /// - /// The rendering quality to use. Higher quality renders take longer.
+ /// The rendering quality to use. Higher quality renders take longer. `very_high` requires source images and an explicit `size` or `size: source`, supports at most 4 images per request, takes longer than `high`, and is priced higher.
/// Default Value: high ///
[global::System.Text.Json.Serialization.JsonPropertyName("quality")] @@ -209,7 +209,7 @@ public sealed partial class GenerateImageIdeogram45Request /// Example: 2048x2048 /// /// - /// The rendering quality to use. Higher quality renders take longer.
+ /// The rendering quality to use. Higher quality renders take longer. `very_high` requires source images and an explicit `size` or `size: source`, supports at most 4 images per request, takes longer than `high`, and is priced higher.
/// Default Value: high /// /// diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45RequestQuality.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45RequestQuality.g.cs index e8e700b..e06dc7d 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45RequestQuality.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45RequestQuality.g.cs @@ -4,13 +4,13 @@ namespace Ideogram { /// - /// The rendering quality to use. Higher quality renders take longer.
+ /// The rendering quality to use. Higher quality renders take longer. `very_high` requires source images and an explicit `size` or `size: source`, supports at most 4 images per request, takes longer than `high`, and is priced higher.
/// Default Value: high ///
public enum GenerateImageIdeogram45RequestQuality { /// - /// + /// source`, supports at most 4 images per request, takes longer than `high`, and is priced higher. /// High, /// @@ -21,6 +21,10 @@ public enum GenerateImageIdeogram45RequestQuality /// /// Medium, + /// + /// source`, supports at most 4 images per request, takes longer than `high`, and is priced higher. + /// + VeryHigh, } /// @@ -38,6 +42,7 @@ public static string ToValueString(this GenerateImageIdeogram45RequestQuality va GenerateImageIdeogram45RequestQuality.High => "high", GenerateImageIdeogram45RequestQuality.Low => "low", GenerateImageIdeogram45RequestQuality.Medium => "medium", + GenerateImageIdeogram45RequestQuality.VeryHigh => "very_high", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -51,6 +56,7 @@ public static string ToValueString(this GenerateImageIdeogram45RequestQuality va "high" => GenerateImageIdeogram45RequestQuality.High, "low" => GenerateImageIdeogram45RequestQuality.Low, "medium" => GenerateImageIdeogram45RequestQuality.Medium, + "very_high" => GenerateImageIdeogram45RequestQuality.VeryHigh, _ => null, }; } diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerationErrorResponse.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerationErrorResponse.g.cs index f9e70db..bf513dd 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerationErrorResponse.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerationErrorResponse.g.cs @@ -5,7 +5,7 @@ namespace Ideogram { /// /// A generation request rejected by an account or usage limit.
- /// Example: {"reject_reason":null,"error":"error"} + /// Example: {"max_inflight_requests":8,"task_completion_speed":"fast","reject_reason":null,"error":"error"} ///
public sealed partial class GenerationErrorResponse { @@ -24,6 +24,24 @@ public sealed partial class GenerationErrorResponse [global::System.Text.Json.Serialization.JsonRequired] public required global::Ideogram.GenerationRejectReason RejectReason { get; set; } + /// + /// How many generations the account may have in progress at once on
+ /// the queue this request resolved to. Present when `reject_reason`
+ /// is `inflight_limit`.
+ /// Example: 8 + ///
+ /// 8 + [global::System.Text.Json.Serialization.JsonPropertyName("max_inflight_requests")] + public int? MaxInflightRequests { get; set; } + + /// + /// The queue this request resolved to. Present when `reject_reason`
+ /// is `inflight_limit`. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("task_completion_speed")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter))] + public global::Ideogram.GenerationErrorResponseTaskCompletionSpeed? TaskCompletionSpeed { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// @@ -39,15 +57,29 @@ public sealed partial class GenerationErrorResponse /// /// The account or usage limit that rejected a generation request. /// + /// + /// How many generations the account may have in progress at once on
+ /// the queue this request resolved to. Present when `reject_reason`
+ /// is `inflight_limit`.
+ /// Example: 8 + /// + /// + /// The queue this request resolved to. Present when `reject_reason`
+ /// is `inflight_limit`. + /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public GenerationErrorResponse( string error, - global::Ideogram.GenerationRejectReason rejectReason) + global::Ideogram.GenerationRejectReason rejectReason, + int? maxInflightRequests, + global::Ideogram.GenerationErrorResponseTaskCompletionSpeed? taskCompletionSpeed) { this.Error = error ?? throw new global::System.ArgumentNullException(nameof(error)); this.RejectReason = rejectReason; + this.MaxInflightRequests = maxInflightRequests; + this.TaskCompletionSpeed = taskCompletionSpeed; } /// diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerationErrorResponseTaskCompletionSpeed.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerationErrorResponseTaskCompletionSpeed.g.cs new file mode 100644 index 0000000..f78050b --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerationErrorResponseTaskCompletionSpeed.g.cs @@ -0,0 +1,52 @@ + +#nullable enable + +namespace Ideogram +{ + /// + /// The queue this request resolved to. Present when `reject_reason`
+ /// is `inflight_limit`. + ///
+ public enum GenerationErrorResponseTaskCompletionSpeed + { + /// + /// + /// + Fast, + /// + /// + /// + Slow, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class GenerationErrorResponseTaskCompletionSpeedExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this GenerationErrorResponseTaskCompletionSpeed value) + { + return value switch + { + GenerationErrorResponseTaskCompletionSpeed.Fast => "fast", + GenerationErrorResponseTaskCompletionSpeed.Slow => "slow", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static GenerationErrorResponseTaskCompletionSpeed? ToEnum(string value) + { + return value switch + { + "fast" => GenerationErrorResponseTaskCompletionSpeed.Fast, + "slow" => GenerationErrorResponseTaskCompletionSpeed.Slow, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerationQuality.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerationQuality.g.cs index 38a1f2a..7087e40 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerationQuality.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerationQuality.g.cs @@ -5,9 +5,8 @@ namespace Ideogram { /// /// The generation quality level. Higher levels may use more inference steps
- /// or additional prompt processing. `very_high` generates multiple
- /// candidates internally and returns the strongest result, so it has
- /// noticeably higher latency and cost than the other levels. + /// or additional prompt processing. `very_high` has noticeably higher latency
+ /// and cost than the other levels. ///
public enum GenerationQuality { diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45Request.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45Request.g.cs index 98b8d3f..20674d8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45Request.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45Request.g.cs @@ -65,7 +65,7 @@ public sealed partial class PreciseEditImageIdeogram45Request public string? Maskname { get; set; } /// - /// The rendering quality to use. `very_high` renders multiple candidate edits internally and returns the one that best applies the instruction; it takes longer than `high`, is priced higher, and supports at most 4 images per request.
+ /// The rendering quality to use. `very_high` takes longer than `high`, is priced higher, and supports at most 4 images per request.
/// Default Value: high ///
[global::System.Text.Json.Serialization.JsonPropertyName("quality")] @@ -165,7 +165,7 @@ public sealed partial class PreciseEditImageIdeogram45Request /// An optional mask confining the edit to part of `image`, as raw bytes (multipart requests only; JPEG, PNG, or WEBP, max 25MB). Black marks the area to edit and white the area to preserve; values in between are rounded to whichever is nearer. The mask must have the same width and height as `image`, and must contain both black and white areas. Requires the image being edited to be uploaded as raw `image` bytes in the same request; masks cannot be combined with asset references. The mask is supplied to the model as an additional reference image, so a masked request may carry at most three `reference_images`. /// /// - /// The rendering quality to use. `very_high` renders multiple candidate edits internally and returns the one that best applies the instruction; it takes longer than `high`, is priced higher, and supports at most 4 images per request.
+ /// The rendering quality to use. `very_high` takes longer than `high`, is priced higher, and supports at most 4 images per request.
/// Default Value: high /// /// diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45RequestQuality.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45RequestQuality.g.cs index b608e92..4e75acb 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45RequestQuality.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45RequestQuality.g.cs @@ -4,7 +4,7 @@ namespace Ideogram { /// - /// The rendering quality to use. `very_high` renders multiple candidate edits internally and returns the one that best applies the instruction; it takes longer than `high`, is priced higher, and supports at most 4 images per request.
+ /// The rendering quality to use. `very_high` takes longer than `high`, is priced higher, and supports at most 4 images per request.
/// Default Value: high ///
public enum PreciseEditImageIdeogram45RequestQuality diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.Quality.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.Quality.g.cs index 1a253b3..aee786f 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.Quality.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.Quality.g.cs @@ -5,9 +5,8 @@ namespace Ideogram { /// /// The generation quality level. Higher levels may use more inference steps
- /// or additional prompt processing. `VERY_HIGH` generates multiple
- /// candidates internally and returns the strongest result, so it has
- /// noticeably higher latency and cost than the other levels. + /// or additional prompt processing. `VERY_HIGH` has noticeably higher latency
+ /// and cost than the other levels. ///
public enum Quality { diff --git a/src/libs/Ideogram/Generated/Ideogram.ObjectRemoval.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ObjectRemoval.JsonSerializerContext.g.cs index 817839c..6aadefc 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ObjectRemoval.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ObjectRemoval.JsonSerializerContext.g.cs @@ -24,6 +24,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.RemoveObjectFromV2AssetsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.RemoveObjectFromV2AssetsRequest))] @@ -31,6 +32,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetType?), TypeInfoPropertyName = "NullableAssetType2")] internal sealed partial class ObjectRemovalSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { @@ -98,7 +100,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -111,6 +117,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.Tool.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.Tool.JsonSerializerContext.g.cs index 80abf80..b18f0f8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Tool.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Tool.JsonSerializerContext.g.cs @@ -24,6 +24,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.RemoveBackgroundV2Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -34,6 +35,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetType?), TypeInfoPropertyName = "NullableAssetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] internal sealed partial class ToolSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext @@ -102,7 +104,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -115,6 +121,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.Tools.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.Tools.JsonSerializerContext.g.cs index 804abab..a5d1236 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Tools.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Tools.JsonSerializerContext.g.cs @@ -24,6 +24,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.UpscaleImageObject))] @@ -34,6 +35,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.UpscaleToolRequestUpscaleFactor?), TypeInfoPropertyName = "NullableUpscaleToolRequestUpscaleFactor2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetType?), TypeInfoPropertyName = "NullableAssetType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] @@ -103,7 +105,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -120,6 +126,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.VideoGenerate.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.VideoGenerate.JsonSerializerContext.g.cs index 8a31a45..e9ff3b8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.VideoGenerate.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.VideoGenerate.JsonSerializerContext.g.cs @@ -31,6 +31,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SeedDance2Resolution), TypeInfoPropertyName = "SeedDance2Resolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason), TypeInfoPropertyName = "GenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed), TypeInfoPropertyName = "GenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateVideoSeedDance2ImageToVideoRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetIdentifier))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateVideoSeedDance25Response))] @@ -60,6 +61,7 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SeedDance2AspectRatio?), TypeInfoPropertyName = "NullableSeedDance2AspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SeedDance2Resolution?), TypeInfoPropertyName = "NullableSeedDance2Resolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationRejectReason?), TypeInfoPropertyName = "NullableGenerationRejectReason2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?), TypeInfoPropertyName = "NullableGenerationErrorResponseTaskCompletionSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SeedDance25Resolution?), TypeInfoPropertyName = "NullableSeedDance25Resolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MinimaxH3AspectRatio?), TypeInfoPropertyName = "NullableMinimaxH3AspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.MinimaxH3Resolution?), TypeInfoPropertyName = "NullableMinimaxH3Resolution2")] @@ -135,7 +137,11 @@ private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Ser public override bool CanConvert(global::System.Type typeToConvert) { return - typeToConvert == typeof(global::Ideogram.GenerationRejectReason) + typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed) + + || typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?) + + || typeToConvert == typeof(global::Ideogram.GenerationRejectReason) || typeToConvert == typeof(global::Ideogram.GenerationRejectReason?) @@ -180,6 +186,16 @@ public override bool CanConvert(global::System.Type typeToConvert) global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) { + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.GenerationErrorResponseTaskCompletionSpeed?)) + { + return new global::Ideogram.JsonConverters.GenerationErrorResponseTaskCompletionSpeedNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.GenerationRejectReason)) { return new global::Ideogram.JsonConverters.GenerationRejectReasonJsonConverter(); diff --git a/src/libs/Ideogram/openapi.json b/src/libs/Ideogram/openapi.json index 9f2e3ac..479dd85 100644 --- a/src/libs/Ideogram/openapi.json +++ b/src/libs/Ideogram/openapi.json @@ -19620,6 +19620,8 @@ "GenerationErrorResponse": { "description": "A generation request rejected by an account or usage limit.", "example": { + "max_inflight_requests": 8, + "task_completion_speed": "fast", "reject_reason": null, "error": "error" }, @@ -19631,6 +19633,22 @@ }, "reject_reason": { "$ref": "#/components/schemas/GenerationRejectReason" + }, + "max_inflight_requests": { + "description": "How many generations the account may have in progress at once on\nthe queue this request resolved to. Present when `reject_reason`\nis `inflight_limit`.\n", + "example": 8, + "minimum": 1, + "title": "max_inflight_requests", + "type": "integer" + }, + "task_completion_speed": { + "description": "The queue this request resolved to. Present when `reject_reason`\nis `inflight_limit`.\n", + "enum": [ + "fast", + "slow" + ], + "title": "task_completion_speed", + "type": "string" } }, "required": [ @@ -27816,11 +27834,12 @@ }, "quality": { "default": "high", - "description": "The rendering quality to use. Higher quality renders take longer.", + "description": "The rendering quality to use. Higher quality renders take longer. `very_high` requires source images and an explicit `size` or `size: source`, supports at most 4 images per request, takes longer than `high`, and is priced higher.", "enum": [ "low", "medium", - "high" + "high", + "very_high" ], "type": "string" }, @@ -27964,7 +27983,7 @@ }, "quality": { "default": "high", - "description": "The rendering quality to use. `very_high` renders multiple candidate edits internally and returns the one that best applies the instruction; it takes longer than `high`, is priced higher, and supports at most 4 images per request.", + "description": "The rendering quality to use. `very_high` takes longer than `high`, is priced higher, and supports at most 4 images per request.", "enum": [ "low", "medium", @@ -35106,7 +35125,7 @@ "type": "string" }, "Quality": { - "description": "The generation quality level. Higher levels may use more inference steps\nor additional prompt processing. `VERY_HIGH` generates multiple\ncandidates internally and returns the strongest result, so it has\nnoticeably higher latency and cost than the other levels.\n", + "description": "The generation quality level. Higher levels may use more inference steps\nor additional prompt processing. `VERY_HIGH` has noticeably higher latency\nand cost than the other levels.\n", "enum": [ "VERY_LOW", "LOW", @@ -36371,7 +36390,7 @@ "type": "string" }, "GenerationQuality": { - "description": "The generation quality level. Higher levels may use more inference steps\nor additional prompt processing. `very_high` generates multiple\ncandidates internally and returns the strongest result, so it has\nnoticeably higher latency and cost than the other levels.\n", + "description": "The generation quality level. Higher levels may use more inference steps\nor additional prompt processing. `very_high` has noticeably higher latency\nand cost than the other levels.\n", "enum": [ "very_low", "low",