Skip to content

Commit 11cfe7a

Browse files
HavenDVgithub-actions[bot]
andauthored
feat: Updated OpenAPI spec (#177)
Co-authored-by: github-actions[bot] <dependabot@bot.com>
1 parent 2bfeef8 commit 11cfe7a

33 files changed

Lines changed: 96 additions & 1673 deletions

src/libs/Ideogram/Generated/Ideogram.DatasetsClient.TrainDatasetModel.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ partial void ProcessTrainDatasetModelResponseContent(
4545

4646
/// <summary>
4747
/// Train a model from a dataset<br/>
48-
/// Start training a custom model from a dataset. The dataset must contain at least 15 images. Returns the model ID and training status.
48+
/// Start training a custom model from a dataset. The dataset must contain at least 10 images and a maximum of 100 images. Returns the model ID and training status.
4949
/// </summary>
5050
/// <param name="datasetId"></param>
5151
/// <param name="request"></param>
@@ -494,7 +494,7 @@ partial void ProcessTrainDatasetModelResponseContent(
494494
}
495495
/// <summary>
496496
/// Train a model from a dataset<br/>
497-
/// Start training a custom model from a dataset. The dataset must contain at least 15 images. Returns the model ID and training status.
497+
/// Start training a custom model from a dataset. The dataset must contain at least 10 images and a maximum of 100 images. Returns the model ID and training status.
498498
/// </summary>
499499
/// <param name="datasetId"></param>
500500
/// <param name="modelName">

src/libs/Ideogram/Generated/Ideogram.DatasetsClient.UploadDatasetAssets.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ partial void ProcessUploadDatasetAssetsResponseContent(
509509
/// </summary>
510510
/// <param name="datasetId"></param>
511511
/// <param name="files">
512-
/// Image files (JPEG, PNG, WebP), .txt caption sidecar files, and/or ZIP archives containing images and captions. Caption .txt files are matched to images by filename stem (e.g. sunset.txt provides the caption for sunset.jpg).
512+
/// Image files (JPEG, PNG, WebP), .txt caption sidecar files, and/or ZIP archives containing images and captions. Caption .txt files are matched to images by filename stem (e.g. sunset.txt provides the caption for sunset.jpg). Captions are optional!
513513
/// </param>
514514
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
515515
/// <param name="cancellationToken">The token to cancel the operation with</param>

src/libs/Ideogram/Generated/Ideogram.IDatasetsClient.TrainDatasetModel.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public partial interface IDatasetsClient
66
{
77
/// <summary>
88
/// Train a model from a dataset<br/>
9-
/// Start training a custom model from a dataset. The dataset must contain at least 15 images. Returns the model ID and training status.
9+
/// Start training a custom model from a dataset. The dataset must contain at least 10 images and a maximum of 100 images. Returns the model ID and training status.
1010
/// </summary>
1111
/// <param name="datasetId"></param>
1212
/// <param name="request"></param>
@@ -21,7 +21,7 @@ public partial interface IDatasetsClient
2121
global::System.Threading.CancellationToken cancellationToken = default);
2222
/// <summary>
2323
/// Train a model from a dataset<br/>
24-
/// Start training a custom model from a dataset. The dataset must contain at least 15 images. Returns the model ID and training status.
24+
/// Start training a custom model from a dataset. The dataset must contain at least 10 images and a maximum of 100 images. Returns the model ID and training status.
2525
/// </summary>
2626
/// <param name="datasetId"></param>
2727
/// <param name="modelName">

src/libs/Ideogram/Generated/Ideogram.IDatasetsClient.UploadDatasetAssets.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public partial interface IDatasetsClient
2525
/// </summary>
2626
/// <param name="datasetId"></param>
2727
/// <param name="files">
28-
/// Image files (JPEG, PNG, WebP), .txt caption sidecar files, and/or ZIP archives containing images and captions. Caption .txt files are matched to images by filename stem (e.g. sunset.txt provides the caption for sunset.jpg).
28+
/// Image files (JPEG, PNG, WebP), .txt caption sidecar files, and/or ZIP archives containing images and captions. Caption .txt files are matched to images by filename stem (e.g. sunset.txt provides the caption for sunset.jpg). Captions are optional!
2929
/// </param>
3030
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
3131
/// <param name="cancellationToken">The token to cancel the operation with</param>

src/libs/Ideogram/Generated/Ideogram.IModelsClient.GetCustomModel.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public partial interface IModelsClient
66
{
77
/// <summary>
88
/// Get model details<br/>
9-
/// Get detailed information about a specific custom model, including training run history for owned models. The user must either own the model or the model must be shared with the user's organization via the model registry. Returns 404 if the model is not found or not accessible.
9+
/// Get detailed information about a specific custom model. The user must either own the model or the model must be shared with the user's organization via the model registry. Returns 404 if the model is not found or not accessible.
1010
/// </summary>
1111
/// <param name="modelId"></param>
1212
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>

src/libs/Ideogram/Generated/Ideogram.IModelsClient.ListCustomModels.g.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ public partial interface IModelsClient
66
{
77
/// <summary>
88
/// List models<br/>
9-
/// Lists custom models for the authenticated user. Use the `scope` parameter to control which models are returned. `owned` (default) returns models created by the user. `shared` returns models shared with the user's organization via the model registry, excluding the user's own models.
9+
/// Lists custom models for the authenticated user. Use the `scope` parameter to control which models are returned. If omitted, returns both owned models and models shared with the user's organization via the model registry. `owned` returns only models created by the user. `shared` returns only models shared via the model registry, excluding the user's own models.
1010
/// </summary>
11-
/// <param name="scope">
12-
/// Default Value: owned
13-
/// </param>
11+
/// <param name="scope"></param>
1412
/// <param name="status"></param>
1513
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
1614
/// <param name="cancellationToken">The token to cancel the operation with</param>

src/libs/Ideogram/Generated/Ideogram.JsonConverters.OrganizationRoleEnum.g.cs

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/libs/Ideogram/Generated/Ideogram.JsonConverters.OrganizationRoleEnumNullable.g.cs

Lines changed: 0 additions & 60 deletions
This file was deleted.

src/libs/Ideogram/Generated/Ideogram.JsonConverters.OrganizationType.g.cs

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/libs/Ideogram/Generated/Ideogram.JsonConverters.OrganizationTypeNullable.g.cs

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)