diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs
index 6b28a4dd..e45ce89a 100644
--- a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs
@@ -66,11 +66,14 @@ public partial interface IImagesGenerateClient
///
/// Optional source images to edit (max 16, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
/// The output background. `transparent` returns images with an alpha channel, `opaque` forces a solid background, and `auto` lets the model decide from the prompt.
@@ -128,6 +131,7 @@ public partial interface IImagesGenerateClient
bool? dryRun = default,
global::System.Collections.Generic.IList? imageAssetIdentifiers = default,
global::System.Collections.Generic.IList? images = default,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier = default,
byte[]? mask = default,
string? maskname = default,
global::Ideogram.GenerateImageGptImage25FlareRequestBackground? background = default,
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs
index ea6fc59f..9026ee4f 100644
--- a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs
@@ -69,11 +69,14 @@ public partial interface IImagesGenerateClient
///
/// Optional source images to edit (max 16, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
/// The output background. `transparent` returns images with an alpha channel, `opaque` forces a solid background, and `auto` lets the model decide from the prompt.
@@ -131,6 +134,7 @@ public partial interface IImagesGenerateClient
bool? dryRun = default,
global::System.Collections.Generic.IList? imageAssetIdentifiers = default,
global::System.Collections.Generic.IList? images = default,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier = default,
byte[]? mask = default,
string? maskname = default,
global::Ideogram.GenerateImageGptImage25SunburstRequestBackground? background = default,
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs
index 01406c15..1286f69a 100644
--- a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs
@@ -77,6 +77,9 @@ public partial interface IImagesGenerateClient
///
/// Optional source images to edit (max 5, max 25MB each; JPEG, PNG, or WEBP). The first image is the one being edited; any others are extra references. Multipart requests only.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
/// An optional mask that limits the edit to part of the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the first source image and contain both black and white areas. A masked request can include at most three other source images. With a mask, the output is always the first source image's own size, so `size` cannot be set.
///
@@ -151,6 +154,7 @@ public partial interface IImagesGenerateClient
global::Ideogram.MagicPromptMode? magicPrompt = default,
global::System.Collections.Generic.IList? imageAssetIdentifiers = default,
global::System.Collections.Generic.IList? images = default,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier = default,
byte[]? mask = default,
string? maskname = default,
string? size = default,
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs
index 2b7950e6..1c6ce758 100644
--- a/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.IImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs
@@ -75,11 +75,14 @@ public partial interface IImagesGenerateClient
///
/// An image of the character to feature (max 25MB; JPEG, PNG, or WEBP).
///
+ ///
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
///
- /// Optional grayscale mask marking where the character is in the `character_reference_images` image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
+ /// Optional grayscale mask marking where the character is in the character reference image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
///
///
- /// Optional grayscale mask marking where the character is in the `character_reference_images` image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
+ /// Optional grayscale mask marking where the character is in the character reference image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
///
///
/// Random seed. Set for reproducible generation.
@@ -158,6 +161,7 @@ public partial interface IImagesGenerateClient
string? characterReferenceCollectionVersionId = default,
global::System.Collections.Generic.IList? characterReferenceAssetIdentifiers = default,
global::System.Collections.Generic.IList? characterReferenceImages = default,
+ global::Ideogram.AssetIdentifier? characterReferenceMaskAssetIdentifier = default,
byte[]? characterReferenceMask = default,
string? characterReferenceMaskname = default,
int? seed = default,
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs
index d5dd53b5..d4619ec6 100644
--- a/src/libs/Ideogram/Generated/Ideogram.IImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.IImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs
@@ -98,11 +98,14 @@ public partial interface IImagesInpaintClient
///
/// An image to use as the character reference (max 25MB). JPEG, PNG, and WEBP are supported.
///
+ ///
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
/// Controls magic prompt (automatic prompt rewriting). Defaults to `auto`.
@@ -180,6 +183,7 @@ public partial interface IImagesInpaintClient
string? characterReferenceCollectionVersionId = default,
global::System.Collections.Generic.IList? characterReferenceAssetIdentifiers = default,
global::System.Collections.Generic.IList? characterReferenceImages = default,
+ global::Ideogram.AssetIdentifier? characterReferenceMaskAssetIdentifier = default,
byte[]? characterReferenceMask = default,
string? characterReferenceMaskname = default,
global::Ideogram.MagicPromptMode? magicPrompt = default,
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs
index 046e122a..9303a5cc 100644
--- a/src/libs/Ideogram/Generated/Ideogram.IImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.IImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs
@@ -78,25 +78,28 @@ public partial interface IImagesPreciseEditClient
/// structured prompt; valid structured JSON is used as is.
///
///
- /// The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied. Cannot be combined with `mask`.
+ /// The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied.
///
///
- /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
+ /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
///
///
- /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
+ /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
///
///
- /// Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too, and cannot be combined with `mask`.
+ /// Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too. A request with a mask can include at most three.
///
///
/// Optional images to guide the edit (max 4, max 50MB each; JPEG, PNG, or WEBP). They are never edited themselves; only `image` is. Multipart requests only; ignored if `reference_image_asset_identifiers` is also supplied. A request with a `mask` can include at most three, because the mask takes up one reference slot.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
- /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.
+ /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the image being edited and contain both black and white areas. A masked request can include at most three reference images.
///
///
- /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.
+ /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the image being edited and contain both black and white areas. A masked request can include at most three reference images.
///
///
/// Which region of the image to edit.
@@ -153,6 +156,7 @@ public partial interface IImagesPreciseEditClient
string? imagename = default,
global::System.Collections.Generic.IList? referenceImageAssetIdentifiers = default,
global::System.Collections.Generic.IList? referenceImages = default,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier = default,
byte[]? mask = default,
string? maskname = default,
string? contextWindow = default,
diff --git a/src/libs/Ideogram/Generated/Ideogram.IImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs b/src/libs/Ideogram/Generated/Ideogram.IImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs
index 11ccdab9..e70d88aa 100644
--- a/src/libs/Ideogram/Generated/Ideogram.IImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.IImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs
@@ -93,11 +93,14 @@ public partial interface IImagesRemixClient
///
/// An image to use as the character reference (max 25MB). JPEG, PNG, and WEBP are supported.
///
+ ///
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
/// Random seed. Set for reproducible generation.
@@ -177,6 +180,7 @@ public partial interface IImagesRemixClient
string? characterReferenceCollectionVersionId = default,
global::System.Collections.Generic.IList? characterReferenceAssetIdentifiers = default,
global::System.Collections.Generic.IList? characterReferenceImages = default,
+ global::Ideogram.AssetIdentifier? characterReferenceMaskAssetIdentifier = default,
byte[]? characterReferenceMask = default,
string? characterReferenceMaskname = default,
int? seed = default,
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs
index 6a020cb6..035eb306 100644
--- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Flare.g.cs
@@ -195,6 +195,14 @@ partial void ProcessPostGenerateImageV2GptImage25FlareResponseContent(
}
}
+ }
+ if (request.MaskAssetIdentifier != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.MaskAssetIdentifier.ToJson(JsonSerializerContext)),
+ name: "\"mask_asset_identifier\"");
+
}
if (request.Mask != default)
{
@@ -862,11 +870,14 @@ request.Maskname is null
///
/// Optional source images to edit (max 16, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
/// The output background. `transparent` returns images with an alpha channel, `opaque` forces a solid background, and `auto` lets the model decide from the prompt.
@@ -924,6 +935,7 @@ request.Maskname is null
bool? dryRun = default,
global::System.Collections.Generic.IList? imageAssetIdentifiers = default,
global::System.Collections.Generic.IList? images = default,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier = default,
byte[]? mask = default,
string? maskname = default,
global::Ideogram.GenerateImageGptImage25FlareRequestBackground? background = default,
@@ -944,6 +956,7 @@ request.Maskname is null
Prompt = prompt,
ImageAssetIdentifiers = imageAssetIdentifiers,
Images = images,
+ MaskAssetIdentifier = maskAssetIdentifier,
Mask = mask,
Maskname = maskname,
Background = background,
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs
index 7614fae1..73906679 100644
--- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2GptImage25Sunburst.g.cs
@@ -197,6 +197,14 @@ partial void ProcessPostGenerateImageV2GptImage25SunburstResponseContent(
}
}
+ }
+ if (request.MaskAssetIdentifier != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.MaskAssetIdentifier.ToJson(JsonSerializerContext)),
+ name: "\"mask_asset_identifier\"");
+
}
if (request.Mask != default)
{
@@ -865,11 +873,14 @@ request.Maskname is null
///
/// Optional source images to edit (max 16, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
/// The output background. `transparent` returns images with an alpha channel, `opaque` forces a solid background, and `auto` lets the model decide from the prompt.
@@ -927,6 +938,7 @@ request.Maskname is null
bool? dryRun = default,
global::System.Collections.Generic.IList? imageAssetIdentifiers = default,
global::System.Collections.Generic.IList? images = default,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier = default,
byte[]? mask = default,
string? maskname = default,
global::Ideogram.GenerateImageGptImage25SunburstRequestBackground? background = default,
@@ -947,6 +959,7 @@ request.Maskname is null
Prompt = prompt,
ImageAssetIdentifiers = imageAssetIdentifiers,
Images = images,
+ MaskAssetIdentifier = maskAssetIdentifier,
Mask = mask,
Maskname = maskname,
Background = background,
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs
index fdce8177..a36185d2 100644
--- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2Ideogram45.g.cs
@@ -203,6 +203,14 @@ partial void ProcessPostGenerateImageV2Ideogram45ResponseContent(
}
}
+ }
+ if (request.MaskAssetIdentifier != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.MaskAssetIdentifier.ToJson(JsonSerializerContext)),
+ name: "\"mask_asset_identifier\"");
+
}
if (request.Mask != default)
{
@@ -881,6 +889,9 @@ request.Maskname is null
///
/// Optional source images to edit (max 5, max 25MB each; JPEG, PNG, or WEBP). The first image is the one being edited; any others are extra references. Multipart requests only.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
/// An optional mask that limits the edit to part of the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the first source image and contain both black and white areas. A masked request can include at most three other source images. With a mask, the output is always the first source image's own size, so `size` cannot be set.
///
@@ -955,6 +966,7 @@ request.Maskname is null
global::Ideogram.MagicPromptMode? magicPrompt = default,
global::System.Collections.Generic.IList? imageAssetIdentifiers = default,
global::System.Collections.Generic.IList? images = default,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier = default,
byte[]? mask = default,
string? maskname = default,
string? size = default,
@@ -976,6 +988,7 @@ request.Maskname is null
MagicPrompt = magicPrompt,
ImageAssetIdentifiers = imageAssetIdentifiers,
Images = images,
+ MaskAssetIdentifier = maskAssetIdentifier,
Mask = mask,
Maskname = maskname,
Size = size,
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs
index 86139373..05efdac5 100644
--- a/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.ImagesGenerateClient.PostGenerateImageV2IdeogramV3Character.g.cs
@@ -219,6 +219,14 @@ partial void ProcessPostGenerateImageV2IdeogramV3CharacterResponseContent(
}
}
+ }
+ if (request.CharacterReferenceMaskAssetIdentifier != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.CharacterReferenceMaskAssetIdentifier.ToJson(JsonSerializerContext)),
+ name: "\"character_reference_mask_asset_identifier\"");
+
}
if (request.CharacterReferenceMask != default)
{
@@ -985,11 +993,14 @@ request.CharacterReferenceMaskname is null
///
/// An image of the character to feature (max 25MB; JPEG, PNG, or WEBP).
///
+ ///
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
///
- /// Optional grayscale mask marking where the character is in the `character_reference_images` image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
+ /// Optional grayscale mask marking where the character is in the character reference image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
///
///
- /// Optional grayscale mask marking where the character is in the `character_reference_images` image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
+ /// Optional grayscale mask marking where the character is in the character reference image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
///
///
/// Random seed. Set for reproducible generation.
@@ -1068,6 +1079,7 @@ request.CharacterReferenceMaskname is null
string? characterReferenceCollectionVersionId = default,
global::System.Collections.Generic.IList? characterReferenceAssetIdentifiers = default,
global::System.Collections.Generic.IList? characterReferenceImages = default,
+ global::Ideogram.AssetIdentifier? characterReferenceMaskAssetIdentifier = default,
byte[]? characterReferenceMask = default,
string? characterReferenceMaskname = default,
int? seed = default,
@@ -1097,6 +1109,7 @@ request.CharacterReferenceMaskname is null
CharacterReferenceCollectionVersionId = characterReferenceCollectionVersionId,
CharacterReferenceAssetIdentifiers = characterReferenceAssetIdentifiers,
CharacterReferenceImages = characterReferenceImages,
+ CharacterReferenceMaskAssetIdentifier = characterReferenceMaskAssetIdentifier,
CharacterReferenceMask = characterReferenceMask,
CharacterReferenceMaskname = characterReferenceMaskname,
Seed = seed,
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs
index 96664339..cc4fdd01 100644
--- a/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.ImagesInpaintClient.PostInpaintImageV2IdeogramV3Character.g.cs
@@ -315,6 +315,14 @@ request.Maskname is null
}
}
+ }
+ if (request.CharacterReferenceMaskAssetIdentifier != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.CharacterReferenceMaskAssetIdentifier.ToJson(JsonSerializerContext)),
+ name: "\"character_reference_mask_asset_identifier\"");
+
}
if (request.CharacterReferenceMask != default)
{
@@ -1092,11 +1100,14 @@ request.CharacterReferenceMaskname is null
///
/// An image to use as the character reference (max 25MB). JPEG, PNG, and WEBP are supported.
///
+ ///
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
/// Controls magic prompt (automatic prompt rewriting). Defaults to `auto`.
@@ -1174,6 +1185,7 @@ request.CharacterReferenceMaskname is null
string? characterReferenceCollectionVersionId = default,
global::System.Collections.Generic.IList? characterReferenceAssetIdentifiers = default,
global::System.Collections.Generic.IList? characterReferenceImages = default,
+ global::Ideogram.AssetIdentifier? characterReferenceMaskAssetIdentifier = default,
byte[]? characterReferenceMask = default,
string? characterReferenceMaskname = default,
global::Ideogram.MagicPromptMode? magicPrompt = default,
@@ -1207,6 +1219,7 @@ request.CharacterReferenceMaskname is null
CharacterReferenceCollectionVersionId = characterReferenceCollectionVersionId,
CharacterReferenceAssetIdentifiers = characterReferenceAssetIdentifiers,
CharacterReferenceImages = characterReferenceImages,
+ CharacterReferenceMaskAssetIdentifier = characterReferenceMaskAssetIdentifier,
CharacterReferenceMask = characterReferenceMask,
CharacterReferenceMaskname = characterReferenceMaskname,
MagicPrompt = magicPrompt,
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs
index ce0a2486..d924a373 100644
--- a/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.ImagesPreciseEditClient.PostPreciseEditImageV2Ideogram45.g.cs
@@ -255,6 +255,14 @@ request.Imagename is null
}
}
+ }
+ if (request.MaskAssetIdentifier != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.MaskAssetIdentifier.ToJson(JsonSerializerContext)),
+ name: "\"mask_asset_identifier\"");
+
}
if (request.Mask != default)
{
@@ -916,25 +924,28 @@ request.Maskname is null
/// structured prompt; valid structured JSON is used as is.
///
///
- /// The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied. Cannot be combined with `mask`.
+ /// The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied.
///
///
- /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
+ /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
///
///
- /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
+ /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
///
///
- /// Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too, and cannot be combined with `mask`.
+ /// Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too. A request with a mask can include at most three.
///
///
/// Optional images to guide the edit (max 4, max 50MB each; JPEG, PNG, or WEBP). They are never edited themselves; only `image` is. Multipart requests only; ignored if `reference_image_asset_identifiers` is also supplied. A request with a `mask` can include at most three, because the mask takes up one reference slot.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
- /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.
+ /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the image being edited and contain both black and white areas. A masked request can include at most three reference images.
///
///
- /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.
+ /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the image being edited and contain both black and white areas. A masked request can include at most three reference images.
///
///
/// Which region of the image to edit.
@@ -991,6 +1002,7 @@ request.Maskname is null
string? imagename = default,
global::System.Collections.Generic.IList? referenceImageAssetIdentifiers = default,
global::System.Collections.Generic.IList? referenceImages = default,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier = default,
byte[]? mask = default,
string? maskname = default,
string? contextWindow = default,
@@ -1013,6 +1025,7 @@ request.Maskname is null
Imagename = imagename,
ReferenceImageAssetIdentifiers = referenceImageAssetIdentifiers,
ReferenceImages = referenceImages,
+ MaskAssetIdentifier = maskAssetIdentifier,
Mask = mask,
Maskname = maskname,
ContextWindow = contextWindow,
diff --git a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs
index 14b0a48b..8be2fced 100644
--- a/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.ImagesRemixClient.PostRemixImageV2IdeogramV3Character.g.cs
@@ -281,6 +281,14 @@ request.Imagename is null
}
}
+ }
+ if (request.CharacterReferenceMaskAssetIdentifier != default)
+ {
+
+ __httpRequestContent.Add(
+ content: new global::System.Net.Http.StringContent(request.CharacterReferenceMaskAssetIdentifier.ToJson(JsonSerializerContext)),
+ name: "\"character_reference_mask_asset_identifier\"");
+
}
if (request.CharacterReferenceMask != default)
{
@@ -1061,11 +1069,14 @@ request.CharacterReferenceMaskname is null
///
/// An image to use as the character reference (max 25MB). JPEG, PNG, and WEBP are supported.
///
+ ///
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
/// Random seed. Set for reproducible generation.
@@ -1145,6 +1156,7 @@ request.CharacterReferenceMaskname is null
string? characterReferenceCollectionVersionId = default,
global::System.Collections.Generic.IList? characterReferenceAssetIdentifiers = default,
global::System.Collections.Generic.IList? characterReferenceImages = default,
+ global::Ideogram.AssetIdentifier? characterReferenceMaskAssetIdentifier = default,
byte[]? characterReferenceMask = default,
string? characterReferenceMaskname = default,
int? seed = default,
@@ -1178,6 +1190,7 @@ request.CharacterReferenceMaskname is null
CharacterReferenceCollectionVersionId = characterReferenceCollectionVersionId,
CharacterReferenceAssetIdentifiers = characterReferenceAssetIdentifiers,
CharacterReferenceImages = characterReferenceImages,
+ CharacterReferenceMaskAssetIdentifier = characterReferenceMaskAssetIdentifier,
CharacterReferenceMask = characterReferenceMask,
CharacterReferenceMaskname = characterReferenceMaskname,
Seed = seed,
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageGptImage25FlareRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageGptImage25FlareRequest.g.cs
index 06ca4895..d37ed19e 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageGptImage25FlareRequest.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageGptImage25FlareRequest.g.cs
@@ -30,13 +30,19 @@ public sealed partial class GenerateImageGptImage25FlareRequest
public global::System.Collections.Generic.IList? Images { get; set; }
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("mask_asset_identifier")]
+ public global::Ideogram.AssetIdentifier? MaskAssetIdentifier { get; set; }
+
+ ///
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
[global::System.Text.Json.Serialization.JsonPropertyName("mask")]
public byte[]? Mask { get; set; }
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
[global::System.Text.Json.Serialization.JsonPropertyName("maskname")]
public string? Maskname { get; set; }
@@ -141,11 +147,14 @@ public sealed partial class GenerateImageGptImage25FlareRequest
///
/// Optional source images to edit (max 16, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
/// The output background. `transparent` returns images with an alpha channel, `opaque` forces a solid background, and `auto` lets the model decide from the prompt.
@@ -202,6 +211,7 @@ public GenerateImageGptImage25FlareRequest(
string prompt,
global::System.Collections.Generic.IList? imageAssetIdentifiers,
global::System.Collections.Generic.IList? images,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier,
byte[]? mask,
string? maskname,
global::Ideogram.GenerateImageGptImage25FlareRequestBackground? background,
@@ -218,6 +228,7 @@ public GenerateImageGptImage25FlareRequest(
this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.ImageAssetIdentifiers = imageAssetIdentifiers;
this.Images = images;
+ this.MaskAssetIdentifier = maskAssetIdentifier;
this.Mask = mask;
this.Maskname = maskname;
this.Background = background;
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageGptImage25SunburstRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageGptImage25SunburstRequest.g.cs
index 80f04b63..efdd679b 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageGptImage25SunburstRequest.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageGptImage25SunburstRequest.g.cs
@@ -30,13 +30,19 @@ public sealed partial class GenerateImageGptImage25SunburstRequest
public global::System.Collections.Generic.IList? Images { get; set; }
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("mask_asset_identifier")]
+ public global::Ideogram.AssetIdentifier? MaskAssetIdentifier { get; set; }
+
+ ///
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
[global::System.Text.Json.Serialization.JsonPropertyName("mask")]
public byte[]? Mask { get; set; }
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
[global::System.Text.Json.Serialization.JsonPropertyName("maskname")]
public string? Maskname { get; set; }
@@ -141,11 +147,14 @@ public sealed partial class GenerateImageGptImage25SunburstRequest
///
/// Optional source images to edit (max 16, max 25MB each; JPEG, PNG, or WEBP). Multipart requests only.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
- /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.
+ /// An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.
///
///
/// The output background. `transparent` returns images with an alpha channel, `opaque` forces a solid background, and `auto` lets the model decide from the prompt.
@@ -202,6 +211,7 @@ public GenerateImageGptImage25SunburstRequest(
string prompt,
global::System.Collections.Generic.IList? imageAssetIdentifiers,
global::System.Collections.Generic.IList? images,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier,
byte[]? mask,
string? maskname,
global::Ideogram.GenerateImageGptImage25SunburstRequestBackground? background,
@@ -218,6 +228,7 @@ public GenerateImageGptImage25SunburstRequest(
this.Prompt = prompt ?? throw new global::System.ArgumentNullException(nameof(prompt));
this.ImageAssetIdentifiers = imageAssetIdentifiers;
this.Images = images;
+ this.MaskAssetIdentifier = maskAssetIdentifier;
this.Mask = mask;
this.Maskname = maskname;
this.Background = background;
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45Request.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45Request.g.cs
index 24dab994..de20b920 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45Request.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogram45Request.g.cs
@@ -43,6 +43,12 @@ public sealed partial class GenerateImageIdeogram45Request
[global::System.Text.Json.Serialization.JsonPropertyName("images")]
public global::System.Collections.Generic.IList? Images { get; set; }
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("mask_asset_identifier")]
+ public global::Ideogram.AssetIdentifier? MaskAssetIdentifier { get; set; }
+
///
/// An optional mask that limits the edit to part of the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the first source image and contain both black and white areas. A masked request can include at most three other source images. With a mask, the output is always the first source image's own size, so `size` cannot be set.
///
@@ -178,6 +184,9 @@ public sealed partial class GenerateImageIdeogram45Request
///
/// Optional source images to edit (max 5, max 25MB each; JPEG, PNG, or WEBP). The first image is the one being edited; any others are extra references. Multipart requests only.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
/// An optional mask that limits the edit to part of the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the first source image and contain both black and white areas. A masked request can include at most three other source images. With a mask, the output is always the first source image's own size, so `size` cannot be set.
///
@@ -251,6 +260,7 @@ public GenerateImageIdeogram45Request(
global::Ideogram.MagicPromptMode? magicPrompt,
global::System.Collections.Generic.IList? imageAssetIdentifiers,
global::System.Collections.Generic.IList? images,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier,
byte[]? mask,
string? maskname,
string? size,
@@ -268,6 +278,7 @@ public GenerateImageIdeogram45Request(
this.MagicPrompt = magicPrompt;
this.ImageAssetIdentifiers = imageAssetIdentifiers;
this.Images = images;
+ this.MaskAssetIdentifier = maskAssetIdentifier;
this.Mask = mask;
this.Maskname = maskname;
this.Size = size;
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV3CharacterRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV3CharacterRequest.g.cs
index 2736ec3d..a530b527 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV3CharacterRequest.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.GenerateImageIdeogramV3CharacterRequest.g.cs
@@ -49,13 +49,19 @@ public sealed partial class GenerateImageIdeogramV3CharacterRequest
public global::System.Collections.Generic.IList? CharacterReferenceImages { get; set; }
///
- /// Optional grayscale mask marking where the character is in the `character_reference_images` image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("character_reference_mask_asset_identifier")]
+ public global::Ideogram.AssetIdentifier? CharacterReferenceMaskAssetIdentifier { get; set; }
+
+ ///
+ /// Optional grayscale mask marking where the character is in the character reference image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
///
[global::System.Text.Json.Serialization.JsonPropertyName("character_reference_mask")]
public byte[]? CharacterReferenceMask { get; set; }
///
- /// Optional grayscale mask marking where the character is in the `character_reference_images` image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
+ /// Optional grayscale mask marking where the character is in the character reference image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
///
[global::System.Text.Json.Serialization.JsonPropertyName("character_reference_maskname")]
public string? CharacterReferenceMaskname { get; set; }
@@ -209,11 +215,14 @@ public sealed partial class GenerateImageIdeogramV3CharacterRequest
///
/// An image of the character to feature (max 25MB; JPEG, PNG, or WEBP).
///
+ ///
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
///
- /// Optional grayscale mask marking where the character is in the `character_reference_images` image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
+ /// Optional grayscale mask marking where the character is in the character reference image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
///
///
- /// Optional grayscale mask marking where the character is in the `character_reference_images` image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
+ /// Optional grayscale mask marking where the character is in the character reference image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.
///
///
/// Random seed. Set for reproducible generation.
@@ -291,6 +300,7 @@ public GenerateImageIdeogramV3CharacterRequest(
string? characterReferenceCollectionVersionId,
global::System.Collections.Generic.IList? characterReferenceAssetIdentifiers,
global::System.Collections.Generic.IList? characterReferenceImages,
+ global::Ideogram.AssetIdentifier? characterReferenceMaskAssetIdentifier,
byte[]? characterReferenceMask,
string? characterReferenceMaskname,
int? seed,
@@ -316,6 +326,7 @@ public GenerateImageIdeogramV3CharacterRequest(
this.CharacterReferenceCollectionVersionId = characterReferenceCollectionVersionId;
this.CharacterReferenceAssetIdentifiers = characterReferenceAssetIdentifiers;
this.CharacterReferenceImages = characterReferenceImages;
+ this.CharacterReferenceMaskAssetIdentifier = characterReferenceMaskAssetIdentifier;
this.CharacterReferenceMask = characterReferenceMask;
this.CharacterReferenceMaskname = characterReferenceMaskname;
this.Seed = seed;
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.InpaintImageIdeogramV3CharacterRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.InpaintImageIdeogramV3CharacterRequest.g.cs
index 5aeeb591..ce62a408 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.InpaintImageIdeogramV3CharacterRequest.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.InpaintImageIdeogramV3CharacterRequest.g.cs
@@ -82,13 +82,19 @@ public sealed partial class InpaintImageIdeogramV3CharacterRequest
public global::System.Collections.Generic.IList? CharacterReferenceImages { get; set; }
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("character_reference_mask_asset_identifier")]
+ public global::Ideogram.AssetIdentifier? CharacterReferenceMaskAssetIdentifier { get; set; }
+
+ ///
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
[global::System.Text.Json.Serialization.JsonPropertyName("character_reference_mask")]
public byte[]? CharacterReferenceMask { get; set; }
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
[global::System.Text.Json.Serialization.JsonPropertyName("character_reference_maskname")]
public string? CharacterReferenceMaskname { get; set; }
@@ -248,11 +254,14 @@ public sealed partial class InpaintImageIdeogramV3CharacterRequest
///
/// An image to use as the character reference (max 25MB). JPEG, PNG, and WEBP are supported.
///
+ ///
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
/// Controls magic prompt (automatic prompt rewriting). Defaults to `auto`.
@@ -329,6 +338,7 @@ public InpaintImageIdeogramV3CharacterRequest(
string? characterReferenceCollectionVersionId,
global::System.Collections.Generic.IList? characterReferenceAssetIdentifiers,
global::System.Collections.Generic.IList? characterReferenceImages,
+ global::Ideogram.AssetIdentifier? characterReferenceMaskAssetIdentifier,
byte[]? characterReferenceMask,
string? characterReferenceMaskname,
global::Ideogram.MagicPromptMode? magicPrompt,
@@ -358,6 +368,7 @@ public InpaintImageIdeogramV3CharacterRequest(
this.CharacterReferenceCollectionVersionId = characterReferenceCollectionVersionId;
this.CharacterReferenceAssetIdentifiers = characterReferenceAssetIdentifiers;
this.CharacterReferenceImages = characterReferenceImages;
+ this.CharacterReferenceMaskAssetIdentifier = characterReferenceMaskAssetIdentifier;
this.CharacterReferenceMask = characterReferenceMask;
this.CharacterReferenceMaskname = characterReferenceMaskname;
this.MagicPrompt = magicPrompt;
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45Request.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45Request.g.cs
index 13cde2a5..2758df86 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45Request.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.PreciseEditImageIdeogram45Request.g.cs
@@ -20,25 +20,25 @@ public sealed partial class PreciseEditImageIdeogram45Request
public required string Prompt { get; set; }
///
- /// The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied. Cannot be combined with `mask`.
+ /// The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied.
///
[global::System.Text.Json.Serialization.JsonPropertyName("image_asset_identifier")]
public global::Ideogram.AssetIdentifier? ImageAssetIdentifier { get; set; }
///
- /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
+ /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
///
[global::System.Text.Json.Serialization.JsonPropertyName("image")]
public byte[]? Image { get; set; }
///
- /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
+ /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
///
[global::System.Text.Json.Serialization.JsonPropertyName("imagename")]
public string? Imagename { get; set; }
///
- /// Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too, and cannot be combined with `mask`.
+ /// Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too. A request with a mask can include at most three.
///
[global::System.Text.Json.Serialization.JsonPropertyName("reference_image_asset_identifiers")]
public global::System.Collections.Generic.IList? ReferenceImageAssetIdentifiers { get; set; }
@@ -50,13 +50,19 @@ public sealed partial class PreciseEditImageIdeogram45Request
public global::System.Collections.Generic.IList? ReferenceImages { get; set; }
///
- /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("mask_asset_identifier")]
+ public global::Ideogram.AssetIdentifier? MaskAssetIdentifier { get; set; }
+
+ ///
+ /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the image being edited and contain both black and white areas. A masked request can include at most three reference images.
///
[global::System.Text.Json.Serialization.JsonPropertyName("mask")]
public byte[]? Mask { get; set; }
///
- /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.
+ /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the image being edited and contain both black and white areas. A masked request can include at most three reference images.
///
[global::System.Text.Json.Serialization.JsonPropertyName("maskname")]
public string? Maskname { get; set; }
@@ -150,25 +156,28 @@ public sealed partial class PreciseEditImageIdeogram45Request
/// structured prompt; valid structured JSON is used as is.
///
///
- /// The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied. Cannot be combined with `mask`.
+ /// The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied.
///
///
- /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
+ /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
///
///
- /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
+ /// The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.
///
///
- /// Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too, and cannot be combined with `mask`.
+ /// Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too. A request with a mask can include at most three.
///
///
/// Optional images to guide the edit (max 4, max 50MB each; JPEG, PNG, or WEBP). They are never edited themselves; only `image` is. Multipart requests only; ignored if `reference_image_asset_identifiers` is also supplied. A request with a `mask` can include at most three, because the mask takes up one reference slot.
///
+ ///
+ /// An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.
+ ///
///
- /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.
+ /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the image being edited and contain both black and white areas. A masked request can include at most three reference images.
///
///
- /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.
+ /// An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the image being edited and contain both black and white areas. A masked request can include at most three reference images.
///
///
/// Which region of the image to edit.
@@ -224,6 +233,7 @@ public PreciseEditImageIdeogram45Request(
string? imagename,
global::System.Collections.Generic.IList? referenceImageAssetIdentifiers,
global::System.Collections.Generic.IList? referenceImages,
+ global::Ideogram.AssetIdentifier? maskAssetIdentifier,
byte[]? mask,
string? maskname,
string? contextWindow,
@@ -242,6 +252,7 @@ public PreciseEditImageIdeogram45Request(
this.Imagename = imagename;
this.ReferenceImageAssetIdentifiers = referenceImageAssetIdentifiers;
this.ReferenceImages = referenceImages;
+ this.MaskAssetIdentifier = maskAssetIdentifier;
this.Mask = mask;
this.Maskname = maskname;
this.ContextWindow = contextWindow;
diff --git a/src/libs/Ideogram/Generated/Ideogram.Models.RemixImageIdeogramV3CharacterRequest.g.cs b/src/libs/Ideogram/Generated/Ideogram.Models.RemixImageIdeogramV3CharacterRequest.g.cs
index 53a8894a..bf51738e 100644
--- a/src/libs/Ideogram/Generated/Ideogram.Models.RemixImageIdeogramV3CharacterRequest.g.cs
+++ b/src/libs/Ideogram/Generated/Ideogram.Models.RemixImageIdeogramV3CharacterRequest.g.cs
@@ -71,13 +71,19 @@ public sealed partial class RemixImageIdeogramV3CharacterRequest
public global::System.Collections.Generic.IList? CharacterReferenceImages { get; set; }
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("character_reference_mask_asset_identifier")]
+ public global::Ideogram.AssetIdentifier? CharacterReferenceMaskAssetIdentifier { get; set; }
+
+ ///
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
[global::System.Text.Json.Serialization.JsonPropertyName("character_reference_mask")]
public byte[]? CharacterReferenceMask { get; set; }
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
[global::System.Text.Json.Serialization.JsonPropertyName("character_reference_maskname")]
public string? CharacterReferenceMaskname { get; set; }
@@ -240,11 +246,14 @@ public sealed partial class RemixImageIdeogramV3CharacterRequest
///
/// An image to use as the character reference (max 25MB). JPEG, PNG, and WEBP are supported.
///
+ ///
+ /// An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.
+ ///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
- /// Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.
+ /// Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.
///
///
/// Random seed. Set for reproducible generation.
@@ -323,6 +332,7 @@ public RemixImageIdeogramV3CharacterRequest(
string? characterReferenceCollectionVersionId,
global::System.Collections.Generic.IList? characterReferenceAssetIdentifiers,
global::System.Collections.Generic.IList? characterReferenceImages,
+ global::Ideogram.AssetIdentifier? characterReferenceMaskAssetIdentifier,
byte[]? characterReferenceMask,
string? characterReferenceMaskname,
int? seed,
@@ -352,6 +362,7 @@ public RemixImageIdeogramV3CharacterRequest(
this.CharacterReferenceCollectionVersionId = characterReferenceCollectionVersionId;
this.CharacterReferenceAssetIdentifiers = characterReferenceAssetIdentifiers;
this.CharacterReferenceImages = characterReferenceImages;
+ this.CharacterReferenceMaskAssetIdentifier = characterReferenceMaskAssetIdentifier;
this.CharacterReferenceMask = characterReferenceMask;
this.CharacterReferenceMaskname = characterReferenceMaskname;
this.Seed = seed;
diff --git a/src/libs/Ideogram/Generated/autosdk.generated-examples.json b/src/libs/Ideogram/Generated/autosdk.generated-examples.json
index 2526d3da..b07c4615 100644
--- a/src/libs/Ideogram/Generated/autosdk.generated-examples.json
+++ b/src/libs/Ideogram/Generated/autosdk.generated-examples.json
@@ -996,7 +996,7 @@
"Slug": "post-generate-image-v2-gpt-image25-flare",
"Description": "Generate images with GPT Image 2.5 Flare, the fast variant of GPT Image\n2.5. Optionally upload source images as \u0060images\u0060 using\n\u0060multipart/form-data\u0060 to edit them with the prompt. 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 GPT Image 2.5 Flare\n# @name post_generate_image_v2_gpt_image25_flare\nPOST {{host}}/v2/image/generate/gpt-image-2-5-flare?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022background\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022async\u0022\n\nfalse\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022webhook_url\u0022\n\nhttps://api.example.com/webhooks/ideogram\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022target_collection_id\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: The generated images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.",
+ "Code": "### Generate with GPT Image 2.5 Flare\n# @name post_generate_image_v2_gpt_image25_flare\nPOST {{host}}/v2/image/generate/gpt-image-2-5-flare?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask_asset_identifier\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022background\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022async\u0022\n\nfalse\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022webhook_url\u0022\n\nhttps://api.example.com/webhooks/ideogram\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022target_collection_id\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: The generated images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.",
"Format": "http",
"OperationId": "post_generate_image_v2_gpt_image25_flare",
"Setup": null
@@ -1007,7 +1007,7 @@
"Slug": "post-generate-image-v2-gpt-image25-sunburst",
"Description": "Generate images with GPT Image 2.5 Sunburst, the quality variant of GPT\nImage 2.5, with finer detail at higher latency than Flare. Optionally\nupload source images as \u0060images\u0060 using \u0060multipart/form-data\u0060 to edit\nthem with the prompt. Returns results directly by default; set \u0060async\u0060\nor supply a \u0060webhook_url\u0060 to get a \u0060generation_id\u0060 and poll\n\u0060GET /v2/generations/{generation_id}\u0060.",
"Language": "http",
- "Code": "### Generate with GPT Image 2.5 Sunburst\n# @name post_generate_image_v2_gpt_image25_sunburst\nPOST {{host}}/v2/image/generate/gpt-image-2-5-sunburst?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022background\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022async\u0022\n\nfalse\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022webhook_url\u0022\n\nhttps://api.example.com/webhooks/ideogram\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022target_collection_id\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: The generated images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.",
+ "Code": "### Generate with GPT Image 2.5 Sunburst\n# @name post_generate_image_v2_gpt_image25_sunburst\nPOST {{host}}/v2/image/generate/gpt-image-2-5-sunburst?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask_asset_identifier\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022background\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022aspect_ratio\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022resolution\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022async\u0022\n\nfalse\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022webhook_url\u0022\n\nhttps://api.example.com/webhooks/ideogram\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022private\u0022\n\ntrue\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022target_collection_id\u0022\n\nstring\n--AutoSDKBoundary--\n\n## Responses\n# 200\n# Description: The generated images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.",
"Format": "http",
"OperationId": "post_generate_image_v2_gpt_image25_sunburst",
"Setup": null
@@ -1018,7 +1018,7 @@
"Slug": "post-generate-image-v2-ideogram45",
"Description": "Generate images with Ideogram 4.5 from a natural-language or structured\nJSON prompt. Optionally upload source images as \u0060images\u0060 using\n\u0060multipart/form-data\u0060 to edit them with the prompt. 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 Ideogram 4.5\n# @name post_generate_image_v2_ideogram45\nPOST {{host}}/v2/image/generate/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=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022magic_prompt\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022size\u0022\n\n2048x2048\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022background\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nvery_low\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\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 provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.",
+ "Code": "### Generate with Ideogram 4.5\n# @name post_generate_image_v2_ideogram45\nPOST {{host}}/v2/image/generate/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=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022magic_prompt\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifiers\u0022\n\n{\u0022asset_type\u0022:\u0022RESPONSE\u0022,\u0022asset_id\u0022:\u00227uS_VESkRI6O3-sVgHQp_A\u0022}\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022images\u0022; filename=\u0022images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask_asset_identifier\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022size\u0022\n\n2048x2048\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022background\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nvery_low\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\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 provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.",
"Format": "http",
"OperationId": "post_generate_image_v2_ideogram45",
"Setup": null
@@ -1062,7 +1062,7 @@
"Slug": "post-generate-image-v2-ideogram-v3-character",
"Description": "Generate images featuring a consistent character with Ideogram 3.0.\nUpload the character as \u0060character_reference_images\u0060 using\n\u0060multipart/form-data\u0060. Returns\nresults directly by default; set \u0060async\u0060 or supply a \u0060webhook_url\u0060 to\nget a \u0060generation_id\u0060 and poll \u0060GET /v2/generations/{generation_id}\u0060.",
"Language": "http",
- "Code": "### Generate a consistent character with Ideogram 3.0\n# @name post_generate_image_v2_ideogram_v3_character\nPOST {{host}}/v2/image/generate/ideogram-3-character?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=\u0022negative_prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_version_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_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=\u0022character_reference_images\u0022; filename=\u0022character_reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_mask\u0022; filename=\u0022character_reference_mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_mask.bin\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\ndefault\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=\u0022style_type\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_version_id\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 provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: A referenced resource was not found.\n# 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 a consistent character with Ideogram 3.0\n# @name post_generate_image_v2_ideogram_v3_character\nPOST {{host}}/v2/image/generate/ideogram-3-character?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=\u0022negative_prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_version_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_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=\u0022character_reference_images\u0022; filename=\u0022character_reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_mask_asset_identifier\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_mask\u0022; filename=\u0022character_reference_mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_mask.bin\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\ndefault\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=\u0022style_type\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_version_id\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 provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: A referenced resource was not found.\n# 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_character",
"Setup": null
@@ -1194,7 +1194,7 @@
"Slug": "post-inpaint-image-v2-ideogram-v3-character",
"Description": "Repaint the masked region of a source image with Ideogram 3.0 so it\nfeatures a consistent character. Upload the source \u0060image\u0060, its\n\u0060mask\u0060, and a \u0060character_reference_images\u0060 image (or use a saved\ncharacter) 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.",
"Language": "http",
- "Code": "### Inpaint a consistent character with Ideogram 3.0\n# @name post_inpaint_image_v2_ideogram_v3_character\nPOST {{host}}/v2/image/inpaint/ideogram-3-character?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_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=\u0022mask_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=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_version_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_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=\u0022character_reference_images\u0022; filename=\u0022character_reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_mask\u0022; filename=\u0022character_reference_mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_mask.bin\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=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022rendering_speed\u0022\n\ndefault\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_type\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_codes\u0022\n\nABCD1234\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_version_id\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 repainted images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: A referenced 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": "### Inpaint a consistent character with Ideogram 3.0\n# @name post_inpaint_image_v2_ideogram_v3_character\nPOST {{host}}/v2/image/inpaint/ideogram-3-character?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_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=\u0022mask_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=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_version_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_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=\u0022character_reference_images\u0022; filename=\u0022character_reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_mask_asset_identifier\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_mask\u0022; filename=\u0022character_reference_mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_mask.bin\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=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022rendering_speed\u0022\n\ndefault\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_type\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_codes\u0022\n\nABCD1234\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_version_id\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 repainted images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: A referenced 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_inpaint_image_v2_ideogram_v3_character",
"Setup": null
@@ -1216,7 +1216,7 @@
"Slug": "post-precise-edit-image-v2-ideogram45",
"Description": "Edit an image with Ideogram 4.5 and get the result back at that image\u0027s\nexact width and height. Upload the image as \u0060image\u0060 using\n\u0060multipart/form-data\u0060, with optional \u0060reference_images\u0060 and a \u0060mask\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.\n\n\u0060context_window\u0060 confines the edit to one region of the image, so a\nlarge image keeps its detail: pass \u0060y_min,x_min,y_max,x_max\u0060, or \u0060auto\u0060\ntogether with a \u0060mask\u0060. The result always keeps the image\u0027s own width\nand height.",
"Language": "http",
- "Code": "### Precise edit with Ideogram 4.5\n# @name post_precise_edit_image_v2_ideogram45\nPOST {{host}}/v2/image/precise-edit/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=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\nstring\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=\u0022reference_image_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=\u0022reference_images\u0022; filename=\u0022reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022context_window\u0022\n\nnone\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nmedium\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\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 edited images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.",
+ "Code": "### Precise edit with Ideogram 4.5\n# @name post_precise_edit_image_v2_ideogram45\nPOST {{host}}/v2/image/precise-edit/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=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\nstring\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=\u0022reference_image_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=\u0022reference_images\u0022; filename=\u0022reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask_asset_identifier\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022mask\u0022; filename=\u0022mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./mask.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022context_window\u0022\n\nnone\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022quality\u0022\n\nmedium\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022seed\u0022\n\n12345\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022num_images\u0022\n\n1\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 edited images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 422\n# Description: The prompt did not pass safety checks.\n# 429\n# Description: Too many requests.\n# Content-Type: application/json\n# 500\n# Description: Internal server error.\n# 503\n# Description: The endpoint is temporarily unavailable.",
"Format": "http",
"OperationId": "post_precise_edit_image_v2_ideogram45",
"Setup": null
@@ -1304,7 +1304,7 @@
"Slug": "post-remix-image-v2-ideogram-v3-character",
"Description": "Transform an existing image with Ideogram 3.0 so it features a\nconsistent character, guided by a text prompt. Upload the source\n\u0060image\u0060 and a \u0060character_reference_images\u0060 image (or use a saved\ncharacter) 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.",
"Language": "http",
- "Code": "### Remix a consistent character with Ideogram 3.0\n# @name post_remix_image_v2_ideogram_v3_character\nPOST {{host}}/v2/image/remix/ideogram-3-character?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\nstring\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=\u0022image_weight\u0022\n\n0\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022negative_prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_version_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_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=\u0022character_reference_images\u0022; filename=\u0022character_reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_mask\u0022; filename=\u0022character_reference_mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_mask.bin\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\n1x3\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022rendering_speed\u0022\n\ndefault\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=\u0022style_type\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_version_id\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 remixed images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: A referenced 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": "### Remix a consistent character with Ideogram 3.0\n# @name post_remix_image_v2_ideogram_v3_character\nPOST {{host}}/v2/image/remix/ideogram-3-character?dry_run=false\nAuthorization: Bearer {{token}}\nContent-Type: multipart/form-data; boundary=AutoSDKBoundary\nAccept: application/json\n\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022image_asset_identifier\u0022\n\nstring\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=\u0022image_weight\u0022\n\n0\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022negative_prompt\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_collection_version_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_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=\u0022character_reference_images\u0022; filename=\u0022character_reference_images.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_images.bin\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_mask_asset_identifier\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022character_reference_mask\u0022; filename=\u0022character_reference_mask.bin\u0022\nContent-Type: application/octet-stream\n\n\u003C ./character_reference_mask.bin\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\n1x3\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022rendering_speed\u0022\n\ndefault\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=\u0022style_type\u0022\n\nauto\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_id\u0022\n\nstring\n--AutoSDKBoundary\nContent-Disposition: form-data; name=\u0022style_reference_collection_version_id\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 remixed images (synchronous requests), or an acknowledgement to poll with \u0060GET /v2/generations/{generation_id}\u0060 (\u0060async\u0060 requests).\n# Content-Type: application/json\n# 400\n# Description: Invalid input provided.\n# 401\n# Description: Unauthorized.\n# 402\n# Description: Insufficient credits or quota.\n# Content-Type: application/json\n# 404\n# Description: A referenced 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_remix_image_v2_ideogram_v3_character",
"Setup": null
diff --git a/src/libs/Ideogram/openapi.json b/src/libs/Ideogram/openapi.json
index d3ba9c2a..635284bf 100644
--- a/src/libs/Ideogram/openapi.json
+++ b/src/libs/Ideogram/openapi.json
@@ -7990,6 +7990,9 @@
"encoding": {
"image_asset_identifiers": {
"contentType": "application/json"
+ },
+ "mask_asset_identifier": {
+ "contentType": "application/json"
}
},
"schema": {
@@ -8083,6 +8086,9 @@
"encoding": {
"image_asset_identifiers": {
"contentType": "application/json"
+ },
+ "mask_asset_identifier": {
+ "contentType": "application/json"
}
},
"schema": {
@@ -8443,6 +8449,9 @@
"character_reference_asset_identifiers": {
"contentType": "application/json"
},
+ "character_reference_mask_asset_identifier": {
+ "contentType": "application/json"
+ },
"style_reference_asset_identifiers": {
"contentType": "application/json"
}
@@ -8816,6 +8825,9 @@
"encoding": {
"image_asset_identifiers": {
"contentType": "application/json"
+ },
+ "mask_asset_identifier": {
+ "contentType": "application/json"
}
},
"schema": {
@@ -9643,6 +9655,9 @@
"character_reference_asset_identifiers": {
"contentType": "application/json"
},
+ "character_reference_mask_asset_identifier": {
+ "contentType": "application/json"
+ },
"style_reference_asset_identifiers": {
"contentType": "application/json"
}
@@ -9849,6 +9864,9 @@
},
"reference_image_asset_identifiers": {
"contentType": "application/json"
+ },
+ "mask_asset_identifier": {
+ "contentType": "application/json"
}
},
"schema": {
@@ -10745,6 +10763,9 @@
"character_reference_asset_identifiers": {
"contentType": "application/json"
},
+ "character_reference_mask_asset_identifier": {
+ "contentType": "application/json"
+ },
"style_reference_asset_identifiers": {
"contentType": "application/json"
}
@@ -28887,8 +28908,17 @@
"maxItems": 1,
"type": "array"
},
+ "character_reference_mask_asset_identifier": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetIdentifier"
+ }
+ ],
+ "description": "An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied.",
+ "x-tool-description": "Omit."
+ },
"character_reference_mask": {
- "description": "Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.",
+ "description": "Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.",
"format": "binary",
"type": "string"
},
@@ -29806,6 +29836,15 @@
"type": "array",
"x-tool-description": "File upload only; tools cannot send it. Use image_asset_identifiers."
},
+ "mask_asset_identifier": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetIdentifier"
+ }
+ ],
+ "description": "An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.",
+ "x-tool-description": "Omit. Use precise_edit_ideogram_4_5 for targeted edits."
+ },
"mask": {
"description": "An optional mask that limits the edit to part of the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the first source image and contain both black and white areas. A masked request can include at most three other source images. With a mask, the output is always the first source image's own size, so `size` cannot be set.",
"format": "binary",
@@ -30034,17 +30073,17 @@
"$ref": "#/components/schemas/AssetIdentifier"
}
],
- "description": "The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied. Cannot be combined with `mask`.",
+ "description": "The image to edit, as an existing upload or generated image asset. Supply this or `image`, never both. Takes priority over `image` if both are supplied.",
"x-tool-description": "Required. The image asset to edit; copy asset_id and asset_type from the result or upload."
},
"image": {
- "description": "The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. Required when supplying a `mask` or a `context_window`. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.",
+ "description": "The image to edit, as raw bytes (max 50MB; JPEG, PNG, or WEBP). Multipart requests only; ignored if `image_asset_identifier` is also supplied. The output always matches this image's width and height, and pixels the edit did not meaningfully change are copied exactly from it.",
"format": "binary",
"type": "string",
"x-tool-description": "File upload only; tools cannot send it. Use image_asset_identifier."
},
"reference_image_asset_identifiers": {
- "description": "Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too, and cannot be combined with `mask`.",
+ "description": "Optional additional images to guide the edit, by reference. These are never edited themselves; only `image_asset_identifier` or `image` is. Requires the image being edited to be supplied by reference too. A request with a mask can include at most three.",
"items": {
"$ref": "#/components/schemas/AssetIdentifier"
},
@@ -30063,8 +30102,17 @@
"type": "array",
"x-tool-description": "File upload only; tools cannot send it. Use reference_image_asset_identifiers."
},
+ "mask_asset_identifier": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetIdentifier"
+ }
+ ],
+ "description": "An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied.",
+ "x-tool-description": "Omit. Describe the region in the prompt instead."
+ },
"mask": {
- "description": "An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as `image` and contain both black and white areas. Requires `image` as raw bytes; masks cannot be combined with asset references. A masked request can include at most three `reference_images`.",
+ "description": "An optional mask that limits the edit to part of `image` (max 50MB; JPEG, PNG, or WEBP). Multipart requests only. Black marks the area to edit and white the area to keep; values in between are rounded to the nearer of the two. The mask must have the same width and height as the image being edited and contain both black and white areas. A masked request can include at most three reference images.",
"format": "binary",
"type": "string",
"x-tool-description": "File upload only; tools cannot send it. Describe the region in the prompt instead."
@@ -30074,7 +30122,7 @@
"description": "Which region of the image to edit.\n`none`, the default, edits the whole image. A large image may come back smaller than it was sent.\n`auto` requires a `mask` and automatically selects an appropriate context region around the masked area.\n`y_min,x_min,y_max,x_max` names the region explicitly, by its corners. Rows come first, matching the `bbox` ordering used elsewhere in this API, and the values are the edited image's own pixels with the origin at its top-left corner. For example `512,1024,2048,3072` is the region 2048 pixels wide and 1536 tall whose top-left corner is 1024 across and 512 down. The maximum edges are exclusive, so the region measures `x_max - x_min` by `y_max - y_min`. It must lie inside the image, measure at least 256px on each side, have an aspect ratio between 1:6 and 6:1, and cover no more than 4194304 pixels. A `mask` may select only pixels inside it.\nWith `auto` or an explicit region, only that region changes and the output keeps the image's own width and height.",
"pattern": "^(none|auto|[0-9]+,[0-9]+,[0-9]+,[0-9]+)$",
"type": "string",
- "x-tool-description": "Omit. Only usable with a file-uploaded image."
+ "x-tool-description": "Omit."
},
"quality": {
"default": "medium",
@@ -30140,7 +30188,7 @@
"prompt"
],
"type": "object",
- "x-tool-description": "Send prompt and image_asset_identifier, plus optional reference_image_asset_identifiers. Never send image, reference_images, mask, or context_window."
+ "x-tool-description": "Send prompt and image_asset_identifier, plus optional reference_image_asset_identifiers. Never send image, reference_images, mask, mask_asset_identifier, or context_window."
},
"GenerateImageNanoBanana2Response": {
"description": "Response returned by `POST /v2/image/generate/nano-banana-2`.\nSynchronous requests (the default) include the generated images in\n`data`. Asynchronous requests omit `data`; poll\n`GET /v2/generations/{generation_id}` with the returned\n`generation_id`. `seed` is the seed that was used, including when you\ndid not set one.\n",
@@ -30802,8 +30850,16 @@
"maxItems": 16,
"type": "array"
},
+ "mask_asset_identifier": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetIdentifier"
+ }
+ ],
+ "description": "An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied."
+ },
"mask": {
- "description": "An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.",
+ "description": "An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.",
"format": "binary",
"type": "string"
},
@@ -30966,8 +31022,16 @@
"maxItems": 16,
"type": "array"
},
+ "mask_asset_identifier": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetIdentifier"
+ }
+ ],
+ "description": "An existing upload or generated image asset to use as the mask, by reference. The same rules as `mask` apply. Takes priority over `mask` if both are supplied."
+ },
"mask": {
- "description": "An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source `images` in the same request.",
+ "description": "An optional mask for the first source image (max 25MB; JPEG, PNG, or WEBP). Multipart requests only. Fully transparent pixels mark the areas to edit. The mask must have the same dimensions as the first source image, and requires source images in the same request.",
"format": "binary",
"type": "string"
},
@@ -32568,8 +32632,16 @@
"maxItems": 1,
"type": "array"
},
+ "character_reference_mask_asset_identifier": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetIdentifier"
+ }
+ ],
+ "description": "An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied."
+ },
"character_reference_mask": {
- "description": "Optional grayscale mask marking where the character is in the `character_reference_images` image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.",
+ "description": "Optional grayscale mask marking where the character is in the character reference image, at the same size as that image (JPEG, PNG, or WEBP). Multipart requests only.",
"format": "binary",
"type": "string"
},
@@ -32809,8 +32881,16 @@
"maxItems": 1,
"type": "array"
},
+ "character_reference_mask_asset_identifier": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/AssetIdentifier"
+ }
+ ],
+ "description": "An existing upload or generated image asset to use as the character reference mask, by reference. The same rules as `character_reference_mask` apply. Takes priority over `character_reference_mask` if both are supplied."
+ },
"character_reference_mask": {
- "description": "Optional grayscale mask for the uploaded character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; applies only with `character_reference_images`.",
+ "description": "Optional grayscale mask for the character reference image, the same size as that image, marking where the character is. Only JPEG, PNG, and WEBP formats are supported. Multipart requests only; cannot be combined with `character_reference_collection_id`.",
"format": "binary",
"type": "string"
},