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 @@ -5,7 +5,7 @@
namespace Ideogram
{
/// <summary>
/// A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members).
/// Only available for model version V_2 and V_2_TURBO. A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members).
/// </summary>
public readonly partial struct ColorPaletteWithPresetNameOrMembers : global::System.IEquatable<ColorPaletteWithPresetNameOrMembers>
{
Expand Down
8 changes: 4 additions & 4 deletions src/libs/Ideogram/Generated/Ideogram.Models.ImageRequest.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public sealed partial class ImageRequest
public global::Ideogram.StyleType? StyleType { get; set; }

/// <summary>
/// Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.<br/>
/// Only available for model versions V_1, V_1_TURBO, V_2 and V_2_TURBO. Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.<br/>
/// Example: brush strokes, painting
/// </summary>
/// <example>brush strokes, painting</example>
Expand All @@ -94,7 +94,7 @@ public sealed partial class ImageRequest
public global::Ideogram.Resolution? Resolution { get; set; }

/// <summary>
/// A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members).
/// Only available for model version V_2 and V_2_TURBO. A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members).
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("color_palette")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ColorPaletteWithPresetNameOrMembersJsonConverter))]
Expand Down Expand Up @@ -138,7 +138,7 @@ public sealed partial class ImageRequest
/// Example: REALISTIC
/// </param>
/// <param name="negativePrompt">
/// Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.<br/>
/// Only available for model versions V_1, V_1_TURBO, V_2 and V_2_TURBO. Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.<br/>
/// Example: brush strokes, painting
/// </param>
/// <param name="numImages">
Expand All @@ -149,7 +149,7 @@ public sealed partial class ImageRequest
/// Example: RESOLUTION_1024_1024
/// </param>
/// <param name="colorPalette">
/// A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members).
/// Only available for model version V_2 and V_2_TURBO. A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members).
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand Down
4 changes: 2 additions & 2 deletions src/libs/Ideogram/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ components:
$ref: '#/components/schemas/StyleType'
negative_prompt:
type: string
description: Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.
description: 'Only available for model versions V_1, V_1_TURBO, V_2 and V_2_TURBO. Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.'
example: 'brush strokes, painting'
num_images:
title: num_images
Expand Down Expand Up @@ -1338,7 +1338,7 @@ components:
oneOf:
- $ref: '#/components/schemas/ColorPaletteWithPresetName'
- $ref: '#/components/schemas/ColorPaletteWithMembers'
description: 'A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members).'
description: 'Only available for model version V_2 and V_2_TURBO. A color palette for generation, must EITHER be specified via one of the presets (name) or explicitly via hexadecimal representations of the color with optional weights (members).'
ColorPaletteWithPresetName:
title: ColorPaletteWithPresetName
required:
Expand Down
Loading