capabilities.work

Run an Official Model and Poll

A 3-step recipe with Replicate. We can help you get access.

Recipe · 3 steps

Run an Official Model and Poll

with Replicate · Artificial Intelligence Management

Run an official model by name and poll its prediction to completion.

  1. Confirm the official model exists before submitting a prediction against it.
  2. Create a prediction using the official model endpoint, which selects the model's active version automatically.
  3. Retrieve the prediction state, repeating via the retry branch until the prediction reaches a terminal status.
What you'll need to have ready
  • apiToken: Replicate API token used as a Bearer credential.
  • modelOwner: The name of the user or organization that owns the model.
  • modelName: The name of the model.
  • input: The model's input as a JSON object matching the model's input schema.
For your developer

Arazzo workflow replicate:official-model-predict, 3 operations: models.get → models.predictions.create → predictions.get. Specs on APIs.io.