Namespace Glitch9.AIDevKit.Replicate
Classes
PredictionResponseExtensions
PredictionService
Handles the full lifecycle of a Replicate prediction: create ??poll ??download image bytes.
ReplicateClient
ReplicateCreatePredictionRequest
Request body for POST /v1/predictions (versioned model).
ReplicateExceptionParser
ReplicatePrediction
Represents a single prediction object returned by the Replicate API.
A prediction is Replicate's unit of work ??one model run.
After submitting a request via POST /v1/predictions, the API returns
this object immediately with Status set to Starting.
The caller must poll Get until the status
reaches Succeeded or Failed.
See: https://replicate.com/docs/reference/http#predictions.get
ReplicatePredictionMetrics
Execution timing reported by Replicate once a prediction finishes. All values are in seconds.
ReplicatePredictionResult
Completed prediction result after polling, including the downloaded image bytes.
ReplicatePredictionUrls
Convenience URLs returned alongside every new prediction.
ReplicateSettings
Enums
PredictionStatus
Lifecycle status of a Replicate prediction. Maps to the string values returned by the Replicate API.