Where AI Meets Innovation
Integrate Mindscape's powerful AI capabilities directly into your applications.
The Models API provides access to Mindscape's suite of AI models for various tasks including text generation, image analysis, and predictive analytics.
/v1/models
Returns a list of the currently available models, and provides basic information about each one such as the owner and availability.
/v1/models
import requests
api_key = "YOUR_API_KEY"
headers = {
"Authorization": f"Bearer {api_key}"
}
response = requests.get("https://api.mindscape.ai/v1/models", headers=headers)
models = response.json()
print(models)
200: OK
{
"object": "list",
"data": [
{
"id": "mindscape-vision-v1",
"object": "model",
"created": 1686935002,
"owned_by": "mindscape-ai",
"capabilities": {
"image-recognition": true,
"object-detection": true
},
"permission": []
},
{
"id": "mindscape-nlp-v2",
"object": "model",
"created": 1686935002,
"owned_by": "mindscape-ai",
"capabilities": {
"text-generation": true,
"embedding": true
},
"permission": []
}
]
}
Mindscape offers a variety of specialized AI models for different tasks. Here are the main categories:
Models specialized in image recognition, object detection, and scene understanding.
mindscape-vision-v1
mindscape-vision-v2-beta
Models for text generation, understanding, and embedding.
mindscape-nlp-v1
mindscape-nlp-v2
Models for creating vector embeddings of text and images.
mindscape-embed-v1
Models for time-series forecasting and predictive analytics.
mindscape-predict-v1
mindscape-forecast-v1
The API uses standard HTTP response codes to indicate the success or failure of requests.
Code | Description |
---|---|
200 - OK | The request was successful. |
400 - Bad Request | The request was malformed or contained invalid parameters. |
401 - Unauthorized | Authentication failed or API key is missing. |
403 - Forbidden | The API key doesn't have permission to perform the request. |
404 - Not Found | The requested resource doesn't exist. |
429 - Too Many Requests | You've exceeded your rate limit or quota. |
500 - Server Error | Something went wrong on our end. |
All API requests must include your API key in the Authorization header. You can obtain an API key from your dashboard.
Now that you understand how to list available models, you can explore specific endpoints for each model type: