replicate

Installation
SKILL.md

Replicate

Installation

# Install Python client
pip install replicate

# Set API token
export REPLICATE_API_TOKEN="r8_xxxxxxxxxxxx"

Run a Model

# run_model.py — Run a model and get the output
import replicate

# Run Stable Diffusion XL
Related skills
Installs
1
GitHub Stars
47
First Seen
Mar 13, 2026