Use the Replicate API: search and compare models, run predictions, handle webhooks, manage deployments, and optimize for cost and latency.
When to use this skill
- Running a model on Replicate
- Searching for models by task
- Setting up webhook handlers
Core concepts
This skill provides guidance on replicate api best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/ai-ml/replicate-api.zip
unzip replicate-api.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- running a model on Replicate
- searching for models by task
- setting up webhook handlers