Replicate · Arazzo Workflow
Replicate Run an Official Model and Poll
Version 1.0.0
Run a prediction against an official model by name, then poll until complete.
View Spec
View on GitHub
Artificial IntelligenceMachine LearningImage GenerationLanguage ModelsModel DeploymentArazzoWorkflows
Provider
Workflows
official-model-predict
Run an official model by name and poll its prediction to completion.
Reads the model, creates a prediction through the official model endpoint (no version required), then polls the prediction until it succeeds, fails, or is canceled.
1
getModel
models.get
Confirm the official model exists before submitting a prediction against it.
2
createPrediction
models.predictions.create
Create a prediction using the official model endpoint, which selects the model's active version automatically.
3
getPrediction
predictions.get
Retrieve the prediction state, repeating via the retry branch until the prediction reaches a terminal status.