Coder Social home page Coder Social logo

tekkenkk / one-hub Goto Github PK

View Code? Open in Web Editor NEW

This project forked from martialbe/one-hub

0.0 0.0 0.0 3.42 MB

OpenAI 接口管理 & 分发系统,改自songquanpeng/one-api。支持更多模型,加入统计页面,完善非openai模型的函数调用。

Home Page: https://one-api-martialbe.vercel.app/

License: Apache License 2.0

Shell 0.08% JavaScript 45.08% Python 0.12% Go 54.10% CSS 0.07% Makefile 0.02% HTML 0.04% Dockerfile 0.04% SCSS 0.45%

one-hub's Introduction

中文 | English

One Hub

本项目是基于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 - - -
Suno - - - - Suno-API

感谢

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

交流群

其他

Star History of MartialBE/one-api

one-hub's People

Contributors

songquanpeng avatar martialbe avatar zerodeng01 avatar mrhaoji avatar igophper avatar quzard avatar ckt1031 avatar dependabot[bot] avatar glzjin avatar kalicyh avatar techotaku avatar dirname avatar shinchven avatar yangfan-sys avatar moondie avatar maricohan avatar woodchen-ink avatar a497625414 avatar yomikio avatar miniers avatar imsingee avatar baksili avatar c121914yu avatar anhao avatar redreamality avatar shiqimei avatar xyfacai avatar michaelyuhe avatar simulacraliasing avatar chunzhimoe 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.