skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

replicate

Discover, compare, and run AI models using Replicate's API

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/replicate/skills --skill replicate

Overview

What This Skill Does

Replicate lets you run AI models via API, including image generation, language models, and other ML tasks. It handles model hosting, scaling, and versioning so you don't run your own GPU infrastructure. Models are searchable and runnable through a standardized REST interface.

Application

When to use this Skill

Documentation

Show Skills.md file

Docs

Workflow

  1. Choose the right model - Search with the API or ask the user.
  2. Get model metadata - Fetch input and output schema via API.
  3. Create prediction - POST to /v1/predictions.
  4. Poll for results - GET prediction until status is "succeeded".
  5. Return output - Usually URLs to generated content.

Three ways to get output

  1. Create a prediction, store its id from the response, and poll until completion.
  2. Set a Prefer: wait header when creating a prediction for a blocking synchronous response. Only recommended for very fast models. Max 60 seconds.
  3. Set an HTTPS webhook URL when creating a prediction, and Replicate will POST to that URL when the prediction completes.

Guidelines

  • Use the POST /v1/predictions endpoint, as it supports both official and community models.
Lines 1 - 25 of 64

Recommendations

Explore other random skills

All skillsMy patterns