Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ partial void ProcessTrainDatasetModelResponseContent(
/// </summary>
/// <param name="datasetId"></param>
/// <param name="modelName">
/// Name for the trained model. Must be 5-30 characters, alphanumeric with spaces and hyphens allowed.<br/>
/// Name after trimming surrounding whitespace: 5–30 Unicode letters, numbers, spaces, underscores, parentheses, periods, or hyphens.<br/>
/// Example: my-custom-model
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ namespace Ideogram
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LayerizedImageObject))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LayerizedImageObjectObjectType), TypeInfoPropertyName = "LayerizedImageObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LayerizeDesignIdeogramV3Request))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObject))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.VideoObject))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.DetectedTextBlockAlignment), TypeInfoPropertyName = "DetectedTextBlockAlignment2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Ideogram.DetectedTextBlockFormattingItem>))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ namespace Ideogram
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AdLocalizerRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AdLocalizerRequestLanguage), TypeInfoPropertyName = "AdLocalizerRequestLanguage2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AdLocalizerQuality), TypeInfoPropertyName = "AdLocalizerQuality2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.VectorizerResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.VectorizerRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AdResizerResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AdResizerRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.AdResizerRequestResolution), TypeInfoPropertyName = "AdResizerRequestResolution2")]
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ namespace Ideogram
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ColorPalettePresetName), TypeInfoPropertyName = "ColorPalettePresetName2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::Ideogram.ColorPaletteMember>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ColorPaletteMember))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObject))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObjectObjectType), TypeInfoPropertyName = "SvgGenerationObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObjectMimeType), TypeInfoPropertyName = "SvgGenerationObjectMimeType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.VideoObject))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.VideoObjectObjectType), TypeInfoPropertyName = "VideoObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.DetectedTextBlockAlignment), TypeInfoPropertyName = "DetectedTextBlockAlignment2")]
Expand Down Expand Up @@ -247,6 +250,8 @@ namespace Ideogram
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.V4ObjPromptElementType?), TypeInfoPropertyName = "NullableV4ObjPromptElementType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.V4TextPromptElementType?), TypeInfoPropertyName = "NullableV4TextPromptElementType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ColorPalettePresetName?), TypeInfoPropertyName = "NullableColorPalettePresetName2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObjectObjectType?), TypeInfoPropertyName = "NullableSvgGenerationObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObjectMimeType?), TypeInfoPropertyName = "NullableSvgGenerationObjectMimeType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.VideoObjectObjectType?), TypeInfoPropertyName = "NullableVideoObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.DetectedTextBlockAlignment?), TypeInfoPropertyName = "NullableDetectedTextBlockAlignment2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.DetectedTextBlockFormattingItem?), TypeInfoPropertyName = "NullableDetectedTextBlockFormattingItem2")]
Expand Down Expand Up @@ -544,6 +549,14 @@ public override bool CanConvert(global::System.Type typeToConvert)

|| typeToConvert == typeof(global::Ideogram.MagicPromptVersionEnum?)

|| typeToConvert == typeof(global::Ideogram.SvgGenerationObjectObjectType)

|| typeToConvert == typeof(global::Ideogram.SvgGenerationObjectObjectType?)

|| typeToConvert == typeof(global::Ideogram.SvgGenerationObjectMimeType)

|| typeToConvert == typeof(global::Ideogram.SvgGenerationObjectMimeType?)

|| typeToConvert == typeof(global::Ideogram.VideoObjectObjectType)

|| typeToConvert == typeof(global::Ideogram.VideoObjectObjectType?)
Expand Down Expand Up @@ -1057,6 +1070,26 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::Ideogram.JsonConverters.MagicPromptVersionEnumNullableJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.SvgGenerationObjectObjectType))
{
return new global::Ideogram.JsonConverters.SvgGenerationObjectObjectTypeJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.SvgGenerationObjectObjectType?))
{
return new global::Ideogram.JsonConverters.SvgGenerationObjectObjectTypeNullableJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.SvgGenerationObjectMimeType))
{
return new global::Ideogram.JsonConverters.SvgGenerationObjectMimeTypeJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.SvgGenerationObjectMimeType?))
{
return new global::Ideogram.JsonConverters.SvgGenerationObjectMimeTypeNullableJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.VideoObjectObjectType))
{
return new global::Ideogram.JsonConverters.VideoObjectObjectTypeJsonConverter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ request.FontFileSmallname is null
/// Example: 1280x800
/// </param>
/// <param name="aspectRatio">
/// The aspect ratio to use for image generation, which determines the image's resolution. Cannot be used in conjunction with resolution. Defaults to 1x1.
/// Output aspect ratio. Cannot be combined with resolution. Generation defaults to 1x1; remix keeps the source ratio when both fields are omitted.
/// </param>
/// <param name="renderingSpeed">
/// The rendering speed to use.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ partial void ProcessPostGenerateImageV3ResponseContent(
/// Example: 1280x800
/// </param>
/// <param name="aspectRatio">
/// The aspect ratio to use for image generation, which determines the image's resolution. Cannot be used in conjunction with resolution. Defaults to 1x1.
/// Output aspect ratio. Cannot be combined with resolution. Generation defaults to 1x1; remix keeps the source ratio when both fields are omitted.
/// </param>
/// <param name="renderingSpeed">
/// The rendering speed to use.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ partial void ProcessPostGenerateImageV3TransparentResponseContent(
/// Example: X2
/// </param>
/// <param name="aspectRatio">
/// The aspect ratio to use for image generation, which determines the image's resolution. Cannot be used in conjunction with resolution. Defaults to 1x1.
/// Output aspect ratio. Cannot be combined with resolution. Generation defaults to 1x1; remix keeps the source ratio when both fields are omitted.
/// </param>
/// <param name="renderingSpeed">
/// The rendering speed to use.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ request.Imagename is null
/// Example: 1280x800
/// </param>
/// <param name="aspectRatio">
/// The aspect ratio to use for image generation, which determines the image's resolution. Cannot be used in conjunction with resolution. Defaults to 1x1.
/// Output aspect ratio. Cannot be combined with resolution. Generation defaults to 1x1; remix keeps the source ratio when both fields are omitted.
/// </param>
/// <param name="renderingSpeed">
/// The rendering speed to use.<br/>
Expand Down Expand Up @@ -948,7 +948,7 @@ request.Imagename is null
/// Example: 1280x800
/// </param>
/// <param name="aspectRatio">
/// The aspect ratio to use for image generation, which determines the image's resolution. Cannot be used in conjunction with resolution. Defaults to 1x1.
/// Output aspect ratio. Cannot be combined with resolution. Generation defaults to 1x1; remix keeps the source ratio when both fields are omitted.
/// </param>
/// <param name="renderingSpeed">
/// The rendering speed to use.<br/>
Expand Down Expand Up @@ -1875,7 +1875,7 @@ __fileNameCharacterReferenceImagesMask is null
/// Example: 1280x800
/// </param>
/// <param name="aspectRatio">
/// The aspect ratio to use for image generation, which determines the image's resolution. Cannot be used in conjunction with resolution. Defaults to 1x1.
/// Output aspect ratio. Cannot be combined with resolution. Generation defaults to 1x1; remix keeps the source ratio when both fields are omitted.
/// </param>
/// <param name="renderingSpeed">
/// The rendering speed to use.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ partial void ProcessPostV1EditImageResponseContent(
/// Example: 1280x800
/// </param>
/// <param name="aspectRatio">
/// The aspect ratio to use for image generation, which determines the image's resolution. Cannot be used in conjunction with resolution. Defaults to 1x1.
/// Output aspect ratio. Cannot be combined with resolution. Generation defaults to 1x1; remix keeps the source ratio when both fields are omitted.
/// </param>
/// <param name="transparentBackground">
/// Whether the output should have a transparent background. Default false.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ namespace Ideogram
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.DetectedTextBlock))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LayerizedImageObject))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LayerizedImageObjectObjectType), TypeInfoPropertyName = "LayerizedImageObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObject))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObjectObjectType), TypeInfoPropertyName = "SvgGenerationObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObjectMimeType), TypeInfoPropertyName = "SvgGenerationObjectMimeType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.VideoObject))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.VideoObjectObjectType), TypeInfoPropertyName = "VideoObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.DetectedTextBlockAlignment), TypeInfoPropertyName = "DetectedTextBlockAlignment2")]
Expand All @@ -52,6 +55,8 @@ namespace Ideogram
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ImageObjectWithoutPromptOrSeedObjectType?), TypeInfoPropertyName = "NullableImageObjectWithoutPromptOrSeedObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.ImageGenerationObjectObjectType?), TypeInfoPropertyName = "NullableImageGenerationObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.LayerizedImageObjectObjectType?), TypeInfoPropertyName = "NullableLayerizedImageObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObjectObjectType?), TypeInfoPropertyName = "NullableSvgGenerationObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.SvgGenerationObjectMimeType?), TypeInfoPropertyName = "NullableSvgGenerationObjectMimeType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.VideoObjectObjectType?), TypeInfoPropertyName = "NullableVideoObjectObjectType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.DetectedTextBlockAlignment?), TypeInfoPropertyName = "NullableDetectedTextBlockAlignment2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Ideogram.DetectedTextBlockFormattingItem?), TypeInfoPropertyName = "NullableDetectedTextBlockFormattingItem2")]
Expand Down Expand Up @@ -151,6 +156,14 @@ public override bool CanConvert(global::System.Type typeToConvert)

|| typeToConvert == typeof(global::Ideogram.LayerizedImageObjectObjectType?)

|| typeToConvert == typeof(global::Ideogram.SvgGenerationObjectObjectType)

|| typeToConvert == typeof(global::Ideogram.SvgGenerationObjectObjectType?)

|| typeToConvert == typeof(global::Ideogram.SvgGenerationObjectMimeType)

|| typeToConvert == typeof(global::Ideogram.SvgGenerationObjectMimeType?)

|| typeToConvert == typeof(global::Ideogram.VideoObjectObjectType)

|| typeToConvert == typeof(global::Ideogram.VideoObjectObjectType?)
Expand Down Expand Up @@ -226,6 +239,26 @@ public override bool CanConvert(global::System.Type typeToConvert)
return new global::Ideogram.JsonConverters.LayerizedImageObjectObjectTypeNullableJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.SvgGenerationObjectObjectType))
{
return new global::Ideogram.JsonConverters.SvgGenerationObjectObjectTypeJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.SvgGenerationObjectObjectType?))
{
return new global::Ideogram.JsonConverters.SvgGenerationObjectObjectTypeNullableJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.SvgGenerationObjectMimeType))
{
return new global::Ideogram.JsonConverters.SvgGenerationObjectMimeTypeJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.SvgGenerationObjectMimeType?))
{
return new global::Ideogram.JsonConverters.SvgGenerationObjectMimeTypeNullableJsonConverter();
}

if (typeToConvert == typeof(global::Ideogram.VideoObjectObjectType))
{
return new global::Ideogram.JsonConverters.VideoObjectObjectTypeJsonConverter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public partial interface IDatasetsClient
/// </summary>
/// <param name="datasetId"></param>
/// <param name="modelName">
/// Name for the trained model. Must be 5-30 characters, alphanumeric with spaces and hyphens allowed.<br/>
/// Name after trimming surrounding whitespace: 5–30 Unicode letters, numbers, spaces, underscores, parentheses, periods, or hyphens.<br/>
/// Example: my-custom-model
/// </param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down
Loading
Loading