diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs index 5614f99..c1febb5 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs @@ -67,7 +67,8 @@ public partial interface IImagesGenerateClient /// Optional source images to edit (max 10, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only. /// /// - /// The requested output aspect ratio, for example "1:1", "16:9", or "9:16". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to "1:1". + /// Output aspect ratios Nano Banana 2 serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto /// /// /// The output resolution tier.
@@ -110,7 +111,7 @@ public partial interface IImagesGenerateClient bool? dryRun = default, global::System.Collections.Generic.IList? imageAssetIdentifiers = default, global::System.Collections.Generic.IList? images = default, - string? aspectRatio = default, + global::Ideogram.NanoBanana2AspectRatio? aspectRatio = default, global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier? resolutionTier = default, int? numImages = default, int? seed = default, diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs index 9c8be01..4b734de 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs @@ -67,7 +67,8 @@ public partial interface IImagesGenerateClient /// Optional source images to edit (max 10, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only. /// /// - /// The requested output aspect ratio, for example "1:1", "16:9", or "9:16". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to "1:1". + /// Output aspect ratios Nano Banana Pro serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto /// /// /// The output resolution tier.
@@ -110,7 +111,7 @@ public partial interface IImagesGenerateClient bool? dryRun = default, global::System.Collections.Generic.IList? imageAssetIdentifiers = default, global::System.Collections.Generic.IList? images = default, - string? aspectRatio = default, + global::Ideogram.NanoBananaProAspectRatio? aspectRatio = default, global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier? resolutionTier = default, int? numImages = default, int? seed = default, diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.Auto.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.Auto.g.cs index 9085b4d..4ad84f8 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.Auto.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.Auto.g.cs @@ -78,7 +78,7 @@ public partial interface IImagesReframeClient /// /// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 /// /// /// API-key requests are always private. For bearer-authenticated
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.BriaExpand.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.BriaExpand.g.cs index 5f6a769..e8029c2 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.BriaExpand.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.BriaExpand.g.cs @@ -78,7 +78,7 @@ public partial interface IImagesReframeClient /// /// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 /// /// /// API-key requests are always private. For bearer-authenticated
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.GptImage25Flare.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.GptImage25Flare.g.cs index fee6987..e197325 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.GptImage25Flare.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.GptImage25Flare.g.cs @@ -75,7 +75,7 @@ public partial interface IImagesReframeClient /// /// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 /// /// /// How much rendering effort the model spends. Lower tiers return sooner and cost less; `auto` lets the model choose.
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.NanoBanana2.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.NanoBanana2.g.cs index dc1beae..b4c12d7 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.NanoBanana2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.NanoBanana2.g.cs @@ -65,8 +65,7 @@ public partial interface IImagesReframeClient /// The JPEG, PNG, or WEBP image to reframe (max 50MB). /// /// - /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Aspect ratios Nano Banana 2 can reframe an image to. /// /// /// API-key requests are always private. For bearer-authenticated
@@ -86,7 +85,7 @@ public partial interface IImagesReframeClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task NanoBanana2Async( - string aspectRatio, + global::Ideogram.NanoBanana2ReframeAspectRatio aspectRatio, bool? dryRun = default, global::Ideogram.AssetIdentifier? imageAssetIdentifier = default, byte[]? image = default, diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.NanoBananaPro.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.NanoBananaPro.g.cs index eb5f8d3..b5e92ce 100644 --- a/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.NanoBananaPro.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.IImagesReframeClient.NanoBananaPro.g.cs @@ -74,8 +74,7 @@ public partial interface IImagesReframeClient /// The JPEG, PNG, or WEBP image to reframe (max 50MB). /// /// - /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Aspect ratios Nano Banana Pro can reframe an image to. /// /// /// The output resolution tier. The model sizes its output by tier at the requested aspect ratio; exact pixel dimensions cannot be requested.
@@ -99,7 +98,7 @@ public partial interface IImagesReframeClient /// The token to cancel the operation with /// global::System.Threading.Tasks.Task NanoBananaProAsync( - string aspectRatio, + global::Ideogram.NanoBananaProReframeAspectRatio aspectRatio, bool? dryRun = default, global::Ideogram.AssetIdentifier? imageAssetIdentifier = default, byte[]? image = default, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerate.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerate.JsonSerializerContext.g.cs index e09e1ee..7138a13 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerate.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerate.JsonSerializerContext.g.cs @@ -69,9 +69,11 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageIdeogram45RequestQuality), TypeInfoPropertyName = "GenerateImageIdeogram45RequestQuality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBanana2Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBanana2Request))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBanana2AspectRatio), TypeInfoPropertyName = "NanoBanana2AspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier), TypeInfoPropertyName = "GenerateImageNanoBanana2RequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBananaProResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBananaProRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBananaProAspectRatio), TypeInfoPropertyName = "NanoBananaProAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier), TypeInfoPropertyName = "GenerateImageNanoBananaProRequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageGptImage2Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageGptImage2Request))] @@ -125,7 +127,9 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerationQuality?), TypeInfoPropertyName = "NullableGenerationQuality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImagePImageIdeogramRequestResolution?), TypeInfoPropertyName = "NullableGenerateImagePImageIdeogramRequestResolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageIdeogram45RequestQuality?), TypeInfoPropertyName = "NullableGenerateImageIdeogram45RequestQuality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBanana2AspectRatio?), TypeInfoPropertyName = "NullableNanoBanana2AspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier?), TypeInfoPropertyName = "NullableGenerateImageNanoBanana2RequestResolutionTier2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBananaProAspectRatio?), TypeInfoPropertyName = "NullableNanoBananaProAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier?), TypeInfoPropertyName = "NullableGenerateImageNanoBananaProRequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageGptImage25FlareRequestBackground?), TypeInfoPropertyName = "NullableGenerateImageGptImage25FlareRequestBackground2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageGptImage25FlareRequestQuality?), TypeInfoPropertyName = "NullableGenerateImageGptImage25FlareRequestQuality2")] @@ -346,6 +350,14 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Ideogram.GenerationQuality?) + || typeToConvert == typeof(global::Ideogram.NanoBanana2AspectRatio) + + || typeToConvert == typeof(global::Ideogram.NanoBanana2AspectRatio?) + + || typeToConvert == typeof(global::Ideogram.NanoBananaProAspectRatio) + + || typeToConvert == typeof(global::Ideogram.NanoBananaProAspectRatio?) + || typeToConvert == typeof(global::Ideogram.IdeogramV2StyleType) || typeToConvert == typeof(global::Ideogram.IdeogramV2StyleType?); @@ -685,6 +697,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Ideogram.JsonConverters.GenerationQualityNullableJsonConverter(); } + if (typeToConvert == typeof(global::Ideogram.NanoBanana2AspectRatio)) + { + return new global::Ideogram.JsonConverters.NanoBanana2AspectRatioJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBanana2AspectRatio?)) + { + return new global::Ideogram.JsonConverters.NanoBanana2AspectRatioNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBananaProAspectRatio)) + { + return new global::Ideogram.JsonConverters.NanoBananaProAspectRatioJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBananaProAspectRatio?)) + { + return new global::Ideogram.JsonConverters.NanoBananaProAspectRatioNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.IdeogramV2StyleType)) { return new global::Ideogram.JsonConverters.IdeogramV2StyleTypeJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs index b88d77c..d338166 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBanana2.g.cs @@ -200,7 +200,7 @@ partial void ProcessPostGenerateImageV2NanoBanana2ResponseContent( { __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.AspectRatio ?? string.Empty), + content: new global::System.Net.Http.StringContent((request.AspectRatio).HasValue ? (request.AspectRatio).GetValueOrDefault().ToValueString() : string.Empty), name: "\"aspect_ratio\""); } @@ -805,7 +805,8 @@ partial void ProcessPostGenerateImageV2NanoBanana2ResponseContent( /// Optional source images to edit (max 10, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only. /// /// - /// The requested output aspect ratio, for example "1:1", "16:9", or "9:16". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to "1:1". + /// Output aspect ratios Nano Banana 2 serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto /// /// /// The output resolution tier.
@@ -848,7 +849,7 @@ partial void ProcessPostGenerateImageV2NanoBanana2ResponseContent( bool? dryRun = default, global::System.Collections.Generic.IList? imageAssetIdentifiers = default, global::System.Collections.Generic.IList? images = default, - string? aspectRatio = default, + global::Ideogram.NanoBanana2AspectRatio? aspectRatio = default, global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier? resolutionTier = default, int? numImages = default, int? seed = default, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs index 7de6837..2580f93 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2NanoBananaPro.g.cs @@ -200,7 +200,7 @@ partial void ProcessPostGenerateImageV2NanoBananaProResponseContent( { __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.AspectRatio ?? string.Empty), + content: new global::System.Net.Http.StringContent((request.AspectRatio).HasValue ? (request.AspectRatio).GetValueOrDefault().ToValueString() : string.Empty), name: "\"aspect_ratio\""); } @@ -805,7 +805,8 @@ partial void ProcessPostGenerateImageV2NanoBananaProResponseContent( /// Optional source images to edit (max 10, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only. /// /// - /// The requested output aspect ratio, for example "1:1", "16:9", or "9:16". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to "1:1". + /// Output aspect ratios Nano Banana Pro serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto /// /// /// The output resolution tier.
@@ -848,7 +849,7 @@ partial void ProcessPostGenerateImageV2NanoBananaProResponseContent( bool? dryRun = default, global::System.Collections.Generic.IList? imageAssetIdentifiers = default, global::System.Collections.Generic.IList? images = default, - string? aspectRatio = default, + global::Ideogram.NanoBananaProAspectRatio? aspectRatio = default, global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier? resolutionTier = default, int? numImages = default, int? seed = default, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesReframe.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesReframe.JsonSerializerContext.g.cs index 3f8dfb0..f4f8c82 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesReframe.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesReframe.JsonSerializerContext.g.cs @@ -35,8 +35,10 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed), TypeInfoPropertyName = "ReframeImageIdeogramV3RequestRenderingSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBanana2Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBanana2Request))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBanana2ReframeAspectRatio), TypeInfoPropertyName = "NanoBanana2ReframeAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBananaProResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBananaProRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBananaProReframeAspectRatio), TypeInfoPropertyName = "NanoBananaProReframeAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBananaProRequestResolutionTier), TypeInfoPropertyName = "ReframeImageNanoBananaProRequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageGptImage25FlareResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageGptImage25FlareRequest))] @@ -60,6 +62,8 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.IdeogramV3StylePreset?), TypeInfoPropertyName = "NullableIdeogramV3StylePreset2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed?), TypeInfoPropertyName = "NullableReframeImageIdeogramV3RequestRenderingSpeed2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBanana2ReframeAspectRatio?), TypeInfoPropertyName = "NullableNanoBanana2ReframeAspectRatio2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBananaProReframeAspectRatio?), TypeInfoPropertyName = "NullableNanoBananaProReframeAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBananaProRequestResolutionTier?), TypeInfoPropertyName = "NullableReframeImageNanoBananaProRequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageGptImage25FlareRequestQuality?), TypeInfoPropertyName = "NullableReframeImageGptImage25FlareRequestQuality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AssetType?), TypeInfoPropertyName = "NullableAssetType2")] @@ -173,7 +177,15 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Ideogram.IdeogramV3StylePreset) - || typeToConvert == typeof(global::Ideogram.IdeogramV3StylePreset?); + || typeToConvert == typeof(global::Ideogram.IdeogramV3StylePreset?) + + || typeToConvert == typeof(global::Ideogram.NanoBanana2ReframeAspectRatio) + + || typeToConvert == typeof(global::Ideogram.NanoBanana2ReframeAspectRatio?) + + || typeToConvert == typeof(global::Ideogram.NanoBananaProReframeAspectRatio) + + || typeToConvert == typeof(global::Ideogram.NanoBananaProReframeAspectRatio?); } public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( @@ -269,6 +281,26 @@ public override bool CanConvert(global::System.Type typeToConvert) { return new global::Ideogram.JsonConverters.IdeogramV3StylePresetNullableJsonConverter(); } + + if (typeToConvert == typeof(global::Ideogram.NanoBanana2ReframeAspectRatio)) + { + return new global::Ideogram.JsonConverters.NanoBanana2ReframeAspectRatioJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBanana2ReframeAspectRatio?)) + { + return new global::Ideogram.JsonConverters.NanoBanana2ReframeAspectRatioNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBananaProReframeAspectRatio)) + { + return new global::Ideogram.JsonConverters.NanoBananaProReframeAspectRatioJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBananaProReframeAspectRatio?)) + { + return new global::Ideogram.JsonConverters.NanoBananaProReframeAspectRatioNullableJsonConverter(); + } throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); } } diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.Auto.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.Auto.g.cs index 098ef53..3c19e6c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.Auto.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.Auto.g.cs @@ -800,7 +800,7 @@ request.Imagename is null /// /// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 /// /// /// API-key requests are always private. For bearer-authenticated
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.BriaExpand.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.BriaExpand.g.cs index 65b5d7c..fb8212e 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.BriaExpand.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.BriaExpand.g.cs @@ -792,7 +792,7 @@ request.Imagename is null /// /// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 /// /// /// API-key requests are always private. For bearer-authenticated
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.GptImage25Flare.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.GptImage25Flare.g.cs index 6c04d27..2d46b31 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.GptImage25Flare.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.GptImage25Flare.g.cs @@ -805,7 +805,7 @@ request.Imagename is null /// /// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 /// /// /// How much rendering effort the model spends. Lower tiers return sooner and cost less; `auto` lets the model choose.
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBanana2.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBanana2.g.cs index 6dafe23..3da7897 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBanana2.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBanana2.g.cs @@ -215,7 +215,7 @@ request.Imagename is null } __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.AspectRatio ?? string.Empty), + content: new global::System.Net.Http.StringContent(request.AspectRatio.ToValueString()), name: "\"aspect_ratio\""); if (request.Private != default) @@ -787,8 +787,7 @@ request.Imagename is null /// The JPEG, PNG, or WEBP image to reframe (max 50MB). /// /// - /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Aspect ratios Nano Banana 2 can reframe an image to. /// /// /// API-key requests are always private. For bearer-authenticated
@@ -808,7 +807,7 @@ request.Imagename is null /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task NanoBanana2Async( - string aspectRatio, + global::Ideogram.NanoBanana2ReframeAspectRatio aspectRatio, bool? dryRun = default, global::Ideogram.AssetIdentifier? imageAssetIdentifier = default, byte[]? image = default, diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBananaPro.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBananaPro.g.cs index b55519b..c28eacd 100644 --- a/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBananaPro.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.ImagesReframeClient.NanoBananaPro.g.cs @@ -221,7 +221,7 @@ request.Imagename is null } __httpRequestContent.Add( - content: new global::System.Net.Http.StringContent(request.AspectRatio ?? string.Empty), + content: new global::System.Net.Http.StringContent(request.AspectRatio.ToValueString()), name: "\"aspect_ratio\""); if (request.ResolutionTier != default) @@ -804,8 +804,7 @@ request.Imagename is null /// The JPEG, PNG, or WEBP image to reframe (max 50MB). /// /// - /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Aspect ratios Nano Banana Pro can reframe an image to. /// /// /// The output resolution tier. The model sizes its output by tier at the requested aspect ratio; exact pixel dimensions cannot be requested.
@@ -829,7 +828,7 @@ request.Imagename is null /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task NanoBananaProAsync( - string aspectRatio, + global::Ideogram.NanoBananaProReframeAspectRatio aspectRatio, bool? dryRun = default, global::Ideogram.AssetIdentifier? imageAssetIdentifier = default, byte[]? image = default, diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2AspectRatio.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2AspectRatio.g.cs new file mode 100644 index 0000000..f018fa7 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2AspectRatio.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class NanoBanana2AspectRatioJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.NanoBanana2AspectRatio 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.NanoBanana2AspectRatioExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.NanoBanana2AspectRatio)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.NanoBanana2AspectRatio); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.NanoBanana2AspectRatio value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Ideogram.NanoBanana2AspectRatioExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2AspectRatioNullable.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2AspectRatioNullable.g.cs new file mode 100644 index 0000000..85f52d6 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2AspectRatioNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class NanoBanana2AspectRatioNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.NanoBanana2AspectRatio? 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.NanoBanana2AspectRatioExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.NanoBanana2AspectRatio)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.NanoBanana2AspectRatio?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.NanoBanana2AspectRatio? 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.NanoBanana2AspectRatioExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2ReframeAspectRatio.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2ReframeAspectRatio.g.cs new file mode 100644 index 0000000..fded38a --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2ReframeAspectRatio.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class NanoBanana2ReframeAspectRatioJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.NanoBanana2ReframeAspectRatio 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.NanoBanana2ReframeAspectRatioExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.NanoBanana2ReframeAspectRatio)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.NanoBanana2ReframeAspectRatio); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.NanoBanana2ReframeAspectRatio value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Ideogram.NanoBanana2ReframeAspectRatioExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2ReframeAspectRatioNullable.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2ReframeAspectRatioNullable.g.cs new file mode 100644 index 0000000..0fcd385 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBanana2ReframeAspectRatioNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class NanoBanana2ReframeAspectRatioNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.NanoBanana2ReframeAspectRatio? 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.NanoBanana2ReframeAspectRatioExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.NanoBanana2ReframeAspectRatio)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.NanoBanana2ReframeAspectRatio?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.NanoBanana2ReframeAspectRatio? 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.NanoBanana2ReframeAspectRatioExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProAspectRatio.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProAspectRatio.g.cs new file mode 100644 index 0000000..bf8e1f5 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProAspectRatio.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class NanoBananaProAspectRatioJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.NanoBananaProAspectRatio 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.NanoBananaProAspectRatioExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.NanoBananaProAspectRatio)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.NanoBananaProAspectRatio); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.NanoBananaProAspectRatio value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Ideogram.NanoBananaProAspectRatioExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProAspectRatioNullable.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProAspectRatioNullable.g.cs new file mode 100644 index 0000000..20e4e6c --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProAspectRatioNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class NanoBananaProAspectRatioNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.NanoBananaProAspectRatio? 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.NanoBananaProAspectRatioExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.NanoBananaProAspectRatio)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.NanoBananaProAspectRatio?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.NanoBananaProAspectRatio? 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.NanoBananaProAspectRatioExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProReframeAspectRatio.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProReframeAspectRatio.g.cs new file mode 100644 index 0000000..31b9646 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProReframeAspectRatio.g.cs @@ -0,0 +1,53 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class NanoBananaProReframeAspectRatioJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.NanoBananaProReframeAspectRatio 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.NanoBananaProReframeAspectRatioExtensions.ToEnum(stringValue) ?? default; + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.NanoBananaProReframeAspectRatio)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.NanoBananaProReframeAspectRatio); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.NanoBananaProReframeAspectRatio value, + global::System.Text.Json.JsonSerializerOptions options) + { + writer = writer ?? throw new global::System.ArgumentNullException(nameof(writer)); + + writer.WriteStringValue(global::Ideogram.NanoBananaProReframeAspectRatioExtensions.ToValueString(value)); + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProReframeAspectRatioNullable.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProReframeAspectRatioNullable.g.cs new file mode 100644 index 0000000..75ff7b8 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.JsonConverters.NanoBananaProReframeAspectRatioNullable.g.cs @@ -0,0 +1,60 @@ +#nullable enable + +namespace Ideogram.JsonConverters +{ + /// + public sealed class NanoBananaProReframeAspectRatioNullableJsonConverter : global::System.Text.Json.Serialization.JsonConverter + { + /// + public override global::Ideogram.NanoBananaProReframeAspectRatio? 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.NanoBananaProReframeAspectRatioExtensions.ToEnum(stringValue); + } + + break; + } + case global::System.Text.Json.JsonTokenType.Number: + { + var numValue = reader.GetInt32(); + return (global::Ideogram.NanoBananaProReframeAspectRatio)numValue; + } + case global::System.Text.Json.JsonTokenType.Null: + { + return default(global::Ideogram.NanoBananaProReframeAspectRatio?); + } + default: + throw new global::System.ArgumentOutOfRangeException(nameof(reader)); + } + + return default; + } + + /// + public override void Write( + global::System.Text.Json.Utf8JsonWriter writer, + global::Ideogram.NanoBananaProReframeAspectRatio? 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.NanoBananaProReframeAspectRatioExtensions.ToValueString(value.Value)); + } + } + } +} diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs index d74ff81..3ee06d0 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs @@ -417,9 +417,11 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PreciseEditImageIdeogram45RequestQuality), TypeInfoPropertyName = "PreciseEditImageIdeogram45RequestQuality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBanana2Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBanana2Request))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBanana2AspectRatio), TypeInfoPropertyName = "NanoBanana2AspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier), TypeInfoPropertyName = "GenerateImageNanoBanana2RequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBananaProResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBananaProRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBananaProAspectRatio), TypeInfoPropertyName = "NanoBananaProAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier), TypeInfoPropertyName = "GenerateImageNanoBananaProRequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageGptImage2Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageGptImage2Request))] @@ -451,8 +453,10 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed), TypeInfoPropertyName = "ReframeImageIdeogramV3RequestRenderingSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBanana2Response))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBanana2Request))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBanana2ReframeAspectRatio), TypeInfoPropertyName = "NanoBanana2ReframeAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBananaProResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBananaProRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBananaProReframeAspectRatio), TypeInfoPropertyName = "NanoBananaProReframeAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBananaProRequestResolutionTier), TypeInfoPropertyName = "ReframeImageNanoBananaProRequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageGptImage25FlareResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageGptImage25FlareRequest))] @@ -505,10 +509,6 @@ namespace Ideogram [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PatchApiKeyRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ManageApiStripeSubscriptionResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ManageApiPaymentResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GetApiTermsResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ApiTerms))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PostApiTermsRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PostAddCreditsResponse))] internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext { } @@ -519,6 +519,10 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull )] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GetApiTermsResponse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ApiTerms))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PostApiTermsRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PostAddCreditsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PostAddCreditsError))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PostAddCreditsRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GetUserCreditsResponse))] @@ -798,7 +802,9 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImagePImageIdeogramRequestResolution?), TypeInfoPropertyName = "NullableGenerateImagePImageIdeogramRequestResolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageIdeogram45RequestQuality?), TypeInfoPropertyName = "NullableGenerateImageIdeogram45RequestQuality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PreciseEditImageIdeogram45RequestQuality?), TypeInfoPropertyName = "NullablePreciseEditImageIdeogram45RequestQuality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBanana2AspectRatio?), TypeInfoPropertyName = "NullableNanoBanana2AspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier?), TypeInfoPropertyName = "NullableGenerateImageNanoBanana2RequestResolutionTier2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBananaProAspectRatio?), TypeInfoPropertyName = "NullableNanoBananaProAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier?), TypeInfoPropertyName = "NullableGenerateImageNanoBananaProRequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageGptImage25FlareRequestBackground?), TypeInfoPropertyName = "NullableGenerateImageGptImage25FlareRequestBackground2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageGptImage25FlareRequestQuality?), TypeInfoPropertyName = "NullableGenerateImageGptImage25FlareRequestQuality2")] @@ -810,6 +816,8 @@ internal sealed partial class SourceGenerationContextChunk0 : global::System.Tex [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.InpaintImageIdeogramV3RequestRenderingSpeed?), TypeInfoPropertyName = "NullableInpaintImageIdeogramV3RequestRenderingSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.InpaintImageIdeogramV3CustomModelRequestRenderingSpeed?), TypeInfoPropertyName = "NullableInpaintImageIdeogramV3CustomModelRequestRenderingSpeed2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed?), TypeInfoPropertyName = "NullableReframeImageIdeogramV3RequestRenderingSpeed2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBanana2ReframeAspectRatio?), TypeInfoPropertyName = "NullableNanoBanana2ReframeAspectRatio2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.NanoBananaProReframeAspectRatio?), TypeInfoPropertyName = "NullableNanoBananaProReframeAspectRatio2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageNanoBananaProRequestResolutionTier?), TypeInfoPropertyName = "NullableReframeImageNanoBananaProRequestResolutionTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReframeImageGptImage25FlareRequestQuality?), TypeInfoPropertyName = "NullableReframeImageGptImage25FlareRequestQuality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.GenerateImageIdeogramV3CharacterRequestRenderingSpeed?), TypeInfoPropertyName = "NullableGenerateImageIdeogramV3CharacterRequestRenderingSpeed2")] @@ -1701,10 +1709,26 @@ public override bool CanConvert(global::System.Type typeToConvert) || typeToConvert == typeof(global::Ideogram.GenerationQuality?) + || typeToConvert == typeof(global::Ideogram.NanoBanana2AspectRatio) + + || typeToConvert == typeof(global::Ideogram.NanoBanana2AspectRatio?) + + || typeToConvert == typeof(global::Ideogram.NanoBananaProAspectRatio) + + || typeToConvert == typeof(global::Ideogram.NanoBananaProAspectRatio?) + || typeToConvert == typeof(global::Ideogram.IdeogramV2StyleType) || typeToConvert == typeof(global::Ideogram.IdeogramV2StyleType?) + || typeToConvert == typeof(global::Ideogram.NanoBanana2ReframeAspectRatio) + + || typeToConvert == typeof(global::Ideogram.NanoBanana2ReframeAspectRatio?) + + || typeToConvert == typeof(global::Ideogram.NanoBananaProReframeAspectRatio) + + || typeToConvert == typeof(global::Ideogram.NanoBananaProReframeAspectRatio?) + || typeToConvert == typeof(global::Ideogram.PostGenerateDesignV4200ResponseDiscriminatorResponseType) || typeToConvert == typeof(global::Ideogram.PostGenerateDesignV4200ResponseDiscriminatorResponseType?) @@ -3504,6 +3528,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Ideogram.JsonConverters.GenerationQualityNullableJsonConverter(); } + if (typeToConvert == typeof(global::Ideogram.NanoBanana2AspectRatio)) + { + return new global::Ideogram.JsonConverters.NanoBanana2AspectRatioJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBanana2AspectRatio?)) + { + return new global::Ideogram.JsonConverters.NanoBanana2AspectRatioNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBananaProAspectRatio)) + { + return new global::Ideogram.JsonConverters.NanoBananaProAspectRatioJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBananaProAspectRatio?)) + { + return new global::Ideogram.JsonConverters.NanoBananaProAspectRatioNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.IdeogramV2StyleType)) { return new global::Ideogram.JsonConverters.IdeogramV2StyleTypeJsonConverter(); @@ -3514,6 +3558,26 @@ public override bool CanConvert(global::System.Type typeToConvert) return new global::Ideogram.JsonConverters.IdeogramV2StyleTypeNullableJsonConverter(); } + if (typeToConvert == typeof(global::Ideogram.NanoBanana2ReframeAspectRatio)) + { + return new global::Ideogram.JsonConverters.NanoBanana2ReframeAspectRatioJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBanana2ReframeAspectRatio?)) + { + return new global::Ideogram.JsonConverters.NanoBanana2ReframeAspectRatioNullableJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBananaProReframeAspectRatio)) + { + return new global::Ideogram.JsonConverters.NanoBananaProReframeAspectRatioJsonConverter(); + } + + if (typeToConvert == typeof(global::Ideogram.NanoBananaProReframeAspectRatio?)) + { + return new global::Ideogram.JsonConverters.NanoBananaProReframeAspectRatioNullableJsonConverter(); + } + if (typeToConvert == typeof(global::Ideogram.PostGenerateDesignV4200ResponseDiscriminatorResponseType)) { return new global::Ideogram.JsonConverters.PostGenerateDesignV4200ResponseDiscriminatorResponseTypeJsonConverter(); diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs index fcace05..36940b4 100644 --- a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs @@ -1653,943 +1653,959 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier? Type405 { get; set; } + public global::Ideogram.NanoBanana2AspectRatio? Type405 { get; set; } /// /// /// - public global::Ideogram.GenerateImageNanoBananaProResponse? Type406 { get; set; } + public global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier? Type406 { get; set; } /// /// /// - public global::Ideogram.GenerateImageNanoBananaProRequest? Type407 { get; set; } + public global::Ideogram.GenerateImageNanoBananaProResponse? Type407 { get; set; } /// /// /// - public global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier? Type408 { get; set; } + public global::Ideogram.GenerateImageNanoBananaProRequest? Type408 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage2Response? Type409 { get; set; } + public global::Ideogram.NanoBananaProAspectRatio? Type409 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage2Request? Type410 { get; set; } + public global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier? Type410 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25FlareResponse? Type411 { get; set; } + public global::Ideogram.GenerateImageGptImage2Response? Type411 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25FlareRequest? Type412 { get; set; } + public global::Ideogram.GenerateImageGptImage2Request? Type412 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25FlareRequestBackground? Type413 { get; set; } + public global::Ideogram.GenerateImageGptImage25FlareResponse? Type413 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25FlareRequestQuality? Type414 { get; set; } + public global::Ideogram.GenerateImageGptImage25FlareRequest? Type414 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25SunburstResponse? Type415 { get; set; } + public global::Ideogram.GenerateImageGptImage25FlareRequestBackground? Type415 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25SunburstRequest? Type416 { get; set; } + public global::Ideogram.GenerateImageGptImage25FlareRequestQuality? Type416 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25SunburstRequestBackground? Type417 { get; set; } + public global::Ideogram.GenerateImageGptImage25SunburstResponse? Type417 { get; set; } /// /// /// - public global::Ideogram.GenerateImageGptImage25SunburstRequestQuality? Type418 { get; set; } + public global::Ideogram.GenerateImageGptImage25SunburstRequest? Type418 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2Response? Type419 { get; set; } + public global::Ideogram.GenerateImageGptImage25SunburstRequestBackground? Type419 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2Request? Type420 { get; set; } + public global::Ideogram.GenerateImageGptImage25SunburstRequestQuality? Type420 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2RequestRenderingSpeed? Type421 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2Response? Type421 { get; set; } /// /// /// - public global::Ideogram.IdeogramV2StyleType? Type422 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2Request? Type422 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2AResponse? Type423 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2RequestRenderingSpeed? Type423 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2ARequest? Type424 { get; set; } + public global::Ideogram.IdeogramV2StyleType? Type424 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV2ARequestRenderingSpeed? Type425 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2AResponse? Type425 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3Response? Type426 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2ARequest? Type426 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type427 { get; set; } + public global::Ideogram.GenerateImageIdeogramV2ARequestRenderingSpeed? Type427 { get; set; } /// /// /// - public global::Ideogram.InpaintedImageObject? Type428 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3Response? Type428 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3Request? Type429 { get; set; } + public global::System.Collections.Generic.IList? Type429 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3RequestRenderingSpeed? Type430 { get; set; } + public global::Ideogram.InpaintedImageObject? Type430 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CustomModelResponse? Type431 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3Request? Type431 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CustomModelRequest? Type432 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3RequestRenderingSpeed? Type432 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CustomModelRequestRenderingSpeed? Type433 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CustomModelResponse? Type433 { get; set; } /// /// /// - public global::Ideogram.ReframeImageIdeogramV3Response? Type434 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CustomModelRequest? Type434 { get; set; } /// /// /// - public global::Ideogram.ReframeImageIdeogramV3Request? Type435 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CustomModelRequestRenderingSpeed? Type435 { get; set; } /// /// /// - public global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed? Type436 { get; set; } + public global::Ideogram.ReframeImageIdeogramV3Response? Type436 { get; set; } /// /// /// - public global::Ideogram.ReframeImageNanoBanana2Response? Type437 { get; set; } + public global::Ideogram.ReframeImageIdeogramV3Request? Type437 { get; set; } /// /// /// - public global::Ideogram.ReframeImageNanoBanana2Request? Type438 { get; set; } + public global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed? Type438 { get; set; } /// /// /// - public global::Ideogram.ReframeImageNanoBananaProResponse? Type439 { get; set; } + public global::Ideogram.ReframeImageNanoBanana2Response? Type439 { get; set; } /// /// /// - public global::Ideogram.ReframeImageNanoBananaProRequest? Type440 { get; set; } + public global::Ideogram.ReframeImageNanoBanana2Request? Type440 { get; set; } /// /// /// - public global::Ideogram.ReframeImageNanoBananaProRequestResolutionTier? Type441 { get; set; } + public global::Ideogram.NanoBanana2ReframeAspectRatio? Type441 { get; set; } /// /// /// - public global::Ideogram.ReframeImageGptImage25FlareResponse? Type442 { get; set; } + public global::Ideogram.ReframeImageNanoBananaProResponse? Type442 { get; set; } /// /// /// - public global::Ideogram.ReframeImageGptImage25FlareRequest? Type443 { get; set; } + public global::Ideogram.ReframeImageNanoBananaProRequest? Type443 { get; set; } /// /// /// - public global::Ideogram.ReframeImageGptImage25FlareRequestQuality? Type444 { get; set; } + public global::Ideogram.NanoBananaProReframeAspectRatio? Type444 { get; set; } /// /// /// - public global::Ideogram.ReframeImageBriaExpandResponse? Type445 { get; set; } + public global::Ideogram.ReframeImageNanoBananaProRequestResolutionTier? Type445 { get; set; } /// /// /// - public global::Ideogram.ReframeImageBriaExpandRequest? Type446 { get; set; } + public global::Ideogram.ReframeImageGptImage25FlareResponse? Type446 { get; set; } /// /// /// - public global::Ideogram.ReframeImageAutoResponse? Type447 { get; set; } + public global::Ideogram.ReframeImageGptImage25FlareRequest? Type447 { get; set; } /// /// /// - public global::Ideogram.ReframeImageAutoRequest? Type448 { get; set; } + public global::Ideogram.ReframeImageGptImage25FlareRequestQuality? Type448 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CharacterResponse? Type449 { get; set; } + public global::Ideogram.ReframeImageBriaExpandResponse? Type449 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CharacterRequest? Type450 { get; set; } + public global::Ideogram.ReframeImageBriaExpandRequest? Type450 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CharacterRequestRenderingSpeed? Type451 { get; set; } + public global::Ideogram.ReframeImageAutoResponse? Type451 { get; set; } /// /// /// - public global::Ideogram.GenerateImageIdeogramV3CharacterRequestStyleType? Type452 { get; set; } + public global::Ideogram.ReframeImageAutoRequest? Type452 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CharacterResponse? Type453 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CharacterResponse? Type453 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CharacterRequest? Type454 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CharacterRequest? Type454 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CharacterRequestRenderingSpeed? Type455 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CharacterRequestRenderingSpeed? Type455 { get; set; } /// /// /// - public global::Ideogram.InpaintImageIdeogramV3CharacterRequestStyleType? Type456 { get; set; } + public global::Ideogram.GenerateImageIdeogramV3CharacterRequestStyleType? Type456 { get; set; } /// /// /// - public global::Ideogram.GenerateImageV2AutoResponse? Type457 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CharacterResponse? Type457 { get; set; } /// /// /// - public global::Ideogram.GenerateImageV2AutoRequest? Type458 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CharacterRequest? Type458 { get; set; } /// /// /// - public global::Ideogram.GenerateImageV2AutoRequestResolutionTier? Type459 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CharacterRequestRenderingSpeed? Type459 { get; set; } /// /// /// - public global::Ideogram.ToolRemixResponse? Type460 { get; set; } + public global::Ideogram.InpaintImageIdeogramV3CharacterRequestStyleType? Type460 { get; set; } /// /// /// - public global::Ideogram.ToolRemixRequest? Type461 { get; set; } + public global::Ideogram.GenerateImageV2AutoResponse? Type461 { get; set; } /// /// /// - public global::Ideogram.ToolRemixRequestResolutionTier? Type462 { get; set; } + public global::Ideogram.GenerateImageV2AutoRequest? Type462 { get; set; } /// /// /// - public global::Ideogram.ResizeAdImageRequest? Type463 { get; set; } + public global::Ideogram.GenerateImageV2AutoRequestResolutionTier? Type463 { get; set; } /// /// /// - public global::Ideogram.ResizeAdImageRequestResolution? Type464 { get; set; } + public global::Ideogram.ToolRemixResponse? Type464 { get; set; } /// /// /// - public global::Ideogram.ResizeAdImageQuality? Type465 { get; set; } + public global::Ideogram.ToolRemixRequest? Type465 { get; set; } /// /// /// - public global::Ideogram.WebhookSigningJwks? Type466 { get; set; } + public global::Ideogram.ToolRemixRequestResolutionTier? Type466 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type467 { get; set; } + public global::Ideogram.ResizeAdImageRequest? Type467 { get; set; } /// /// /// - public global::Ideogram.WebhookSigningJwk? Type468 { get; set; } + public global::Ideogram.ResizeAdImageRequestResolution? Type468 { get; set; } /// /// /// - public global::Ideogram.ProvenanceVerifyResponse? Type469 { get; set; } + public global::Ideogram.ResizeAdImageQuality? Type469 { get; set; } /// /// /// - public global::Ideogram.ProvenanceVerifyResponseValidationState? Type470 { get; set; } + public global::Ideogram.WebhookSigningJwks? Type470 { get; set; } /// /// /// - public global::Ideogram.ProvenanceVerifyRequest? Type471 { get; set; } + public global::System.Collections.Generic.IList? Type471 { get; set; } /// /// /// - public global::Ideogram.ManageApiSubscriptionResponse? Type472 { get; set; } + public global::Ideogram.WebhookSigningJwk? Type472 { get; set; } /// /// /// - public global::Ideogram.MetronomeLinks? Type473 { get; set; } + public global::Ideogram.ProvenanceVerifyResponse? Type473 { get; set; } /// /// /// - public global::Ideogram.RechargeSettingsResponse? Type474 { get; set; } + public global::Ideogram.ProvenanceVerifyResponseValidationState? Type474 { get; set; } /// /// /// - public global::Ideogram.Price? Type475 { get; set; } + public global::Ideogram.ProvenanceVerifyRequest? Type475 { get; set; } /// /// /// - public global::Ideogram.RechargeSettings? Type476 { get; set; } + public global::Ideogram.ManageApiSubscriptionResponse? Type476 { get; set; } /// /// /// - public global::Ideogram.PostApiSubscriptionResponse? Type477 { get; set; } + public global::Ideogram.MetronomeLinks? Type477 { get; set; } /// /// /// - public global::Ideogram.PostApiSubscriptionError? Type478 { get; set; } + public global::Ideogram.RechargeSettingsResponse? Type478 { get; set; } /// /// /// - public global::Ideogram.PostApiSubscriptionRequest? Type479 { get; set; } + public global::Ideogram.Price? Type479 { get; set; } /// /// /// - public global::Ideogram.ManageApiCreditSummaryResponse? Type480 { get; set; } + public global::Ideogram.RechargeSettings? Type480 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type481 { get; set; } + public global::Ideogram.PostApiSubscriptionResponse? Type481 { get; set; } /// /// /// - public global::Ideogram.CreditGrant? Type482 { get; set; } + public global::Ideogram.PostApiSubscriptionError? Type482 { get; set; } /// /// /// - public global::Ideogram.GetApiKeysResponse? Type483 { get; set; } + public global::Ideogram.PostApiSubscriptionRequest? Type483 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type484 { get; set; } + public global::Ideogram.ManageApiCreditSummaryResponse? Type484 { get; set; } /// /// /// - public global::Ideogram.RedactedApiKey? Type485 { get; set; } + public global::System.Collections.Generic.IList? Type485 { get; set; } /// /// /// - public global::Ideogram.PostApiKeyResponse? Type486 { get; set; } + public global::Ideogram.CreditGrant? Type486 { get; set; } /// /// /// - public global::Ideogram.CreateApiKeyRequest? Type487 { get; set; } + public global::Ideogram.GetApiKeysResponse? Type487 { get; set; } /// /// /// - public global::Ideogram.ApiProfileApiKey? Type488 { get; set; } + public global::System.Collections.Generic.IList? Type488 { get; set; } /// /// /// - public global::Ideogram.ApiKeyStatus? Type489 { get; set; } + public global::Ideogram.RedactedApiKey? Type489 { get; set; } /// /// /// - public global::Ideogram.PatchApiKeyRequest? Type490 { get; set; } + public global::Ideogram.PostApiKeyResponse? Type490 { get; set; } /// /// /// - public global::Ideogram.ManageApiStripeSubscriptionResponse? Type491 { get; set; } + public global::Ideogram.CreateApiKeyRequest? Type491 { get; set; } /// /// /// - public global::Ideogram.ManageApiPaymentResponse? Type492 { get; set; } + public global::Ideogram.ApiProfileApiKey? Type492 { get; set; } /// /// /// - public global::Ideogram.GetApiTermsResponse? Type493 { get; set; } + public global::Ideogram.ApiKeyStatus? Type493 { get; set; } /// /// /// - public global::Ideogram.ApiTerms? Type494 { get; set; } + public global::Ideogram.PatchApiKeyRequest? Type494 { get; set; } /// /// /// - public global::Ideogram.PostApiTermsRequest? Type495 { get; set; } + public global::Ideogram.ManageApiStripeSubscriptionResponse? Type495 { get; set; } /// /// /// - public global::Ideogram.PostAddCreditsResponse? Type496 { get; set; } + public global::Ideogram.ManageApiPaymentResponse? Type496 { get; set; } /// /// /// - public global::Ideogram.PostAddCreditsError? Type497 { get; set; } + public global::Ideogram.GetApiTermsResponse? Type497 { get; set; } /// /// /// - public global::Ideogram.PostAddCreditsRequest? Type498 { get; set; } + public global::Ideogram.ApiTerms? Type498 { get; set; } /// /// /// - public global::Ideogram.GetUserCreditsResponse? Type499 { get; set; } + public global::Ideogram.PostApiTermsRequest? Type499 { get; set; } /// /// /// - public global::Ideogram.SpendCommitInfoResponse? Type500 { get; set; } + public global::Ideogram.PostAddCreditsResponse? Type500 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type501 { get; set; } + public global::Ideogram.PostAddCreditsError? Type501 { get; set; } /// /// /// - public global::Ideogram.SpendCommitInfo? Type502 { get; set; } + public global::Ideogram.PostAddCreditsRequest? Type502 { get; set; } /// /// /// - public global::Ideogram.GetUsageInfoResponse? Type503 { get; set; } + public global::Ideogram.GetUserCreditsResponse? Type503 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type504 { get; set; } + public global::Ideogram.SpendCommitInfoResponse? Type504 { get; set; } /// /// /// - public global::Ideogram.UsageSegment? Type505 { get; set; } + public global::System.Collections.Generic.IList? Type505 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type506 { get; set; } + public global::Ideogram.SpendCommitInfo? Type506 { get; set; } /// /// /// - public global::Ideogram.ToolUsage? Type507 { get; set; } + public global::Ideogram.GetUsageInfoResponse? Type507 { get; set; } /// /// /// - public global::Ideogram.ToolType? Type508 { get; set; } + public global::System.Collections.Generic.IList? Type508 { get; set; } /// /// /// - public global::Ideogram.ModelVersion? Type509 { get; set; } + public global::Ideogram.UsageSegment? Type509 { get; set; } /// /// /// - public global::Ideogram.SegmentBy? Type510 { get; set; } + public global::System.Collections.Generic.IList? Type510 { get; set; } /// /// /// - public global::Ideogram.UsageSource? Type511 { get; set; } + public global::Ideogram.ToolUsage? Type511 { get; set; } /// /// /// - public global::Ideogram.GetApiProfilesResponse? Type512 { get; set; } + public global::Ideogram.ToolType? Type512 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type513 { get; set; } + public global::Ideogram.ModelVersion? Type513 { get; set; } /// /// /// - public global::Ideogram.ApiProfile? Type514 { get; set; } + public global::Ideogram.SegmentBy? Type514 { get; set; } /// /// /// - public global::Ideogram.ApiProfileType? Type515 { get; set; } + public global::Ideogram.UsageSource? Type515 { get; set; } /// /// /// - public global::Ideogram.ApiProfileRole? Type516 { get; set; } + public global::Ideogram.GetApiProfilesResponse? Type516 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type517 { get; set; } + public global::System.Collections.Generic.IList? Type517 { get; set; } /// /// /// - public global::Ideogram.UpdateOrganizationApiPropertiesResponse? Type518 { get; set; } + public global::Ideogram.ApiProfile? Type518 { get; set; } /// /// /// - public global::Ideogram.UpdateOrganizationApiPropertiesRequest? Type519 { get; set; } + public global::Ideogram.ApiProfileType? Type519 { get; set; } /// /// /// - public global::Ideogram.GetApiOrganizationUserSuggestionsResponse? Type520 { get; set; } + public global::Ideogram.ApiProfileRole? Type520 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type521 { get; set; } + public global::System.Collections.Generic.IList? Type521 { get; set; } /// /// /// - public global::Ideogram.ApiOrganizationUserSuggestion? Type522 { get; set; } + public global::Ideogram.UpdateOrganizationApiPropertiesResponse? Type522 { get; set; } /// /// /// - public global::Ideogram.GetOrganizationMembersResponse? Type523 { get; set; } + public global::Ideogram.UpdateOrganizationApiPropertiesRequest? Type523 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type524 { get; set; } + public global::Ideogram.GetApiOrganizationUserSuggestionsResponse? Type524 { get; set; } /// /// /// - public global::Ideogram.OrganizationMember? Type525 { get; set; } + public global::System.Collections.Generic.IList? Type525 { get; set; } /// /// /// - public global::Ideogram.CreateApiKeyResponse? Type526 { get; set; } + public global::Ideogram.ApiOrganizationUserSuggestion? Type526 { get; set; } /// /// /// - public global::Ideogram.GetApiKeysV2Response? Type527 { get; set; } + public global::Ideogram.GetOrganizationMembersResponse? Type527 { get; set; } /// /// /// - public global::Ideogram.OrganizationMemberOperationResponse? Type528 { get; set; } + public global::System.Collections.Generic.IList? Type528 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type529 { get; set; } + public global::Ideogram.OrganizationMember? Type529 { get; set; } /// /// /// - public global::Ideogram.OrganizationMemberOperationResult? Type530 { get; set; } + public global::Ideogram.CreateApiKeyResponse? Type530 { get; set; } /// /// /// - public global::Ideogram.AddOrganizationMembersRequest? Type531 { get; set; } + public global::Ideogram.GetApiKeysV2Response? Type531 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type532 { get; set; } + public global::Ideogram.OrganizationMemberOperationResponse? Type532 { get; set; } /// /// /// - public global::Ideogram.LiteOrganizationMember? Type533 { get; set; } + public global::System.Collections.Generic.IList? Type533 { get; set; } /// /// /// - public global::Ideogram.RemoveOrganizationMembersRequest? Type534 { get; set; } + public global::Ideogram.OrganizationMemberOperationResult? Type534 { get; set; } /// /// /// - public global::Ideogram.PromoteOrganizationAdminsRequest? Type535 { get; set; } + public global::Ideogram.AddOrganizationMembersRequest? Type535 { get; set; } /// /// /// - public global::Ideogram.DemoteOrganizationAdminsRequest? Type536 { get; set; } + public global::System.Collections.Generic.IList? Type536 { get; set; } /// /// /// - public global::Ideogram.CancelOrganizationInviteRequest? Type537 { get; set; } + public global::Ideogram.LiteOrganizationMember? Type537 { get; set; } /// /// /// - public global::Ideogram.ResendOrganizationInviteRequest? Type538 { get; set; } + public global::Ideogram.RemoveOrganizationMembersRequest? Type538 { get; set; } /// /// /// - public global::Ideogram.ListOrganizationInvoicesResponse? Type539 { get; set; } + public global::Ideogram.PromoteOrganizationAdminsRequest? Type539 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type540 { get; set; } + public global::Ideogram.DemoteOrganizationAdminsRequest? Type540 { get; set; } /// /// /// - public global::Ideogram.Invoice? Type541 { get; set; } + public global::Ideogram.CancelOrganizationInviteRequest? Type541 { get; set; } /// /// /// - public global::Ideogram.InvoiceStatus? Type542 { get; set; } + public global::Ideogram.ResendOrganizationInviteRequest? Type542 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type543 { get; set; } + public global::Ideogram.ListOrganizationInvoicesResponse? Type543 { get; set; } /// /// /// - public global::Ideogram.InvoiceLineItem? Type544 { get; set; } + public global::System.Collections.Generic.IList? Type544 { get; set; } /// /// /// - public global::Ideogram.GetOrganizationBillingPortalResponse? Type545 { get; set; } + public global::Ideogram.Invoice? Type545 { get; set; } /// /// /// - public global::Ideogram.ListDatasetsResponse? Type546 { get; set; } + public global::Ideogram.InvoiceStatus? Type546 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type547 { get; set; } + public global::System.Collections.Generic.IList? Type547 { get; set; } /// /// /// - public global::Ideogram.Dataset? Type548 { get; set; } + public global::Ideogram.InvoiceLineItem? Type548 { get; set; } /// /// /// - public global::Ideogram.CreateDatasetRequest? Type549 { get; set; } + public global::Ideogram.GetOrganizationBillingPortalResponse? Type549 { get; set; } /// /// /// - public global::Ideogram.GetDatasetResponse? Type550 { get; set; } + public global::Ideogram.ListDatasetsResponse? Type550 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type551 { get; set; } + public global::System.Collections.Generic.IList? Type551 { get; set; } /// /// /// - public global::Ideogram.DatasetFile? Type552 { get; set; } + public global::Ideogram.Dataset? Type552 { get; set; } /// /// /// - public global::Ideogram.UploadDatasetAssetsResponse? Type553 { get; set; } + public global::Ideogram.CreateDatasetRequest? Type553 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type554 { get; set; } + public global::Ideogram.GetDatasetResponse? Type554 { get; set; } /// /// /// - public global::Ideogram.DatasetUploadSucceededAsset? Type555 { get; set; } + public global::System.Collections.Generic.IList? Type555 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type556 { get; set; } + public global::Ideogram.DatasetFile? Type556 { get; set; } /// /// /// - public global::Ideogram.DatasetUploadFailedAsset? Type557 { get; set; } + public global::Ideogram.UploadDatasetAssetsResponse? Type557 { get; set; } /// /// /// - public global::Ideogram.DatasetAssetFailureReason? Type558 { get; set; } + public global::System.Collections.Generic.IList? Type558 { get; set; } /// /// /// - public global::Ideogram.UploadDatasetAssetsRequest? Type559 { get; set; } + public global::Ideogram.DatasetUploadSucceededAsset? Type559 { get; set; } /// /// /// - public global::Ideogram.TrainDatasetModelResponse? Type560 { get; set; } + public global::System.Collections.Generic.IList? Type560 { get; set; } /// /// /// - public global::Ideogram.TrainDatasetModelRequest? Type561 { get; set; } + public global::Ideogram.DatasetUploadFailedAsset? Type561 { get; set; } /// /// /// - public global::Ideogram.ListModelsResponse? Type562 { get; set; } + public global::Ideogram.DatasetAssetFailureReason? Type562 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type563 { get; set; } + public global::Ideogram.UploadDatasetAssetsRequest? Type563 { get; set; } /// /// /// - public global::Ideogram.CustomModel? Type564 { get; set; } + public global::Ideogram.TrainDatasetModelResponse? Type564 { get; set; } /// /// /// - public global::Ideogram.ModelStatus? Type565 { get; set; } + public global::Ideogram.TrainDatasetModelRequest? Type565 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type566 { get; set; } + public global::Ideogram.ListModelsResponse? Type566 { get; set; } /// /// /// - public global::Ideogram.TrainingRun? Type567 { get; set; } + public global::System.Collections.Generic.IList? Type567 { get; set; } /// /// /// - public global::Ideogram.TrainingRunStatus? Type568 { get; set; } + public global::Ideogram.CustomModel? Type568 { get; set; } /// /// /// - public global::Ideogram.GetModelResponse? Type569 { get; set; } + public global::Ideogram.ModelStatus? Type569 { get; set; } /// /// /// - public global::Ideogram.TrainModelV3Request? Type570 { get; set; } + public global::System.Collections.Generic.IList? Type570 { get; set; } /// /// /// - public global::Ideogram.TrainModelV3AdvancedRequest? Type571 { get; set; } + public global::Ideogram.TrainingRun? Type571 { get; set; } /// /// /// - public global::Ideogram.TrainModelV4Request? Type572 { get; set; } + public global::Ideogram.TrainingRunStatus? Type572 { get; set; } /// /// /// - public global::Ideogram.TrainModelV4AdvancedRequest? Type573 { get; set; } + public global::Ideogram.GetModelResponse? Type573 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppResponse? Type574 { get; set; } + public global::Ideogram.TrainModelV3Request? Type574 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppRequest? Type575 { get; set; } + public global::Ideogram.TrainModelV3AdvancedRequest? Type575 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppRequestEmbed? Type576 { get; set; } + public global::Ideogram.TrainModelV4Request? Type576 { get; set; } /// /// /// - public object? Type577 { get; set; } + public global::Ideogram.TrainModelV4AdvancedRequest? Type577 { get; set; } /// /// /// - public global::Ideogram.MiniAppArtwork? Type578 { get; set; } + public global::Ideogram.PublishMiniAppResponse? Type578 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppPreviewResponse? Type579 { get; set; } + public global::Ideogram.PublishMiniAppRequest? Type579 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppPreviewRequest? Type580 { get; set; } + public global::Ideogram.PublishMiniAppRequestEmbed? Type580 { get; set; } /// /// /// - public global::Ideogram.PublishMiniAppPreviewRequestEmbed? Type581 { get; set; } + public object? Type581 { get; set; } /// /// /// - public global::Ideogram.UnpublishMiniAppPreviewResponse? Type582 { get; set; } + public global::Ideogram.MiniAppArtwork? Type582 { get; set; } /// /// /// - public global::Ideogram.GetStaleMiniAppPreviewsResponse? Type583 { get; set; } + public global::Ideogram.PublishMiniAppPreviewResponse? Type583 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type584 { get; set; } + public global::Ideogram.PublishMiniAppPreviewRequest? Type584 { get; set; } /// /// /// - public global::Ideogram.MiniAppMarketingProjectionEntry? Type585 { get; set; } + public global::Ideogram.PublishMiniAppPreviewRequestEmbed? Type585 { get; set; } /// /// /// - public global::Ideogram.MiniAppMarketingProjectionEntryEmbed? Type586 { get; set; } + public global::Ideogram.UnpublishMiniAppPreviewResponse? Type586 { get; set; } /// /// /// - public global::Ideogram.GetIntegrationsResponse? Type587 { get; set; } + public global::Ideogram.GetStaleMiniAppPreviewsResponse? Type587 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type588 { get; set; } + public global::System.Collections.Generic.IList? Type588 { get; set; } /// /// /// - public global::Ideogram.IntegrationType? Type589 { get; set; } + public global::Ideogram.MiniAppMarketingProjectionEntry? Type589 { get; set; } /// /// /// - public global::Ideogram.IntegrationErrorResponse? Type590 { get; set; } + public global::Ideogram.MiniAppMarketingProjectionEntryEmbed? Type590 { get; set; } /// /// /// - public global::Ideogram.IntegrationErrorResponseError? Type591 { get; set; } + public global::Ideogram.GetIntegrationsResponse? Type591 { get; set; } /// /// /// - public global::Ideogram.IntegrationAssetSearchResponse? Type592 { get; set; } + public global::System.Collections.Generic.IList? Type592 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type593 { get; set; } + public global::Ideogram.IntegrationType? Type593 { get; set; } /// /// /// - public global::Ideogram.IntegrationAsset? Type594 { get; set; } + public global::Ideogram.IntegrationErrorResponse? Type594 { get; set; } /// /// /// - public global::Ideogram.IntegrationAssetDelivery? Type595 { get; set; } + public global::Ideogram.IntegrationErrorResponseError? Type595 { get; set; } /// /// /// - public global::Ideogram.IntegrationAssetSearchRequest? Type596 { get; set; } + public global::Ideogram.IntegrationAssetSearchResponse? Type596 { get; set; } /// /// /// - public global::Ideogram.V4StyleDescription? Type597 { get; set; } + public global::System.Collections.Generic.IList? Type597 { get; set; } /// /// /// - public global::Ideogram.V4CompositionalDeconstruction? Type598 { get; set; } + public global::Ideogram.IntegrationAsset? Type598 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type599 { get; set; } + public global::Ideogram.IntegrationAssetDelivery? Type599 { get; set; } /// /// /// - public global::Ideogram.V4PromptElement? Type600 { get; set; } + public global::Ideogram.IntegrationAssetSearchRequest? Type600 { get; set; } /// /// /// - public global::Ideogram.V4ObjPromptElement? Type601 { get; set; } + public global::Ideogram.V4StyleDescription? Type601 { get; set; } /// /// /// - public global::Ideogram.V4TextPromptElement? Type602 { get; set; } + public global::Ideogram.V4CompositionalDeconstruction? Type602 { get; set; } /// /// /// - public global::Ideogram.V4PromptElementDiscriminator? Type603 { get; set; } + public global::System.Collections.Generic.IList? Type603 { get; set; } /// /// /// - public global::Ideogram.V4PromptElementDiscriminatorType? Type604 { get; set; } + public global::Ideogram.V4PromptElement? Type604 { get; set; } /// /// /// - public global::Ideogram.V4ObjPromptElementType? Type605 { get; set; } + public global::Ideogram.V4ObjPromptElement? Type605 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type606 { get; set; } + public global::Ideogram.V4TextPromptElement? Type606 { get; set; } /// /// /// - public global::Ideogram.V4TextPromptElementType? Type607 { get; set; } + public global::Ideogram.V4PromptElementDiscriminator? Type607 { get; set; } /// /// /// - public global::Ideogram.ColorPaletteWithPresetName? Type608 { get; set; } + public global::Ideogram.V4PromptElementDiscriminatorType? Type608 { get; set; } /// /// /// - public global::Ideogram.ColorPaletteWithMembers? Type609 { get; set; } + public global::Ideogram.V4ObjPromptElementType? Type609 { get; set; } /// /// /// - public global::Ideogram.ColorPalettePresetName? Type610 { get; set; } + public global::System.Collections.Generic.IList? Type610 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type611 { get; set; } + public global::Ideogram.V4TextPromptElementType? Type611 { get; set; } /// /// /// - public global::Ideogram.ColorPaletteMember? Type612 { get; set; } + public global::Ideogram.ColorPaletteWithPresetName? Type612 { get; set; } /// /// /// - public global::Ideogram.SvgGenerationObject? Type613 { get; set; } + public global::Ideogram.ColorPaletteWithMembers? Type613 { get; set; } /// /// /// - public global::Ideogram.SvgGenerationObjectObjectType? Type614 { get; set; } + public global::Ideogram.ColorPalettePresetName? Type614 { get; set; } /// /// /// - public global::Ideogram.SvgGenerationObjectMimeType? Type615 { get; set; } + public global::System.Collections.Generic.IList? Type615 { get; set; } /// /// /// - public global::Ideogram.VideoObject? Type616 { get; set; } + public global::Ideogram.ColorPaletteMember? Type616 { get; set; } /// /// /// - public global::Ideogram.VideoObjectObjectType? Type617 { get; set; } + public global::Ideogram.SvgGenerationObject? Type617 { get; set; } /// /// /// - public global::Ideogram.DetectedTextBlockAlignment? Type618 { get; set; } + public global::Ideogram.SvgGenerationObjectObjectType? Type618 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type619 { get; set; } + public global::Ideogram.SvgGenerationObjectMimeType? Type619 { get; set; } /// /// /// - public global::Ideogram.DetectedTextBlockFormattingItem? Type620 { get; set; } + public global::Ideogram.VideoObject? Type620 { get; set; } /// /// /// - public global::Ideogram.DetectedTextBlockRole? Type621 { get; set; } + public global::Ideogram.VideoObjectObjectType? Type621 { get; set; } /// /// /// - public global::Ideogram.AssetType? Type622 { get; set; } + public global::Ideogram.DetectedTextBlockAlignment? Type622 { get; set; } /// /// /// - public global::Ideogram.IdeogramColorPaletteWithPresetName? Type623 { get; set; } + public global::System.Collections.Generic.IList? Type623 { get; set; } /// /// /// - public global::Ideogram.IdeogramColorPalettePresetName? Type624 { get; set; } + public global::Ideogram.DetectedTextBlockFormattingItem? Type624 { get; set; } /// /// /// - public global::Ideogram.PostGenerateDesignV4200Response? Type625 { get; set; } + public global::Ideogram.DetectedTextBlockRole? Type625 { get; set; } /// /// /// - public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminator? Type626 { get; set; } + public global::Ideogram.AssetType? Type626 { get; set; } /// /// /// - public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminatorResponseType? Type627 { get; set; } + public global::Ideogram.IdeogramColorPaletteWithPresetName? Type627 { get; set; } /// /// /// - public global::Ideogram.PostInternalTesting200Response? Type628 { get; set; } + public global::Ideogram.IdeogramColorPalettePresetName? Type628 { get; set; } /// /// /// - public global::Ideogram.GenerationResponseDataInnerDiscriminator? Type629 { get; set; } + public global::Ideogram.PostGenerateDesignV4200Response? Type629 { get; set; } /// /// /// - public global::Ideogram.GenerationResponseDataInnerDiscriminatorObjectType? Type630 { get; set; } + public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminator? Type630 { get; set; } /// /// /// - public global::Ideogram.MagicPromptRequestMessagesInnerRole? Type631 { get; set; } + public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminatorResponseType? Type631 { get; set; } /// /// /// - public global::Ideogram.DatasetCoverAssetIdentifier? Type632 { get; set; } + public global::Ideogram.PostInternalTesting200Response? Type632 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type633 { get; set; } + public global::Ideogram.GenerationResponseDataInnerDiscriminator? Type633 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type634 { get; set; } + public global::Ideogram.GenerationResponseDataInnerDiscriminatorObjectType? Type634 { get; set; } /// /// /// - public global::Ideogram.ListCustomModelsScope? Type635 { get; set; } + public global::Ideogram.MagicPromptRequestMessagesInnerRole? Type635 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type636 { get; set; } + public global::Ideogram.DatasetCoverAssetIdentifier? Type636 { get; set; } /// /// /// - public global::Ideogram.GetAccountUsageBucketWidth? Type637 { get; set; } + public global::System.Collections.Generic.IList? Type637 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type638 { get; set; } + public global::System.Collections.Generic.IList? Type638 { get; set; } /// /// /// - public global::Ideogram.GetAccountUsageSource? Type639 { get; set; } + public global::Ideogram.ListCustomModelsScope? Type639 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type640 { get; set; } + /// + /// + /// + public global::Ideogram.GetAccountUsageBucketWidth? Type641 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type642 { get; set; } + /// + /// + /// + public global::Ideogram.GetAccountUsageSource? Type643 { get; set; } /// /// diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageNanoBanana2Request.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageNanoBanana2Request.g.cs index 72de557..cdb7aeb 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageNanoBanana2Request.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageNanoBanana2Request.g.cs @@ -30,10 +30,12 @@ public sealed partial class GenerateImageNanoBanana2Request public global::System.Collections.Generic.IList? Images { get; set; } /// - /// The requested output aspect ratio, for example "1:1", "16:9", or "9:16". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to "1:1". + /// Output aspect ratios Nano Banana 2 serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto ///
[global::System.Text.Json.Serialization.JsonPropertyName("aspect_ratio")] - public string? AspectRatio { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.NanoBanana2AspectRatioJsonConverter))] + public global::Ideogram.NanoBanana2AspectRatio? AspectRatio { get; set; } /// /// The output resolution tier.
@@ -111,7 +113,8 @@ public sealed partial class GenerateImageNanoBanana2Request /// Optional source images to edit (max 10, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only. /// /// - /// The requested output aspect ratio, for example "1:1", "16:9", or "9:16". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to "1:1". + /// Output aspect ratios Nano Banana 2 serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto /// /// /// The output resolution tier.
@@ -153,7 +156,7 @@ public GenerateImageNanoBanana2Request( string prompt, global::System.Collections.Generic.IList? imageAssetIdentifiers, global::System.Collections.Generic.IList? images, - string? aspectRatio, + global::Ideogram.NanoBanana2AspectRatio? aspectRatio, global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier? resolutionTier, int? numImages, int? seed, diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageNanoBananaProRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageNanoBananaProRequest.g.cs index 6dfc92b..8ae63fe 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageNanoBananaProRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageNanoBananaProRequest.g.cs @@ -30,10 +30,12 @@ public sealed partial class GenerateImageNanoBananaProRequest public global::System.Collections.Generic.IList? Images { get; set; } /// - /// The requested output aspect ratio, for example "1:1", "16:9", or "9:16". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to "1:1". + /// Output aspect ratios Nano Banana Pro serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto ///
[global::System.Text.Json.Serialization.JsonPropertyName("aspect_ratio")] - public string? AspectRatio { get; set; } + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.NanoBananaProAspectRatioJsonConverter))] + public global::Ideogram.NanoBananaProAspectRatio? AspectRatio { get; set; } /// /// The output resolution tier.
@@ -111,7 +113,8 @@ public sealed partial class GenerateImageNanoBananaProRequest /// Optional source images to edit (max 10, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only. /// /// - /// The requested output aspect ratio, for example "1:1", "16:9", or "9:16". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to "1:1". + /// Output aspect ratios Nano Banana Pro serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto /// /// /// The output resolution tier.
@@ -153,7 +156,7 @@ public GenerateImageNanoBananaProRequest( string prompt, global::System.Collections.Generic.IList? imageAssetIdentifiers, global::System.Collections.Generic.IList? images, - string? aspectRatio, + global::Ideogram.NanoBananaProAspectRatio? aspectRatio, global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier? resolutionTier, int? numImages, int? seed, diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.NanoBanana2AspectRatio.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.NanoBanana2AspectRatio.g.cs new file mode 100644 index 0000000..66e20e7 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.Models.NanoBanana2AspectRatio.g.cs @@ -0,0 +1,130 @@ + +#nullable enable + +namespace Ideogram +{ + /// + /// Output aspect ratios Nano Banana 2 serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto + ///
+ public enum NanoBanana2AspectRatio + { + /// + /// + /// + x16_9, + /// + /// + /// + x1_1, + /// + /// + /// + x1_4, + /// + /// + /// + x1_8, + /// + /// + /// + x21_9, + /// + /// + /// + x2_3, + /// + /// + /// + x3_2, + /// + /// + /// + x3_4, + /// + /// + /// + x4_1, + /// + /// + /// + x4_3, + /// + /// + /// + x4_5, + /// + /// + /// + x5_4, + /// + /// + /// + x8_1, + /// + /// + /// + x9_16, + /// + /// + /// + Auto, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class NanoBanana2AspectRatioExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this NanoBanana2AspectRatio value) + { + return value switch + { + NanoBanana2AspectRatio.x16_9 => "16:9", + NanoBanana2AspectRatio.x1_1 => "1:1", + NanoBanana2AspectRatio.x1_4 => "1:4", + NanoBanana2AspectRatio.x1_8 => "1:8", + NanoBanana2AspectRatio.x21_9 => "21:9", + NanoBanana2AspectRatio.x2_3 => "2:3", + NanoBanana2AspectRatio.x3_2 => "3:2", + NanoBanana2AspectRatio.x3_4 => "3:4", + NanoBanana2AspectRatio.x4_1 => "4:1", + NanoBanana2AspectRatio.x4_3 => "4:3", + NanoBanana2AspectRatio.x4_5 => "4:5", + NanoBanana2AspectRatio.x5_4 => "5:4", + NanoBanana2AspectRatio.x8_1 => "8:1", + NanoBanana2AspectRatio.x9_16 => "9:16", + NanoBanana2AspectRatio.Auto => "auto", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static NanoBanana2AspectRatio? ToEnum(string value) + { + return value switch + { + "16:9" => NanoBanana2AspectRatio.x16_9, + "1:1" => NanoBanana2AspectRatio.x1_1, + "1:4" => NanoBanana2AspectRatio.x1_4, + "1:8" => NanoBanana2AspectRatio.x1_8, + "21:9" => NanoBanana2AspectRatio.x21_9, + "2:3" => NanoBanana2AspectRatio.x2_3, + "3:2" => NanoBanana2AspectRatio.x3_2, + "3:4" => NanoBanana2AspectRatio.x3_4, + "4:1" => NanoBanana2AspectRatio.x4_1, + "4:3" => NanoBanana2AspectRatio.x4_3, + "4:5" => NanoBanana2AspectRatio.x4_5, + "5:4" => NanoBanana2AspectRatio.x5_4, + "8:1" => NanoBanana2AspectRatio.x8_1, + "9:16" => NanoBanana2AspectRatio.x9_16, + "auto" => NanoBanana2AspectRatio.Auto, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.NanoBanana2ReframeAspectRatio.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.NanoBanana2ReframeAspectRatio.g.cs new file mode 100644 index 0000000..e6f89e2 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.Models.NanoBanana2ReframeAspectRatio.g.cs @@ -0,0 +1,123 @@ + +#nullable enable + +namespace Ideogram +{ + /// + /// Aspect ratios Nano Banana 2 can reframe an image to. + /// + public enum NanoBanana2ReframeAspectRatio + { + /// + /// + /// + x16_9, + /// + /// + /// + x1_1, + /// + /// + /// + x1_4, + /// + /// + /// + x1_8, + /// + /// + /// + x21_9, + /// + /// + /// + x2_3, + /// + /// + /// + x3_2, + /// + /// + /// + x3_4, + /// + /// + /// + x4_1, + /// + /// + /// + x4_3, + /// + /// + /// + x4_5, + /// + /// + /// + x5_4, + /// + /// + /// + x8_1, + /// + /// + /// + x9_16, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class NanoBanana2ReframeAspectRatioExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this NanoBanana2ReframeAspectRatio value) + { + return value switch + { + NanoBanana2ReframeAspectRatio.x16_9 => "16:9", + NanoBanana2ReframeAspectRatio.x1_1 => "1:1", + NanoBanana2ReframeAspectRatio.x1_4 => "1:4", + NanoBanana2ReframeAspectRatio.x1_8 => "1:8", + NanoBanana2ReframeAspectRatio.x21_9 => "21:9", + NanoBanana2ReframeAspectRatio.x2_3 => "2:3", + NanoBanana2ReframeAspectRatio.x3_2 => "3:2", + NanoBanana2ReframeAspectRatio.x3_4 => "3:4", + NanoBanana2ReframeAspectRatio.x4_1 => "4:1", + NanoBanana2ReframeAspectRatio.x4_3 => "4:3", + NanoBanana2ReframeAspectRatio.x4_5 => "4:5", + NanoBanana2ReframeAspectRatio.x5_4 => "5:4", + NanoBanana2ReframeAspectRatio.x8_1 => "8:1", + NanoBanana2ReframeAspectRatio.x9_16 => "9:16", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static NanoBanana2ReframeAspectRatio? ToEnum(string value) + { + return value switch + { + "16:9" => NanoBanana2ReframeAspectRatio.x16_9, + "1:1" => NanoBanana2ReframeAspectRatio.x1_1, + "1:4" => NanoBanana2ReframeAspectRatio.x1_4, + "1:8" => NanoBanana2ReframeAspectRatio.x1_8, + "21:9" => NanoBanana2ReframeAspectRatio.x21_9, + "2:3" => NanoBanana2ReframeAspectRatio.x2_3, + "3:2" => NanoBanana2ReframeAspectRatio.x3_2, + "3:4" => NanoBanana2ReframeAspectRatio.x3_4, + "4:1" => NanoBanana2ReframeAspectRatio.x4_1, + "4:3" => NanoBanana2ReframeAspectRatio.x4_3, + "4:5" => NanoBanana2ReframeAspectRatio.x4_5, + "5:4" => NanoBanana2ReframeAspectRatio.x5_4, + "8:1" => NanoBanana2ReframeAspectRatio.x8_1, + "9:16" => NanoBanana2ReframeAspectRatio.x9_16, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.NanoBananaProAspectRatio.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.NanoBananaProAspectRatio.g.cs new file mode 100644 index 0000000..f2b7f87 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.Models.NanoBananaProAspectRatio.g.cs @@ -0,0 +1,106 @@ + +#nullable enable + +namespace Ideogram +{ + /// + /// Output aspect ratios Nano Banana Pro serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.
+ /// Default Value: auto + ///
+ public enum NanoBananaProAspectRatio + { + /// + /// + /// + x16_9, + /// + /// + /// + x1_1, + /// + /// + /// + x21_9, + /// + /// + /// + x2_3, + /// + /// + /// + x3_2, + /// + /// + /// + x3_4, + /// + /// + /// + x4_3, + /// + /// + /// + x4_5, + /// + /// + /// + x5_4, + /// + /// + /// + x9_16, + /// + /// + /// + Auto, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class NanoBananaProAspectRatioExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this NanoBananaProAspectRatio value) + { + return value switch + { + NanoBananaProAspectRatio.x16_9 => "16:9", + NanoBananaProAspectRatio.x1_1 => "1:1", + NanoBananaProAspectRatio.x21_9 => "21:9", + NanoBananaProAspectRatio.x2_3 => "2:3", + NanoBananaProAspectRatio.x3_2 => "3:2", + NanoBananaProAspectRatio.x3_4 => "3:4", + NanoBananaProAspectRatio.x4_3 => "4:3", + NanoBananaProAspectRatio.x4_5 => "4:5", + NanoBananaProAspectRatio.x5_4 => "5:4", + NanoBananaProAspectRatio.x9_16 => "9:16", + NanoBananaProAspectRatio.Auto => "auto", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static NanoBananaProAspectRatio? ToEnum(string value) + { + return value switch + { + "16:9" => NanoBananaProAspectRatio.x16_9, + "1:1" => NanoBananaProAspectRatio.x1_1, + "21:9" => NanoBananaProAspectRatio.x21_9, + "2:3" => NanoBananaProAspectRatio.x2_3, + "3:2" => NanoBananaProAspectRatio.x3_2, + "3:4" => NanoBananaProAspectRatio.x3_4, + "4:3" => NanoBananaProAspectRatio.x4_3, + "4:5" => NanoBananaProAspectRatio.x4_5, + "5:4" => NanoBananaProAspectRatio.x5_4, + "9:16" => NanoBananaProAspectRatio.x9_16, + "auto" => NanoBananaProAspectRatio.Auto, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.NanoBananaProReframeAspectRatio.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.NanoBananaProReframeAspectRatio.g.cs new file mode 100644 index 0000000..1b0abd5 --- /dev/null +++ b/src/libs/Ideogram/Generated/Ideogram.Models.NanoBananaProReframeAspectRatio.g.cs @@ -0,0 +1,99 @@ + +#nullable enable + +namespace Ideogram +{ + /// + /// Aspect ratios Nano Banana Pro can reframe an image to. + /// + public enum NanoBananaProReframeAspectRatio + { + /// + /// + /// + x16_9, + /// + /// + /// + x1_1, + /// + /// + /// + x21_9, + /// + /// + /// + x2_3, + /// + /// + /// + x3_2, + /// + /// + /// + x3_4, + /// + /// + /// + x4_3, + /// + /// + /// + x4_5, + /// + /// + /// + x5_4, + /// + /// + /// + x9_16, + } + + /// + /// Enum extensions to do fast conversions without the reflection. + /// + public static class NanoBananaProReframeAspectRatioExtensions + { + /// + /// Converts an enum to a string. + /// + public static string ToValueString(this NanoBananaProReframeAspectRatio value) + { + return value switch + { + NanoBananaProReframeAspectRatio.x16_9 => "16:9", + NanoBananaProReframeAspectRatio.x1_1 => "1:1", + NanoBananaProReframeAspectRatio.x21_9 => "21:9", + NanoBananaProReframeAspectRatio.x2_3 => "2:3", + NanoBananaProReframeAspectRatio.x3_2 => "3:2", + NanoBananaProReframeAspectRatio.x3_4 => "3:4", + NanoBananaProReframeAspectRatio.x4_3 => "4:3", + NanoBananaProReframeAspectRatio.x4_5 => "4:5", + NanoBananaProReframeAspectRatio.x5_4 => "5:4", + NanoBananaProReframeAspectRatio.x9_16 => "9:16", + _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), + }; + } + /// + /// Converts an string to a enum. + /// + public static NanoBananaProReframeAspectRatio? ToEnum(string value) + { + return value switch + { + "16:9" => NanoBananaProReframeAspectRatio.x16_9, + "1:1" => NanoBananaProReframeAspectRatio.x1_1, + "21:9" => NanoBananaProReframeAspectRatio.x21_9, + "2:3" => NanoBananaProReframeAspectRatio.x2_3, + "3:2" => NanoBananaProReframeAspectRatio.x3_2, + "3:4" => NanoBananaProReframeAspectRatio.x3_4, + "4:3" => NanoBananaProReframeAspectRatio.x4_3, + "4:5" => NanoBananaProReframeAspectRatio.x4_5, + "5:4" => NanoBananaProReframeAspectRatio.x5_4, + "9:16" => NanoBananaProReframeAspectRatio.x9_16, + _ => null, + }; + } + } +} \ No newline at end of file diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageAutoRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageAutoRequest.g.cs index 7802f0e..916ae29 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageAutoRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageAutoRequest.g.cs @@ -32,9 +32,9 @@ public sealed partial class ReframeImageAutoRequest /// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 ///
- /// 969 + /// 16:9 [global::System.Text.Json.Serialization.JsonPropertyName("aspect_ratio")] [global::System.Text.Json.Serialization.JsonRequired] public required string AspectRatio { get; set; } @@ -74,7 +74,7 @@ public sealed partial class ReframeImageAutoRequest ///
/// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 /// /// /// An identifier for an ideogram asset.
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageBriaExpandRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageBriaExpandRequest.g.cs index bb75020..75ddc41 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageBriaExpandRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageBriaExpandRequest.g.cs @@ -32,9 +32,9 @@ public sealed partial class ReframeImageBriaExpandRequest /// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 ///
- /// 969 + /// 16:9 [global::System.Text.Json.Serialization.JsonPropertyName("aspect_ratio")] [global::System.Text.Json.Serialization.JsonRequired] public required string AspectRatio { get; set; } @@ -67,7 +67,7 @@ public sealed partial class ReframeImageBriaExpandRequest ///
/// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 /// /// /// An identifier for an ideogram asset.
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageGptImage25FlareRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageGptImage25FlareRequest.g.cs index a6d30d5..cdbd61c 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageGptImage25FlareRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageGptImage25FlareRequest.g.cs @@ -32,9 +32,9 @@ public sealed partial class ReframeImageGptImage25FlareRequest /// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 ///
- /// 969 + /// 16:9 [global::System.Text.Json.Serialization.JsonPropertyName("aspect_ratio")] [global::System.Text.Json.Serialization.JsonRequired] public required string AspectRatio { get; set; } @@ -82,7 +82,7 @@ public sealed partial class ReframeImageGptImage25FlareRequest ///
/// /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Example: 16:9 /// /// /// An identifier for an ideogram asset.
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageNanoBanana2Request.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageNanoBanana2Request.g.cs index e226ea5..52c6dc6 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageNanoBanana2Request.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageNanoBanana2Request.g.cs @@ -30,13 +30,12 @@ public sealed partial class ReframeImageNanoBanana2Request public string? Imagename { get; set; } /// - /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Aspect ratios Nano Banana 2 can reframe an image to. ///
- /// 969 [global::System.Text.Json.Serialization.JsonPropertyName("aspect_ratio")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.NanoBanana2ReframeAspectRatioJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required string AspectRatio { get; set; } + public required global::Ideogram.NanoBanana2ReframeAspectRatio AspectRatio { get; set; } /// /// API-key requests are always private. For bearer-authenticated
@@ -72,8 +71,7 @@ public sealed partial class ReframeImageNanoBanana2Request /// Initializes a new instance of the class. ///
/// - /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Aspect ratios Nano Banana 2 can reframe an image to. /// /// /// An identifier for an ideogram asset.
@@ -103,7 +101,7 @@ public sealed partial class ReframeImageNanoBanana2Request [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ReframeImageNanoBanana2Request( - string aspectRatio, + global::Ideogram.NanoBanana2ReframeAspectRatio aspectRatio, global::Ideogram.AssetIdentifier? imageAssetIdentifier, byte[]? image, string? imagename, @@ -114,7 +112,7 @@ public ReframeImageNanoBanana2Request( this.ImageAssetIdentifier = imageAssetIdentifier; this.Image = image; this.Imagename = imagename; - this.AspectRatio = aspectRatio ?? throw new global::System.ArgumentNullException(nameof(aspectRatio)); + this.AspectRatio = aspectRatio; this.Private = @private; this.NumImages = numImages; this.Seed = seed; diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageNanoBananaProRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageNanoBananaProRequest.g.cs index 9a7a97b..f4adb71 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageNanoBananaProRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.ReframeImageNanoBananaProRequest.g.cs @@ -31,13 +31,12 @@ public sealed partial class ReframeImageNanoBananaProRequest public string? Imagename { get; set; } /// - /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Aspect ratios Nano Banana Pro can reframe an image to. ///
- /// 969 [global::System.Text.Json.Serialization.JsonPropertyName("aspect_ratio")] + [global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.NanoBananaProReframeAspectRatioJsonConverter))] [global::System.Text.Json.Serialization.JsonRequired] - public required string AspectRatio { get; set; } + public required global::Ideogram.NanoBananaProReframeAspectRatio AspectRatio { get; set; } /// /// The output resolution tier. The model sizes its output by tier at the requested aspect ratio; exact pixel dimensions cannot be requested.
@@ -81,8 +80,7 @@ public sealed partial class ReframeImageNanoBananaProRequest /// Initializes a new instance of the class. ///
/// - /// The requested output aspect ratio, as `width:height`.
- /// Example: 969 + /// Aspect ratios Nano Banana Pro can reframe an image to. /// /// /// An identifier for an ideogram asset.
@@ -116,7 +114,7 @@ public sealed partial class ReframeImageNanoBananaProRequest [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public ReframeImageNanoBananaProRequest( - string aspectRatio, + global::Ideogram.NanoBananaProReframeAspectRatio aspectRatio, global::Ideogram.AssetIdentifier? imageAssetIdentifier, byte[]? image, string? imagename, @@ -128,7 +126,7 @@ public ReframeImageNanoBananaProRequest( this.ImageAssetIdentifier = imageAssetIdentifier; this.Image = image; this.Imagename = imagename; - this.AspectRatio = aspectRatio ?? throw new global::System.ArgumentNullException(nameof(aspectRatio)); + this.AspectRatio = aspectRatio; this.ResolutionTier = resolutionTier; this.Private = @private; this.NumImages = numImages; diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.SkechersStyleEditRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.SkechersStyleEditRequest.g.cs index ec00564..639560b 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.SkechersStyleEditRequest.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.SkechersStyleEditRequest.g.cs @@ -4,7 +4,7 @@ namespace Ideogram { /// - /// Example: {"base_description":"base_description","aspect_ratio":61,"private":true,"reference_asset_identifiers":[{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"},{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"},{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"},{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"},{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}],"webhook_url":"https://api.example.com/webhooks/ideogram","base_generation_size":"2k","base_asset_identifier":"","reference_descriptions":["reference_descriptions","reference_descriptions","reference_descriptions","reference_descriptions","reference_descriptions"],"resolved_instruction":"resolved_instruction","num_images":0,"quality":null} + /// Example: {"base_description":"base_description","aspect_ratio":"1:1","private":true,"reference_asset_identifiers":[{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"},{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"},{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"},{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"},{"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}],"webhook_url":"https://api.example.com/webhooks/ideogram","base_generation_size":"2k","base_asset_identifier":"","reference_descriptions":["reference_descriptions","reference_descriptions","reference_descriptions","reference_descriptions","reference_descriptions"],"resolved_instruction":"resolved_instruction","num_images":0,"quality":null} /// public sealed partial class SkechersStyleEditRequest { diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.SkechersStyleEditRequestAspectRatio.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.SkechersStyleEditRequestAspectRatio.g.cs index 0ba7779..6cc217a 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.SkechersStyleEditRequestAspectRatio.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.SkechersStyleEditRequestAspectRatio.g.cs @@ -11,23 +11,23 @@ public enum SkechersStyleEditRequestAspectRatio /// /// /// - x184, + x16_9, /// /// /// - x243, + x1_1, /// /// /// - x556, + x3_4, /// /// /// - x61, + x4_3, /// /// /// - x969, + x9_16, } /// @@ -42,11 +42,11 @@ public static string ToValueString(this SkechersStyleEditRequestAspectRatio valu { return value switch { - SkechersStyleEditRequestAspectRatio.x184 => "184", - SkechersStyleEditRequestAspectRatio.x243 => "243", - SkechersStyleEditRequestAspectRatio.x556 => "556", - SkechersStyleEditRequestAspectRatio.x61 => "61", - SkechersStyleEditRequestAspectRatio.x969 => "969", + SkechersStyleEditRequestAspectRatio.x16_9 => "16:9", + SkechersStyleEditRequestAspectRatio.x1_1 => "1:1", + SkechersStyleEditRequestAspectRatio.x3_4 => "3:4", + SkechersStyleEditRequestAspectRatio.x4_3 => "4:3", + SkechersStyleEditRequestAspectRatio.x9_16 => "9:16", _ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null), }; } @@ -57,11 +57,11 @@ public static string ToValueString(this SkechersStyleEditRequestAspectRatio valu { return value switch { - "184" => SkechersStyleEditRequestAspectRatio.x184, - "243" => SkechersStyleEditRequestAspectRatio.x243, - "556" => SkechersStyleEditRequestAspectRatio.x556, - "61" => SkechersStyleEditRequestAspectRatio.x61, - "969" => SkechersStyleEditRequestAspectRatio.x969, + "16:9" => SkechersStyleEditRequestAspectRatio.x16_9, + "1:1" => SkechersStyleEditRequestAspectRatio.x1_1, + "3:4" => SkechersStyleEditRequestAspectRatio.x3_4, + "4:3" => SkechersStyleEditRequestAspectRatio.x4_3, + "9:16" => SkechersStyleEditRequestAspectRatio.x9_16, _ => null, }; } diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.VideoObject.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.VideoObject.g.cs index 31c1fea..0cabe87 100644 --- a/src/libs/Ideogram/Generated/Ideogram.Models.VideoObject.g.cs +++ b/src/libs/Ideogram/Generated/Ideogram.Models.VideoObject.g.cs @@ -41,9 +41,9 @@ public sealed partial class VideoObject /// /// The actual aspect ratio of the produced video, formatted as "{width}:{height}".
- /// Example: 969 + /// Example: 16:9 ///
- /// 969 + /// 16:9 [global::System.Text.Json.Serialization.JsonPropertyName("aspect_ratio")] [global::System.Text.Json.Serialization.JsonRequired] public required string AspectRatio { get; set; } @@ -75,7 +75,7 @@ public sealed partial class VideoObject /// /// /// The actual aspect ratio of the produced video, formatted as "{width}:{height}".
- /// Example: 969 + /// Example: 16:9 /// /// /// The actual measured length of the produced video in seconds.
diff --git a/src/libs/Ideogram/Generated/autosdk.generated-examples.json b/src/libs/Ideogram/Generated/autosdk.generated-examples.json index aea6699..c37479d 100644 --- a/src/libs/Ideogram/Generated/autosdk.generated-examples.json +++ b/src/libs/Ideogram/Generated/autosdk.generated-examples.json @@ -281,7 +281,7 @@ "Slug": "post-skechers-style-edit", "Description": "Edits the base image while preserving details the instruction does not\nchange. Image 1 is the base; reference images are numbered from image 2\nin the supplied order. Resolve image mentions to these numbers before\nsubmitting. Descriptions identify the selected view or reference.\n\nPoll GET /v2/generations/{generation_id} with the returned generation_id\nuntil the workflow completes or fails.", "Language": "csharp", - "Code": "using var client = new IdeogramClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::Ideogram.SkechersStyleEditRequest\u003E(\n @\u0022{\n \u0022\u0022base_description\u0022\u0022: \u0022\u0022base_description\u0022\u0022,\n \u0022\u0022aspect_ratio\u0022\u0022: 61,\n \u0022\u0022private\u0022\u0022: true,\n \u0022\u0022reference_asset_identifiers\u0022\u0022: [\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n },\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n },\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n },\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n },\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n }\n ],\n \u0022\u0022webhook_url\u0022\u0022: \u0022\u0022https://api.example.com/webhooks/ideogram\u0022\u0022,\n \u0022\u0022base_generation_size\u0022\u0022: \u0022\u00222k\u0022\u0022,\n \u0022\u0022base_asset_identifier\u0022\u0022: \u0022\u0022\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022: [\n \u0022\u0022reference_descriptions\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022\n ],\n \u0022\u0022resolved_instruction\u0022\u0022: \u0022\u0022resolved_instruction\u0022\u0022,\n \u0022\u0022num_images\u0022\u0022: 0,\n \u0022\u0022quality\u0022\u0022: null\n}\u0022)!;\n\nvar response = await client.EditWorkflow.PostSkechersStyleEditAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022generation_id\u0022: \u0022generation_id\u0022\n// }", + "Code": "using var client = new IdeogramClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::Ideogram.SkechersStyleEditRequest\u003E(\n @\u0022{\n \u0022\u0022base_description\u0022\u0022: \u0022\u0022base_description\u0022\u0022,\n \u0022\u0022aspect_ratio\u0022\u0022: \u0022\u00221:1\u0022\u0022,\n \u0022\u0022private\u0022\u0022: true,\n \u0022\u0022reference_asset_identifiers\u0022\u0022: [\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n },\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n },\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n },\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n },\n {\n \u0022\u0022asset_type\u0022\u0022: \u0022\u0022RESPONSE\u0022\u0022,\n \u0022\u0022asset_id\u0022\u0022: \u0022\u00227uS_VESkRI6O3-sVgHQp_A\u0022\u0022\n }\n ],\n \u0022\u0022webhook_url\u0022\u0022: \u0022\u0022https://api.example.com/webhooks/ideogram\u0022\u0022,\n \u0022\u0022base_generation_size\u0022\u0022: \u0022\u00222k\u0022\u0022,\n \u0022\u0022base_asset_identifier\u0022\u0022: \u0022\u0022\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022: [\n \u0022\u0022reference_descriptions\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022,\n \u0022\u0022reference_descriptions\u0022\u0022\n ],\n \u0022\u0022resolved_instruction\u0022\u0022: \u0022\u0022resolved_instruction\u0022\u0022,\n \u0022\u0022num_images\u0022\u0022: 0,\n \u0022\u0022quality\u0022\u0022: null\n}\u0022)!;\n\nvar response = await client.EditWorkflow.PostSkechersStyleEditAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022generation_id\u0022: \u0022generation_id\u0022\n// }", "Format": "sdk", "OperationId": "post_skechers_style_edit", "Setup": "This example assumes \u0060using Ideogram;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." @@ -1117,7 +1117,7 @@ "Slug": "post-generate-image-v2-nano-banana2", "Description": "Generate images with Nano Banana 2. Optionally upload source images as\n\u0060images\u0060 using \u0060multipart/form-data\u0060 to edit them with the prompt.\nReturns results directly by default; set \u0060async\u0060 or supply a\n\u0060webhook_url\u0060 to get a \u0060generation_id\u0060 and poll\n\u0060GET /v2/generations/{generation_id}\u0060.", "Language": "http", - "Code": "### Generate with Nano Banana 2\n# @name post_generate_image_v2_nano_banana2\nPOST {{host}}/v2/image/generate/nano-banana-2?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution_tier\u0022\n\n1K\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022async\u0022\n\nfalse\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022webhook_url\u0022\n\nhttps://api.example.com/webhooks/ideogram\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022target_collection_id\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: The generated images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", + "Code": "### Generate with Nano Banana 2\n# @name post_generate_image_v2_nano_banana2\nPOST {{host}}/v2/image/generate/nano-banana-2?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution_tier\u0022\n\n1K\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022async\u0022\n\nfalse\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022webhook_url\u0022\n\nhttps://api.example.com/webhooks/ideogram\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022target_collection_id\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: The generated images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", "Format": "http", "OperationId": "post_generate_image_v2_nano_banana2", "Setup": null @@ -1128,7 +1128,7 @@ "Slug": "post-generate-image-v2-nano-banana-pro", "Description": "Generate images with Nano Banana Pro. Optionally upload source images as\n\u0060images\u0060 using \u0060multipart/form-data\u0060 to edit them with the prompt.\nReturns results directly by default; set \u0060async\u0060 or supply a\n\u0060webhook_url\u0060 to get a \u0060generation_id\u0060 and poll\n\u0060GET /v2/generations/{generation_id}\u0060.", "Language": "http", - "Code": "### Generate with Nano Banana Pro\n# @name post_generate_image_v2_nano_banana_pro\nPOST {{host}}/v2/image/generate/nano-banana-pro?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution_tier\u0022\n\n1K\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022async\u0022\n\nfalse\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022webhook_url\u0022\n\nhttps://api.example.com/webhooks/ideogram\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022target_collection_id\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: The generated images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", + "Code": "### Generate with Nano Banana Pro\n# @name post_generate_image_v2_nano_banana_pro\nPOST {{host}}/v2/image/generate/nano-banana-pro?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution_tier\u0022\n\n1K\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022async\u0022\n\nfalse\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022webhook_url\u0022\n\nhttps://api.example.com/webhooks/ideogram\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022target_collection_id\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: The generated images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", "Format": "http", "OperationId": "post_generate_image_v2_nano_banana_pro", "Setup": null @@ -1205,7 +1205,7 @@ "Slug": "post-reframe-image-auto", "Description": "Reframe one image to a new aspect ratio without choosing a model.\nIdeogram selects the model best suited to the source and may route\ndifferent requests to different models; the request is billed at the\nchosen model\u0027s price. Supply either an existing Ideogram image asset\nor raw image bytes, but not both.\n\nThis operation is asynchronous. It returns as soon as the request is\naccepted; poll \u0060GET /v2/generations/{generation_id}\u0060 for completion\nand results.", "Language": "http", - "Code": "### Reframe an image, letting Ideogram pick the model\n# @name post_reframe_image_auto\nPOST {{host}}/v2/image/reframe/auto?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n969\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: The referenced source asset was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", + "Code": "### Reframe an image, letting Ideogram pick the model\n# @name post_reframe_image_auto\nPOST {{host}}/v2/image/reframe/auto?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n16:9\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: The referenced source asset was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", "Format": "http", "OperationId": "post_reframe_image_auto", "Setup": null @@ -1216,7 +1216,7 @@ "Slug": "post-reframe-image-bria-expand", "Description": "Extend one image to a new aspect ratio with Bria Expand. The source\npixels are kept exactly as they are, centered on the new canvas, and\nthe model paints only the added area. Supply either an existing\nIdeogram image asset or raw image bytes, but not both. The canvas is\nsized from the source so that the whole source fits.\n\nThis operation is asynchronous. It returns as soon as the request is\naccepted; poll \u0060GET /v2/generations/{generation_id}\u0060 for completion\nand results.", "Language": "http", - "Code": "### Reframe an image with Bria Expand\n# @name post_reframe_image_bria_expand\nPOST {{host}}/v2/image/reframe/bria-expand?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n969\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: The referenced source asset was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", + "Code": "### Reframe an image with Bria Expand\n# @name post_reframe_image_bria_expand\nPOST {{host}}/v2/image/reframe/bria-expand?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n16:9\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: The referenced source asset was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", "Format": "http", "OperationId": "post_reframe_image_bria_expand", "Setup": null @@ -1227,7 +1227,7 @@ "Slug": "post-reframe-image-gpt-image25-flare", "Description": "Recompose one image for a new aspect ratio with GPT Image 2.5 Flare.\nSupply either an existing Ideogram image asset or raw image bytes, but\nnot both. The requested aspect ratio is resolved to the closest output\nsize the model supports.\n\nThis operation is asynchronous. It returns as soon as the request is\naccepted; poll \u0060GET /v2/generations/{generation_id}\u0060 for completion\nand results.", "Language": "http", - "Code": "### Reframe an image with GPT Image 2.5 Flare\n# @name post_reframe_image_gpt_image25_flare\nPOST {{host}}/v2/image/reframe/gpt-image-2-5-flare?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n969\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: The referenced source asset was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", + "Code": "### Reframe an image with GPT Image 2.5 Flare\n# @name post_reframe_image_gpt_image25_flare\nPOST {{host}}/v2/image/reframe/gpt-image-2-5-flare?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n16:9\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: The referenced source asset was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", "Format": "http", "OperationId": "post_reframe_image_gpt_image25_flare", "Setup": null @@ -1249,7 +1249,7 @@ "Slug": "post-reframe-image-nano-banana2", "Description": "Expand an image to a new aspect ratio with Nano Banana 2. Upload the\nsource \u0060image\u0060 using \u0060multipart/form-data\u0060. Always asynchronous:\nreturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nfor results.", "Language": "http", - "Code": "### Reframe with Nano Banana 2\n# @name post_reframe_image_nano_banana2\nPOST {{host}}/v2/image/reframe/nano-banana-2?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n969\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: A referenced resource was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", + "Code": "### Reframe with Nano Banana 2\n# @name post_reframe_image_nano_banana2\nPOST {{host}}/v2/image/reframe/nano-banana-2?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n1:1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: A referenced resource was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", "Format": "http", "OperationId": "post_reframe_image_nano_banana2", "Setup": null @@ -1260,7 +1260,7 @@ "Slug": "post-reframe-image-nano-banana-pro", "Description": "Recompose one image for a new aspect ratio with Nano Banana Pro, at a\n1K, 2K, or 4K output tier. Supply either an existing Ideogram image\nasset or raw image bytes, but not both. The requested aspect ratio is\nresolved to the closest dimensions the model supports at that tier.\n\nThis operation is asynchronous. It returns as soon as the request is\naccepted; poll \u0060GET /v2/generations/{generation_id}\u0060 for completion\nand results.", "Language": "http", - "Code": "### Reframe an image with Nano Banana Pro\n# @name post_reframe_image_nano_banana_pro\nPOST {{host}}/v2/image/reframe/nano-banana-pro?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n969\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution_tier\u0022\n\n1K\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: The referenced source asset was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", + "Code": "### Reframe an image with Nano Banana Pro\n# @name post_reframe_image_nano_banana_pro\nPOST {{host}}/v2/image/reframe/nano-banana-pro?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image\u0022; filename=\u0022image.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./image.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\n1:1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution_tier\u0022\n\n1K\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: An acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060.\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: The referenced source asset was not found.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.", "Format": "http", "OperationId": "post_reframe_image_nano_banana_pro", "Setup": null diff --git a/src/libs/Ideogram/openapi.json b/src/libs/Ideogram/openapi.json index ba185c7..9dcbf3e 100644 --- a/src/libs/Ideogram/openapi.json +++ b/src/libs/Ideogram/openapi.json @@ -8855,6 +8855,7 @@ "tags": [ "images-generate" ], + "x-tool-description": "Generate from text, or edit and recompose supplied image assets with Ideogram 4.5, optionally guided by reference images.", "x-playground-endpoint": { "id": "generate-v45", "label": "Generate 4.5", @@ -9793,6 +9794,7 @@ "tags": [ "images-precise-edit" ], + "x-tool-description": "Targeted edit of one image with Ideogram 4.5; everything the instruction does not mention is kept, and the output keeps the source's exact width and height.", "x-openapi-router-controller": "external_api.generated.openapi.controllers.images_precise_edit_controller" } }, @@ -9885,6 +9887,7 @@ "tags": [ "images-reframe" ], + "x-tool-description": "Change one image's aspect ratio while keeping its content, extending the scene to fill the new frame. For several ratios, make one call per ratio.", "x-fern-sdk-group-name": [ "image", "reframe" @@ -17404,7 +17407,7 @@ "minimum": 1, "title": "NumImages", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "resolution": { "$ref": "#/components/schemas/Resolution" @@ -17493,7 +17496,7 @@ "minimum": 1, "title": "NumImages", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "seed": { "description": "Random seed. Set for reproducible generation.", @@ -19586,7 +19589,7 @@ "minimum": 1, "title": "NumImages", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "resolution": { "$ref": "#/components/schemas/ResolutionV3" @@ -21890,7 +21893,7 @@ "minimum": 1, "title": "NumImages", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "private": { "description": "Whether to keep the result private. When omitted, defaults to your\nplan's setting. Enterprise generations are always private.\n", @@ -21957,7 +21960,7 @@ "minimum": 1, "title": "NumImages", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "private": { "description": "Whether to keep the result private. When omitted, defaults to your\nplan's setting. Enterprise generations are always private.\n", @@ -24222,7 +24225,8 @@ "image_asset_identifier" ], "title": "Product360VideoRequest", - "type": "object" + "type": "object", + "x-tool-description": "image_asset_identifier is the product image to spin; it works best on one product on a plain background." }, "Product360VideoDirection": { "description": "Direction the product rotates around its vertical axis.", @@ -25380,7 +25384,7 @@ "SkechersStyleEditRequest": { "example": { "base_description": "base_description", - "aspect_ratio": 61, + "aspect_ratio": "1:1", "private": true, "reference_asset_identifiers": [ { @@ -25464,11 +25468,11 @@ "aspect_ratio": { "description": "Output ratio. When omitted, derive the nearest supported ratio from the base.", "enum": [ - 61, - 243, - 969, - 184, - 556 + "1:1", + "4:3", + "16:9", + "3:4", + "9:16" ], "title": "aspect_ratio", "type": "string" @@ -26795,7 +26799,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "color_palette": { "$ref": "#/components/schemas/IdeogramColorPalette" @@ -27007,7 +27011,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "color_palette": { "$ref": "#/components/schemas/IdeogramColorPalette" @@ -27202,7 +27206,7 @@ "minimum": 1, "title": "num_images", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "resolution": { "allOf": [ @@ -27434,7 +27438,7 @@ "minimum": 1, "title": "num_images", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "resolution": { "allOf": [ @@ -27710,7 +27714,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "color_palette": { "$ref": "#/components/schemas/IdeogramColorPalette" @@ -27944,7 +27948,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "color_palette": { "$ref": "#/components/schemas/IdeogramColorPalette" @@ -28144,7 +28148,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "resolution": { "allOf": [ @@ -28387,7 +28391,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "style_type": { "default": "auto", @@ -28603,7 +28607,7 @@ "minimum": 1, "title": "num_images", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "enable_copyright_detection": { "description": "Optional. Run copyright detection on the generated images. Adds latency; flagged images are returned with `is_image_safe: false`.", @@ -28750,7 +28754,7 @@ "minimum": 1, "title": "num_images", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "aspect_ratio": { "$ref": "#/components/schemas/IdeogramV4AspectRatio" @@ -28925,7 +28929,7 @@ "minimum": 1, "title": "num_images", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "quality": { "allOf": [ @@ -29118,7 +29122,7 @@ "minimum": 1, "title": "num_images", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "async": { "default": false, @@ -29217,6 +29221,7 @@ "maxLength": 10000, "minLength": 1, "type": "string", + "x-tool-description": "Generation prompt, or the edit instruction when image_asset_identifiers are supplied.", "x-playground-field": { "label": "Prompt", "control": "textarea", @@ -29241,7 +29246,8 @@ }, "maxItems": 5, "minItems": 1, - "type": "array" + "type": "array", + "x-tool-description": "Up to 5 image assets. The first is the image being edited; any others are references (e.g. a product, logo, or style to bring in)." }, "images": { "description": "Optional source images to edit (max 5, max 25MB each; JPEG, PNG, or WEBP). The first image is the one being edited; any others are extra references. Multipart requests only.", @@ -29250,12 +29256,14 @@ "type": "string" }, "maxItems": 5, - "type": "array" + "type": "array", + "x-tool-description": "File upload only; tools cannot send it. Use image_asset_identifiers." }, "mask": { "description": "An optional mask that limits the edit to part of the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the first source image and contain both black and white areas. A masked request can include at most three other source images. With a mask, the output is always the first source image's own size, so `size` cannot be set.", "format": "binary", - "type": "string" + "type": "string", + "x-tool-description": "File upload only; tools cannot send it. Use precise_edit_ideogram_4_5 for targeted edits." }, "size": { "default": "auto", @@ -29263,6 +29271,7 @@ "example": "2048x2048", "nullable": true, "type": "string", + "x-tool-description": "Omit for auto. Without image_asset_identifiers, an exact size must be one of: 2048x2048, 1440x2880, 2880x1440, 1664x2496, 2496x1664, 1792x2240, 2240x1792, 1440x2560, 2560x1440, 1600x2560, 2560x1600, 1728x2304, 2304x1728, 1296x3168, 3168x1296, 1152x2944, 2944x1152, 1248x3328, 3328x1248, 1280x3072, 3072x1280, 1024x3072, 3072x1024, 1024x1024, 896x1120, 1120x896, 864x1152, 1152x864, 832x1248, 1248x832, 800x1280, 1280x800, 720x1280, 1280x720, 720x1440, 1440x720; pick the one closest to the requested aspect ratio. With image_asset_identifiers, \"source\" keeps the first image's size, and an exact WIDTHxHEIGHT (sides multiples of 32 and at least 256px, at most 2048x2048 total pixels, ratio up to 6:1) reshapes it.", "x-playground-field": { "label": "Size", "control": "select", @@ -29322,7 +29331,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "enable_copyright_detection": { "description": "Optional. Run copyright detection on the generated images. Adds latency; flagged images are returned with `is_image_safe: false`.", @@ -29365,7 +29374,8 @@ "required": [ "prompt" ], - "type": "object" + "type": "object", + "x-tool-description": "Supply image_asset_identifiers to edit existing images; omit them to generate from text. Never send images or mask." }, "PreciseEditImageIdeogram45Response": { "description": "Response returned by `POST /v2/image/precise-edit/ideogram-4-5`.\nSynchronous requests (the default) include the edited images in `data`.\nAsynchronous requests omit `data`; poll\n`GET /v2/generations/{generation_id}` with the returned\n`generation_id`.\n", @@ -29419,7 +29429,8 @@ "description": "The edit instruction, in natural language or as a structured JSON\nprompt. Natural language is automatically converted into a\nstructured prompt; valid structured JSON is used as is.\n", "maxLength": 10000, "minLength": 1, - "type": "string" + "type": "string", + "x-tool-description": "Edit instruction naming only what changes; say what must stay unchanged if it matters." }, "image_asset_identifier": { "allOf": [ @@ -29427,12 +29438,14 @@ "$ref": "#/components/schemas/AssetIdentifier" } ], - "description": "The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied. Cannot be combined with `mask`." + "description": "The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied. Cannot be combined with `mask`.", + "x-tool-description": "Required. The image asset to edit; copy asset_id and asset_type from the result or upload." }, "image": { "description": "The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.", "format": "binary", - "type": "string" + "type": "string", + "x-tool-description": "File upload only; tools cannot send it. Use image_asset_identifier." }, "reference_image_asset_identifiers": { "description": "Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too, and cannot be combined with `mask`.", @@ -29441,7 +29454,8 @@ }, "maxItems": 4, "minItems": 1, - "type": "array" + "type": "array", + "x-tool-description": "Up to 4 image assets that guide the edit (e.g. an object or logo to insert). Never edited themselves." }, "reference_images": { "description": "Optional images to guide the edit (max 4, max 50MB each; JPEG, PNG, or WEBP). They are never edited themselves; only `image` is. Multipart requests only; ignored if `reference_image_asset_identifiers` is also supplied. A request with a `mask` can include at most three, because the mask takes up one reference slot.", @@ -29450,18 +29464,21 @@ "type": "string" }, "maxItems": 4, - "type": "array" + "type": "array", + "x-tool-description": "File upload only; tools cannot send it. Use reference_image_asset_identifiers." }, "mask": { "description": "An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.", "format": "binary", - "type": "string" + "type": "string", + "x-tool-description": "File upload only; tools cannot send it. Describe the region in the prompt instead." }, "context_window": { "default": "none", "description": "How much of the image being edited the model may see and change.\n`none`, the default, edits the whole image. A large image may come back smaller than it was sent.\n`auto` fits a region around what the `mask` selects and edits only that region, so its detail is kept. It requires a `mask`. A small enough image has no region to fit and is edited as it is.\n`x,y,width,height` names the region explicitly, in the edited image's own pixels with the origin at its top-left corner — for example `1024,512,2048,1536`. The region must lie inside the image, measure at least 256px on each side, have an aspect ratio between 1:6 and 6:1, and cover no more than 4194304 pixels. A `mask` may select only pixels inside it.\nWith `auto` or an explicit region, every pixel outside the region is returned exactly as supplied and the output keeps the image's own width and height.", "pattern": "^(none|auto|[0-9]+,[0-9]+,[0-9]+,[0-9]+)$", - "type": "string" + "type": "string", + "x-tool-description": "Omit. Only usable with a file-uploaded image." }, "quality": { "default": "medium", @@ -29498,7 +29515,8 @@ "async": { "default": false, "description": "When false (the default), the request waits until the images are ready and returns them in `data`. When true, the request returns as soon as it is accepted; poll `GET /v2/generations/{generation_id}` with the returned `generation_id` for the result.", - "type": "boolean" + "type": "boolean", + "x-tool-description": "Always overridden to true; tools run asynchronously." }, "webhook_url": { "description": "HTTPS URL that Ideogram delivers the generated result to. Ideogram sends a\nJSON POST to this URL once all images for the request have finished\ngenerating. The body mirrors the synchronous generate response:\n`request_id`, `created`, and a `data` array\ncontaining every generated image (`url`, `prompt`, `resolution`, `seed`,\n`is_image_safe`). Each delivery is signed with Ed25519 and verifiable\nagainst the public keys at `https://api.ideogram.ai/v1/.well-known/jwks.json`. Must be HTTPS;\nprivate and loopback hosts and the cloud metadata service are rejected.\n", @@ -29512,17 +29530,20 @@ "private": { "description": "When true or omitted, the output is kept private to your account. Set to false to publish the output to the public feed. Enterprise accounts always generate privately.", "nullable": true, - "type": "boolean" + "type": "boolean", + "x-tool-description": "Omit/true: private; false: public. Enterprise: always private." }, "target_collection_id": { "description": "A collection you can write to, by its URL-safe base64 collection id. The output images are added to it when the request completes.", - "type": "string" + "type": "string", + "x-tool-description": "Destination collection ID (URL-safe base64); must be writable." } }, "required": [ "prompt" ], - "type": "object" + "type": "object", + "x-tool-description": "Send prompt and image_asset_identifier, plus optional reference_image_asset_identifiers. Never send image, reference_images, mask, or context_window." }, "GenerateImageNanoBanana2Response": { "description": "Response returned by `POST /v2/image/generate/nano-banana-2`.\nSynchronous requests (the default) include the generated images in\n`data`. Asynchronous requests omit `data`; poll\n`GET /v2/generations/{generation_id}` with the returned\n`generation_id`. `seed` is the seed that was used, including when you\ndid not set one.\n", @@ -29608,9 +29629,7 @@ "x-tool-description": "Images to edit (max 10; JPEG/PNG/WEBP, max 25MB each). Multipart only." }, "aspect_ratio": { - "description": "The requested output aspect ratio, for example \"1:1\", \"16:9\", or \"9:16\". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to \"1:1\".", - "type": "string", - "x-tool-description": "Ratio (e.g. 16:9); uses the closest supported ratio at the requested resolution tier. Default 1:1." + "$ref": "#/components/schemas/NanoBanana2AspectRatio" }, "resolution_tier": { "default": "1K", @@ -29628,7 +29647,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "seed": { "description": "Random seed. Set for reproducible generation.", @@ -29756,9 +29775,7 @@ "x-tool-description": "Images to edit (max 10; JPEG/PNG/WEBP, max 25MB each). Multipart only." }, "aspect_ratio": { - "description": "The requested output aspect ratio, for example \"1:1\", \"16:9\", or \"9:16\". The output is served at the closest aspect ratio the model supports, at the requested resolution tier. Defaults to \"1:1\".", - "type": "string", - "x-tool-description": "Ratio (e.g. 16:9); uses the closest supported ratio at the requested resolution tier. Default 1:1." + "$ref": "#/components/schemas/NanoBananaProAspectRatio" }, "resolution_tier": { "default": "1K", @@ -29776,7 +29793,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "seed": { "description": "Random seed. Set for reproducible generation.", @@ -29908,7 +29925,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "seed": { "description": "Random seed. Set for reproducible generation.", @@ -30074,7 +30091,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "seed": { "description": "Random seed. Set for reproducible generation.", @@ -30238,7 +30255,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "seed": { "description": "Random seed. Set for reproducible generation.", @@ -30414,7 +30431,7 @@ "minimum": 1, "title": "num_images", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "style_type": { "$ref": "#/components/schemas/IdeogramV2StyleType" @@ -30579,7 +30596,7 @@ "minimum": 1, "title": "num_images", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "style_type": { "$ref": "#/components/schemas/IdeogramV2StyleType" @@ -31183,7 +31200,7 @@ "minimum": 1, "title": "NumImages", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "seed": { "description": "Random seed. Set for reproducible generation.", @@ -31310,12 +31327,7 @@ "type": "string" }, "aspect_ratio": { - "description": "The requested output aspect ratio, as `width:height`.", - "example": 969, - "maxLength": 21, - "minLength": 3, - "pattern": "^[1-9][0-9]*:[1-9][0-9]*$", - "type": "string" + "$ref": "#/components/schemas/NanoBanana2ReframeAspectRatio" }, "private": { "description": "API-key requests are always private. For bearer-authenticated\nrequests, this controls whether the result is private; when\nomitted, it follows the caller's plan entitlement. Enterprise\ngenerations are always private.\n", @@ -31344,14 +31356,6 @@ "type": "object", "x-tool-description": "Requires image_asset_identifier for the source image." }, - "ReframeAspectRatio": { - "description": "The requested output aspect ratio, as `width:height`.", - "example": 969, - "maxLength": 21, - "minLength": 3, - "pattern": "^[1-9][0-9]*:[1-9][0-9]*$", - "type": "string" - }, "ReframeImageNanoBananaProResponse": { "description": "Acknowledges an accepted asynchronous Reframe request. Poll\n`GET /v2/generations/{generation_id}` for completion and output\nimages. The seed, width, and height report the values the request resolved to when the caller left them unset.\n", "example": { @@ -31408,12 +31412,7 @@ "type": "string" }, "aspect_ratio": { - "description": "The requested output aspect ratio, as `width:height`.", - "example": 969, - "maxLength": 21, - "minLength": 3, - "pattern": "^[1-9][0-9]*:[1-9][0-9]*$", - "type": "string" + "$ref": "#/components/schemas/NanoBananaProReframeAspectRatio" }, "resolution_tier": { "default": "1K", @@ -31508,7 +31507,7 @@ }, "aspect_ratio": { "description": "The requested output aspect ratio, as `width:height`.", - "example": 969, + "example": "16:9", "maxLength": 21, "minLength": 3, "pattern": "^[1-9][0-9]*:[1-9][0-9]*$", @@ -31551,6 +31550,14 @@ ], "type": "object" }, + "ReframeAspectRatio": { + "description": "The requested output aspect ratio, as `width:height`.", + "example": "16:9", + "maxLength": 21, + "minLength": 3, + "pattern": "^[1-9][0-9]*:[1-9][0-9]*$", + "type": "string" + }, "ReframeImageBriaExpandResponse": { "description": "Acknowledges an accepted asynchronous Reframe request. Poll\n`GET /v2/generations/{generation_id}` for completion and output\nimages. The width and height are the canvas the source was placed on.\n", "example": { @@ -31608,7 +31615,7 @@ }, "aspect_ratio": { "description": "The requested output aspect ratio, as `width:height`.", - "example": 969, + "example": "16:9", "maxLength": 21, "minLength": 3, "pattern": "^[1-9][0-9]*:[1-9][0-9]*$", @@ -31686,11 +31693,12 @@ "image": { "description": "The JPEG, PNG, or WEBP image to reframe (max 50MB).", "format": "binary", - "type": "string" + "type": "string", + "x-tool-description": "File upload only; tools cannot send it. Use image_asset_identifier." }, "aspect_ratio": { "description": "The requested output aspect ratio, as `width:height`.", - "example": 969, + "example": "16:9", "maxLength": 21, "minLength": 3, "pattern": "^[1-9][0-9]*:[1-9][0-9]*$", @@ -31720,7 +31728,8 @@ "required": [ "aspect_ratio" ], - "type": "object" + "type": "object", + "x-tool-description": "Send image_asset_identifier and aspect_ratio. Never send image." }, "GenerateImageIdeogramV3CharacterResponse": { "description": "Response returned by `POST /v2/image/generate/ideogram-3-character`.\nSynchronous requests (the default) include the generated images in\n`data`. Asynchronous requests omit `data`; poll\n`GET /v2/generations/{generation_id}` with the returned\n`generation_id`. `seed` is the seed that was used, including when you\ndid not set one.\n", @@ -31862,7 +31871,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "style_type": { "default": "auto", @@ -32313,7 +32322,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "seed": { "description": "Random seed. Set for reproducible generation.", @@ -32539,7 +32548,7 @@ "maximum": 8, "minimum": 1, "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "enable_copyright_detection": { "description": "Optional. Run copyright detection on the generated images. Adds latency; flagged images are returned with `is_image_safe: false`.", @@ -37239,7 +37248,7 @@ "minimum": 1, "title": "NumImages", "type": "integer", - "x-tool-description": "Image count." + "x-tool-description": "Number of variations of this one prompt. For different subjects, make separate calls instead of listing them in one prompt." }, "StyleType": { "description": "The style type to generate with; this is only applicable for models V_2 and above and should not be specified for model versions V_1.", @@ -37860,7 +37869,7 @@ }, "aspect_ratio": { "description": "The actual aspect ratio of the produced video, formatted as \"{width}:{height}\".", - "example": 969, + "example": "16:9", "title": "aspect_ratio", "type": "string" }, @@ -38449,6 +38458,48 @@ "title": "GenerationQuality", "type": "string" }, + "NanoBanana2AspectRatio": { + "default": "auto", + "description": "Output aspect ratios Nano Banana 2 serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.", + "enum": [ + "auto", + "1:1", + "3:2", + "2:3", + "4:3", + "3:4", + "5:4", + "4:5", + "16:9", + "9:16", + "21:9", + "4:1", + "1:4", + "8:1", + "1:8" + ], + "title": "NanoBanana2AspectRatio", + "type": "string" + }, + "NanoBananaProAspectRatio": { + "default": "auto", + "description": "Output aspect ratios Nano Banana Pro serves. `auto` lets the model choose the shape; an edit keeps its source image's shape.", + "enum": [ + "auto", + "1:1", + "3:2", + "2:3", + "4:3", + "3:4", + "5:4", + "4:5", + "16:9", + "9:16", + "21:9" + ], + "title": "NanoBananaProAspectRatio", + "type": "string" + }, "IdeogramV2StyleType": { "description": "The style type to generate with. When omitted, the model's default styling is used; pass `auto` to have a style selected automatically from the prompt.", "enum": [ @@ -38463,6 +38514,44 @@ "title": "IdeogramV2StyleType", "type": "string" }, + "NanoBanana2ReframeAspectRatio": { + "description": "Aspect ratios Nano Banana 2 can reframe an image to.", + "enum": [ + "1:1", + "3:2", + "2:3", + "4:3", + "3:4", + "5:4", + "4:5", + "16:9", + "9:16", + "21:9", + "4:1", + "1:4", + "8:1", + "1:8" + ], + "title": "NanoBanana2ReframeAspectRatio", + "type": "string" + }, + "NanoBananaProReframeAspectRatio": { + "description": "Aspect ratios Nano Banana Pro can reframe an image to.", + "enum": [ + "1:1", + "3:2", + "2:3", + "4:3", + "3:4", + "5:4", + "4:5", + "16:9", + "9:16", + "21:9" + ], + "title": "NanoBananaProReframeAspectRatio", + "type": "string" + }, "Price": { "description": "Represents a price.", "example": {