Search Results for

    Show / Hide Table of Contents

    Class ReplicatePredictionUrls

    Convenience URLs returned alongside every new prediction.

    Inheritance
    object
    ReplicatePredictionUrls
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Replicate
    Assembly: Glitch9.AIDevKit.Provider.Replicate.dll
    Syntax
    public class ReplicatePredictionUrls

    Properties

    | Edit this page View Source

    Cancel

    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
    | Edit this page View Source

    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

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation