Code Monkey home page Code Monkey logo

one-api's Introduction

中文 | English

One API

本项目是基于one-api二次开发而来的

license release docker docker GoReportCard

请不要和原版混用,因为新增功能,数据库与原版不兼容

为了更加简洁,本项目之后,除了新增供应商时会更新程序自带的模型列表,平常不再更新程序自带的模型列表。

如果发现缺少新模型,请在后台-模型价格-更新价格中更新新增的模型

演示网站

Warning

本项目为个人学习使用,不保证稳定性,且不提供任何技术支持,使用者必须在遵循 OpenAI 的使用条款以及法律法规的情况下使用,不得用于非法用途。
根据《生成式人工智能服务管理暂行办法》的要求,请勿对**地区公众提供一切未经备案的生成式人工智能服务。

功能变化

  • 全新的 UI 界面
  • 新增用户仪表盘
  • 新增管理员分析数据统计界面
  • 重构了中转供应商模块
  • 支持使用Azure Speech模拟TTS功能
  • 渠道可配置单独的 http/socks5 代理
  • 支持动态返回用户模型列表
  • 支持自定义测速模型
  • 日志增加请求耗时
  • 支持和优化非 OpenAI 模型的函数调用(支持的模型可以在 lobe-chat 直接使用)
  • 支持完成倍率自定义
  • 支持完整的分页和排序
  • 支持Telegram bot
  • 支持模型按次收费
  • 支持模型通配符
  • 支持使用配置文件启动程序
  • 支持模型价格更新
  • 支持自动获取供应商模型
  • 支持仅聊天,开启后如果有传入function call参数会跳过该渠道
  • 支持支付

文档

请查看文档

当前支持的供应商

供应商 Chat Embeddings Audio Images 其他
OpenAI -
Azure OpenAI -
Azure Speech - - ⚠️ tts - -
Anthropic - - - -
Gemini - - - -
百度文心 - - -
通义千问 - - -
讯飞星火 - - - -
智谱 - ⚠️ 图片生成 -
腾讯混元 - - - -
百川 - - -
MiniMax - - -
Deepseek - - - -
Moonshot - - - -
Mistral - - -
Groq - - - -
Amazon Bedrock ⚠️ 仅支持 Anthropic 模型 - - - -
零一万物 - - - -
Cloudflare AI - ⚠️ stt ⚠️ 图片生成 -
Midjourney - - - - midjourney-proxy
Cohere - - - -
Stability AI - - - ⚠️ 图片生成 -
Coze - - - -
Ollama - - -

感谢

感谢以上项目的作者和贡献者

交流群

其他

Star History of MartialBE/one-api

one-api's People

Contributors

a497625414 avatar baksili avatar c121914yu avatar chunzhimoe avatar ckt1031 avatar dependabot[bot] avatar dirname avatar glzjin avatar igophper avatar imsingee avatar kalicyh avatar maricohan avatar martialbe avatar michaelyuhe avatar miniers avatar moondie avatar mrhaoji avatar prnake avatar quzard avatar redreamality avatar shinchven avatar shiqimei avatar simulacraliasing avatar songquanpeng avatar techotaku avatar woodchen-ink avatar xyfacai avatar yangfan-sys avatar yomikio avatar zerodeng01 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.