diff --git a/src/libs/Ideogram/Generated/Ideogram.EditWorkflow.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.EditWorkflow.JsonSerializerContext.g.cs
index ae00dba0..c02739a2 100644
--- a/src/libs/Ideogram/Generated/Ideogram.EditWorkflow.JsonSerializerContext.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.EditWorkflow.JsonSerializerContext.g.cs
@@ -29,6 +29,7 @@ namespace Ideogram
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundQuality), TypeInfoPropertyName = "ReplaceBackgroundQuality2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundIdeogramV3Request))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundIdeogramV3RequestRenderingSpeed), TypeInfoPropertyName = "ReplaceBackgroundIdeogramV3RequestRenderingSpeed2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundIdeogram45Request))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LookbookResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LookbookRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LookbookRequestCategory), TypeInfoPropertyName = "LookbookRequestCategory2")]
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs
index d3f16d5e..e7ca5b27 100644
--- a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs
@@ -61,6 +61,10 @@ public partial interface IImagesGenerateClient
/// The custom model URI, in the form `model/<model_name>/version/<version_name>`. You or your organization must have access to the model. The model determines which rendering speeds are supported and whether backgrounds are removed automatically.
/// Example: model/my-custom-model/version/1
///
+ ///
+ /// Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.
+ /// Default Value: false
+ ///
///
/// Description of what to exclude from the images. The prompt takes precedence over the negative prompt.
///
@@ -136,6 +140,7 @@ public partial interface IImagesGenerateClient
string prompt,
string customModelUri,
bool? dryRun = default,
+ bool? transparentBackground = default,
string? negativePrompt = default,
int? seed = default,
global::Ideogram.ResolutionV3? resolution = default,
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs
index c0dad8ac..f6ec66bf 100644
--- a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs
@@ -63,6 +63,10 @@ public partial interface IImagesGenerateClient
/// The custom model URI, in the form `model/<model_name>/version/<version_name>`. You or your organization must have access to the model. The model determines which rendering speeds are supported.
/// Example: model/my-custom-v4-model/version/1
///
+ ///
+ /// Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.
+ /// Default Value: false
+ ///
///
/// Custom models whose pLoRA checkpoints are fused beneath the `custom_model_uri` model, in list order: the first entry is applied first and `custom_model_uri` last. Every entry must be an accessible Ideogram 4.0 LoRA with a registered checkpoint and must not repeat `custom_model_uri`.
/// Example: [{"custom_model_uri":"model/my-base-plora/version/1","weight":0.5}]
@@ -122,6 +126,7 @@ public partial interface IImagesGenerateClient
string prompt,
string customModelUri,
bool? dryRun = default,
+ bool? transparentBackground = default,
global::System.Collections.Generic.IList? stackedCustomModels = default,
global::Ideogram.MagicPromptMode? magicPrompt = default,
int? seed = default,
diff --git a/src/libs/Ideogram/Generated/Ideogram.IToolClient.ReplaceBackgroundIdeogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.IToolClient.ReplaceBackgroundIdeogram45.g.cs
new file mode 100644
index 00000000..300d2217
--- /dev/null
+++ b/src/libs/Ideogram/Generated/Ideogram.IToolClient.ReplaceBackgroundIdeogram45.g.cs
@@ -0,0 +1,131 @@
+#nullable enable
+
+namespace Ideogram
+{
+ public partial interface IToolClient
+ {
+ ///
+ /// Replace background with Ideogram 4.5
+ /// Rebuild the background of an image as the setting shown in a
+ /// `background_reference` image, with Ideogram 4.5 at its highest
+ /// quality. The people in the source image are kept, people in the
+ /// reference are left out, and results keep the source image's aspect
+ /// ratio. Returns a `generation_id`; poll
+ /// `GET /v2/generations/{generation_id}` or supply a `webhook_url`.
+ ///
+ ///
+ /// Default Value: false
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task ReplaceBackgroundIdeogram45Async(
+
+ global::Ideogram.ReplaceBackgroundIdeogram45Request request,
+ bool? dryRun = default,
+ global::Ideogram.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Replace background with Ideogram 4.5
+ /// Rebuild the background of an image as the setting shown in a
+ /// `background_reference` image, with Ideogram 4.5 at its highest
+ /// quality. The people in the source image are kept, people in the
+ /// reference are left out, and results keep the source image's aspect
+ /// ratio. Returns a `generation_id`; poll
+ /// `GET /v2/generations/{generation_id}` or supply a `webhook_url`.
+ ///
+ ///
+ /// Default Value: false
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task> ReplaceBackgroundIdeogram45AsResponseAsync(
+
+ global::Ideogram.ReplaceBackgroundIdeogram45Request request,
+ bool? dryRun = default,
+ global::Ideogram.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ ///
+ /// Replace background with Ideogram 4.5
+ /// Rebuild the background of an image as the setting shown in a
+ /// `background_reference` image, with Ideogram 4.5 at its highest
+ /// quality. The people in the source image are kept, people in the
+ /// reference are left out, and results keep the source image's aspect
+ /// ratio. Returns a `generation_id`; poll
+ /// `GET /v2/generations/{generation_id}` or supply a `webhook_url`.
+ ///
+ ///
+ /// Default Value: false
+ ///
+ ///
+ /// An identifier for an ideogram asset.
+ /// Example: {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ ///
+ ///
+ /// The source image. JPEG, PNG, WEBP, HEIF, AVIF, GIF, BMP, TIFF, and
+ /// MPO are supported, up to 50 MB. Its longer side may be at most the
+ /// model's maximum aspect ratio times its shorter side; a more extreme
+ /// proportion is rejected with a 400 that states the allowed range.
+ /// Multipart requests only.
+ ///
+ ///
+ /// The source image. JPEG, PNG, WEBP, HEIF, AVIF, GIF, BMP, TIFF, and
+ /// MPO are supported, up to 50 MB. Its longer side may be at most the
+ /// model's maximum aspect ratio times its shorter side; a more extreme
+ /// proportion is rejected with a 400 that states the allowed range.
+ /// Multipart requests only.
+ ///
+ ///
+ /// An identifier for an ideogram asset.
+ /// Example: {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ ///
+ ///
+ /// A photo of the setting the new background should match. Its people
+ /// are not copied. It is held to the same aspect-ratio limit as
+ /// `image`. Multipart requests only.
+ ///
+ ///
+ /// A photo of the setting the new background should match. Its people
+ /// are not copied. It is held to the same aspect-ratio limit as
+ /// `image`. Multipart requests only.
+ ///
+ ///
+ /// The number of images to generate.
+ /// Default Value: 1
+ ///
+ ///
+ /// Whether to keep the result private. When omitted, the result is
+ /// private. Enterprise generations are always private.
+ ///
+ ///
+ /// HTTPS URL that Ideogram delivers the generated result to. Ideogram sends a
+ /// JSON POST to this URL once all images for the request have finished
+ /// generating. The body mirrors the synchronous generate response:
+ /// `request_id`, `created`, and a `data` array
+ /// containing every generated image (`url`, `prompt`, `resolution`, `seed`,
+ /// `is_image_safe`). Each delivery is signed with Ed25519 and verifiable
+ /// against the public keys at `https://api.ideogram.ai/v1/.well-known/jwks.json`. Must be HTTPS;
+ /// private and loopback hosts and the cloud metadata service are rejected.
+ /// Example: https://api.example.com/webhooks/ideogram
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ global::System.Threading.Tasks.Task ReplaceBackgroundIdeogram45Async(
+ bool? dryRun = default,
+ global::Ideogram.AssetIdentifier? imageAssetIdentifier = default,
+ byte[]? image = default,
+ string? imagename = default,
+ global::Ideogram.AssetIdentifier? backgroundReferenceAssetIdentifier = default,
+ byte[]? backgroundReference = default,
+ string? backgroundReferencename = default,
+ int? numImages = default,
+ bool? @private = default,
+ string? webhookUrl = default,
+ global::Ideogram.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default);
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs
index d0c4cc38..b780aaf5 100644
--- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3CustomModel.g.cs
@@ -172,6 +172,14 @@ partial void ProcessPostGenerateImageV2IdeogramV3CustomModelResponseContent(
content: new global::System.Net.Http.StringContent(request.CustomModelUri ?? string.Empty),
name: "\"custom_model_uri\"");
+ if (request.TransparentBackground != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.TransparentBackground, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
+ name: "\"transparent_background\"");
+
+ }
if (request.NegativePrompt != default)
{
@@ -923,6 +931,10 @@ partial void ProcessPostGenerateImageV2IdeogramV3CustomModelResponseContent(
/// The custom model URI, in the form `model/<model_name>/version/<version_name>`. You or your organization must have access to the model. The model determines which rendering speeds are supported and whether backgrounds are removed automatically.
/// Example: model/my-custom-model/version/1
///
+ ///
+ /// Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.
+ /// Default Value: false
+ ///
///
/// Description of what to exclude from the images. The prompt takes precedence over the negative prompt.
///
@@ -998,6 +1010,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3CustomModelResponseContent(
string prompt,
string customModelUri,
bool? dryRun = default,
+ bool? transparentBackground = default,
string? negativePrompt = default,
int? seed = default,
global::Ideogram.ResolutionV3? resolution = default,
@@ -1022,6 +1035,7 @@ partial void ProcessPostGenerateImageV2IdeogramV3CustomModelResponseContent(
{
Prompt = prompt,
CustomModelUri = customModelUri,
+ TransparentBackground = transparentBackground,
NegativePrompt = negativePrompt,
Seed = seed,
Resolution = resolution,
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs
index b3d4d944..7da471a4 100644
--- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV4CustomModel.g.cs
@@ -740,6 +740,10 @@ partial void ProcessPostGenerateImageV2IdeogramV4CustomModelResponseContent(
/// The custom model URI, in the form `model/<model_name>/version/<version_name>`. You or your organization must have access to the model. The model determines which rendering speeds are supported.
/// Example: model/my-custom-v4-model/version/1
///
+ ///
+ /// Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.
+ /// Default Value: false
+ ///
///
/// Custom models whose pLoRA checkpoints are fused beneath the `custom_model_uri` model, in list order: the first entry is applied first and `custom_model_uri` last. Every entry must be an accessible Ideogram 4.0 LoRA with a registered checkpoint and must not repeat `custom_model_uri`.
/// Example: [{"custom_model_uri":"model/my-base-plora/version/1","weight":0.5}]
@@ -799,6 +803,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4CustomModelResponseContent(
string prompt,
string customModelUri,
bool? dryRun = default,
+ bool? transparentBackground = default,
global::System.Collections.Generic.IList? stackedCustomModels = default,
global::Ideogram.MagicPromptMode? magicPrompt = default,
int? seed = default,
@@ -817,6 +822,7 @@ partial void ProcessPostGenerateImageV2IdeogramV4CustomModelResponseContent(
{
Prompt = prompt,
CustomModelUri = customModelUri,
+ TransparentBackground = transparentBackground,
StackedCustomModels = stackedCustomModels,
MagicPrompt = magicPrompt,
Seed = seed,
diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs
index 78699016..c9b27b17 100644
--- a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContext.g.cs
@@ -232,6 +232,7 @@ namespace Ideogram
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundQuality), TypeInfoPropertyName = "ReplaceBackgroundQuality2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundIdeogramV3Request))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundIdeogramV3RequestRenderingSpeed), TypeInfoPropertyName = "ReplaceBackgroundIdeogramV3RequestRenderingSpeed2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ReplaceBackgroundIdeogram45Request))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ListAccountApiKeysResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AccountApiKey))]
@@ -508,7 +509,6 @@ namespace Ideogram
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.RechargeSettings))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PostApiSubscriptionResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PostApiSubscriptionError))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.PostApiSubscriptionRequest))]
internal sealed partial class SourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext
{
}
@@ -519,6 +519,7 @@ 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.PostApiSubscriptionRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ManageApiCreditSummaryResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.CreditGrant))]
diff --git a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs
index 8dd83f22..41a4dac3 100644
--- a/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.JsonSerializerContextTypes.g.cs
@@ -909,1771 +909,1775 @@ public sealed partial class JsonSerializerContextTypes
///
///
///
- public global::Ideogram.ListAccountApiKeysResponse? Type219 { get; set; }
+ public global::Ideogram.ReplaceBackgroundIdeogram45Request? Type219 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type220 { get; set; }
+ public global::Ideogram.ListAccountApiKeysResponse? Type220 { get; set; }
///
///
///
- public global::Ideogram.AccountApiKey? Type221 { get; set; }
+ public global::System.Collections.Generic.IList? Type221 { get; set; }
///
///
///
- public global::Ideogram.AccountApiKeyStatus? Type222 { get; set; }
+ public global::Ideogram.AccountApiKey? Type222 { get; set; }
///
///
///
- public global::Ideogram.GetAccountUsageResponse? Type223 { get; set; }
+ public global::Ideogram.AccountApiKeyStatus? Type223 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type224 { get; set; }
+ public global::Ideogram.GetAccountUsageResponse? Type224 { get; set; }
///
///
///
- public global::Ideogram.AccountUsageBucket? Type225 { get; set; }
+ public global::System.Collections.Generic.IList? Type225 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type226 { get; set; }
+ public global::Ideogram.AccountUsageBucket? Type226 { get; set; }
///
///
///
- public global::Ideogram.AccountUsageLineItem? Type227 { get; set; }
+ public global::System.Collections.Generic.IList? Type227 { get; set; }
///
///
///
- public global::System.Collections.Generic.Dictionary? Type228 { get; set; }
+ public global::Ideogram.AccountUsageLineItem? Type228 { get; set; }
///
///
///
- public global::Ideogram.AccountUsageLineItemSource? Type229 { get; set; }
+ public global::System.Collections.Generic.Dictionary? Type229 { get; set; }
///
///
///
- public global::Ideogram.AccountUsageApiKey? Type230 { get; set; }
+ public global::Ideogram.AccountUsageLineItemSource? Type230 { get; set; }
///
///
///
- public global::Ideogram.AccountUsageBilledUnits? Type231 { get; set; }
+ public global::Ideogram.AccountUsageApiKey? Type231 { get; set; }
///
///
///
- public global::Ideogram.ListAccountInvoicesResponse? Type232 { get; set; }
+ public global::Ideogram.AccountUsageBilledUnits? Type232 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type233 { get; set; }
+ public global::Ideogram.ListAccountInvoicesResponse? Type233 { get; set; }
///
///
///
- public global::Ideogram.AccountInvoice? Type234 { get; set; }
+ public global::System.Collections.Generic.IList? Type234 { get; set; }
///
///
///
- public global::Ideogram.AccountInvoiceStatus? Type235 { get; set; }
+ public global::Ideogram.AccountInvoice? Type235 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type236 { get; set; }
+ public global::Ideogram.AccountInvoiceStatus? Type236 { get; set; }
///
///
///
- public global::Ideogram.AccountInvoiceLineItem? Type237 { get; set; }
+ public global::System.Collections.Generic.IList? Type237 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazTextRefineResponse? Type238 { get; set; }
+ public global::Ideogram.AccountInvoiceLineItem? Type238 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type239 { get; set; }
+ public global::Ideogram.UpscaleImageTopazTextRefineResponse? Type239 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageObject? Type240 { get; set; }
+ public global::System.Collections.Generic.IList? Type240 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazTextRefineRequest? Type241 { get; set; }
+ public global::Ideogram.UpscaleImageObject? Type241 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazTextRefineRequestUpscaleFactor? Type242 { get; set; }
+ public global::Ideogram.UpscaleImageTopazTextRefineRequest? Type242 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazTextRefineRequestSubjectDetection? Type243 { get; set; }
+ public global::Ideogram.UpscaleImageTopazTextRefineRequestUpscaleFactor? Type243 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazWonder35Response? Type244 { get; set; }
+ public global::Ideogram.UpscaleImageTopazTextRefineRequestSubjectDetection? Type244 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazWonder35Request? Type245 { get; set; }
+ public global::Ideogram.UpscaleImageTopazWonder35Response? Type245 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazWonder35RequestUpscaleFactor? Type246 { get; set; }
+ public global::Ideogram.UpscaleImageTopazWonder35Request? Type246 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazWonder35RequestEnhancementStrength? Type247 { get; set; }
+ public global::Ideogram.UpscaleImageTopazWonder35RequestUpscaleFactor? Type247 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazStandardV2Response? Type248 { get; set; }
+ public global::Ideogram.UpscaleImageTopazWonder35RequestEnhancementStrength? Type248 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazStandardV2Request? Type249 { get; set; }
+ public global::Ideogram.UpscaleImageTopazStandardV2Response? Type249 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazStandardV2RequestUpscaleFactor? Type250 { get; set; }
+ public global::Ideogram.UpscaleImageTopazStandardV2Request? Type250 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazStandardV2RequestSubjectDetection? Type251 { get; set; }
+ public global::Ideogram.UpscaleImageTopazStandardV2RequestUpscaleFactor? Type251 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazBloom2Response? Type252 { get; set; }
+ public global::Ideogram.UpscaleImageTopazStandardV2RequestSubjectDetection? Type252 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazBloom2Request? Type253 { get; set; }
+ public global::Ideogram.UpscaleImageTopazBloom2Response? Type253 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazBloom2RequestUpscaleFactor? Type254 { get; set; }
+ public global::Ideogram.UpscaleImageTopazBloom2Request? Type254 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazRedefineResponse? Type255 { get; set; }
+ public global::Ideogram.UpscaleImageTopazBloom2RequestUpscaleFactor? Type255 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazRedefineRequest? Type256 { get; set; }
+ public global::Ideogram.UpscaleImageTopazRedefineResponse? Type256 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazRedefineRequestUpscaleFactor? Type257 { get; set; }
+ public global::Ideogram.UpscaleImageTopazRedefineRequest? Type257 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageTopazRedefineRequestSubjectDetection? Type258 { get; set; }
+ public global::Ideogram.UpscaleImageTopazRedefineRequestUpscaleFactor? Type258 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageNanoBananaProResponse? Type259 { get; set; }
+ public global::Ideogram.UpscaleImageTopazRedefineRequestSubjectDetection? Type259 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageNanoBananaProRequest? Type260 { get; set; }
+ public global::Ideogram.UpscaleImageNanoBananaProResponse? Type260 { get; set; }
///
///
///
- public global::Ideogram.UpscaleImageNanoBananaProRequestResolutionTier? Type261 { get; set; }
+ public global::Ideogram.UpscaleImageNanoBananaProRequest? Type261 { get; set; }
///
///
///
- public global::Ideogram.LookbookResponse? Type262 { get; set; }
+ public global::Ideogram.UpscaleImageNanoBananaProRequestResolutionTier? Type262 { get; set; }
///
///
///
- public global::Ideogram.LookbookRequest? Type263 { get; set; }
+ public global::Ideogram.LookbookResponse? Type263 { get; set; }
///
///
///
- public global::Ideogram.LookbookRequestCategory? Type264 { get; set; }
+ public global::Ideogram.LookbookRequest? Type264 { get; set; }
///
///
///
- public global::Ideogram.ModelPoseVariantsResponse? Type265 { get; set; }
+ public global::Ideogram.LookbookRequestCategory? Type265 { get; set; }
///
///
///
- public global::Ideogram.ModelPoseVariantsRequest? Type266 { get; set; }
+ public global::Ideogram.ModelPoseVariantsResponse? Type266 { get; set; }
///
///
///
- public global::Ideogram.ModelPoseVariantsQuality? Type267 { get; set; }
+ public global::Ideogram.ModelPoseVariantsRequest? Type267 { get; set; }
///
///
///
- public global::Ideogram.PackshotsResponse? Type268 { get; set; }
+ public global::Ideogram.ModelPoseVariantsQuality? Type268 { get; set; }
///
///
///
- public global::Ideogram.PackshotsRequest? Type269 { get; set; }
+ public global::Ideogram.PackshotsResponse? Type269 { get; set; }
///
///
///
- public global::Ideogram.PackshotView? Type270 { get; set; }
+ public global::Ideogram.PackshotsRequest? Type270 { get; set; }
///
///
///
- public global::Ideogram.PackshotsQuality? Type271 { get; set; }
+ public global::Ideogram.PackshotView? Type271 { get; set; }
///
///
///
- public global::Ideogram.GhostMannequinResponse? Type272 { get; set; }
+ public global::Ideogram.PackshotsQuality? Type272 { get; set; }
///
///
///
- public global::Ideogram.GhostMannequinRequest? Type273 { get; set; }
+ public global::Ideogram.GhostMannequinResponse? Type273 { get; set; }
///
///
///
- public global::Ideogram.GhostMannequinRequestView? Type274 { get; set; }
+ public global::Ideogram.GhostMannequinRequest? Type274 { get; set; }
///
///
///
- public global::Ideogram.GhostMannequinQuality? Type275 { get; set; }
+ public global::Ideogram.GhostMannequinRequestView? Type275 { get; set; }
///
///
///
- public global::Ideogram.Product360VideoRequest? Type276 { get; set; }
+ public global::Ideogram.GhostMannequinQuality? Type276 { get; set; }
///
///
///
- public global::Ideogram.Product360VideoDirection? Type277 { get; set; }
+ public global::Ideogram.Product360VideoRequest? Type277 { get; set; }
///
///
///
- public global::Ideogram.LivingImageResponse? Type278 { get; set; }
+ public global::Ideogram.Product360VideoDirection? Type278 { get; set; }
///
///
///
- public global::Ideogram.LivingImageRequest? Type279 { get; set; }
+ public global::Ideogram.LivingImageResponse? Type279 { get; set; }
///
///
///
- public global::Ideogram.LivingImageQuality? Type280 { get; set; }
+ public global::Ideogram.LivingImageRequest? Type280 { get; set; }
///
///
///
- public global::Ideogram.PreciseMaskedEditResponse? Type281 { get; set; }
+ public global::Ideogram.LivingImageQuality? Type281 { get; set; }
///
///
///
- public global::Ideogram.PreciseMaskedEditRequest? Type282 { get; set; }
+ public global::Ideogram.PreciseMaskedEditResponse? Type282 { get; set; }
///
///
///
- public global::Ideogram.PreciseMaskedEditModel? Type283 { get; set; }
+ public global::Ideogram.PreciseMaskedEditRequest? Type283 { get; set; }
///
///
///
- public global::Ideogram.PreciseMaskedEditQuality? Type284 { get; set; }
+ public global::Ideogram.PreciseMaskedEditModel? Type284 { get; set; }
///
///
///
- public global::Ideogram.VirtualTryOnResponse? Type285 { get; set; }
+ public global::Ideogram.PreciseMaskedEditQuality? Type285 { get; set; }
///
///
///
- public global::Ideogram.VirtualTryOnRequest? Type286 { get; set; }
+ public global::Ideogram.VirtualTryOnResponse? Type286 { get; set; }
///
///
///
- public global::Ideogram.ColorwaysResponse? Type287 { get; set; }
+ public global::Ideogram.VirtualTryOnRequest? Type287 { get; set; }
///
///
///
- public global::Ideogram.ColorwaysRequest? Type288 { get; set; }
+ public global::Ideogram.ColorwaysResponse? Type288 { get; set; }
///
///
///
- public global::Ideogram.ColorwaysQuality? Type289 { get; set; }
+ public global::Ideogram.ColorwaysRequest? Type289 { get; set; }
///
///
///
- public global::Ideogram.AdLocalizerResponse? Type290 { get; set; }
+ public global::Ideogram.ColorwaysQuality? Type290 { get; set; }
///
///
///
- public global::Ideogram.AdLocalizerRequest? Type291 { get; set; }
+ public global::Ideogram.AdLocalizerResponse? Type291 { get; set; }
///
///
///
- public global::Ideogram.AdLocalizerRequestLanguage? Type292 { get; set; }
+ public global::Ideogram.AdLocalizerRequest? Type292 { get; set; }
///
///
///
- public global::Ideogram.AdLocalizerQuality? Type293 { get; set; }
+ public global::Ideogram.AdLocalizerRequestLanguage? Type293 { get; set; }
///
///
///
- public global::Ideogram.VectorizerResponse? Type294 { get; set; }
+ public global::Ideogram.AdLocalizerQuality? Type294 { get; set; }
///
///
///
- public global::Ideogram.VectorizerRequest? Type295 { get; set; }
+ public global::Ideogram.VectorizerResponse? Type295 { get; set; }
///
///
///
- public global::Ideogram.TextLayerizerResponse? Type296 { get; set; }
+ public global::Ideogram.VectorizerRequest? Type296 { get; set; }
///
///
///
- public global::Ideogram.TextLayerizerRequest? Type297 { get; set; }
+ public global::Ideogram.TextLayerizerResponse? Type297 { get; set; }
///
///
///
- public global::Ideogram.AdResizerResponse? Type298 { get; set; }
+ public global::Ideogram.TextLayerizerRequest? Type298 { get; set; }
///
///
///
- public global::Ideogram.AdResizerRequest? Type299 { get; set; }
+ public global::Ideogram.AdResizerResponse? Type299 { get; set; }
///
///
///
- public global::Ideogram.AdResizerRequestResolution? Type300 { get; set; }
+ public global::Ideogram.AdResizerRequest? Type300 { get; set; }
///
///
///
- public global::Ideogram.AdResizerRequestPlatform? Type301 { get; set; }
+ public global::Ideogram.AdResizerRequestResolution? Type301 { get; set; }
///
///
///
- public global::Ideogram.AdResizerQuality? Type302 { get; set; }
+ public global::Ideogram.AdResizerRequestPlatform? Type302 { get; set; }
///
///
///
- public global::Ideogram.AdVariationsResponse? Type303 { get; set; }
+ public global::Ideogram.AdResizerQuality? Type303 { get; set; }
///
///
///
- public global::Ideogram.AdVariationsRequest? Type304 { get; set; }
+ public global::Ideogram.AdVariationsResponse? Type304 { get; set; }
///
///
///
- public global::Ideogram.AdVariationsRequestVariationType? Type305 { get; set; }
+ public global::Ideogram.AdVariationsRequest? Type305 { get; set; }
///
///
///
- public global::Ideogram.AdVariationsQuality? Type306 { get; set; }
+ public global::Ideogram.AdVariationsRequestVariationType? Type306 { get; set; }
///
///
///
- public global::Ideogram.SketchToRenderResponse? Type307 { get; set; }
+ public global::Ideogram.AdVariationsQuality? Type307 { get; set; }
///
///
///
- public global::Ideogram.SketchToRenderRequest? Type308 { get; set; }
+ public global::Ideogram.SketchToRenderResponse? Type308 { get; set; }
///
///
///
- public global::Ideogram.SketchToRenderQuality? Type309 { get; set; }
+ public global::Ideogram.SketchToRenderRequest? Type309 { get; set; }
///
///
///
- public global::Ideogram.SoleSwapResponse? Type310 { get; set; }
+ public global::Ideogram.SketchToRenderQuality? Type310 { get; set; }
///
///
///
- public global::Ideogram.SoleSwapRequest? Type311 { get; set; }
+ public global::Ideogram.SoleSwapResponse? Type311 { get; set; }
///
///
///
- public global::Ideogram.SoleSwapRequestBaseGenerationSize? Type312 { get; set; }
+ public global::Ideogram.SoleSwapRequest? Type312 { get; set; }
///
///
///
- public global::Ideogram.SoleSwapQuality? Type313 { get; set; }
+ public global::Ideogram.SoleSwapRequestBaseGenerationSize? Type313 { get; set; }
///
///
///
- public global::Ideogram.SwapProductResponse? Type314 { get; set; }
+ public global::Ideogram.SoleSwapQuality? Type314 { get; set; }
///
///
///
- public global::Ideogram.SwapProductRequest? Type315 { get; set; }
+ public global::Ideogram.SwapProductResponse? Type315 { get; set; }
///
///
///
- public global::Ideogram.SwapProductMode? Type316 { get; set; }
+ public global::Ideogram.SwapProductRequest? Type316 { get; set; }
///
///
///
- public global::Ideogram.SwapProductQuality? Type317 { get; set; }
+ public global::Ideogram.SwapProductMode? Type317 { get; set; }
///
///
///
- public global::Ideogram.SkechersStyleEditResponse? Type318 { get; set; }
+ public global::Ideogram.SwapProductQuality? Type318 { get; set; }
///
///
///
- public global::Ideogram.SkechersStyleEditRequest? Type319 { get; set; }
+ public global::Ideogram.SkechersStyleEditResponse? Type319 { get; set; }
///
///
///
- public global::Ideogram.SkechersStyleEditRequestAspectRatio? Type320 { get; set; }
+ public global::Ideogram.SkechersStyleEditRequest? Type320 { get; set; }
///
///
///
- public global::Ideogram.SkechersStyleEditRequestBaseGenerationSize? Type321 { get; set; }
+ public global::Ideogram.SkechersStyleEditRequestAspectRatio? Type321 { get; set; }
///
///
///
- public global::Ideogram.SkechersStyleEditQuality? Type322 { get; set; }
+ public global::Ideogram.SkechersStyleEditRequestBaseGenerationSize? Type322 { get; set; }
///
///
///
- public global::Ideogram.SwanSLogoDesignResponse? Type323 { get; set; }
+ public global::Ideogram.SkechersStyleEditQuality? Type323 { get; set; }
///
///
///
- public global::Ideogram.SwanSLogoDesignRequest? Type324 { get; set; }
+ public global::Ideogram.SwanSLogoDesignResponse? Type324 { get; set; }
///
///
///
- public global::Ideogram.SwanSLogoDesignRequestLogoStyle? Type325 { get; set; }
+ public global::Ideogram.SwanSLogoDesignRequest? Type325 { get; set; }
///
///
///
- public global::Ideogram.SwanSLogoDesignRequestSourceMode? Type326 { get; set; }
+ public global::Ideogram.SwanSLogoDesignRequestLogoStyle? Type326 { get; set; }
///
///
///
- public global::Ideogram.SwanSLogoDesignRequestDesignVariant? Type327 { get; set; }
+ public global::Ideogram.SwanSLogoDesignRequestSourceMode? Type327 { get; set; }
///
///
///
- public global::Ideogram.SwanSLogoQuality? Type328 { get; set; }
+ public global::Ideogram.SwanSLogoDesignRequestDesignVariant? Type328 { get; set; }
///
///
///
- public global::Ideogram.SwanSLogoInstallResponse? Type329 { get; set; }
+ public global::Ideogram.SwanSLogoQuality? Type329 { get; set; }
///
///
///
- public global::Ideogram.SwanSLogoInstallRequest? Type330 { get; set; }
+ public global::Ideogram.SwanSLogoInstallResponse? Type330 { get; set; }
///
///
///
- public global::Ideogram.SwanSLogoInstallRequestLogoStyle? Type331 { get; set; }
+ public global::Ideogram.SwanSLogoInstallRequest? Type331 { get; set; }
///
///
///
- public global::Ideogram.ModelSwapResponse? Type332 { get; set; }
+ public global::Ideogram.SwanSLogoInstallRequestLogoStyle? Type332 { get; set; }
///
///
///
- public global::Ideogram.ModelSwapRequest? Type333 { get; set; }
+ public global::Ideogram.ModelSwapResponse? Type333 { get; set; }
///
///
///
- public global::Ideogram.ModelSwapQuality? Type334 { get; set; }
+ public global::Ideogram.ModelSwapRequest? Type334 { get; set; }
///
///
///
- public global::Ideogram.MaterialSwapResponse? Type335 { get; set; }
+ public global::Ideogram.ModelSwapQuality? Type335 { get; set; }
///
///
///
- public global::Ideogram.MaterialSwapRequest? Type336 { get; set; }
+ public global::Ideogram.MaterialSwapResponse? Type336 { get; set; }
///
///
///
- public global::Ideogram.MaterialSwapQuality? Type337 { get; set; }
+ public global::Ideogram.MaterialSwapRequest? Type337 { get; set; }
///
///
///
- public global::Ideogram.UpscaleToolResponse? Type338 { get; set; }
+ public global::Ideogram.MaterialSwapQuality? Type338 { get; set; }
///
///
///
- public global::Ideogram.UpscaleToolRequest? Type339 { get; set; }
+ public global::Ideogram.UpscaleToolResponse? Type339 { get; set; }
///
///
///
- public global::Ideogram.UpscaleToolRequestUpscaleFactor? Type340 { get; set; }
+ public global::Ideogram.UpscaleToolRequest? Type340 { get; set; }
///
///
///
- public global::Ideogram.LayerizeDesignIdeogramV3Response? Type341 { get; set; }
+ public global::Ideogram.UpscaleToolRequestUpscaleFactor? Type341 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type342 { get; set; }
+ public global::Ideogram.LayerizeDesignIdeogramV3Response? Type342 { get; set; }
///
///
///
- public global::Ideogram.LayerizedImageObject? Type343 { get; set; }
+ public global::System.Collections.Generic.IList? Type343 { get; set; }
///
///
///
- public global::Ideogram.LayerizedImageObjectObjectType? Type344 { get; set; }
+ public global::Ideogram.LayerizedImageObject? Type344 { get; set; }
///
///
///
- public global::Ideogram.LayerizeDesignIdeogramV3Request? Type345 { get; set; }
+ public global::Ideogram.LayerizedImageObjectObjectType? Type345 { get; set; }
///
///
///
- public global::Ideogram.DescribeImageIdeogramV3Response? Type346 { get; set; }
+ public global::Ideogram.LayerizeDesignIdeogramV3Request? Type346 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type347 { get; set; }
+ public global::Ideogram.DescribeImageIdeogramV3Response? Type347 { get; set; }
///
///
///
- public global::Ideogram.GeneratedDescription? Type348 { get; set; }
+ public global::System.Collections.Generic.IList? Type348 { get; set; }
///
///
///
- public global::Ideogram.DescribeImageIdeogramV3Request? Type349 { get; set; }
+ public global::Ideogram.GeneratedDescription? Type349 { get; set; }
///
///
///
- public global::Ideogram.ImageSafetyError? Type350 { get; set; }
+ public global::Ideogram.DescribeImageIdeogramV3Request? Type350 { get; set; }
///
///
///
- public global::Ideogram.DescribeImageIdeogramV4Response? Type351 { get; set; }
+ public global::Ideogram.ImageSafetyError? Type351 { get; set; }
///
///
///
- public global::Ideogram.DescribeImageIdeogramV4Request? Type352 { get; set; }
+ public global::Ideogram.DescribeImageIdeogramV4Response? Type352 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3Response? Type353 { get; set; }
+ public global::Ideogram.DescribeImageIdeogramV4Request? Type353 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type354 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3Response? Type354 { get; set; }
///
///
///
- public global::Ideogram.GeneratedImageObject? Type355 { get; set; }
+ public global::System.Collections.Generic.IList? Type355 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3Request? Type356 { get; set; }
+ public global::Ideogram.GeneratedImageObject? Type356 { get; set; }
///
///
///
- public global::Ideogram.IdeogramV3AspectRatio? Type357 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3Request? Type357 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3RequestRenderingSpeed? Type358 { get; set; }
+ public global::Ideogram.IdeogramV3AspectRatio? Type358 { get; set; }
///
///
///
- public global::Ideogram.MagicPromptMode? Type359 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3RequestRenderingSpeed? Type359 { get; set; }
///
///
///
- public global::Ideogram.IdeogramColorPalette? Type360 { get; set; }
+ public global::Ideogram.MagicPromptMode? Type360 { get; set; }
///
///
///
- public global::Ideogram.IdeogramV3StyleType? Type361 { get; set; }
+ public global::Ideogram.IdeogramColorPalette? Type361 { get; set; }
///
///
///
- public global::Ideogram.IdeogramV3StylePreset? Type362 { get; set; }
+ public global::Ideogram.IdeogramV3StyleType? Type362 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3CustomModelResponse? Type363 { get; set; }
+ public global::Ideogram.IdeogramV3StylePreset? Type363 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3CustomModelRequest? Type364 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3CustomModelResponse? Type364 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3CustomModelRequestRenderingSpeed? Type365 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3CustomModelRequest? Type365 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4Response? Type366 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3CustomModelRequestRenderingSpeed? Type366 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4Request? Type367 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4Response? Type367 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4RequestRenderingSpeed? Type368 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4Request? Type368 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4CustomModelResponse? Type369 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4RequestRenderingSpeed? Type369 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4CustomModelRequest? Type370 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4CustomModelResponse? Type370 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type371 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4CustomModelRequest? Type371 { get; set; }
///
///
///
- public global::Ideogram.StackedCustomModel? Type372 { get; set; }
+ public global::System.Collections.Generic.IList? Type372 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4CustomModelRequestRenderingSpeed? Type373 { get; set; }
+ public global::Ideogram.StackedCustomModel? Type373 { get; set; }
///
///
///
- public double? Type374 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4CustomModelRequestRenderingSpeed? Type374 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3Response? Type375 { get; set; }
+ public double? Type375 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type376 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3Response? Type376 { get; set; }
///
///
///
- public global::Ideogram.RemixedImageObject? Type377 { get; set; }
+ public global::System.Collections.Generic.IList? Type377 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3Request? Type378 { get; set; }
+ public global::Ideogram.RemixedImageObject? Type378 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3RequestRenderingSpeed? Type379 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3Request? Type379 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3CustomModelResponse? Type380 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3RequestRenderingSpeed? Type380 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3CustomModelRequest? Type381 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3CustomModelResponse? Type381 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3CustomModelRequestRenderingSpeed? Type382 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3CustomModelRequest? Type382 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV4Response? Type383 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3CustomModelRequestRenderingSpeed? Type383 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV4Request? Type384 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV4Response? Type384 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV4RequestRenderingSpeed? Type385 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV4Request? Type385 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3CharacterResponse? Type386 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV4RequestRenderingSpeed? Type386 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3CharacterRequest? Type387 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3CharacterResponse? Type387 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3CharacterRequestRenderingSpeed? Type388 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3CharacterRequest? Type388 { get; set; }
///
///
///
- public global::Ideogram.RemixImageIdeogramV3CharacterRequestStyleType? Type389 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3CharacterRequestRenderingSpeed? Type389 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3TransparentResponse? Type390 { get; set; }
+ public global::Ideogram.RemixImageIdeogramV3CharacterRequestStyleType? Type390 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3TransparentRequest? Type391 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3TransparentResponse? Type391 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3TransparentRequestUpscaleFactor? Type392 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3TransparentRequest? Type392 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3TransparentRequestRenderingSpeed? Type393 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3TransparentRequestUpscaleFactor? Type393 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4TransparentResponse? Type394 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3TransparentRequestRenderingSpeed? Type394 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4TransparentRequest? Type395 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4TransparentResponse? Type395 { get; set; }
///
///
///
- public global::Ideogram.IdeogramV4AspectRatio? Type396 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4TransparentRequest? Type396 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4TransparentRequestOutputResolution? Type397 { get; set; }
+ public global::Ideogram.IdeogramV4AspectRatio? Type397 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV4TransparentRequestRenderingSpeed? Type398 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4TransparentRequestOutputResolution? Type398 { get; set; }
///
///
///
- public global::Ideogram.GenerateImagePImageIdeogramResponse? Type399 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV4TransparentRequestRenderingSpeed? Type399 { get; set; }
///
///
///
- public global::Ideogram.GenerateImagePImageIdeogramRequest? Type400 { get; set; }
+ public global::Ideogram.GenerateImagePImageIdeogramResponse? Type400 { get; set; }
///
///
///
- public global::Ideogram.GenerationQuality? Type401 { get; set; }
+ public global::Ideogram.GenerateImagePImageIdeogramRequest? Type401 { get; set; }
///
///
///
- public global::Ideogram.GenerateImagePImageIdeogramRequestResolution? Type402 { get; set; }
+ public global::Ideogram.GenerationQuality? Type402 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageZImageResponse? Type403 { get; set; }
+ public global::Ideogram.GenerateImagePImageIdeogramRequestResolution? Type403 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageZImageRequest? Type404 { get; set; }
+ public global::Ideogram.GenerateImageZImageResponse? Type404 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogram45Response? Type405 { get; set; }
+ public global::Ideogram.GenerateImageZImageRequest? Type405 { get; set; }
///
///
///
- public global::Ideogram.GenerationKind? Type406 { get; set; }
+ public global::Ideogram.GenerateImageIdeogram45Response? Type406 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogram45Request? Type407 { get; set; }
+ public global::Ideogram.GenerationKind? Type407 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogram45RequestQuality? Type408 { get; set; }
+ public global::Ideogram.GenerateImageIdeogram45Request? Type408 { get; set; }
///
///
///
- public global::Ideogram.PreciseEditImageIdeogram45Response? Type409 { get; set; }
+ public global::Ideogram.GenerateImageIdeogram45RequestQuality? Type409 { get; set; }
///
///
///
- public global::Ideogram.PreciseEditImageIdeogram45Request? Type410 { get; set; }
+ public global::Ideogram.PreciseEditImageIdeogram45Response? Type410 { get; set; }
///
///
///
- public global::Ideogram.PreciseEditImageIdeogram45RequestQuality? Type411 { get; set; }
+ public global::Ideogram.PreciseEditImageIdeogram45Request? Type411 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageNanoBanana2Response? Type412 { get; set; }
+ public global::Ideogram.PreciseEditImageIdeogram45RequestQuality? Type412 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageNanoBanana2Request? Type413 { get; set; }
+ public global::Ideogram.GenerateImageNanoBanana2Response? Type413 { get; set; }
///
///
///
- public global::Ideogram.NanoBanana2AspectRatio? Type414 { get; set; }
+ public global::Ideogram.GenerateImageNanoBanana2Request? Type414 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier? Type415 { get; set; }
+ public global::Ideogram.NanoBanana2AspectRatio? Type415 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageNanoBanana21Response? Type416 { get; set; }
+ public global::Ideogram.GenerateImageNanoBanana2RequestResolutionTier? Type416 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageNanoBanana21Request? Type417 { get; set; }
+ public global::Ideogram.GenerateImageNanoBanana21Response? Type417 { get; set; }
///
///
///
- public global::Ideogram.NanoBanana21AspectRatio? Type418 { get; set; }
+ public global::Ideogram.GenerateImageNanoBanana21Request? Type418 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageNanoBanana21RequestResolutionTier? Type419 { get; set; }
+ public global::Ideogram.NanoBanana21AspectRatio? Type419 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageNanoBananaProResponse? Type420 { get; set; }
+ public global::Ideogram.GenerateImageNanoBanana21RequestResolutionTier? Type420 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageNanoBananaProRequest? Type421 { get; set; }
+ public global::Ideogram.GenerateImageNanoBananaProResponse? Type421 { get; set; }
///
///
///
- public global::Ideogram.NanoBananaProAspectRatio? Type422 { get; set; }
+ public global::Ideogram.GenerateImageNanoBananaProRequest? Type422 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier? Type423 { get; set; }
+ public global::Ideogram.NanoBananaProAspectRatio? Type423 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage2Response? Type424 { get; set; }
+ public global::Ideogram.GenerateImageNanoBananaProRequestResolutionTier? Type424 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage2Request? Type425 { get; set; }
+ public global::Ideogram.GenerateImageGptImage2Response? Type425 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage25FlareResponse? Type426 { get; set; }
+ public global::Ideogram.GenerateImageGptImage2Request? Type426 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage25FlareRequest? Type427 { get; set; }
+ public global::Ideogram.GenerateImageGptImage25FlareResponse? Type427 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage25FlareRequestBackground? Type428 { get; set; }
+ public global::Ideogram.GenerateImageGptImage25FlareRequest? Type428 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage25FlareRequestQuality? Type429 { get; set; }
+ public global::Ideogram.GenerateImageGptImage25FlareRequestBackground? Type429 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage25SunburstResponse? Type430 { get; set; }
+ public global::Ideogram.GenerateImageGptImage25FlareRequestQuality? Type430 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage25SunburstRequest? Type431 { get; set; }
+ public global::Ideogram.GenerateImageGptImage25SunburstResponse? Type431 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage25SunburstRequestBackground? Type432 { get; set; }
+ public global::Ideogram.GenerateImageGptImage25SunburstRequest? Type432 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageGptImage25SunburstRequestQuality? Type433 { get; set; }
+ public global::Ideogram.GenerateImageGptImage25SunburstRequestBackground? Type433 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV2Response? Type434 { get; set; }
+ public global::Ideogram.GenerateImageGptImage25SunburstRequestQuality? Type434 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV2Request? Type435 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV2Response? Type435 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV2RequestRenderingSpeed? Type436 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV2Request? Type436 { get; set; }
///
///
///
- public global::Ideogram.IdeogramV2StyleType? Type437 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV2RequestRenderingSpeed? Type437 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV2AResponse? Type438 { get; set; }
+ public global::Ideogram.IdeogramV2StyleType? Type438 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV2ARequest? Type439 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV2AResponse? Type439 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV2ARequestRenderingSpeed? Type440 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV2ARequest? Type440 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3Response? Type441 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV2ARequestRenderingSpeed? Type441 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type442 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3Response? Type442 { get; set; }
///
///
///
- public global::Ideogram.InpaintedImageObject? Type443 { get; set; }
+ public global::System.Collections.Generic.IList? Type443 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3Request? Type444 { get; set; }
+ public global::Ideogram.InpaintedImageObject? Type444 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3RequestRenderingSpeed? Type445 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3Request? Type445 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3CustomModelResponse? Type446 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3RequestRenderingSpeed? Type446 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3CustomModelRequest? Type447 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3CustomModelResponse? Type447 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3CustomModelRequestRenderingSpeed? Type448 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3CustomModelRequest? Type448 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageIdeogramV3Response? Type449 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3CustomModelRequestRenderingSpeed? Type449 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageIdeogramV3Request? Type450 { get; set; }
+ public global::Ideogram.ReframeImageIdeogramV3Response? Type450 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed? Type451 { get; set; }
+ public global::Ideogram.ReframeImageIdeogramV3Request? Type451 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageNanoBanana2Response? Type452 { get; set; }
+ public global::Ideogram.ReframeImageIdeogramV3RequestRenderingSpeed? Type452 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageNanoBanana2Request? Type453 { get; set; }
+ public global::Ideogram.ReframeImageNanoBanana2Response? Type453 { get; set; }
///
///
///
- public global::Ideogram.NanoBanana2ReframeAspectRatio? Type454 { get; set; }
+ public global::Ideogram.ReframeImageNanoBanana2Request? Type454 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageNanoBananaProResponse? Type455 { get; set; }
+ public global::Ideogram.NanoBanana2ReframeAspectRatio? Type455 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageNanoBananaProRequest? Type456 { get; set; }
+ public global::Ideogram.ReframeImageNanoBananaProResponse? Type456 { get; set; }
///
///
///
- public global::Ideogram.NanoBananaProReframeAspectRatio? Type457 { get; set; }
+ public global::Ideogram.ReframeImageNanoBananaProRequest? Type457 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageNanoBananaProRequestResolutionTier? Type458 { get; set; }
+ public global::Ideogram.NanoBananaProReframeAspectRatio? Type458 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageGptImage25FlareResponse? Type459 { get; set; }
+ public global::Ideogram.ReframeImageNanoBananaProRequestResolutionTier? Type459 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageGptImage25FlareRequest? Type460 { get; set; }
+ public global::Ideogram.ReframeImageGptImage25FlareResponse? Type460 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageGptImage25FlareRequestQuality? Type461 { get; set; }
+ public global::Ideogram.ReframeImageGptImage25FlareRequest? Type461 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageBriaExpandResponse? Type462 { get; set; }
+ public global::Ideogram.ReframeImageGptImage25FlareRequestQuality? Type462 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageBriaExpandRequest? Type463 { get; set; }
+ public global::Ideogram.ReframeImageBriaExpandResponse? Type463 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageAutoResponse? Type464 { get; set; }
+ public global::Ideogram.ReframeImageBriaExpandRequest? Type464 { get; set; }
///
///
///
- public global::Ideogram.ReframeImageAutoRequest? Type465 { get; set; }
+ public global::Ideogram.ReframeImageAutoResponse? Type465 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3CharacterResponse? Type466 { get; set; }
+ public global::Ideogram.ReframeImageAutoRequest? Type466 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3CharacterRequest? Type467 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3CharacterResponse? Type467 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3CharacterRequestRenderingSpeed? Type468 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3CharacterRequest? Type468 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageIdeogramV3CharacterRequestStyleType? Type469 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3CharacterRequestRenderingSpeed? Type469 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3CharacterResponse? Type470 { get; set; }
+ public global::Ideogram.GenerateImageIdeogramV3CharacterRequestStyleType? Type470 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3CharacterRequest? Type471 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3CharacterResponse? Type471 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3CharacterRequestRenderingSpeed? Type472 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3CharacterRequest? Type472 { get; set; }
///
///
///
- public global::Ideogram.InpaintImageIdeogramV3CharacterRequestStyleType? Type473 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3CharacterRequestRenderingSpeed? Type473 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageV2AutoResponse? Type474 { get; set; }
+ public global::Ideogram.InpaintImageIdeogramV3CharacterRequestStyleType? Type474 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageV2AutoRequest? Type475 { get; set; }
+ public global::Ideogram.GenerateImageV2AutoResponse? Type475 { get; set; }
///
///
///
- public global::Ideogram.GenerateImageV2AutoRequestResolutionTier? Type476 { get; set; }
+ public global::Ideogram.GenerateImageV2AutoRequest? Type476 { get; set; }
///
///
///
- public global::Ideogram.ToolRemixResponse? Type477 { get; set; }
+ public global::Ideogram.GenerateImageV2AutoRequestResolutionTier? Type477 { get; set; }
///
///
///
- public global::Ideogram.ToolRemixRequest? Type478 { get; set; }
+ public global::Ideogram.ToolRemixResponse? Type478 { get; set; }
///
///
///
- public global::Ideogram.ToolRemixRequestResolutionTier? Type479 { get; set; }
+ public global::Ideogram.ToolRemixRequest? Type479 { get; set; }
///
///
///
- public global::Ideogram.ResizeAdImageRequest? Type480 { get; set; }
+ public global::Ideogram.ToolRemixRequestResolutionTier? Type480 { get; set; }
///
///
///
- public global::Ideogram.ResizeAdImageRequestResolution? Type481 { get; set; }
+ public global::Ideogram.ResizeAdImageRequest? Type481 { get; set; }
///
///
///
- public global::Ideogram.ResizeAdImageQuality? Type482 { get; set; }
+ public global::Ideogram.ResizeAdImageRequestResolution? Type482 { get; set; }
///
///
///
- public global::Ideogram.WebhookSigningJwks? Type483 { get; set; }
+ public global::Ideogram.ResizeAdImageQuality? Type483 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type484 { get; set; }
+ public global::Ideogram.WebhookSigningJwks? Type484 { get; set; }
///
///
///
- public global::Ideogram.WebhookSigningJwk? Type485 { get; set; }
+ public global::System.Collections.Generic.IList? Type485 { get; set; }
///
///
///
- public global::Ideogram.ProvenanceVerifyResponse? Type486 { get; set; }
+ public global::Ideogram.WebhookSigningJwk? Type486 { get; set; }
///
///
///
- public global::Ideogram.ProvenanceVerifyResponseValidationState? Type487 { get; set; }
+ public global::Ideogram.ProvenanceVerifyResponse? Type487 { get; set; }
///
///
///
- public global::Ideogram.ProvenanceVerifyRequest? Type488 { get; set; }
+ public global::Ideogram.ProvenanceVerifyResponseValidationState? Type488 { get; set; }
///
///
///
- public global::Ideogram.ManageApiSubscriptionResponse? Type489 { get; set; }
+ public global::Ideogram.ProvenanceVerifyRequest? Type489 { get; set; }
///
///
///
- public global::Ideogram.MetronomeLinks? Type490 { get; set; }
+ public global::Ideogram.ManageApiSubscriptionResponse? Type490 { get; set; }
///
///
///
- public global::Ideogram.RechargeSettingsResponse? Type491 { get; set; }
+ public global::Ideogram.MetronomeLinks? Type491 { get; set; }
///
///
///
- public global::Ideogram.Price? Type492 { get; set; }
+ public global::Ideogram.RechargeSettingsResponse? Type492 { get; set; }
///
///
///
- public global::Ideogram.RechargeSettings? Type493 { get; set; }
+ public global::Ideogram.Price? Type493 { get; set; }
///
///
///
- public global::Ideogram.PostApiSubscriptionResponse? Type494 { get; set; }
+ public global::Ideogram.RechargeSettings? Type494 { get; set; }
///
///
///
- public global::Ideogram.PostApiSubscriptionError? Type495 { get; set; }
+ public global::Ideogram.PostApiSubscriptionResponse? Type495 { get; set; }
///
///
///
- public global::Ideogram.PostApiSubscriptionRequest? Type496 { get; set; }
+ public global::Ideogram.PostApiSubscriptionError? Type496 { get; set; }
///
///
///
- public global::Ideogram.ManageApiCreditSummaryResponse? Type497 { get; set; }
+ public global::Ideogram.PostApiSubscriptionRequest? Type497 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type498 { get; set; }
+ public global::Ideogram.ManageApiCreditSummaryResponse? Type498 { get; set; }
///
///
///
- public global::Ideogram.CreditGrant? Type499 { get; set; }
+ public global::System.Collections.Generic.IList? Type499 { get; set; }
///
///
///
- public global::Ideogram.GetApiKeysResponse? Type500 { get; set; }
+ public global::Ideogram.CreditGrant? Type500 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type501 { get; set; }
+ public global::Ideogram.GetApiKeysResponse? Type501 { get; set; }
///
///
///
- public global::Ideogram.RedactedApiKey? Type502 { get; set; }
+ public global::System.Collections.Generic.IList? Type502 { get; set; }
///
///
///
- public global::Ideogram.PostApiKeyResponse? Type503 { get; set; }
+ public global::Ideogram.RedactedApiKey? Type503 { get; set; }
///
///
///
- public global::Ideogram.CreateApiKeyRequest? Type504 { get; set; }
+ public global::Ideogram.PostApiKeyResponse? Type504 { get; set; }
///
///
///
- public global::Ideogram.ApiProfileApiKey? Type505 { get; set; }
+ public global::Ideogram.CreateApiKeyRequest? Type505 { get; set; }
///
///
///
- public global::Ideogram.ApiKeyStatus? Type506 { get; set; }
+ public global::Ideogram.ApiProfileApiKey? Type506 { get; set; }
///
///
///
- public global::Ideogram.PatchApiKeyRequest? Type507 { get; set; }
+ public global::Ideogram.ApiKeyStatus? Type507 { get; set; }
///
///
///
- public global::Ideogram.ManageApiStripeSubscriptionResponse? Type508 { get; set; }
+ public global::Ideogram.PatchApiKeyRequest? Type508 { get; set; }
///
///
///
- public global::Ideogram.ManageApiPaymentResponse? Type509 { get; set; }
+ public global::Ideogram.ManageApiStripeSubscriptionResponse? Type509 { get; set; }
///
///
///
- public global::Ideogram.GetApiTermsResponse? Type510 { get; set; }
+ public global::Ideogram.ManageApiPaymentResponse? Type510 { get; set; }
///
///
///
- public global::Ideogram.ApiTerms? Type511 { get; set; }
+ public global::Ideogram.GetApiTermsResponse? Type511 { get; set; }
///
///
///
- public global::Ideogram.PostApiTermsRequest? Type512 { get; set; }
+ public global::Ideogram.ApiTerms? Type512 { get; set; }
///
///
///
- public global::Ideogram.PostAddCreditsResponse? Type513 { get; set; }
+ public global::Ideogram.PostApiTermsRequest? Type513 { get; set; }
///
///
///
- public global::Ideogram.PostAddCreditsError? Type514 { get; set; }
+ public global::Ideogram.PostAddCreditsResponse? Type514 { get; set; }
///
///
///
- public global::Ideogram.PostAddCreditsRequest? Type515 { get; set; }
+ public global::Ideogram.PostAddCreditsError? Type515 { get; set; }
///
///
///
- public global::Ideogram.GetUserCreditsResponse? Type516 { get; set; }
+ public global::Ideogram.PostAddCreditsRequest? Type516 { get; set; }
///
///
///
- public global::Ideogram.SpendCommitInfoResponse? Type517 { get; set; }
+ public global::Ideogram.GetUserCreditsResponse? Type517 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type518 { get; set; }
+ public global::Ideogram.SpendCommitInfoResponse? Type518 { get; set; }
///
///
///
- public global::Ideogram.SpendCommitInfo? Type519 { get; set; }
+ public global::System.Collections.Generic.IList? Type519 { get; set; }
///
///
///
- public global::Ideogram.GetUsageInfoResponse? Type520 { get; set; }
+ public global::Ideogram.SpendCommitInfo? Type520 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type521 { get; set; }
+ public global::Ideogram.GetUsageInfoResponse? Type521 { get; set; }
///
///
///
- public global::Ideogram.UsageSegment? Type522 { get; set; }
+ public global::System.Collections.Generic.IList? Type522 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type523 { get; set; }
+ public global::Ideogram.UsageSegment? Type523 { get; set; }
///
///
///
- public global::Ideogram.ToolUsage? Type524 { get; set; }
+ public global::System.Collections.Generic.IList? Type524 { get; set; }
///
///
///
- public global::Ideogram.ToolType? Type525 { get; set; }
+ public global::Ideogram.ToolUsage? Type525 { get; set; }
///
///
///
- public global::Ideogram.ModelVersion? Type526 { get; set; }
+ public global::Ideogram.ToolType? Type526 { get; set; }
///
///
///
- public global::Ideogram.SegmentBy? Type527 { get; set; }
+ public global::Ideogram.ModelVersion? Type527 { get; set; }
///
///
///
- public global::Ideogram.UsageSource? Type528 { get; set; }
+ public global::Ideogram.SegmentBy? Type528 { get; set; }
///
///
///
- public global::Ideogram.GetApiProfilesResponse? Type529 { get; set; }
+ public global::Ideogram.UsageSource? Type529 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type530 { get; set; }
+ public global::Ideogram.GetApiProfilesResponse? Type530 { get; set; }
///
///
///
- public global::Ideogram.ApiProfile? Type531 { get; set; }
+ public global::System.Collections.Generic.IList? Type531 { get; set; }
///
///
///
- public global::Ideogram.ApiProfileType? Type532 { get; set; }
+ public global::Ideogram.ApiProfile? Type532 { get; set; }
///
///
///
- public global::Ideogram.ApiProfileRole? Type533 { get; set; }
+ public global::Ideogram.ApiProfileType? Type533 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type534 { get; set; }
+ public global::Ideogram.ApiProfileRole? Type534 { get; set; }
///
///
///
- public global::Ideogram.UpdateOrganizationApiPropertiesResponse? Type535 { get; set; }
+ public global::System.Collections.Generic.IList? Type535 { get; set; }
///
///
///
- public global::Ideogram.UpdateOrganizationApiPropertiesRequest? Type536 { get; set; }
+ public global::Ideogram.UpdateOrganizationApiPropertiesResponse? Type536 { get; set; }
///
///
///
- public global::Ideogram.GetApiOrganizationUserSuggestionsResponse? Type537 { get; set; }
+ public global::Ideogram.UpdateOrganizationApiPropertiesRequest? Type537 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type538 { get; set; }
+ public global::Ideogram.GetApiOrganizationUserSuggestionsResponse? Type538 { get; set; }
///
///
///
- public global::Ideogram.ApiOrganizationUserSuggestion? Type539 { get; set; }
+ public global::System.Collections.Generic.IList? Type539 { get; set; }
///
///
///
- public global::Ideogram.GetOrganizationMembersResponse? Type540 { get; set; }
+ public global::Ideogram.ApiOrganizationUserSuggestion? Type540 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type541 { get; set; }
+ public global::Ideogram.GetOrganizationMembersResponse? Type541 { get; set; }
///
///
///
- public global::Ideogram.OrganizationMember? Type542 { get; set; }
+ public global::System.Collections.Generic.IList? Type542 { get; set; }
///
///
///
- public global::Ideogram.CreateApiKeyResponse? Type543 { get; set; }
+ public global::Ideogram.OrganizationMember? Type543 { get; set; }
///
///
///
- public global::Ideogram.GetApiKeysV2Response? Type544 { get; set; }
+ public global::Ideogram.CreateApiKeyResponse? Type544 { get; set; }
///
///
///
- public global::Ideogram.OrganizationMemberOperationResponse? Type545 { get; set; }
+ public global::Ideogram.GetApiKeysV2Response? Type545 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type546 { get; set; }
+ public global::Ideogram.OrganizationMemberOperationResponse? Type546 { get; set; }
///
///
///
- public global::Ideogram.OrganizationMemberOperationResult? Type547 { get; set; }
+ public global::System.Collections.Generic.IList? Type547 { get; set; }
///
///
///
- public global::Ideogram.AddOrganizationMembersRequest? Type548 { get; set; }
+ public global::Ideogram.OrganizationMemberOperationResult? Type548 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type549 { get; set; }
+ public global::Ideogram.AddOrganizationMembersRequest? Type549 { get; set; }
///
///
///
- public global::Ideogram.LiteOrganizationMember? Type550 { get; set; }
+ public global::System.Collections.Generic.IList? Type550 { get; set; }
///
///
///
- public global::Ideogram.RemoveOrganizationMembersRequest? Type551 { get; set; }
+ public global::Ideogram.LiteOrganizationMember? Type551 { get; set; }
///
///
///
- public global::Ideogram.PromoteOrganizationAdminsRequest? Type552 { get; set; }
+ public global::Ideogram.RemoveOrganizationMembersRequest? Type552 { get; set; }
///
///
///
- public global::Ideogram.DemoteOrganizationAdminsRequest? Type553 { get; set; }
+ public global::Ideogram.PromoteOrganizationAdminsRequest? Type553 { get; set; }
///
///
///
- public global::Ideogram.CancelOrganizationInviteRequest? Type554 { get; set; }
+ public global::Ideogram.DemoteOrganizationAdminsRequest? Type554 { get; set; }
///
///
///
- public global::Ideogram.ResendOrganizationInviteRequest? Type555 { get; set; }
+ public global::Ideogram.CancelOrganizationInviteRequest? Type555 { get; set; }
///
///
///
- public global::Ideogram.ListOrganizationInvoicesResponse? Type556 { get; set; }
+ public global::Ideogram.ResendOrganizationInviteRequest? Type556 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type557 { get; set; }
+ public global::Ideogram.ListOrganizationInvoicesResponse? Type557 { get; set; }
///
///
///
- public global::Ideogram.Invoice? Type558 { get; set; }
+ public global::System.Collections.Generic.IList? Type558 { get; set; }
///
///
///
- public global::Ideogram.InvoiceStatus? Type559 { get; set; }
+ public global::Ideogram.Invoice? Type559 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type560 { get; set; }
+ public global::Ideogram.InvoiceStatus? Type560 { get; set; }
///
///
///
- public global::Ideogram.InvoiceLineItem? Type561 { get; set; }
+ public global::System.Collections.Generic.IList? Type561 { get; set; }
///
///
///
- public global::Ideogram.GetOrganizationBillingPortalResponse? Type562 { get; set; }
+ public global::Ideogram.InvoiceLineItem? Type562 { get; set; }
///
///
///
- public global::Ideogram.ListDatasetsResponse? Type563 { get; set; }
+ public global::Ideogram.GetOrganizationBillingPortalResponse? Type563 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type564 { get; set; }
+ public global::Ideogram.ListDatasetsResponse? Type564 { get; set; }
///
///
///
- public global::Ideogram.Dataset? Type565 { get; set; }
+ public global::System.Collections.Generic.IList? Type565 { get; set; }
///
///
///
- public global::Ideogram.CreateDatasetRequest? Type566 { get; set; }
+ public global::Ideogram.Dataset? Type566 { get; set; }
///
///
///
- public global::Ideogram.GetDatasetResponse? Type567 { get; set; }
+ public global::Ideogram.CreateDatasetRequest? Type567 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type568 { get; set; }
+ public global::Ideogram.GetDatasetResponse? Type568 { get; set; }
///
///
///
- public global::Ideogram.DatasetFile? Type569 { get; set; }
+ public global::System.Collections.Generic.IList? Type569 { get; set; }
///
///
///
- public global::Ideogram.UploadDatasetAssetsResponse? Type570 { get; set; }
+ public global::Ideogram.DatasetFile? Type570 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type571 { get; set; }
+ public global::Ideogram.UploadDatasetAssetsResponse? Type571 { get; set; }
///
///
///
- public global::Ideogram.DatasetUploadSucceededAsset? Type572 { get; set; }
+ public global::System.Collections.Generic.IList? Type572 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type573 { get; set; }
+ public global::Ideogram.DatasetUploadSucceededAsset? Type573 { get; set; }
///
///
///
- public global::Ideogram.DatasetUploadFailedAsset? Type574 { get; set; }
+ public global::System.Collections.Generic.IList? Type574 { get; set; }
///
///
///
- public global::Ideogram.DatasetAssetFailureReason? Type575 { get; set; }
+ public global::Ideogram.DatasetUploadFailedAsset? Type575 { get; set; }
///
///
///
- public global::Ideogram.UploadDatasetAssetsRequest? Type576 { get; set; }
+ public global::Ideogram.DatasetAssetFailureReason? Type576 { get; set; }
///
///
///
- public global::Ideogram.TrainDatasetModelResponse? Type577 { get; set; }
+ public global::Ideogram.UploadDatasetAssetsRequest? Type577 { get; set; }
///
///
///
- public global::Ideogram.TrainDatasetModelRequest? Type578 { get; set; }
+ public global::Ideogram.TrainDatasetModelResponse? Type578 { get; set; }
///
///
///
- public global::Ideogram.ListModelsResponse? Type579 { get; set; }
+ public global::Ideogram.TrainDatasetModelRequest? Type579 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type580 { get; set; }
+ public global::Ideogram.ListModelsResponse? Type580 { get; set; }
///
///
///
- public global::Ideogram.CustomModel? Type581 { get; set; }
+ public global::System.Collections.Generic.IList? Type581 { get; set; }
///
///
///
- public global::Ideogram.ModelStatus? Type582 { get; set; }
+ public global::Ideogram.CustomModel? Type582 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type583 { get; set; }
+ public global::Ideogram.ModelStatus? Type583 { get; set; }
///
///
///
- public global::Ideogram.TrainingRun? Type584 { get; set; }
+ public global::System.Collections.Generic.IList? Type584 { get; set; }
///
///
///
- public global::Ideogram.TrainingRunStatus? Type585 { get; set; }
+ public global::Ideogram.TrainingRun? Type585 { get; set; }
///
///
///
- public global::Ideogram.GetModelResponse? Type586 { get; set; }
+ public global::Ideogram.TrainingRunStatus? Type586 { get; set; }
///
///
///
- public global::Ideogram.TrainModelV3Request? Type587 { get; set; }
+ public global::Ideogram.GetModelResponse? Type587 { get; set; }
///
///
///
- public global::Ideogram.TrainModelV3AdvancedRequest? Type588 { get; set; }
+ public global::Ideogram.TrainModelV3Request? Type588 { get; set; }
///
///
///
- public global::Ideogram.TrainModelV4Request? Type589 { get; set; }
+ public global::Ideogram.TrainModelV3AdvancedRequest? Type589 { get; set; }
///
///
///
- public global::Ideogram.TrainModelV4AdvancedRequest? Type590 { get; set; }
+ public global::Ideogram.TrainModelV4Request? Type590 { get; set; }
///
///
///
- public global::Ideogram.PublishMiniAppResponse? Type591 { get; set; }
+ public global::Ideogram.TrainModelV4AdvancedRequest? Type591 { get; set; }
///
///
///
- public global::Ideogram.PublishMiniAppRequest? Type592 { get; set; }
+ public global::Ideogram.PublishMiniAppResponse? Type592 { get; set; }
///
///
///
- public global::Ideogram.PublishMiniAppRequestEmbed? Type593 { get; set; }
+ public global::Ideogram.PublishMiniAppRequest? Type593 { get; set; }
///
///
///
- public object? Type594 { get; set; }
+ public global::Ideogram.PublishMiniAppRequestEmbed? Type594 { get; set; }
///
///
///
- public global::Ideogram.MiniAppArtwork? Type595 { get; set; }
+ public object? Type595 { get; set; }
///
///
///
- public global::Ideogram.PublishMiniAppPreviewResponse? Type596 { get; set; }
+ public global::Ideogram.MiniAppArtwork? Type596 { get; set; }
///
///
///
- public global::Ideogram.PublishMiniAppPreviewRequest? Type597 { get; set; }
+ public global::Ideogram.PublishMiniAppPreviewResponse? Type597 { get; set; }
///
///
///
- public global::Ideogram.PublishMiniAppPreviewRequestEmbed? Type598 { get; set; }
+ public global::Ideogram.PublishMiniAppPreviewRequest? Type598 { get; set; }
///
///
///
- public global::Ideogram.UnpublishMiniAppPreviewResponse? Type599 { get; set; }
+ public global::Ideogram.PublishMiniAppPreviewRequestEmbed? Type599 { get; set; }
///
///
///
- public global::Ideogram.GetStaleMiniAppPreviewsResponse? Type600 { get; set; }
+ public global::Ideogram.UnpublishMiniAppPreviewResponse? Type600 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type601 { get; set; }
+ public global::Ideogram.GetStaleMiniAppPreviewsResponse? Type601 { get; set; }
///
///
///
- public global::Ideogram.MiniAppMarketingProjectionEntry? Type602 { get; set; }
+ public global::System.Collections.Generic.IList? Type602 { get; set; }
///
///
///
- public global::Ideogram.MiniAppMarketingProjectionEntryEmbed? Type603 { get; set; }
+ public global::Ideogram.MiniAppMarketingProjectionEntry? Type603 { get; set; }
///
///
///
- public global::Ideogram.GetIntegrationsResponse? Type604 { get; set; }
+ public global::Ideogram.MiniAppMarketingProjectionEntryEmbed? Type604 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type605 { get; set; }
+ public global::Ideogram.GetIntegrationsResponse? Type605 { get; set; }
///
///
///
- public global::Ideogram.IntegrationType? Type606 { get; set; }
+ public global::System.Collections.Generic.IList? Type606 { get; set; }
///
///
///
- public global::Ideogram.IntegrationErrorResponse? Type607 { get; set; }
+ public global::Ideogram.IntegrationType? Type607 { get; set; }
///
///
///
- public global::Ideogram.IntegrationErrorResponseError? Type608 { get; set; }
+ public global::Ideogram.IntegrationErrorResponse? Type608 { get; set; }
///
///
///
- public global::Ideogram.IntegrationAssetSearchResponse? Type609 { get; set; }
+ public global::Ideogram.IntegrationErrorResponseError? Type609 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type610 { get; set; }
+ public global::Ideogram.IntegrationAssetSearchResponse? Type610 { get; set; }
///
///
///
- public global::Ideogram.IntegrationAsset? Type611 { get; set; }
+ public global::System.Collections.Generic.IList? Type611 { get; set; }
///
///
///
- public global::Ideogram.IntegrationAssetDelivery? Type612 { get; set; }
+ public global::Ideogram.IntegrationAsset? Type612 { get; set; }
///
///
///
- public global::Ideogram.IntegrationAssetSearchRequest? Type613 { get; set; }
+ public global::Ideogram.IntegrationAssetDelivery? Type613 { get; set; }
///
///
///
- public global::Ideogram.V4StyleDescription? Type614 { get; set; }
+ public global::Ideogram.IntegrationAssetSearchRequest? Type614 { get; set; }
///
///
///
- public global::Ideogram.V4CompositionalDeconstruction? Type615 { get; set; }
+ public global::Ideogram.V4StyleDescription? Type615 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type616 { get; set; }
+ public global::Ideogram.V4CompositionalDeconstruction? Type616 { get; set; }
///
///
///
- public global::Ideogram.V4PromptElement? Type617 { get; set; }
+ public global::System.Collections.Generic.IList? Type617 { get; set; }
///
///
///
- public global::Ideogram.V4ObjPromptElement? Type618 { get; set; }
+ public global::Ideogram.V4PromptElement? Type618 { get; set; }
///
///
///
- public global::Ideogram.V4TextPromptElement? Type619 { get; set; }
+ public global::Ideogram.V4ObjPromptElement? Type619 { get; set; }
///
///
///
- public global::Ideogram.V4PromptElementDiscriminator? Type620 { get; set; }
+ public global::Ideogram.V4TextPromptElement? Type620 { get; set; }
///
///
///
- public global::Ideogram.V4PromptElementDiscriminatorType? Type621 { get; set; }
+ public global::Ideogram.V4PromptElementDiscriminator? Type621 { get; set; }
///
///
///
- public global::Ideogram.V4ObjPromptElementType? Type622 { get; set; }
+ public global::Ideogram.V4PromptElementDiscriminatorType? Type622 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type623 { get; set; }
+ public global::Ideogram.V4ObjPromptElementType? Type623 { get; set; }
///
///
///
- public global::Ideogram.V4TextPromptElementType? Type624 { get; set; }
+ public global::System.Collections.Generic.IList? Type624 { get; set; }
///
///
///
- public global::Ideogram.ColorPaletteWithPresetName? Type625 { get; set; }
+ public global::Ideogram.V4TextPromptElementType? Type625 { get; set; }
///
///
///
- public global::Ideogram.ColorPaletteWithMembers? Type626 { get; set; }
+ public global::Ideogram.ColorPaletteWithPresetName? Type626 { get; set; }
///
///
///
- public global::Ideogram.ColorPalettePresetName? Type627 { get; set; }
+ public global::Ideogram.ColorPaletteWithMembers? Type627 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type628 { get; set; }
+ public global::Ideogram.ColorPalettePresetName? Type628 { get; set; }
///
///
///
- public global::Ideogram.ColorPaletteMember? Type629 { get; set; }
+ public global::System.Collections.Generic.IList? Type629 { get; set; }
///
///
///
- public global::Ideogram.SvgGenerationObject? Type630 { get; set; }
+ public global::Ideogram.ColorPaletteMember? Type630 { get; set; }
///
///
///
- public global::Ideogram.SvgGenerationObjectObjectType? Type631 { get; set; }
+ public global::Ideogram.SvgGenerationObject? Type631 { get; set; }
///
///
///
- public global::Ideogram.SvgGenerationObjectMimeType? Type632 { get; set; }
+ public global::Ideogram.SvgGenerationObjectObjectType? Type632 { get; set; }
///
///
///
- public global::Ideogram.VideoObject? Type633 { get; set; }
+ public global::Ideogram.SvgGenerationObjectMimeType? Type633 { get; set; }
///
///
///
- public global::Ideogram.VideoObjectObjectType? Type634 { get; set; }
+ public global::Ideogram.VideoObject? Type634 { get; set; }
///
///
///
- public global::Ideogram.TextLayerizerResultObject? Type635 { get; set; }
+ public global::Ideogram.VideoObjectObjectType? Type635 { get; set; }
///
///
///
- public global::Ideogram.TextLayerizerResultObjectObjectType? Type636 { get; set; }
+ public global::Ideogram.TextLayerizerResultObject? Type636 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type637 { get; set; }
+ public global::Ideogram.TextLayerizerResultObjectObjectType? Type637 { get; set; }
///
///
///
- public global::Ideogram.DetectedTextBlockAlignment? Type638 { get; set; }
+ public global::System.Collections.Generic.IList? Type638 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type639 { get; set; }
+ public global::Ideogram.DetectedTextBlockAlignment? Type639 { get; set; }
///
///
///
- public global::Ideogram.DetectedTextBlockFormattingItem? Type640 { get; set; }
+ public global::System.Collections.Generic.IList? Type640 { get; set; }
///
///
///
- public global::Ideogram.DetectedTextBlockRole? Type641 { get; set; }
+ public global::Ideogram.DetectedTextBlockFormattingItem? Type641 { get; set; }
///
///
///
- public global::Ideogram.AssetType? Type642 { get; set; }
+ public global::Ideogram.DetectedTextBlockRole? Type642 { get; set; }
///
///
///
- public global::Ideogram.AttributeValueType? Type643 { get; set; }
+ public global::Ideogram.AssetType? Type643 { get; set; }
///
///
///
- public global::Ideogram.IdeogramColorPaletteWithPresetName? Type644 { get; set; }
+ public global::Ideogram.AttributeValueType? Type644 { get; set; }
///
///
///
- public global::Ideogram.IdeogramColorPalettePresetName? Type645 { get; set; }
+ public global::Ideogram.IdeogramColorPaletteWithPresetName? Type645 { get; set; }
///
///
///
- public global::Ideogram.PostGenerateDesignV4200Response? Type646 { get; set; }
+ public global::Ideogram.IdeogramColorPalettePresetName? Type646 { get; set; }
///
///
///
- public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminator? Type647 { get; set; }
+ public global::Ideogram.PostGenerateDesignV4200Response? Type647 { get; set; }
///
///
///
- public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminatorResponseType? Type648 { get; set; }
+ public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminator? Type648 { get; set; }
///
///
///
- public global::Ideogram.PostInternalTesting200Response? Type649 { get; set; }
+ public global::Ideogram.PostGenerateDesignV4200ResponseDiscriminatorResponseType? Type649 { get; set; }
///
///
///
- public global::Ideogram.GenerationResponseDataInnerDiscriminator? Type650 { get; set; }
+ public global::Ideogram.PostInternalTesting200Response? Type650 { get; set; }
///
///
///
- public global::Ideogram.GenerationResponseDataInnerDiscriminatorObjectType? Type651 { get; set; }
+ public global::Ideogram.GenerationResponseDataInnerDiscriminator? Type651 { get; set; }
///
///
///
- public global::Ideogram.MagicPromptRequestMessagesInnerRole? Type652 { get; set; }
+ public global::Ideogram.GenerationResponseDataInnerDiscriminatorObjectType? Type652 { get; set; }
///
///
///
- public global::Ideogram.DatasetCoverAssetIdentifier? Type653 { get; set; }
+ public global::Ideogram.MagicPromptRequestMessagesInnerRole? Type653 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type654 { get; set; }
+ public global::Ideogram.DatasetCoverAssetIdentifier? Type654 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type655 { get; set; }
+ public global::System.Collections.Generic.IList? Type655 { get; set; }
///
///
///
- public global::Ideogram.ListCustomModelsScope? Type656 { get; set; }
+ public global::System.Collections.Generic.IList? Type656 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type657 { get; set; }
+ public global::Ideogram.ListCustomModelsScope? Type657 { get; set; }
///
///
///
- public global::Ideogram.GetAccountUsageBucketWidth? Type658 { get; set; }
+ public global::System.Collections.Generic.IList? Type658 { get; set; }
///
///
///
- public global::System.Collections.Generic.IList? Type659 { get; set; }
+ public global::Ideogram.GetAccountUsageBucketWidth? Type659 { get; set; }
///
///
///
- public global::Ideogram.GetAccountUsageSource? Type660 { get; set; }
+ public global::System.Collections.Generic.IList? Type660 { get; set; }
+ ///
+ ///
+ ///
+ public global::Ideogram.GetAccountUsageSource? Type661 { get; set; }
///
///
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV3CustomModelRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV3CustomModelRequest.g.cs
index aef49627..6ad8ae13 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV3CustomModelRequest.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV3CustomModelRequest.g.cs
@@ -24,6 +24,13 @@ public sealed partial class GenerateImageIdeogramV3CustomModelRequest
[global::System.Text.Json.Serialization.JsonRequired]
public required string CustomModelUri { get; set; }
+ ///
+ /// Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.
+ /// Default Value: false
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("transparent_background")]
+ public bool? TransparentBackground { get; set; }
+
///
/// Description of what to exclude from the images. The prompt takes precedence over the negative prompt.
///
@@ -169,6 +176,10 @@ public sealed partial class GenerateImageIdeogramV3CustomModelRequest
/// The custom model URI, in the form `model/<model_name>/version/<version_name>`. You or your organization must have access to the model. The model determines which rendering speeds are supported and whether backgrounds are removed automatically.
/// Example: model/my-custom-model/version/1
///
+ ///
+ /// Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.
+ /// Default Value: false
+ ///
///
/// Description of what to exclude from the images. The prompt takes precedence over the negative prompt.
///
@@ -243,6 +254,7 @@ public sealed partial class GenerateImageIdeogramV3CustomModelRequest
public GenerateImageIdeogramV3CustomModelRequest(
string prompt,
string customModelUri,
+ bool? transparentBackground,
string? negativePrompt,
int? seed,
global::Ideogram.ResolutionV3? resolution,
@@ -263,6 +275,7 @@ public GenerateImageIdeogramV3CustomModelRequest(
{
this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.CustomModelUri = customModelUri ?? throw new global::System.ArgumentNullException(nameof(customModelUri));
+ this.TransparentBackground = transparentBackground;
this.NegativePrompt = negativePrompt;
this.Seed = seed;
this.Resolution = resolution;
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV4CustomModelRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV4CustomModelRequest.g.cs
index 5904d3d2..7bdf7203 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV4CustomModelRequest.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV4CustomModelRequest.g.cs
@@ -4,7 +4,7 @@
namespace Ideogram
{
///
- /// Example: {"private":true,"seed":12345,"rendering_speed":"turbo","webhook_url":"https://api.example.com/webhooks/ideogram","target_collection_id":"target_collection_id","custom_model_uri":"model/my-custom-v4-model/version/1","resolution":"","num_images":1,"magic_prompt":"","async":false,"enable_copyright_detection":true,"stacked_custom_models":[{"custom_model_uri":"model/my-base-plora/version/1","weight":0.5}],"prompt":"prompt"}
+ /// Example: {"private":true,"seed":12345,"rendering_speed":"turbo","webhook_url":"https://api.example.com/webhooks/ideogram","target_collection_id":"target_collection_id","custom_model_uri":"model/my-custom-v4-model/version/1","resolution":"","transparent_background":false,"num_images":1,"magic_prompt":"","async":false,"enable_copyright_detection":true,"stacked_custom_models":[{"custom_model_uri":"model/my-base-plora/version/1","weight":0.5}],"prompt":"prompt"}
///
public sealed partial class GenerateImageIdeogramV4CustomModelRequest
{
@@ -26,6 +26,13 @@ public sealed partial class GenerateImageIdeogramV4CustomModelRequest
[global::System.Text.Json.Serialization.JsonRequired]
public required string CustomModelUri { get; set; }
+ ///
+ /// Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.
+ /// Default Value: false
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("transparent_background")]
+ public bool? TransparentBackground { get; set; }
+
///
/// Custom models whose pLoRA checkpoints are fused beneath the `custom_model_uri` model, in list order: the first entry is applied first and `custom_model_uri` last. Every entry must be an accessible Ideogram 4.0 LoRA with a registered checkpoint and must not repeat `custom_model_uri`.
/// Example: [{"custom_model_uri":"model/my-base-plora/version/1","weight":0.5}]
@@ -135,6 +142,10 @@ public sealed partial class GenerateImageIdeogramV4CustomModelRequest
/// The custom model URI, in the form `model/<model_name>/version/<version_name>`. You or your organization must have access to the model. The model determines which rendering speeds are supported.
/// Example: model/my-custom-v4-model/version/1
///
+ ///
+ /// Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.
+ /// Default Value: false
+ ///
///
/// Custom models whose pLoRA checkpoints are fused beneath the `custom_model_uri` model, in list order: the first entry is applied first and `custom_model_uri` last. Every entry must be an accessible Ideogram 4.0 LoRA with a registered checkpoint and must not repeat `custom_model_uri`.
/// Example: [{"custom_model_uri":"model/my-base-plora/version/1","weight":0.5}]
@@ -193,6 +204,7 @@ public sealed partial class GenerateImageIdeogramV4CustomModelRequest
public GenerateImageIdeogramV4CustomModelRequest(
string prompt,
string customModelUri,
+ bool? transparentBackground,
global::System.Collections.Generic.IList? stackedCustomModels,
global::Ideogram.MagicPromptMode? magicPrompt,
int? seed,
@@ -207,6 +219,7 @@ public GenerateImageIdeogramV4CustomModelRequest(
{
this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.CustomModelUri = customModelUri ?? throw new global::System.ArgumentNullException(nameof(customModelUri));
+ this.TransparentBackground = transparentBackground;
this.StackedCustomModels = stackedCustomModels;
this.MagicPrompt = magicPrompt;
this.Seed = seed;
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ListOrganizationInvoicesResponse.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ListOrganizationInvoicesResponse.g.cs
index 32fad9e8..6268d64e 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.ListOrganizationInvoicesResponse.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.ListOrganizationInvoicesResponse.g.cs
@@ -4,7 +4,7 @@
namespace Ideogram
{
///
- /// Example: {"invoices":[{"total_spend":{"amount":1050,"currency_code":"USD"},"start_time":"2024-01-01T00:00:00\u002B00:00","end_time":"2024-01-31T23:59:59\u002B00:00","invoice_id":"invoice_123","line_items":[{"charge_name":"Image Generation - V3","total":{"amount":1050,"currency_code":"USD"},"quantity":1000,"unit_price":{"amount":1050,"currency_code":"USD"},"api_key_id":"api_key_id"},{"charge_name":"Image Generation - V3","total":{"amount":1050,"currency_code":"USD"},"quantity":1000,"unit_price":{"amount":1050,"currency_code":"USD"},"api_key_id":"api_key_id"}],"issued_time":"2024-01-01T00:00:00\u002B00:00","paid_date":"2024-02-01T00:00:00\u002B00:00","invoice_status":"PAID"},{"total_spend":{"amount":1050,"currency_code":"USD"},"start_time":"2024-01-01T00:00:00\u002B00:00","end_time":"2024-01-31T23:59:59\u002B00:00","invoice_id":"invoice_123","line_items":[{"charge_name":"Image Generation - V3","total":{"amount":1050,"currency_code":"USD"},"quantity":1000,"unit_price":{"amount":1050,"currency_code":"USD"},"api_key_id":"api_key_id"},{"charge_name":"Image Generation - V3","total":{"amount":1050,"currency_code":"USD"},"quantity":1000,"unit_price":{"amount":1050,"currency_code":"USD"},"api_key_id":"api_key_id"}],"issued_time":"2024-01-01T00:00:00\u002B00:00","paid_date":"2024-02-01T00:00:00\u002B00:00","invoice_status":"PAID"}]}
+ /// Example: {"invoices":[{"total_spend":{"amount":1050,"currency_code":"USD"},"start_time":"2024-01-01T00:00:00\u002B00:00","end_time":"2024-01-31T23:59:59\u002B00:00","invoice_id":"invoice_123","line_items":[{"charge_name":"Image Generation - V3","total":{"amount":1050,"currency_code":"USD"},"quantity":1000,"unit_price":{"amount":1050,"currency_code":"USD"},"api_key_id":"api_key_id"},{"charge_name":"Image Generation - V3","total":{"amount":1050,"currency_code":"USD"},"quantity":1000,"unit_price":{"amount":1050,"currency_code":"USD"},"api_key_id":"api_key_id"}],"issued_time":"2024-01-01T00:00:00\u002B00:00","paid_date":"2024-02-01T00:00:00\u002B00:00","invoice_status":"PAID"},{"total_spend":{"amount":1050,"currency_code":"USD"},"start_time":"2024-01-01T00:00:00\u002B00:00","end_time":"2024-01-31T23:59:59\u002B00:00","invoice_id":"invoice_123","line_items":[{"charge_name":"Image Generation - V3","total":{"amount":1050,"currency_code":"USD"},"quantity":1000,"unit_price":{"amount":1050,"currency_code":"USD"},"api_key_id":"api_key_id"},{"charge_name":"Image Generation - V3","total":{"amount":1050,"currency_code":"USD"},"quantity":1000,"unit_price":{"amount":1050,"currency_code":"USD"},"api_key_id":"api_key_id"}],"issued_time":"2024-01-01T00:00:00\u002B00:00","paid_date":"2024-02-01T00:00:00\u002B00:00","invoice_status":"PAID"}],"billing_configured":true}
///
public sealed partial class ListOrganizationInvoicesResponse
{
@@ -16,6 +16,13 @@ public sealed partial class ListOrganizationInvoicesResponse
[global::System.Text.Json.Serialization.JsonRequired]
public required global::System.Collections.Generic.IList Invoices { get; set; }
+ ///
+ /// Whether the organization has a billing account that invoices can be issued against. When false, the list is empty because nothing is billed yet, not because nothing was used.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("billing_configured")]
+ [global::System.Text.Json.Serialization.JsonRequired]
+ public required bool BillingConfigured { get; set; }
+
///
/// Additional properties that are not explicitly defined in the schema
///
@@ -29,13 +36,18 @@ public sealed partial class ListOrganizationInvoicesResponse
/// List of invoices
/// Default Value: []
///
+ ///
+ /// Whether the organization has a billing account that invoices can be issued against. When false, the list is empty because nothing is billed yet, not because nothing was used.
+ ///
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public ListOrganizationInvoicesResponse(
- global::System.Collections.Generic.IList invoices)
+ global::System.Collections.Generic.IList invoices,
+ bool billingConfigured)
{
this.Invoices = invoices ?? throw new global::System.ArgumentNullException(nameof(invoices));
+ this.BillingConfigured = billingConfigured;
}
///
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ReplaceBackgroundIdeogram45Request.Json.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ReplaceBackgroundIdeogram45Request.Json.g.cs
new file mode 100644
index 00000000..27260282
--- /dev/null
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.ReplaceBackgroundIdeogram45Request.Json.g.cs
@@ -0,0 +1,141 @@
+#nullable enable
+
+namespace Ideogram
+{
+ public sealed partial class ReplaceBackgroundIdeogram45Request
+ {
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
+ ///
+ public string ToJson(
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ this.GetType(),
+ jsonSerializerContext);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext.
+ ///
+ public string ToJson()
+ {
+ return ToJson(global::Ideogram.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public string ToJson(
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return ToJson(global::Ideogram.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Serialize(
+ this,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerContext.
+ ///
+ public static global::Ideogram.ReplaceBackgroundIdeogram45Request? FromJson(
+ string json,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ typeof(global::Ideogram.ReplaceBackgroundIdeogram45Request),
+ jsonSerializerContext) as global::Ideogram.ReplaceBackgroundIdeogram45Request;
+ }
+
+ ///
+ /// Deserializes a JSON string using the generated default JsonSerializerContext.
+ ///
+ public static global::Ideogram.ReplaceBackgroundIdeogram45Request? FromJson(
+ string json)
+ {
+ return FromJson(
+ json,
+ global::Ideogram.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON string using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::Ideogram.ReplaceBackgroundIdeogram45Request? FromJson(
+ string json,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJson(
+ json,
+ global::Ideogram.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.Deserialize(
+ json,
+ jsonSerializerOptions);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerContext.
+ ///
+ public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
+ {
+ return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ typeof(global::Ideogram.ReplaceBackgroundIdeogram45Request),
+ jsonSerializerContext).ConfigureAwait(false)) as global::Ideogram.ReplaceBackgroundIdeogram45Request;
+ }
+
+ ///
+ /// Deserializes a JSON stream using the generated default JsonSerializerContext.
+ ///
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Ideogram.SourceGenerationContext.Default);
+ }
+
+ ///
+ /// Deserializes a JSON stream using the provided JsonSerializerOptions.
+ ///
+#if NET8_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")]
+ [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")]
+#endif
+ public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync(
+ global::System.IO.Stream jsonStream,
+ global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
+ {
+ if (jsonSerializerOptions is null)
+ {
+ return FromJsonStreamAsync(
+ jsonStream,
+ global::Ideogram.SourceGenerationContext.Default);
+ }
+
+ return global::System.Text.Json.JsonSerializer.DeserializeAsync(
+ jsonStream,
+ jsonSerializerOptions);
+ }
+ }
+}
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.ReplaceBackgroundIdeogram45Request.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.ReplaceBackgroundIdeogram45Request.g.cs
new file mode 100644
index 00000000..dd6a81fc
--- /dev/null
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.ReplaceBackgroundIdeogram45Request.g.cs
@@ -0,0 +1,186 @@
+
+#nullable enable
+
+namespace Ideogram
+{
+ ///
+ /// Upload the source `image` and a `background_reference` using
+ /// `multipart/form-data`. The people in `image` are kept.
+ ///
+ public sealed partial class ReplaceBackgroundIdeogram45Request
+ {
+ ///
+ /// An identifier for an ideogram asset.
+ /// Example: {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ ///
+ /// {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ [global::System.Text.Json.Serialization.JsonPropertyName("image_asset_identifier")]
+ public global::Ideogram.AssetIdentifier? ImageAssetIdentifier { get; set; }
+
+ ///
+ /// The source image. JPEG, PNG, WEBP, HEIF, AVIF, GIF, BMP, TIFF, and
+ /// MPO are supported, up to 50 MB. Its longer side may be at most the
+ /// model's maximum aspect ratio times its shorter side; a more extreme
+ /// proportion is rejected with a 400 that states the allowed range.
+ /// Multipart requests only.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("image")]
+ public byte[]? Image { get; set; }
+
+ ///
+ /// The source image. JPEG, PNG, WEBP, HEIF, AVIF, GIF, BMP, TIFF, and
+ /// MPO are supported, up to 50 MB. Its longer side may be at most the
+ /// model's maximum aspect ratio times its shorter side; a more extreme
+ /// proportion is rejected with a 400 that states the allowed range.
+ /// Multipart requests only.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("imagename")]
+ public string? Imagename { get; set; }
+
+ ///
+ /// An identifier for an ideogram asset.
+ /// Example: {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ ///
+ /// {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ [global::System.Text.Json.Serialization.JsonPropertyName("background_reference_asset_identifier")]
+ public global::Ideogram.AssetIdentifier? BackgroundReferenceAssetIdentifier { get; set; }
+
+ ///
+ /// A photo of the setting the new background should match. Its people
+ /// are not copied. It is held to the same aspect-ratio limit as
+ /// `image`. Multipart requests only.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("background_reference")]
+ public byte[]? BackgroundReference { get; set; }
+
+ ///
+ /// A photo of the setting the new background should match. Its people
+ /// are not copied. It is held to the same aspect-ratio limit as
+ /// `image`. Multipart requests only.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("background_referencename")]
+ public string? BackgroundReferencename { get; set; }
+
+ ///
+ /// The number of images to generate.
+ /// Default Value: 1
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("num_images")]
+ public int? NumImages { get; set; }
+
+ ///
+ /// Whether to keep the result private. When omitted, the result is
+ /// private. Enterprise generations are always private.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("private")]
+ public bool? Private { get; set; }
+
+ ///
+ /// HTTPS URL that Ideogram delivers the generated result to. Ideogram sends a
+ /// JSON POST to this URL once all images for the request have finished
+ /// generating. The body mirrors the synchronous generate response:
+ /// `request_id`, `created`, and a `data` array
+ /// containing every generated image (`url`, `prompt`, `resolution`, `seed`,
+ /// `is_image_safe`). Each delivery is signed with Ed25519 and verifiable
+ /// against the public keys at `https://api.ideogram.ai/v1/.well-known/jwks.json`. Must be HTTPS;
+ /// private and loopback hosts and the cloud metadata service are rejected.
+ /// Example: https://api.example.com/webhooks/ideogram
+ ///
+ /// https://api.example.com/webhooks/ideogram
+ [global::System.Text.Json.Serialization.JsonPropertyName("webhook_url")]
+ public string? WebhookUrl { get; set; }
+
+ ///
+ /// Additional properties that are not explicitly defined in the schema
+ ///
+ [global::System.Text.Json.Serialization.JsonExtensionData]
+ public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary();
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ /// An identifier for an ideogram asset.
+ /// Example: {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ ///
+ ///
+ /// The source image. JPEG, PNG, WEBP, HEIF, AVIF, GIF, BMP, TIFF, and
+ /// MPO are supported, up to 50 MB. Its longer side may be at most the
+ /// model's maximum aspect ratio times its shorter side; a more extreme
+ /// proportion is rejected with a 400 that states the allowed range.
+ /// Multipart requests only.
+ ///
+ ///
+ /// The source image. JPEG, PNG, WEBP, HEIF, AVIF, GIF, BMP, TIFF, and
+ /// MPO are supported, up to 50 MB. Its longer side may be at most the
+ /// model's maximum aspect ratio times its shorter side; a more extreme
+ /// proportion is rejected with a 400 that states the allowed range.
+ /// Multipart requests only.
+ ///
+ ///
+ /// An identifier for an ideogram asset.
+ /// Example: {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ ///
+ ///
+ /// A photo of the setting the new background should match. Its people
+ /// are not copied. It is held to the same aspect-ratio limit as
+ /// `image`. Multipart requests only.
+ ///
+ ///
+ /// A photo of the setting the new background should match. Its people
+ /// are not copied. It is held to the same aspect-ratio limit as
+ /// `image`. Multipart requests only.
+ ///
+ ///
+ /// The number of images to generate.
+ /// Default Value: 1
+ ///
+ ///
+ /// Whether to keep the result private. When omitted, the result is
+ /// private. Enterprise generations are always private.
+ ///
+ ///
+ /// HTTPS URL that Ideogram delivers the generated result to. Ideogram sends a
+ /// JSON POST to this URL once all images for the request have finished
+ /// generating. The body mirrors the synchronous generate response:
+ /// `request_id`, `created`, and a `data` array
+ /// containing every generated image (`url`, `prompt`, `resolution`, `seed`,
+ /// `is_image_safe`). Each delivery is signed with Ed25519 and verifiable
+ /// against the public keys at `https://api.ideogram.ai/v1/.well-known/jwks.json`. Must be HTTPS;
+ /// private and loopback hosts and the cloud metadata service are rejected.
+ /// Example: https://api.example.com/webhooks/ideogram
+ ///
+#if NET7_0_OR_GREATER
+ [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
+#endif
+ public ReplaceBackgroundIdeogram45Request(
+ global::Ideogram.AssetIdentifier? imageAssetIdentifier,
+ byte[]? image,
+ string? imagename,
+ global::Ideogram.AssetIdentifier? backgroundReferenceAssetIdentifier,
+ byte[]? backgroundReference,
+ string? backgroundReferencename,
+ int? numImages,
+ bool? @private,
+ string? webhookUrl)
+ {
+ this.ImageAssetIdentifier = imageAssetIdentifier;
+ this.Image = image;
+ this.Imagename = imagename;
+ this.BackgroundReferenceAssetIdentifier = backgroundReferenceAssetIdentifier;
+ this.BackgroundReference = backgroundReference;
+ this.BackgroundReferencename = backgroundReferencename;
+ this.NumImages = numImages;
+ this.Private = @private;
+ this.WebhookUrl = webhookUrl;
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public ReplaceBackgroundIdeogram45Request()
+ {
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackgroundIdeogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackgroundIdeogram45.g.cs
new file mode 100644
index 00000000..2ab6c40a
--- /dev/null
+++ b/src/libs/Ideogram/Generated/Ideogram.ToolClient.ReplaceBackgroundIdeogram45.g.cs
@@ -0,0 +1,919 @@
+
+#nullable enable
+
+namespace Ideogram
+{
+ public partial class ToolClient
+ {
+
+
+ private static readonly global::Ideogram.EndPointSecurityRequirement s_ReplaceBackgroundIdeogram45SecurityRequirement0 =
+ new global::Ideogram.EndPointSecurityRequirement
+ {
+ Authorizations = new global::Ideogram.EndPointAuthorizationRequirement[]
+ { new global::Ideogram.EndPointAuthorizationRequirement
+ {
+ Type = "Http",
+ SchemeId = "HttpBearer",
+ Location = "Header",
+ Name = "Bearer",
+ FriendlyName = "Bearer",
+ },
+ },
+ };
+ private static readonly global::Ideogram.EndPointSecurityRequirement[] s_ReplaceBackgroundIdeogram45SecurityRequirements =
+ new global::Ideogram.EndPointSecurityRequirement[]
+ { s_ReplaceBackgroundIdeogram45SecurityRequirement0,
+ };
+ partial void PrepareReplaceBackgroundIdeogram45Arguments(
+ global::System.Net.Http.HttpClient httpClient,
+ ref bool? dryRun,
+ global::Ideogram.ReplaceBackgroundIdeogram45Request request);
+ partial void PrepareReplaceBackgroundIdeogram45Request(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpRequestMessage httpRequestMessage,
+ bool? dryRun,
+ global::Ideogram.ReplaceBackgroundIdeogram45Request request);
+ partial void ProcessReplaceBackgroundIdeogram45Response(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage);
+
+ partial void ProcessReplaceBackgroundIdeogram45ResponseContent(
+ global::System.Net.Http.HttpClient httpClient,
+ global::System.Net.Http.HttpResponseMessage httpResponseMessage,
+ ref string content);
+
+ ///
+ /// Replace background with Ideogram 4.5
+ /// Rebuild the background of an image as the setting shown in a
+ /// `background_reference` image, with Ideogram 4.5 at its highest
+ /// quality. The people in the source image are kept, people in the
+ /// reference are left out, and results keep the source image's aspect
+ /// ratio. Returns a `generation_id`; poll
+ /// `GET /v2/generations/{generation_id}` or supply a `webhook_url`.
+ ///
+ ///
+ /// Default Value: false
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task ReplaceBackgroundIdeogram45Async(
+
+ global::Ideogram.ReplaceBackgroundIdeogram45Request request,
+ bool? dryRun = default,
+ global::Ideogram.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __response = await ReplaceBackgroundIdeogram45AsResponseAsync(
+
+ request: request,
+ dryRun: dryRun,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken
+ ).ConfigureAwait(false);
+
+ return __response.Body;
+ }
+ ///
+ /// Replace background with Ideogram 4.5
+ /// Rebuild the background of an image as the setting shown in a
+ /// `background_reference` image, with Ideogram 4.5 at its highest
+ /// quality. The people in the source image are kept, people in the
+ /// reference are left out, and results keep the source image's aspect
+ /// ratio. Returns a `generation_id`; poll
+ /// `GET /v2/generations/{generation_id}` or supply a `webhook_url`.
+ ///
+ ///
+ /// Default Value: false
+ ///
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task> ReplaceBackgroundIdeogram45AsResponseAsync(
+
+ global::Ideogram.ReplaceBackgroundIdeogram45Request request,
+ bool? dryRun = default,
+ global::Ideogram.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ request = request ?? throw new global::System.ArgumentNullException(nameof(request));
+
+ PrepareArguments(
+ client: HttpClient);
+ PrepareReplaceBackgroundIdeogram45Arguments(
+ httpClient: HttpClient,
+ dryRun: ref dryRun,
+ request: request);
+
+
+ var __authorizations = global::Ideogram.EndPointSecurityResolver.ResolveAuthorizations(
+ availableAuthorizations: Authorizations,
+ securityRequirements: s_ReplaceBackgroundIdeogram45SecurityRequirements,
+ operationName: "ReplaceBackgroundIdeogram45Async");
+
+ using var __timeoutCancellationTokenSource = global::Ideogram.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken);
+ var __effectiveCancellationToken = __timeoutCancellationTokenSource?.Token ?? cancellationToken;
+ var __effectiveReadResponseAsString = global::Ideogram.AutoSDKRequestOptionsSupport.GetReadResponseAsString(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ fallbackValue: ReadResponseAsString);
+ var __maxAttempts = global::Ideogram.AutoSDKRequestOptionsSupport.GetMaxAttempts(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ supportsRetry: false);
+
+ global::System.Net.Http.HttpRequestMessage __CreateHttpRequest()
+ {
+
+ var __pathBuilder = new global::Ideogram.PathBuilder(
+ path: "/v2/image/replace-background/ideogram-4-5",
+ baseUri: HttpClient.BaseAddress);
+ __pathBuilder
+ .AddOptionalParameter("dry_run", dryRun?.ToString().ToLowerInvariant())
+ ;
+ var __path = __pathBuilder.ToString();
+ __path = global::Ideogram.AutoSDKRequestOptionsSupport.AppendQueryParameters(
+ path: __path,
+ clientParameters: Options.QueryParameters,
+ requestParameters: requestOptions?.QueryParameters);
+ var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
+ method: global::System.Net.Http.HttpMethod.Post,
+ requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
+#if NET6_0_OR_GREATER
+ __httpRequest.Version = global::System.Net.HttpVersion.Version11;
+ __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
+#endif
+
+ foreach (var __authorization in __authorizations)
+ {
+ if (__authorization.Type == "Http" ||
+ __authorization.Type == "OAuth2" ||
+ __authorization.Type == "OpenIdConnect")
+ {
+ __httpRequest.Headers.Authorization = new global::System.Net.Http.Headers.AuthenticationHeaderValue(
+ scheme: __authorization.Name,
+ parameter: __authorization.Value);
+ }
+ else if (__authorization.Type == "ApiKey" &&
+ __authorization.Location == "Header")
+ {
+ __httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
+ }
+ }
+
+ var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent();
+ if (request.ImageAssetIdentifier != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.ImageAssetIdentifier.ToJson(JsonSerializerContext)),
+ name: "\"image_asset_identifier\"");
+
+ }
+ if (request.Image != default)
+ {
+
+ var __contentImage = new global::System.Net.Http.ByteArrayContent(request.Image ?? global::System.Array.Empty());
+ __contentImage.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(
+ request.Imagename is null
+ ? "application/octet-stream"
+ : (global::System.IO.Path.GetExtension(request.Imagename) ?? string.Empty).ToLowerInvariant() switch
+ {
+ ".aac" => "audio/aac",
+ ".flac" => "audio/flac",
+ ".gif" => "image/gif",
+ ".jpeg" => "image/jpeg",
+ ".jpg" => "image/jpeg",
+ ".json" => "application/json",
+ ".m4a" => "audio/mp4",
+ ".mp3" => "audio/mpeg",
+ ".mp4" => "video/mp4",
+ ".mpeg" => "audio/mpeg",
+ ".mpga" => "audio/mpeg",
+ ".oga" => "audio/ogg",
+ ".ogg" => "audio/ogg",
+ ".opus" => "audio/ogg",
+ ".pdf" => "application/pdf",
+ ".png" => "image/png",
+ ".txt" => "text/plain",
+ ".wav" => "audio/wav",
+ ".weba" => "audio/webm",
+ ".webm" => "video/webm",
+ ".webp" => "image/webp",
+ _ => "application/octet-stream",
+ });
+ __httpRequestContent.Add(
+ content: __contentImage,
+ name: "\"image\"",
+ fileName: request.Imagename != null ? $"\"{request.Imagename}\"" : string.Empty);
+ if (__contentImage.Headers.ContentDisposition != null)
+ {
+ __contentImage.Headers.ContentDisposition.FileNameStar = null;
+ }
+
+ }
+ if (request.BackgroundReferenceAssetIdentifier != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.BackgroundReferenceAssetIdentifier.ToJson(JsonSerializerContext)),
+ name: "\"background_reference_asset_identifier\"");
+
+ }
+ if (request.BackgroundReference != default)
+ {
+
+ var __contentBackgroundReference = new global::System.Net.Http.ByteArrayContent(request.BackgroundReference ?? global::System.Array.Empty());
+ __contentBackgroundReference.Headers.ContentType = new global::System.Net.Http.Headers.MediaTypeHeaderValue(
+ request.BackgroundReferencename is null
+ ? "application/octet-stream"
+ : (global::System.IO.Path.GetExtension(request.BackgroundReferencename) ?? string.Empty).ToLowerInvariant() switch
+ {
+ ".aac" => "audio/aac",
+ ".flac" => "audio/flac",
+ ".gif" => "image/gif",
+ ".jpeg" => "image/jpeg",
+ ".jpg" => "image/jpeg",
+ ".json" => "application/json",
+ ".m4a" => "audio/mp4",
+ ".mp3" => "audio/mpeg",
+ ".mp4" => "video/mp4",
+ ".mpeg" => "audio/mpeg",
+ ".mpga" => "audio/mpeg",
+ ".oga" => "audio/ogg",
+ ".ogg" => "audio/ogg",
+ ".opus" => "audio/ogg",
+ ".pdf" => "application/pdf",
+ ".png" => "image/png",
+ ".txt" => "text/plain",
+ ".wav" => "audio/wav",
+ ".weba" => "audio/webm",
+ ".webm" => "video/webm",
+ ".webp" => "image/webp",
+ _ => "application/octet-stream",
+ });
+ __httpRequestContent.Add(
+ content: __contentBackgroundReference,
+ name: "\"background_reference\"",
+ fileName: request.BackgroundReferencename != null ? $"\"{request.BackgroundReferencename}\"" : string.Empty);
+ if (__contentBackgroundReference.Headers.ContentDisposition != null)
+ {
+ __contentBackgroundReference.Headers.ContentDisposition.FileNameStar = null;
+ }
+
+ }
+ if (request.NumImages != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(global::System.Convert.ToString(request.NumImages, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty),
+ name: "\"num_images\"");
+
+ }
+ if (request.Private != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent((global::System.Convert.ToString(request.Private, global::System.Globalization.CultureInfo.InvariantCulture) ?? string.Empty).ToLowerInvariant()),
+ name: "\"private\"");
+
+ }
+ if (request.WebhookUrl != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.WebhookUrl ?? string.Empty),
+ name: "\"webhook_url\"");
+
+ }
+
+ __httpRequest.Content = __httpRequestContent;
+
+ global::Ideogram.AutoSDKRequestOptionsSupport.ApplyHeaders(
+ request: __httpRequest,
+ clientHeaders: Options.Headers,
+ requestHeaders: requestOptions?.Headers);
+
+ PrepareRequest(
+ client: HttpClient,
+ request: __httpRequest);
+ PrepareReplaceBackgroundIdeogram45Request(
+ httpClient: HttpClient,
+ httpRequestMessage: __httpRequest,
+ dryRun: dryRun,
+ request: request);
+
+ return __httpRequest;
+ }
+
+ global::System.Net.Http.HttpRequestMessage? __httpRequest = null;
+ global::System.Net.Http.HttpResponseMessage? __response = null;
+ var __attemptNumber = 0;
+ try
+ {
+ for (var __attempt = 1; __attempt <= __maxAttempts; __attempt++)
+ {
+ __attemptNumber = __attempt;
+ __httpRequest = __CreateHttpRequest();
+ await global::Ideogram.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync(
+ clientOptions: Options,
+ context: global::Ideogram.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "ReplaceBackgroundIdeogram45",
+ methodName: "ReplaceBackgroundIdeogram45Async",
+ pathTemplate: "\"/v2/image/replace-background/ideogram-4-5\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
+ response: null,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ try
+ {
+ __response = await HttpClient.SendAsync(
+ request: __httpRequest,
+ completionOption: global::System.Net.Http.HttpCompletionOption.ResponseContentRead,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ }
+ catch (global::System.Net.Http.HttpRequestException __exception)
+ {
+ var __retryDelay = global::Ideogram.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: null,
+ attempt: __attempt);
+ var __willRetry = __attempt < __maxAttempts && !__effectiveCancellationToken.IsCancellationRequested;
+ await global::Ideogram.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Ideogram.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "ReplaceBackgroundIdeogram45",
+ methodName: "ReplaceBackgroundIdeogram45Async",
+ pathTemplate: "\"/v2/image/replace-background/ideogram-4-5\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
+ response: null,
+ exception: __exception,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: __willRetry,
+ retryDelay: __willRetry ? __retryDelay : (global::System.TimeSpan?)null,
+ retryReason: "exception",
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ if (!__willRetry)
+ {
+ throw;
+ }
+
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Ideogram.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ if (__response != null &&
+ __attempt < __maxAttempts &&
+ global::Ideogram.AutoSDKRequestOptionsSupport.ShouldRetryStatusCode(__response.StatusCode))
+ {
+ var __retryDelay = global::Ideogram.AutoSDKRequestOptionsSupport.GetRetryDelay(
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ response: __response,
+ attempt: __attempt);
+ await global::Ideogram.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Ideogram.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "ReplaceBackgroundIdeogram45",
+ methodName: "ReplaceBackgroundIdeogram45Async",
+ pathTemplate: "\"/v2/image/replace-background/ideogram-4-5\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attempt,
+ maxAttempts: __maxAttempts,
+ willRetry: true,
+ retryDelay: __retryDelay,
+ retryReason: "status:" + ((int)__response.StatusCode).ToString(global::System.Globalization.CultureInfo.InvariantCulture),
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ __response.Dispose();
+ __response = null;
+ __httpRequest.Dispose();
+ __httpRequest = null;
+ await global::Ideogram.AutoSDKRequestOptionsSupport.DelayBeforeRetryAsync(
+ retryDelay: __retryDelay,
+ cancellationToken: __effectiveCancellationToken).ConfigureAwait(false);
+ continue;
+ }
+
+ break;
+ }
+
+ if (__response == null)
+ {
+ throw new global::System.InvalidOperationException("No response received.");
+ }
+
+ using (__response)
+ {
+
+ ProcessResponse(
+ client: HttpClient,
+ response: __response);
+ ProcessReplaceBackgroundIdeogram45Response(
+ httpClient: HttpClient,
+ httpResponseMessage: __response);
+ if (__response.IsSuccessStatusCode)
+ {
+ await global::Ideogram.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync(
+ clientOptions: Options,
+ context: global::Ideogram.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "ReplaceBackgroundIdeogram45",
+ methodName: "ReplaceBackgroundIdeogram45Async",
+ pathTemplate: "\"/v2/image/replace-background/ideogram-4-5\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ else
+ {
+ await global::Ideogram.AutoSDKRequestOptionsSupport.OnAfterErrorAsync(
+ clientOptions: Options,
+ context: global::Ideogram.AutoSDKRequestOptionsSupport.CreateHookContext(
+ operationId: "ReplaceBackgroundIdeogram45",
+ methodName: "ReplaceBackgroundIdeogram45Async",
+ pathTemplate: "\"/v2/image/replace-background/ideogram-4-5\"",
+ httpMethod: "POST",
+ baseUri: BaseUri,
+ request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."),
+ response: __response,
+ exception: null,
+ clientOptions: Options,
+ requestOptions: requestOptions,
+ attempt: __attemptNumber,
+ maxAttempts: __maxAttempts,
+ willRetry: false,
+ retryDelay: null,
+ retryReason: global::System.String.Empty,
+ cancellationToken: __effectiveCancellationToken)).ConfigureAwait(false);
+ }
+ //
+ if ((int)__response.StatusCode == 400)
+ {
+ string? __content_400 = null;
+ global::System.Exception? __exception_400 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_400 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_400 = __ex;
+ }
+
+
+ throw global::Ideogram.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_400 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_400,
+ responseBody: __content_400,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 401)
+ {
+ string? __content_401 = null;
+ global::System.Exception? __exception_401 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_401 = __ex;
+ }
+
+
+ throw global::Ideogram.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_401 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_401,
+ responseBody: __content_401,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // Insufficient credits or quota.
+ if ((int)__response.StatusCode == 402)
+ {
+ string? __content_402 = null;
+ global::System.Exception? __exception_402 = null;
+ global::Ideogram.GenerationErrorResponse? __value_402 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_402 = global::Ideogram.GenerationErrorResponse.FromJson(__content_402, JsonSerializerContext);
+ }
+ else
+ {
+ __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_402 = global::Ideogram.GenerationErrorResponse.FromJson(__content_402, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_402 = __ex;
+ }
+
+
+ throw global::Ideogram.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_402 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_402,
+ responseBody: __content_402,
+ responseObject: __value_402,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 403)
+ {
+ string? __content_403 = null;
+ global::System.Exception? __exception_403 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_403 = __ex;
+ }
+
+
+ throw global::Ideogram.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_403 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_403,
+ responseBody: __content_403,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 404)
+ {
+ string? __content_404 = null;
+ global::System.Exception? __exception_404 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_404 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_404 = __ex;
+ }
+
+
+ throw global::Ideogram.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_404 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_404,
+ responseBody: __content_404,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ // Too many requests.
+ if ((int)__response.StatusCode == 429)
+ {
+ string? __content_429 = null;
+ global::System.Exception? __exception_429 = null;
+ global::Ideogram.GenerationErrorResponse? __value_429 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ __value_429 = global::Ideogram.GenerationErrorResponse.FromJson(__content_429, JsonSerializerContext);
+ }
+ else
+ {
+ __content_429 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+
+ __value_429 = global::Ideogram.GenerationErrorResponse.FromJson(__content_429, JsonSerializerContext);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_429 = __ex;
+ }
+
+
+ throw global::Ideogram.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_429 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_429,
+ responseBody: __content_429,
+ responseObject: __value_429,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ //
+ if ((int)__response.StatusCode == 503)
+ {
+ string? __content_503 = null;
+ global::System.Exception? __exception_503 = null;
+ try
+ {
+ if (__effectiveReadResponseAsString)
+ {
+ __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ else
+ {
+ __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false);
+ }
+ }
+ catch (global::System.Exception __ex)
+ {
+ __exception_503 = __ex;
+ }
+
+
+ throw global::Ideogram.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content_503 ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __exception_503,
+ responseBody: __content_503,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+
+ if (__effectiveReadResponseAsString)
+ {
+ var __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ ProcessResponseContent(
+ client: HttpClient,
+ response: __response,
+ content: ref __content);
+ ProcessReplaceBackgroundIdeogram45ResponseContent(
+ httpClient: HttpClient,
+ httpResponseMessage: __response,
+ content: ref __content);
+
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+
+ var __value = global::Ideogram.ReplaceBackgroundResponse.FromJson(__content, JsonSerializerContext) ??
+ throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" ");
+ return new global::Ideogram.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Ideogram.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ throw global::Ideogram.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+ else
+ {
+ try
+ {
+ __response.EnsureSuccessStatusCode();
+ using var __content = await __response.Content.ReadAsStreamAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+
+ var __value = await global::Ideogram.ReplaceBackgroundResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ??
+ throw new global::System.InvalidOperationException("Response deserialization failed.");
+ return new global::Ideogram.AutoSDKHttpResponse(
+ statusCode: __response.StatusCode,
+ headers: global::Ideogram.AutoSDKHttpResponse.CreateHeaders(__response),
+ requestUri: __response.RequestMessage?.RequestUri,
+ body: __value);
+ }
+ catch (global::System.Exception __ex)
+ {
+ string? __content = null;
+ try
+ {
+ __content = await __response.Content.ReadAsStringAsync(
+ #if NET5_0_OR_GREATER
+ __effectiveCancellationToken
+ #endif
+ ).ConfigureAwait(false);
+ }
+ catch (global::System.Exception)
+ {
+ }
+
+ throw global::Ideogram.ApiException.Create(
+ statusCode: __response.StatusCode,
+ message: __content ?? __response.ReasonPhrase ?? string.Empty,
+ innerException: __ex,
+ responseBody: __content,
+ responseHeaders: global::System.Linq.Enumerable.ToDictionary(
+ __response.Headers,
+ h => h.Key,
+ h => h.Value));
+ }
+ }
+
+ }
+ }
+ finally
+ {
+ __httpRequest?.Dispose();
+ }
+ }
+ ///
+ /// Replace background with Ideogram 4.5
+ /// Rebuild the background of an image as the setting shown in a
+ /// `background_reference` image, with Ideogram 4.5 at its highest
+ /// quality. The people in the source image are kept, people in the
+ /// reference are left out, and results keep the source image's aspect
+ /// ratio. Returns a `generation_id`; poll
+ /// `GET /v2/generations/{generation_id}` or supply a `webhook_url`.
+ ///
+ ///
+ /// Default Value: false
+ ///
+ ///
+ /// An identifier for an ideogram asset.
+ /// Example: {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ ///
+ ///
+ /// The source image. JPEG, PNG, WEBP, HEIF, AVIF, GIF, BMP, TIFF, and
+ /// MPO are supported, up to 50 MB. Its longer side may be at most the
+ /// model's maximum aspect ratio times its shorter side; a more extreme
+ /// proportion is rejected with a 400 that states the allowed range.
+ /// Multipart requests only.
+ ///
+ ///
+ /// The source image. JPEG, PNG, WEBP, HEIF, AVIF, GIF, BMP, TIFF, and
+ /// MPO are supported, up to 50 MB. Its longer side may be at most the
+ /// model's maximum aspect ratio times its shorter side; a more extreme
+ /// proportion is rejected with a 400 that states the allowed range.
+ /// Multipart requests only.
+ ///
+ ///
+ /// An identifier for an ideogram asset.
+ /// Example: {"asset_type":"RESPONSE","asset_id":"7uS_VESkRI6O3-sVgHQp_A"}
+ ///
+ ///
+ /// A photo of the setting the new background should match. Its people
+ /// are not copied. It is held to the same aspect-ratio limit as
+ /// `image`. Multipart requests only.
+ ///
+ ///
+ /// A photo of the setting the new background should match. Its people
+ /// are not copied. It is held to the same aspect-ratio limit as
+ /// `image`. Multipart requests only.
+ ///
+ ///
+ /// The number of images to generate.
+ /// Default Value: 1
+ ///
+ ///
+ /// Whether to keep the result private. When omitted, the result is
+ /// private. Enterprise generations are always private.
+ ///
+ ///
+ /// HTTPS URL that Ideogram delivers the generated result to. Ideogram sends a
+ /// JSON POST to this URL once all images for the request have finished
+ /// generating. The body mirrors the synchronous generate response:
+ /// `request_id`, `created`, and a `data` array
+ /// containing every generated image (`url`, `prompt`, `resolution`, `seed`,
+ /// `is_image_safe`). Each delivery is signed with Ed25519 and verifiable
+ /// against the public keys at `https://api.ideogram.ai/v1/.well-known/jwks.json`. Must be HTTPS;
+ /// private and loopback hosts and the cloud metadata service are rejected.
+ /// Example: https://api.example.com/webhooks/ideogram
+ ///
+ /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
+ /// The token to cancel the operation with
+ ///
+ public async global::System.Threading.Tasks.Task ReplaceBackgroundIdeogram45Async(
+ bool? dryRun = default,
+ global::Ideogram.AssetIdentifier? imageAssetIdentifier = default,
+ byte[]? image = default,
+ string? imagename = default,
+ global::Ideogram.AssetIdentifier? backgroundReferenceAssetIdentifier = default,
+ byte[]? backgroundReference = default,
+ string? backgroundReferencename = default,
+ int? numImages = default,
+ bool? @private = default,
+ string? webhookUrl = default,
+ global::Ideogram.AutoSDKRequestOptions? requestOptions = default,
+ global::System.Threading.CancellationToken cancellationToken = default)
+ {
+ var __request = new global::Ideogram.ReplaceBackgroundIdeogram45Request
+ {
+ ImageAssetIdentifier = imageAssetIdentifier,
+ Image = image,
+ Imagename = imagename,
+ BackgroundReferenceAssetIdentifier = backgroundReferenceAssetIdentifier,
+ BackgroundReference = backgroundReference,
+ BackgroundReferencename = backgroundReferencename,
+ NumImages = numImages,
+ Private = @private,
+ WebhookUrl = webhookUrl,
+ };
+
+ return await ReplaceBackgroundIdeogram45Async(
+ dryRun: dryRun,
+ request: __request,
+ requestOptions: requestOptions,
+ cancellationToken: cancellationToken).ConfigureAwait(false);
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/libs/Ideogram/Generated/autosdk.generated-examples.json b/src/libs/Ideogram/Generated/autosdk.generated-examples.json
index c262af2e..894ccd9e 100644
--- a/src/libs/Ideogram/Generated/autosdk.generated-examples.json
+++ b/src/libs/Ideogram/Generated/autosdk.generated-examples.json
@@ -1073,7 +1073,7 @@
"Slug": "post-generate-image-v2-ideogram-v3-custom-model",
"Description": "Generate images with a custom Ideogram 3.0 model that you or your\norganization can access, selected by \u0060custom_model_uri\u0060. Returns results\ndirectly by default; set \u0060async\u0060 or supply a \u0060webhook_url\u0060 to get a\n\u0060generation_id\u0060 and poll \u0060GET /v2/generations/{generation_id}\u0060.",
"Language": "http",
- "Code": "### Generate with a custom Ideogram 3.0 model\n# @name post_generate_image_v2_ideogram_v3_custom_model\nPOST {{host}}/v2/image/generate/ideogram-3-custom-model?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=\u0022custom_model_uri\u0022\n\nmodel/my-custom-model/version/1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022negative_prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution\u0022\n\n1280x800\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022rendering_speed\u0022\n\nturbo\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022magic_prompt\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022color_palette\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_codes\u0022\n\nABCD1234\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_preset\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_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=\u0022style_reference_images\u0022; filename=\u0022style_reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./style_reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022enable_copyright_detection\u0022\n\ntrue\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 or an unsupported model option.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 403\n# Description: The custom model does not exist or is not accessible to this user or organization.\n# 404\n# Description: A requested resource was not found.\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 a custom Ideogram 3.0 model\n# @name post_generate_image_v2_ideogram_v3_custom_model\nPOST {{host}}/v2/image/generate/ideogram-3-custom-model?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=\u0022custom_model_uri\u0022\n\nmodel/my-custom-model/version/1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022transparent_background\u0022\n\nfalse\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022negative_prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution\u0022\n\n1280x800\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022rendering_speed\u0022\n\nturbo\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022magic_prompt\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022color_palette\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_codes\u0022\n\nABCD1234\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_preset\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_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=\u0022style_reference_images\u0022; filename=\u0022style_reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./style_reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022enable_copyright_detection\u0022\n\ntrue\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 or an unsupported model option.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 403\n# Description: The custom model does not exist or is not accessible to this user or organization.\n# 404\n# Description: A requested resource was not found.\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_ideogram_v3_custom_model",
"Setup": null
@@ -1106,7 +1106,7 @@
"Slug": "post-generate-image-v2-ideogram-v4-custom-model",
"Description": "Generate images with a custom Ideogram 4.0 model that you or your\norganization can access, selected by \u0060custom_model_uri\u0060. Returns results\ndirectly by default; set \u0060async\u0060 or supply a \u0060webhook_url\u0060 to get a\n\u0060generation_id\u0060 and poll \u0060GET /v2/generations/{generation_id}\u0060.",
"Language": "csharp",
- "Code": "using var client = new IdeogramClient(apiKey);\n\nvar request = global::System.Text.Json.JsonSerializer.Deserialize\u003Cglobal::Ideogram.GenerateImageIdeogramV4CustomModelRequest\u003E(\n @\u0022{\n \u0022\u0022private\u0022\u0022: true,\n \u0022\u0022seed\u0022\u0022: 12345,\n \u0022\u0022rendering_speed\u0022\u0022: \u0022\u0022turbo\u0022\u0022,\n \u0022\u0022webhook_url\u0022\u0022: \u0022\u0022https://api.example.com/webhooks/ideogram\u0022\u0022,\n \u0022\u0022target_collection_id\u0022\u0022: \u0022\u0022target_collection_id\u0022\u0022,\n \u0022\u0022custom_model_uri\u0022\u0022: \u0022\u0022model/my-custom-v4-model/version/1\u0022\u0022,\n \u0022\u0022resolution\u0022\u0022: \u0022\u0022\u0022\u0022,\n \u0022\u0022num_images\u0022\u0022: 1,\n \u0022\u0022magic_prompt\u0022\u0022: \u0022\u0022\u0022\u0022,\n \u0022\u0022async\u0022\u0022: false,\n \u0022\u0022enable_copyright_detection\u0022\u0022: true,\n \u0022\u0022stacked_custom_models\u0022\u0022: [\n {\n \u0022\u0022custom_model_uri\u0022\u0022: \u0022\u0022model/my-base-plora/version/1\u0022\u0022,\n \u0022\u0022weight\u0022\u0022: 0.5\n }\n ],\n \u0022\u0022prompt\u0022\u0022: \u0022\u0022prompt\u0022\u0022\n}\u0022)!;\n\nvar response = await client.ImagesGenerate.PostGenerateImageV2IdeogramV4CustomModelAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022data\u0022: [\n// {\n// \u0022seed\u0022: 12345,\n// \u0022prompt\u0022: \u0022prompt\u0022,\n// \u0022resolution\u0022: \u00221024x1024\u0022,\n// \u0022url\u0022: \u0022https://openapi-generator.tech\u0022,\n// \u0022is_image_safe\u0022: true\n// },\n// {\n// \u0022seed\u0022: 12345,\n// \u0022prompt\u0022: \u0022prompt\u0022,\n// \u0022resolution\u0022: \u00221024x1024\u0022,\n// \u0022url\u0022: \u0022https://openapi-generator.tech\u0022,\n// \u0022is_image_safe\u0022: true\n// }\n// ],\n// \u0022seed\u0022: 12345,\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.GenerateImageIdeogramV4CustomModelRequest\u003E(\n @\u0022{\n \u0022\u0022private\u0022\u0022: true,\n \u0022\u0022seed\u0022\u0022: 12345,\n \u0022\u0022rendering_speed\u0022\u0022: \u0022\u0022turbo\u0022\u0022,\n \u0022\u0022webhook_url\u0022\u0022: \u0022\u0022https://api.example.com/webhooks/ideogram\u0022\u0022,\n \u0022\u0022target_collection_id\u0022\u0022: \u0022\u0022target_collection_id\u0022\u0022,\n \u0022\u0022custom_model_uri\u0022\u0022: \u0022\u0022model/my-custom-v4-model/version/1\u0022\u0022,\n \u0022\u0022resolution\u0022\u0022: \u0022\u0022\u0022\u0022,\n \u0022\u0022transparent_background\u0022\u0022: false,\n \u0022\u0022num_images\u0022\u0022: 1,\n \u0022\u0022magic_prompt\u0022\u0022: \u0022\u0022\u0022\u0022,\n \u0022\u0022async\u0022\u0022: false,\n \u0022\u0022enable_copyright_detection\u0022\u0022: true,\n \u0022\u0022stacked_custom_models\u0022\u0022: [\n {\n \u0022\u0022custom_model_uri\u0022\u0022: \u0022\u0022model/my-base-plora/version/1\u0022\u0022,\n \u0022\u0022weight\u0022\u0022: 0.5\n }\n ],\n \u0022\u0022prompt\u0022\u0022: \u0022\u0022prompt\u0022\u0022\n}\u0022)!;\n\nvar response = await client.ImagesGenerate.PostGenerateImageV2IdeogramV4CustomModelAsync(\n request: request\n);\n\n// Example response:\n// {\n// \u0022data\u0022: [\n// {\n// \u0022seed\u0022: 12345,\n// \u0022prompt\u0022: \u0022prompt\u0022,\n// \u0022resolution\u0022: \u00221024x1024\u0022,\n// \u0022url\u0022: \u0022https://openapi-generator.tech\u0022,\n// \u0022is_image_safe\u0022: true\n// },\n// {\n// \u0022seed\u0022: 12345,\n// \u0022prompt\u0022: \u0022prompt\u0022,\n// \u0022resolution\u0022: \u00221024x1024\u0022,\n// \u0022url\u0022: \u0022https://openapi-generator.tech\u0022,\n// \u0022is_image_safe\u0022: true\n// }\n// ],\n// \u0022seed\u0022: 12345,\n// \u0022generation_id\u0022: \u0022generation_id\u0022\n// }",
"Format": "sdk",
"OperationId": "post_generate_image_v2_ideogram_v4_custom_model",
"Setup": "This example assumes \u0060using Ideogram;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
@@ -1938,6 +1938,17 @@
},
{
"Order": 177,
+ "Title": "Replace background with Ideogram 4.5",
+ "Slug": "post-replace-background-ideogram45",
+ "Description": "Rebuild the background of an image as the setting shown in a\n\u0060background_reference\u0060 image, with Ideogram 4.5 at its highest\nquality. The people in the source image are kept, people in the\nreference are left out, and results keep the source image\u0027s aspect\nratio. Returns a \u0060generation_id\u0060; poll\n\u0060GET /v2/generations/{generation_id}\u0060 or supply a \u0060webhook_url\u0060.",
+ "Language": "http",
+ "Code": "### Replace background with Ideogram 4.5\n# @name post_replace_background_ideogram45\nPOST {{host}}/v2/image/replace-background/ideogram-4-5?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=\u0022background_reference_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=\u0022background_reference\u0022; filename=\u0022background_reference.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./background_reference.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022webhook_url\u0022\n\nhttps://api.example.com/webhooks/ideogram\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: Background replacement accepted for asynchronous processing.\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# 403\n# Description: Not authorized to replace backgrounds.\n# 404\n# Description: An image was not found or is not readable.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 503\n# Description: Background replacement is temporarily unavailable.",
+ "Format": "http",
+ "OperationId": "post_replace_background_ideogram45",
+ "Setup": null
+ },
+ {
+ "Order": 178,
"Title": "Replace background with Ideogram 3.0",
"Slug": "post-replace-background-ideogram-v3",
"Description": "Replace the background of an image from a text prompt with Ideogram 3.0,\nkeeping the automatically detected foreground subject; no mask is\nneeded. Upload the source \u0060image\u0060 using \u0060multipart/form-data\u0060.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -1948,7 +1959,7 @@
"Setup": null
},
{
- "Order": 178,
+ "Order": 179,
"Title": "Upscale with automatic model selection",
"Slug": "post-upscale",
"Description": "Upscale an image to 2x, 4x, or 8x its original resolution with a model\nIdeogram picks per request; the choice may change over time. Upload the\nsource \u0060image\u0060 using \u0060multipart/form-data\u0060.\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.",
@@ -1959,7 +1970,7 @@
"Setup": null
},
{
- "Order": 179,
+ "Order": 180,
"Title": "Reference to video with MiniMax H3",
"Slug": "post-edit-video-minimax-h3-reference-to-video",
"Description": "Produce a video from a text prompt and optional reference media with\nMiniMax H3. Upload \u0060reference_images\u0060 and \u0060reference_audios\u0060 using\n\u0060multipart/form-data\u0060, and address them in the prompt by position\n(\u0060Image 1\u0060, \u0060Audio 1\u0060, \u2026). Returns a \u0060generation_id\u0060; poll\n\u0060GET /v2/generations/{generation_id}\u0060 or supply a \u0060webhook_url\u0060.",
@@ -1970,7 +1981,7 @@
"Setup": null
},
{
- "Order": 180,
+ "Order": 181,
"Title": "Edit video with Seedance 2.0",
"Slug": "post-edit-video-seed-dance2",
"Description": "Edit a video you already have stored with Ideogram by replacing part of\nit. Reference the source video with \u0060video_asset_identifier\u0060 and mark the\nspan to replace with \u0060start_frame_time\u0060 and \u0060end_frame_time\u0060, in seconds.\nSeedance 2.0 generates a new clip for that span from your prompt, and the\nresult is the source video with the generated clip spliced in over the\nspan: everything before \u0060start_frame_time\u0060, then the generated clip, then\neverything from \u0060end_frame_time\u0060 on. That edited video is the asset the\nrequest produces.\n\n\u0060is_start_frame_included\u0060 and \u0060is_end_frame_included\u0060 anchor the generated\nclip on the span\u0027s own end frames, so it joins the surrounding footage\ninstead of cutting to something unrelated. Anchoring the start opens the\nclip on the frame already at \u0060start_frame_time\u0060; anchoring the end lands\nit on the frame at \u0060end_frame_time\u0060; anchoring both joins at each seam. At\nleast one must be anchored.\n\nThe generated clip is used at its own length, which the model rarely makes\nexactly the span\u0027s, so the edited video is usually a different length from\nthe source. Request a \u0060duration\u0060 close to the span to keep them near each\nother. The clip is scaled and cropped to fill the source\u0027s frame and\nconformed to its frame rate, so resolution and aspect ratio follow the\nsource rather than being requested.\n\nVideo generation always runs asynchronously: the response returns as\nsoon as the request is accepted and carries only a \u0060generation_id\u0060.\nPoll for completion and results with\n\u0060GET /v2/generations/{generation_id}\u0060 using that id, or supply a\n\u0060webhook_url\u0060 to have the finished result POSTed to your server\ninstead.\n\nVideo links are available for a limited period of time; download the\nvideo if you want to keep it.",
@@ -1981,7 +1992,7 @@
"Setup": "This example assumes \u0060using Ideogram;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
},
{
- "Order": 181,
+ "Order": 182,
"Title": "Image to video with Kling v3 Standard",
"Slug": "post-generate-video-kling-v3-standard-image-to-video",
"Description": "Generate a video from a first-frame image and a text prompt with Kling\nv3 Standard. Upload the first frame as \u0060image\u0060, and optionally a final\nframe as \u0060end_image\u0060, using \u0060multipart/form-data\u0060.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -1992,7 +2003,7 @@
"Setup": null
},
{
- "Order": 182,
+ "Order": 183,
"Title": "Text to video with Kling v3 Standard",
"Slug": "post-generate-video-kling-v3-standard-text-to-video",
"Description": "Generate a video from a text prompt with Kling v3 Standard.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -2003,7 +2014,7 @@
"Setup": "This example assumes \u0060using Ideogram;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
},
{
- "Order": 183,
+ "Order": 184,
"Title": "Image to video with MiniMax H3",
"Slug": "post-generate-video-minimax-h3-image-to-video",
"Description": "Generate a video from a first-frame image and a text prompt with\nMiniMax H3. Upload the first frame as \u0060image\u0060, and optionally a final\nframe as \u0060end_image\u0060, using \u0060multipart/form-data\u0060.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -2014,7 +2025,7 @@
"Setup": null
},
{
- "Order": 184,
+ "Order": 185,
"Title": "Text to video with MiniMax H3",
"Slug": "post-generate-video-minimax-h3-text-to-video",
"Description": "Generate a video from a text prompt with MiniMax H3.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -2025,7 +2036,7 @@
"Setup": "This example assumes \u0060using Ideogram;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
},
{
- "Order": 185,
+ "Order": 186,
"Title": "Image to video with Seedance 2.5",
"Slug": "post-generate-video-seed-dance25-image-to-video",
"Description": "Generate a video from a first-frame image and a text prompt with\nSeedance 2.5. Upload the first frame as \u0060image\u0060, and optionally a final\nframe as \u0060end_image\u0060, using \u0060multipart/form-data\u0060.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -2036,7 +2047,7 @@
"Setup": null
},
{
- "Order": 186,
+ "Order": 187,
"Title": "Reference to video with Seedance 2.5",
"Slug": "post-generate-video-seed-dance25-reference-to-video",
"Description": "Generate a video from a text prompt and reference media with\nSeedance 2.5. Upload at least one image in \u0060reference_images\u0060, plus optional\n\u0060reference_audios\u0060, using \u0060multipart/form-data\u0060.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -2047,7 +2058,7 @@
"Setup": null
},
{
- "Order": 187,
+ "Order": 188,
"Title": "Text to video with Seedance 2.5",
"Slug": "post-generate-video-seed-dance25-text-to-video",
"Description": "Generate a video from a text prompt with Seedance 2.5, at up to 1080p and\n30 seconds. Returns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -2058,7 +2069,7 @@
"Setup": "This example assumes \u0060using Ideogram;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
},
{
- "Order": 188,
+ "Order": 189,
"Title": "Image to video with Seedance 2.0",
"Slug": "post-generate-video-seed-dance2-image-to-video",
"Description": "Generate one or more videos from a first-frame image and a text prompt\nwith Seedance 2.0. Upload the first frame as \u0060image\u0060, and optionally a final\nframe as \u0060end_image\u0060, using \u0060multipart/form-data\u0060.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -2069,7 +2080,7 @@
"Setup": null
},
{
- "Order": 189,
+ "Order": 190,
"Title": "Reference to video with Seedance 2.0",
"Slug": "post-generate-video-seed-dance2-reference-to-video",
"Description": "Generate a video from a text prompt and reference media with\nSeedance 2.0. Upload at least one image in \u0060reference_images\u0060, plus optional\n\u0060reference_audios\u0060, using \u0060multipart/form-data\u0060.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -2080,7 +2091,7 @@
"Setup": null
},
{
- "Order": 190,
+ "Order": 191,
"Title": "Text to video with Seedance 2.0",
"Slug": "post-generate-video-seed-dance2-text-to-video",
"Description": "Generate one or more videos from a text prompt with Seedance 2.0.\nReturns a \u0060generation_id\u0060; poll \u0060GET /v2/generations/{generation_id}\u0060\nor supply a \u0060webhook_url\u0060.",
@@ -2091,7 +2102,7 @@
"Setup": "This example assumes \u0060using Ideogram;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
},
{
- "Order": 191,
+ "Order": 192,
"Title": "Turn a still image into a subtle looping video",
"Slug": "post-living-image",
"Description": "Animates one image into a short, loop-ready clip for use as a living background. The camera stays fixed and only the parts of the scene that would move in real life move: water, light, mist, particles, fabric, creatures. Ideogram inspects the image and writes the motion prompt, so the request needs only the image.\nVideo generation runs asynchronously. Poll \u0060GET /v1/generations/{generation_id}\u0060 with the returned \u0060generation_id\u0060 until the generation completes or fails.",
@@ -2102,7 +2113,7 @@
"Setup": "This example assumes \u0060using Ideogram;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
},
{
- "Order": 192,
+ "Order": 193,
"Title": "Product 360 Video",
"Slug": "post-product360-video",
"Description": "Animates one product image through a complete turntable revolution and returns to the starting pose so the result loops cleanly.\nVideo generation runs asynchronously. Poll \u0060GET /v2/generations/{generation_id}\u0060 with the returned \u0060generation_id\u0060 until the generation completes or fails.",
@@ -2113,7 +2124,7 @@
"Setup": "This example assumes \u0060using Ideogram;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential."
},
{
- "Order": 193,
+ "Order": 194,
"Title": "Describe",
"Slug": "post-describe",
"Description": "Describe an image.\n\nSupported image formats include JPEG, PNG, and WebP.",
@@ -2124,7 +2135,7 @@
"Setup": null
},
{
- "Order": 194,
+ "Order": 195,
"Title": "Describe with Ideogram 4.0",
"Slug": "post-describe-v4",
"Description": "Describe an image with Ideogram 4.0 and return a structured\n\u0060V4JsonPrompt\u0060. The returned \u0060json_prompt\u0060 is a working JSON prompt\nthat can be passed directly as \u0060json_prompt\u0060 to the\n\u0060/v1/ideogram-v4/generate\u0060 family of endpoints.\n\nSupported image formats include JPEG, PNG, and WebP.",
@@ -2135,7 +2146,7 @@
"Setup": null
},
{
- "Order": 195,
+ "Order": 196,
"Title": "Get the public keys used to verify webhook signatures",
"Slug": "get-webhook-signing-jwks",
"Description": "Returns the set of Ed25519 public keys Ideogram uses to sign outbound\nwebhook payloads. Customers verify incoming webhooks by recomputing the\ncanonical signed message (\u0060request_id\\nuser_id\\ntimestamp\\nsha256_hex(body)\u0060)\nand checking the \u0060X-Ideogram-Webhook-Signature\u0060 header against any key\nin this document.\n\nThe document includes the current signing key plus any keys recently\nrotated out, so signatures already in flight remain verifiable across\nrotations. Cache for up to 24 hours; refresh sooner if a signature\nfails to verify against the cached set.\n\nThis endpoint is public and unauthenticated \u2014 no API key is required.",
diff --git a/src/libs/Ideogram/openapi.json b/src/libs/Ideogram/openapi.json
index a4e8adf5..acb967a6 100644
--- a/src/libs/Ideogram/openapi.json
+++ b/src/libs/Ideogram/openapi.json
@@ -8617,7 +8617,7 @@
"tags": [
"images-generate"
],
- "x-tool-description": "Generate with an accessible custom Ideogram 3.0 model. The model controls available rendering speeds and automatic background removal.",
+ "x-tool-description": "Generate with an accessible custom Ideogram 3.0 model. The model controls available rendering speeds. Set transparent_background to remove the background after generation.",
"x-openapi-router-controller": "external_api.generated.openapi.controllers.images_generate_controller"
}
},
@@ -11429,6 +11429,104 @@
"x-openapi-router-controller": "external_api.generated.openapi.controllers.edit_workflow_controller"
}
},
+ "/v2/image/replace-background/ideogram-4-5": {
+ "post": {
+ "description": "Rebuild the background of an image as the setting shown in a\n`background_reference` image, with Ideogram 4.5 at its highest\nquality. The people in the source image are kept, people in the\nreference are left out, and results keep the source image's aspect\nratio. Returns a `generation_id`; poll\n`GET /v2/generations/{generation_id}` or supply a `webhook_url`.\n",
+ "operationId": "post_replace_background_ideogram45",
+ "parameters": [
+ {
+ "description": "When true, the request is validated and priced but not run: nothing is\ngenerated, stored, or billed, and no safety review is performed. The\nresponse is a `PriceQuote` object instead of the usual response for this\nendpoint. Send exactly the request you would send to generate, so the\nquote reflects the same options.\n",
+ "in": "query",
+ "name": "dry_run",
+ "required": false,
+ "schema": {
+ "default": false,
+ "type": "boolean"
+ },
+ "x-tool-description": "Validate and quote only; no generation, storage, billing, or safety review."
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "multipart/form-data": {
+ "encoding": {
+ "image_asset_identifier": {
+ "contentType": "application/json"
+ },
+ "background_reference_asset_identifier": {
+ "contentType": "application/json"
+ }
+ },
+ "schema": {
+ "$ref": "#/components/schemas/ReplaceBackgroundIdeogram45Request"
+ }
+ },
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReplaceBackgroundIdeogram45Request"
+ }
+ }
+ },
+ "description": "The source image and the background reference.",
+ "required": true,
+ "x-body-name": "body"
+ },
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReplaceBackgroundResponse"
+ }
+ }
+ },
+ "description": "Background replacement accepted for asynchronous processing."
+ },
+ "400": {
+ "description": "Invalid input provided."
+ },
+ "401": {
+ "description": "Unauthorized."
+ },
+ "402": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenerationErrorResponse"
+ }
+ }
+ },
+ "description": "Insufficient credits or quota."
+ },
+ "403": {
+ "description": "Not authorized to replace backgrounds."
+ },
+ "404": {
+ "description": "An image was not found or is not readable."
+ },
+ "429": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenerationErrorResponse"
+ }
+ }
+ },
+ "description": "Too many requests."
+ },
+ "503": {
+ "description": "Background replacement is temporarily unavailable."
+ }
+ },
+ "summary": "Replace background with Ideogram 4.5",
+ "tags": [
+ "edit-workflow"
+ ],
+ "x-fern-sdk-group-name": "tool",
+ "x-fern-sdk-method-name": "replaceBackgroundIdeogram45",
+ "x-openapi-router-controller": "external_api.generated.openapi.controllers.edit_workflow_controller"
+ }
+ },
"/v2/image/upscale/auto": {
"post": {
"description": "Upscale an image to 2x, 4x, or 8x its original resolution with a model\nIdeogram picks per request; the choice may change over time. Upload the\nsource `image` using `multipart/form-data`.\nReturns results directly by default; set `async` or supply a\n`webhook_url` to get a `generation_id` and poll\n`GET /v2/generations/{generation_id}`.\n",
@@ -22274,6 +22372,48 @@
],
"type": "object"
},
+ "ReplaceBackgroundIdeogram45Request": {
+ "description": "Upload the source `image` and a `background_reference` using\n`multipart/form-data`. The people in `image` are kept.\n",
+ "properties": {
+ "image_asset_identifier": {
+ "$ref": "#/components/schemas/AssetIdentifier"
+ },
+ "image": {
+ "description": "The source image. JPEG, PNG, WEBP, HEIF, AVIF, GIF, BMP, TIFF, and\nMPO are supported, up to 50 MB. Its longer side may be at most the\nmodel's maximum aspect ratio times its shorter side; a more extreme\nproportion is rejected with a 400 that states the allowed range.\nMultipart requests only.\n",
+ "format": "binary",
+ "type": "string"
+ },
+ "background_reference_asset_identifier": {
+ "$ref": "#/components/schemas/AssetIdentifier"
+ },
+ "background_reference": {
+ "description": "A photo of the setting the new background should match. Its people\nare not copied. It is held to the same aspect-ratio limit as\n`image`. Multipart requests only.\n",
+ "format": "binary",
+ "type": "string"
+ },
+ "num_images": {
+ "default": 1,
+ "description": "The number of images to generate.",
+ "maximum": 4,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "private": {
+ "description": "Whether to keep the result private. When omitted, the result is\nprivate. Enterprise generations are always private.\n",
+ "type": "boolean"
+ },
+ "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",
+ "example": "https://api.example.com/webhooks/ideogram",
+ "format": "uri",
+ "maxLength": 2048,
+ "title": "webhook_url",
+ "type": "string",
+ "x-tool-description": "Signed completion callback; public HTTPS only (no private/internal hosts)."
+ }
+ },
+ "type": "object"
+ },
"ListAccountApiKeysResponse": {
"example": {
"api_keys": [
@@ -27330,6 +27470,11 @@
"pattern": "^model/[^/]+/version/[^/]+$",
"type": "string"
},
+ "transparent_background": {
+ "default": false,
+ "description": "Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.",
+ "type": "boolean"
+ },
"negative_prompt": {
"description": "Description of what to exclude from the images. The prompt takes precedence over the negative prompt.",
"maxLength": 10000,
@@ -27730,6 +27875,7 @@
"target_collection_id": "target_collection_id",
"custom_model_uri": "model/my-custom-v4-model/version/1",
"resolution": "",
+ "transparent_background": false,
"num_images": 1,
"magic_prompt": "",
"async": false,
@@ -27760,6 +27906,12 @@
"title": "custom_model_uri",
"type": "string"
},
+ "transparent_background": {
+ "default": false,
+ "description": "Remove the background after generation and return transparent PNG images. Included in the custom model generation price at no extra charge. When false, the model's automatic background removal behavior still applies.",
+ "title": "transparent_background",
+ "type": "boolean"
+ },
"stacked_custom_models": {
"description": "Custom models whose pLoRA checkpoints are fused beneath the `custom_model_uri` model, in list order: the first entry is applied first and `custom_model_uri` last. Every entry must be an accessible Ideogram 4.0 LoRA with a registered checkpoint and must not repeat `custom_model_uri`.",
"example": [
@@ -35312,7 +35464,8 @@
"paid_date": "2024-02-01T00:00:00+00:00",
"invoice_status": "PAID"
}
- ]
+ ],
+ "billing_configured": true
},
"properties": {
"invoices": {
@@ -35323,9 +35476,15 @@
},
"title": "invoices",
"type": "array"
+ },
+ "billing_configured": {
+ "description": "Whether the organization has a billing account that invoices can be issued against. When false, the list is empty because nothing is billed yet, not because nothing was used.",
+ "title": "billing_configured",
+ "type": "boolean"
}
},
"required": [
+ "billing_configured",
"invoices"
],
"title": "ListOrganizationInvoicesResponse",