API Reference
TokenPAPA Complete API Documentation
Overview
TokenPAPA provides a complete set of RESTful API interfaces — the AI Model APIs, compatible with the OpenAI API format. You can use these interfaces to invoke various AI capabilities.
Online Debugging
You can visit the Apifox Playground to test and debug API interfaces online, or browse the API documentation below.
AI Model APIs
AI Model APIs provide access to various AI capabilities and are compatible with the OpenAI API format.
Model List
Retrieve a list of available models.
Chat
Conversation completion interface.
Completions
Traditional text completion interface.
Embeddings
Text embedding vector generation interface.
Rerank
Document reranking interface.
Moderations
Content safety moderation interface. The content safety moderation interface is one of the compliance tools and does not replace the deployer's own safety governance obligations and upstream content policy requirements. Public-facing services should establish abuse reporting, log auditing, and handling mechanisms.
Audio
Speech recognition and speech synthesis interfaces.
Real-time Speech
Real-time audio streaming interface.
Images
AI image generation interface.
Video
AI video generation interface.
Unimplemented
Placeholder interface, not yet implemented.
How is this guide?
Last updated on
