Replicate MCP Server
by deepfates
create_prediction
Create a new prediction using either a model version (for community models) or model name (for official models)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
input | No | Input parameters for the model | |
model | No | Model name to use (for official models) | |
version | No | Model version ID to use (for community models) | |
webhook_url | No | Optional webhook URL for notifications |
Input Schema (JSON Schema)
{
"oneOf": [
{
"required": [
"version",
"input"
]
},
{
"required": [
"model",
"input"
]
}
],
"properties": {
"input": {
"additionalProperties": true,
"description": "Input parameters for the model",
"type": "object"
},
"model": {
"description": "Model name to use (for official models)",
"type": "string"
},
"version": {
"description": "Model version ID to use (for community models)",
"type": "string"
},
"webhook_url": {
"description": "Optional webhook URL for notifications",
"type": "string"
}
},
"type": "object"
}