diff --git a/src/libs/Replicate/Generated/Replicate.IReplicateApi.PredictionsCreate.g.cs b/src/libs/Replicate/Generated/Replicate.IReplicateApi.PredictionsCreate.g.cs index 787c18a..6248e26 100644 --- a/src/libs/Replicate/Generated/Replicate.IReplicateApi.PredictionsCreate.g.cs +++ b/src/libs/Replicate/Generated/Replicate.IReplicateApi.PredictionsCreate.g.cs @@ -7,7 +7,6 @@ public partial interface IReplicateApi /// /// Create a prediction
/// Create a prediction for the model version and inputs you provide.
- /// If you're running an [official model](https://replicate.com/collections/official), use the [`models.predictions.create`](#models.predictions.create) operation instead.
/// Example cURL request:
/// ```console
/// curl -s -X POST -H 'Prefer: wait' \
@@ -33,7 +32,6 @@ public partial interface IReplicateApi /// /// Create a prediction
/// Create a prediction for the model version and inputs you provide.
- /// If you're running an [official model](https://replicate.com/collections/official), use the [`models.predictions.create`](#models.predictions.create) operation instead.
/// Example cURL request:
/// ```console
/// curl -s -X POST -H 'Prefer: wait' \
@@ -66,9 +64,10 @@ public partial interface IReplicateApi /// This field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming. /// /// - /// The ID of the model version that you want to run. This can be specified in two formats:
- /// 1. Just the 64-character version ID: `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
- /// 2. Full model identifier with version ID in the format `{owner}/{model}:{id}`. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
+ /// The identifier for the model or model version that you want to run. This can be specified in a few different formats:
+ /// - `{owner_name}/{model_name}` - Use this format for [official models](https://replicate.com/docs/topics/models/official-models). For example, `black-forest-labs/flux-schnell`. For all other models, the specific version is required.
+ /// - `{owner_name}/{model_name}:{version_id}` - The owner and model name, plus the full 64-character version ID. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`.
+ /// - `{version_id}` - Just the 64-character version ID. For example, `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
/// Example: replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426 /// /// diff --git a/src/libs/Replicate/Generated/Replicate.Models.SchemasVersionPredictionRequest.g.cs b/src/libs/Replicate/Generated/Replicate.Models.SchemasVersionPredictionRequest.g.cs index 001f0c7..b0026f7 100644 --- a/src/libs/Replicate/Generated/Replicate.Models.SchemasVersionPredictionRequest.g.cs +++ b/src/libs/Replicate/Generated/Replicate.Models.SchemasVersionPredictionRequest.g.cs @@ -33,9 +33,10 @@ public sealed partial class SchemasVersionPredictionRequest public bool? Stream { get; set; } /// - /// The ID of the model version that you want to run. This can be specified in two formats:
- /// 1. Just the 64-character version ID: `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
- /// 2. Full model identifier with version ID in the format `{owner}/{model}:{id}`. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
+ /// The identifier for the model or model version that you want to run. This can be specified in a few different formats:
+ /// - `{owner_name}/{model_name}` - Use this format for [official models](https://replicate.com/docs/topics/models/official-models). For example, `black-forest-labs/flux-schnell`. For all other models, the specific version is required.
+ /// - `{owner_name}/{model_name}:{version_id}` - The owner and model name, plus the full 64-character version ID. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`.
+ /// - `{version_id}` - Just the 64-character version ID. For example, `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
/// Example: replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426 ///
/// replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426 @@ -102,9 +103,10 @@ public sealed partial class SchemasVersionPredictionRequest /// This field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming. /// /// - /// The ID of the model version that you want to run. This can be specified in two formats:
- /// 1. Just the 64-character version ID: `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
- /// 2. Full model identifier with version ID in the format `{owner}/{model}:{id}`. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
+ /// The identifier for the model or model version that you want to run. This can be specified in a few different formats:
+ /// - `{owner_name}/{model_name}` - Use this format for [official models](https://replicate.com/docs/topics/models/official-models). For example, `black-forest-labs/flux-schnell`. For all other models, the specific version is required.
+ /// - `{owner_name}/{model_name}:{version_id}` - The owner and model name, plus the full 64-character version ID. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`.
+ /// - `{version_id}` - Just the 64-character version ID. For example, `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
/// Example: replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426 /// /// diff --git a/src/libs/Replicate/Generated/Replicate.ReplicateApi.PredictionsCreate.g.cs b/src/libs/Replicate/Generated/Replicate.ReplicateApi.PredictionsCreate.g.cs index 7cf7dbe..0b48470 100644 --- a/src/libs/Replicate/Generated/Replicate.ReplicateApi.PredictionsCreate.g.cs +++ b/src/libs/Replicate/Generated/Replicate.ReplicateApi.PredictionsCreate.g.cs @@ -26,7 +26,6 @@ partial void ProcessPredictionsCreateResponseContent( /// /// Create a prediction
/// Create a prediction for the model version and inputs you provide.
- /// If you're running an [official model](https://replicate.com/collections/official), use the [`models.predictions.create`](#models.predictions.create) operation instead.
/// Example cURL request:
/// ```console
/// curl -s -X POST -H 'Prefer: wait' \
@@ -194,7 +193,6 @@ partial void ProcessPredictionsCreateResponseContent( /// /// Create a prediction
/// Create a prediction for the model version and inputs you provide.
- /// If you're running an [official model](https://replicate.com/collections/official), use the [`models.predictions.create`](#models.predictions.create) operation instead.
/// Example cURL request:
/// ```console
/// curl -s -X POST -H 'Prefer: wait' \
@@ -227,9 +225,10 @@ partial void ProcessPredictionsCreateResponseContent( /// This field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming. /// /// - /// The ID of the model version that you want to run. This can be specified in two formats:
- /// 1. Just the 64-character version ID: `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
- /// 2. Full model identifier with version ID in the format `{owner}/{model}:{id}`. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
+ /// The identifier for the model or model version that you want to run. This can be specified in a few different formats:
+ /// - `{owner_name}/{model_name}` - Use this format for [official models](https://replicate.com/docs/topics/models/official-models). For example, `black-forest-labs/flux-schnell`. For all other models, the specific version is required.
+ /// - `{owner_name}/{model_name}:{version_id}` - The owner and model name, plus the full 64-character version ID. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`.
+ /// - `{version_id}` - Just the 64-character version ID. For example, `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`
/// Example: replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426 /// /// diff --git a/src/libs/Replicate/openapi.yaml b/src/libs/Replicate/openapi.yaml index 6f279ff..d947d32 100644 --- a/src/libs/Replicate/openapi.yaml +++ b/src/libs/Replicate/openapi.yaml @@ -847,7 +847,7 @@ paths: $ref: '#/components/schemas/schemas_prediction_response' post: summary: Create a prediction - description: "Create a prediction for the model version and inputs you provide.\n\nIf you're running an [official model](https://replicate.com/collections/official), use the [`models.predictions.create`](#models.predictions.create) operation instead.\n\nExample cURL request:\n\n```console\ncurl -s -X POST -H 'Prefer: wait' \\\n -d '{\"version\": \"replicate/hello-world:5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa\", \"input\": {\"text\": \"Alice\"}}' \\\n -H \"Authorization: Bearer $REPLICATE_API_TOKEN\" \\\n -H 'Content-Type: application/json' \\\n https://api.replicate.com/v1/predictions\n```\n\nThe request will wait up to 60 seconds for the model to run. If this time is exceeded the prediction will be returned in a `\"starting\"` state and need to be retrieved using the `predictions.get` endpiont.\n\nFor a complete overview of the `predictions.create` API check out our documentation on [creating a prediction](https://replicate.com/docs/topics/predictions/create-a-prediction) which covers a variety of use cases.\n" + description: "Create a prediction for the model version and inputs you provide.\n\nExample cURL request:\n\n```console\ncurl -s -X POST -H 'Prefer: wait' \\\n -d '{\"version\": \"replicate/hello-world:5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa\", \"input\": {\"text\": \"Alice\"}}' \\\n -H \"Authorization: Bearer $REPLICATE_API_TOKEN\" \\\n -H 'Content-Type: application/json' \\\n https://api.replicate.com/v1/predictions\n```\n\nThe request will wait up to 60 seconds for the model to run. If this time is exceeded the prediction will be returned in a `\"starting\"` state and need to be retrieved using the `predictions.get` endpiont.\n\nFor a complete overview of the `predictions.create` API check out our documentation on [creating a prediction](https://replicate.com/docs/topics/predictions/create-a-prediction) which covers a variety of use cases.\n" operationId: predictions.create parameters: - $ref: '#/components/parameters/parameters_prefer_header' @@ -1505,7 +1505,7 @@ components: description: "**This field is deprecated.**\n\nRequest a URL to receive streaming output using [server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).\n\nThis field is no longer needed as the returned prediction will always have a `stream` entry in its `url` property if the model supports streaming.\n" version: type: string - description: "The ID of the model version that you want to run. This can be specified in two formats:\n\n1. Just the 64-character version ID: `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`\n2. Full model identifier with version ID in the format `{owner}/{model}:{id}`. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`\n" + description: "The identifier for the model or model version that you want to run. This can be specified in a few different formats:\n\n- `{owner_name}/{model_name}` - Use this format for [official models](https://replicate.com/docs/topics/models/official-models). For example, `black-forest-labs/flux-schnell`. For all other models, the specific version is required.\n- `{owner_name}/{model_name}:{version_id}` - The owner and model name, plus the full 64-character version ID. For example, `replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`.\n- `{version_id}` - Just the 64-character version ID. For example, `9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426`\n" example: replicate/hello-world:9dcd6d78e7c6560c340d916fe32e9f24aabfa331e5cce95fe31f77fb03121426 webhook: type: string