Replicate · Arazzo Workflow
Replicate Pick a Model from a Collection and Predict
Version 1.0.0
Read a curated collection, confirm a chosen model, run its latest version, and poll the prediction.
View Spec
View on GitHub
Artificial IntelligenceMachine LearningImage GenerationLanguage ModelsModel DeploymentArazzoWorkflows
Provider
Workflows
collection-predict
Resolve a model from a curated collection and run a prediction on its latest version.
Reads a collection by slug, confirms a chosen model to obtain its latest version, submits a prediction for that version, and polls the prediction until it succeeds, fails, or is canceled.
1
getCollection
collections.get
Read the curated collection to confirm it exists and that it lists models to choose from.
2
getModel
models.get
Confirm the chosen model and capture its latest version ID to run.
3
createPrediction
predictions.create
Create a prediction for the chosen model's latest version with the supplied input.
4
getPrediction
predictions.get
Retrieve the prediction state, repeating via the retry branch until the prediction reaches a terminal status.