Skip to content

Latest commit

 

History

History
115 lines (94 loc) · 9.63 KB

README.en.md

File metadata and controls

115 lines (94 loc) · 9.63 KB

English | 中文

One API

This project is based on one-api and has been developed for the second time. The main purpose is to separate the module code in the original project, modularize it, and modify the front-end interface. This project also follows the MIT protocol.

license release docker docker GoReportCard

Please do not mix with the original version, because the new functions, the database is not compatible with the original version

For the sake of simplicity, after this project, except for updating the model list built into the program when adding a new supplier, the model list built into the program will not be updated under normal circumstances.

If you find that a new model is missing, please update the newly added model in Backend-Model Price-Update Price

Demo Site

Functional Changes

  • Brand new UI interface
  • Added user dashboard
  • Added administrator data analysis and statistics interface
  • Refactored the intermediary supplier module
  • Support for using Azure Speech to simulate TTS function
  • Channels can be configured with separate http/socks5 proxies
  • Support for dynamically returning user model lists
  • Support for custom speed testing models
  • Logs now include request duration
  • Support and optimize function calls for non-OpenAI models (supported models can be used directly in Lobe-Chat)
  • Support for custom completion rates
  • Support for full pagination and sorting
  • Support for Telegram bot
  • Support for models charged per use
  • Support for model wildcards
  • Support for starting the program using a configuration file

Documentation

Please refer to the documentation.

Current Supported Providers

Provider Chat Embeddings Audio Images Other
OpenAI -
Azure OpenAI -
Azure Speech - - ⚠️ tts - -
Anthropic - - - -
Gemini - - - -
百度文心 - - -
通义千问 - - -
讯飞星火 - - - -
智谱 - ⚠️ image -
腾讯混元 - - - -
百川 - - -
MiniMax - - -
Deepseek - - - -
Moonshot - - - -
Mistral - - -
Groq - - - -
Amazon Bedrock ⚠️ Only support Anthropic models - - - -
零一万物 - - - -
Cloudflare AI - ⚠️ stt ⚠️ image -
Midjourney - - - - midjourney-proxy
Cohere - - - -
Stability AI - - - ⚠️ image -
Coze - - - -
Ollama - - -

Acknowledgements

  • This program utilizes the following open-source projects:

Special thanks to the authors and contributors of the above projects.

Others

Star History of MartialBE/one-api