Introduction to Zhiyuan Fast API
Zhiyuan Fast API is a comprehensive API management system designed to standardize and optimize the integration and utilization of various Large Language Model (LLM) APIs. It promotes exceptional functionality, performance, and user experience by unifying the format and management of these APIs.
Supported Models
Zhiyuan Fast API supports a diverse range of models from leading companies in the tech industry. These include:
- OpenAI, Azure: Offers completion, image processing, audio, multimodal capabilities, real-time processing, embedding, and moderation.
- Baidu, iFlytek, Alibaba Cloud, Zhiyu AI, Google, DeepSeek, 360 Zhinao, and others: Each offering specific capabilities like text completion, image processing, and more.
- Special mentions: Midjourney specializes in image processing, while Anthropic, GCP Claude, and AWS Claude also provide robust completion capabilities.
Project Preview
Zhiyuan Fast API offers a dual interface for user and admin interactions:
- User Portal: Accessible at demo.fastapi.ai, with demo credentials ([email protected]/123456).
- Admin Portal: Available at demo.fastapi.ai/admin using admin credentials (admin/admin123).
Deployment Support
The system supports:
- Cluster deployment
- Multi-location deployment
- Cross-region deployment
Docker Deployment
Zhiyuan Fast API can be efficiently deployed using Docker, making it scalable and easy to set up. Instructions and a detailed installation video are available here.
Public Service
For community support, Zhiyuan Fast API provides a free API service at api.free.fastapi.ai. Users can register and contact the authors to receive a generous usage quota.
Project Screenshots
The system features a visually intuitive interface with screenshots illustrating various functionalities for both admin and user portals, including dashboards, model management, key management, and chat interfaces.
API Interface
Zhiyuan Fast API aligns with the OpenAI API format for ease of integration. A sample usage is highlighted below:
curl --location 'https://api.fastapi.ai/v1/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer sk-FastAPI1YzE0kXf0zNb0ldX1nBLDm1Bh0SoSK0G0PzR1tNxW' \
--data '{
"model": "gpt-3.5-turbo",
"stream": true,
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "hi"}
]
}'
Open Source Repositories
Zhiyuan Fast API is open source, with its resources spread across different repositories for API services, the web interface, administrative tools, and SDKs. Access these resources on GitHub and Gitee:
-
GitHub:
-
Gitee:
Author and Community
The project is led by a committed and experienced team, with channels facilitating community engagement and support, including chat groups for real-time collaboration.