API Reference
MoleAPI API reference and endpoint overview
Overview
MoleAPI provides a complete set of RESTful APIs, divided into two major categories: AI Model APIs and Management APIs, which can be used for model invocation, Token management, and Gateway Console operations.
Online Debugging
You can visit the Apifox Playground to test and debug APIs online, or browse the API documentation below directly.
AI Model APIs
AI Model APIs provide access to various AI capabilities and are compatible with the OpenAI API format.
Models
Get the list of available models.
Chat
Chat completion endpoint.
Completions
Traditional text completion endpoint.
Embeddings
Text embedding vector generation endpoint.
Rerank
Document reranking endpoint.
Moderations
Content safety moderation endpoint.
Audio
Speech recognition and speech synthesis endpoints.
Realtime Audio
Realtime audio streaming endpoint.
Images
AI image generation endpoint.
Videos
AI video generation endpoint.
Unimplemented
Placeholder endpoint, not yet implemented.
Management APIs
Management APIs are used for backend operations such as system configuration, user management, and business management.
System
System information and status endpoints.
System Settings
System configuration management endpoints.
User Authentication
Endpoints for user login, registration, password management, and more.
User Management
User information management endpoints.
Two-Factor Authentication
2FA endpoints.
OAuth
Third-party OAuth login endpoints.
Channel Management
API Channel configuration management endpoints.
Model Management
Model configuration management endpoints.
Token Management
API Token management endpoints.
Redemption Codes
Redemption code management endpoints.
Payments
Payment and top-up endpoints.
Logs
Usage log query endpoints.
Statistics
Data statistics endpoints.
Tasks
Asynchronous task management endpoints.
Groups
User Group management endpoints.
Vendors
Vendor management endpoints.
Security Verification
Endpoints related to security verification.
How is this guide?
Last updated on