replicate_create_prediction
Run a Replicate model by creating a prediction. Specify model version or identifier with input parameters.
Instructions
Run a Replicate model by creating a prediction.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_token": "<api_token>",
"input": "<input>"
},
"name": "replicate_create_prediction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Model input parameters as JSON object or string | |
| model | No | Model as owner/name or owner/name:version (use this OR version) | |
| stream | No | ||
| version | No | Model version ID (use this OR model) | |
| webhook | No | ||
| api_token | Yes |