Skip to content

Commit e89f345

Browse files
Merge pull request #61 from tryAGI/bot/update-openapi_202503040137
feat:@coderabbitai
2 parents 4c2fc37 + 978c141 commit e89f345

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/libs/Ideogram/Generated/Ideogram.Models.ColorPaletteWithPresetNameOrMembers.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Ideogram
66
{
77
/// <summary>
8-
/// 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).
8+
/// 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).
99
/// </summary>
1010
public readonly partial struct ColorPaletteWithPresetNameOrMembers : global::System.IEquatable<ColorPaletteWithPresetNameOrMembers>
1111
{

src/libs/Ideogram/Generated/Ideogram.Models.ImageRequest.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public sealed partial class ImageRequest
7171
public global::Ideogram.StyleType? StyleType { get; set; }
7272

7373
/// <summary>
74-
/// Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.<br/>
74+
/// 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/>
7575
/// Example: brush strokes, painting
7676
/// </summary>
7777
/// <example>brush strokes, painting</example>
@@ -94,7 +94,7 @@ public sealed partial class ImageRequest
9494
public global::Ideogram.Resolution? Resolution { get; set; }
9595

9696
/// <summary>
97-
/// 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).
97+
/// 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).
9898
/// </summary>
9999
[global::System.Text.Json.Serialization.JsonPropertyName("color_palette")]
100100
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::Ideogram.JsonConverters.ColorPaletteWithPresetNameOrMembersJsonConverter))]
@@ -138,7 +138,7 @@ public sealed partial class ImageRequest
138138
/// Example: REALISTIC
139139
/// </param>
140140
/// <param name="negativePrompt">
141-
/// Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.<br/>
141+
/// 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/>
142142
/// Example: brush strokes, painting
143143
/// </param>
144144
/// <param name="numImages">
@@ -149,7 +149,7 @@ public sealed partial class ImageRequest
149149
/// Example: RESOLUTION_1024_1024
150150
/// </param>
151151
/// <param name="colorPalette">
152-
/// 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).
152+
/// 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).
153153
/// </param>
154154
#if NET7_0_OR_GREATER
155155
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]

src/libs/Ideogram/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ components:
704704
$ref: '#/components/schemas/StyleType'
705705
negative_prompt:
706706
type: string
707-
description: Description of what to exclude from an image. Descriptions in the prompt take precedence to descriptions in the negative prompt.
707+
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.'
708708
example: 'brush strokes, painting'
709709
num_images:
710710
title: num_images
@@ -1338,7 +1338,7 @@ components:
13381338
oneOf:
13391339
- $ref: '#/components/schemas/ColorPaletteWithPresetName'
13401340
- $ref: '#/components/schemas/ColorPaletteWithMembers'
1341-
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).'
1341+
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).'
13421342
ColorPaletteWithPresetName:
13431343
title: ColorPaletteWithPresetName
13441344
required:

0 commit comments

Comments
 (0)