Comprehensive API documentation for the Morpheus Inference API
Welcome to the Morpheus Inference API
The Morpheus Inference API provides a simple method for users to access the Morpheus Inference Marketplace. This API is fully OpenAI-compatible, enabling seamless integration with existing AI applications while utilizing a decentralized marketplace to protect you and your data.
OpenAI Compatibility
The Morpheus Inference API implements the OpenAI API specification, ensuring compatibility with existing OpenAI clients and tools. Simply change the base URL and API key to switch from OpenAI to Morpheus:
Any application that supports “OpenAI-compatible” APIs can work with Morpheus. This includes Cursor, Continue, LangChain, and hundreds of other tools.
Base URL
https://api.mor.org/api/v1
All API endpoints are prefixed with /api/v1. For example:
Models: https://api.mor.org/api/v1/models
Chat: https://api.mor.org/api/v1/chat/completions
Embeddings: https://api.mor.org/api/v1/embeddings
Authentication
The Inference API uses API key authentication. Generate your API key from the Admin Portal at app.mor.org.Include your API key in the Authorization header:
Authorization: Bearer sk-xxxxxxxxxxxxx
API Categories
Models: List and query available AI models and bids
Chat: OpenAI-compatible chat completion endpoints
Embeddings: Embeddings endpoint to support vector storage (RAG)
Audio: Text-to-speech and transcription endpoints
Billing: Check credit balance, usage history, spending, and transactions
Utility: Health checks
OpenAPI Spec
Download the full API specification in JSON format: