Class ReplicatePredictionUrls
Convenience URLs returned alongside every new prediction.
Inherited Members
Namespace: Glitch9.AIDevKit.Replicate
Assembly: Glitch9.AIDevKit.Provider.Replicate.dll
Syntax
public class ReplicatePredictionUrls
Properties
| Edit this page View SourceCancel
URL to abort an in-progress prediction.
Send a POST request to this URL (no body required).
Has no effect if the prediction has already completed.
Example: https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu/cancel
Declaration
[JsonProperty("cancel")]
public string Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Get
URL to poll for the current state of this prediction.
GET this URL repeatedly until Status
is Succeeded, Failed, or Canceled.
Example: https://api.replicate.com/v1/predictions/gm3qorzdhgbfurvjtvhg6dckhu
Declaration
[JsonProperty("get")]
public string Get { get; set; }
Property Value
| Type | Description |
|---|---|
| string |