ReplicateGPT
ReplicateGPT · Actions GPT
Sider Tools API
An API for various tools that are available from Sider AI to be used with any GPT.
GET /replicateGPT/get_modelsGet ModelsGet models from a given collection.
GET /replicateGPT/get_modelGet ModelGet input and output specifications for a given model.
GET /replicateGPT/create_predictionCreate PredictionCreate a prediction and return the prediction ID.
GET /replicateGPT/get_predictionGet PredictionGet the status or result of a prediction.
GET /replicateGPT/cancel_predictionCancel PredictionCancel a prediction.
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "Sider Tools API",
"description": "An API for various tools that are available from Sider AI to be used with any GPT.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://awesomegpts.ai/gpts/action"
}
],
"paths": {
"/replicateGPT/get_models": {
"get": {
"summary": "Get Models",
"description": "Get models from a given collection.",
"operationId": "get_models_replicateGPT_get_models_get",
"parameters": [
{
"name": "collection_slug",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Collection Slug"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/replicateGPT/get_model": {
"get": {
"summary": "Get Model",
"description": "Get input and output specifications for a given model.",
"operationId": "get_model_replicateGPT_get_model_get",
"parameters": [
{
"name": "model_owner",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Model Owner"
}
},
{
"name": "model_name",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Model Name"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/replicateGPT/create_prediction": {
"get": {
"summary": "Create Prediction",
"description": "Create a prediction and return the prediction ID.",
"operationId": "create_prediction_replicateGPT_create_prediction_get",
"parameters": [
{
"name": "version_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Version Id"
}
},
{
"name": "input",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Input"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/replicateGPT/get_prediction": {
"get": {
"summary": "Get Prediction",
"description": "Get the status or result of a prediction.",
"operationId": "get_prediction_replicateGPT_get_prediction_get",
"parameters": [
{
"name": "prediction_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Prediction Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/replicateGPT/cancel_prediction": {
"get": {
"summary": "Cancel Prediction",
"description": "Cancel a prediction.",
"operationId": "cancel_prediction_replicateGPT_cancel_prediction_get",
"parameters": [
{
"name": "prediction_id",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Prediction Id"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"HTTPValidationError": {
"properties": {
"detail": {
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
},
"ValidationError": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
}
}
}
}