Skip to main content
MindStudio
Pricing
BlogAbout
My Workspace
Utilities

Run External Model

Run a public community model the model catalog doesn't carry, on Replicate

About this capability

  • For a kind of model no other action covers (separating a song's stems, aligning words to audio, depth or segmentation maps, a published fine-tune). A model the catalog has is run with its own action
  • `replicate.model` is `owner/name:version`. Call `describeExternalModel` first: it returns the model pinned to its latest version, its input and output schemas, its licence and its price
  • `replicate.input` is the model's own input, passed through as given. A file input is a URL; a private file of the app's own is signed for the run
  • `output` is whatever the model returns. Its files are copied before Replicate deletes them, an hour after the run: into the store passed as `store`, or onto the public CDN without one, so pass a private store for anything confidential
  • Billed for the seconds the model ran (`runSeconds`), at the model's own per-second price. A cold start is waited for and not billed, and can take minutes on a model that hasn't run lately: `timeoutSeconds` covers the wait and the run together
  • A run that fails throws with the model's own error. One that passes `timeoutSeconds` is cancelled and throws `external_model_timed_out`
  • Models Replicate maintains itself ("official" models) and private models are refused. Each model's licence is its author's: `describeExternalModel` links it

Add Run External Model to your workflow

Build powerful AI workflows with drag-and-drop blocks. No coding required.