Replicate
Use Replicate from your AI agent through ClawLink — browser login, no API key to paste, no config to edit. Connect Replicate once and the agent can read and act on it. Works in any agent that can run shell commands (Claude Code, Cursor, Codex, Cline, and more).
Setup
Run these once — the agent can run them for you:
npx @useclawlink/cli login # opens browser → approve (mints + stores a key)
npx @useclawlink/cli connect replicate # opens browser → authorize Replicate
No API key to create or paste — login stores the credential at ~/.clawlink/credentials.json.
Using Replicate
npx @useclawlink/cli actions replicate "<what you want to do>" # find an action
npx @useclawlink/cli describe replicate <action-id> # see its inputs (before writes)
npx @useclawlink/cli run replicate <action-id> --input '<json>' # execute
Reads first; confirm with the user before any write.
Available actions
| Action | Description |
|---|---|
replicate_create_prediction |
Create a prediction for a Replicate deployment |
replicate_cancel_prediction |
Cancel a running prediction |
replicate_create_model |
Create a new Replicate model |
replicate_deployments_create |
Create a new deployment |
replicate_files_create |
Upload a file to Replicate |
replicate_collections_list |
List all collections of models |
Notes
- No API key for Replicate itself — ClawLink holds the OAuth token; the agent only holds your ClawLink credential.
- Not connected yet, or access expired? Re-run
npx @useclawlink/cli connect replicate. - The action list above is a snapshot;
npx @useclawlink/cli actions replicateis always current.
Resources
- ClawLink: https://claw-link.dev
- Docs: https://docs.claw-link.dev
- CLI: https://www.npmjs.com/package/@useclawlink/cli
Powered by ClawLink — connect 90+ apps to any AI agent.