AI prompts
base on 优质稳定的OpenAI的API接口-For企业和开发者。OpenAI的api proxy,支持ChatGPT的API调用,支持openai的API接口,支持:gpt-4,gpt-3.5。不需要openai Key, 不需要买openai的账号,不需要美元的银行卡,通通不用的,直接调用就行,稳定好用!!智增增 # 优质稳定的OpenAI的API接口-For企业和开发者
#### 介绍
为企业和开发者提供优质稳定的OpenAI相关的API调用接口。
支持OpenAI的API接口,包括:batch,assistant, Fine-tuning,o1-preview,o1-mini,gpt-4o,gpt-4-vision,gpt-4等。 <br>
(同时支持google gemini、claude、百度文心一言、阿里、讯飞星火、智谱ChatGLM、ChatGPT等, 标准的OpenAI的接口格式访问所有的大模型)<br>
要买openai的账号?
要美元的银行卡?
通通不用的,直接调用就行,简单直接,关键稳定好用!!
- **项目主要优势**
* 不限制使用,可以用微信充值和对公付款等,没有封号风险。
* 不用买openai的账号,不用美元的银行卡。
* 强大的接口能力,支持openai所有接口和模型:支持batch,assistant,gpt-4o,gpt-4-vision,GPT-3.5,Embedding,Whisper,TTS, Fine-tuning,DALL-E-3等
* 同时支持google gemini、claude、百度文心一言、阿里、讯飞星火、ChatGLM、DeepSeek等,标准的OpenAI的接口格式访问所有的大模型
* 兼容OpenAI接口格式,可以做到平替。
* 支持Batch,详见示例
* 支持assistant api,可以创建自己的助手,详见示例
* 支持fine-tune(微调),可以使用自己的数据来微调GPT的模型,详见示例
* 支持对Embeddings支持,可以用接口运行Langchain、向量库、AutoGPT等应用
* 支持对stream模式的支持,可以支持原生的各种应用
* 支持文字生成图片,支持最新的DALL-E-3
* 支持官方的Whisper模型,支持transcriptions和translations,可以做语音识别和翻译
* 支持函数调用(function_call),详见示例
* 支持官方的tts,支持tts-1模型和tts-1-hd模型,可以做语音合成,详见示例
* 更多特性支持,敬请期待。也可直接向我们提交需求哦
- **项目地址**
1、项目官方网址:https://gpt.zhizengzeng.com/#/login
智增增-大模型的API接口服务商,支持百度文心一言、阿里、讯飞星火、清华ChatGLM、ChatGPT等
开发者单独的Secret Key、调用记录、微调模型、余额查询、示例代码等可以从管理后台中获取。
2、微信交流群(如果你也对本项目感兴趣,欢迎加入微信群交流):
![微信截图_20240110204135](https://github.com/xing61/xiaoyi-robot/assets/38256442/bff4db4d-9cf4-42d6-8422-a1177d2d0219)
- **注意事项**
1、以下所有接口的base_url: `https://api.zhizengzeng.com/` (支持https)<br>
2、API通过HTTP请求调用。每次请求,需要在HTTP头中携带用户的API_KEY,用于认证。 开发者单独的API_KEY,请从智增增管理后台获得。
请求头形如:
```
Content-Type: application/json
Authorization: Bearer 你在智增增的key
```
3、注意不要涉及黄色、暴力、政治等敏感话题!互联网非法外之地,请注意言辞。一旦发现,账号将被永久封禁。
- **典型用法1**
1、在python中,使用官方的openai的包,设置api_key为:智增增后台获取的API_KEY,替换官方的API_KEY: sk-****** <br>
2、设置base_url为:`https://api.zhizengzeng.com/v1/`, 替换官方的域名: `https://api.openai.com/v1/` <br>
![微信截图_20231109105329](https://github.com/xing61/xiaoyi-robot/assets/38256442/bfb8cbb5-c600-49eb-92eb-96c014ec3e37)
- **典型用法2**
1、在langchain中,设置OPENAI_API_KEY环境变量为:智增增后台获取的API_KEY,替换官方的API_KEY: sk-****** <br>
2、设置OPENAI_API_BASE_URL环境变量为:`https://api.zhizengzeng.com/v1/`, 替换官方的域名: `https://api.openai.com/v1/` <br>
![微信截图_20231119113128](https://github.com/xing61/xiaoyi-robot/assets/38256442/ce744bb8-a49d-4230-a07d-38235441b96a)
- **典型用法3**
1、在任何语言中,直接发送http请求,请求头中指定key:智增增后台获取的API_KEY,替换官方的API_KEY: sk-****** <br>
2、请求的url同官方格式,只需要将base_url:`https://api.zhizengzeng.com/v1/`, 替换官方的域名: `https://api.openai.com/v1/` <br>
![微信截图_20231121104939](https://github.com/xing61/xiaoyi-robot/assets/38256442/b57cc6bc-8f76-44bb-965e-3cc99be9f3fa)
## 更详细的API说明 ##
1、[OpenAI的API说明](https://github.com/xing61/xiaoyi-robot/blob/main/openai%E6%8E%A5%E5%8F%A3%E8%AF%B4%E6%98%8E.md)<br>
2、[智增增API接口说明](https://github.com/xing61/xiaoyi-robot/blob/main/%E6%99%BA%E5%A2%9E%E5%A2%9EAPI%E6%8E%A5%E5%8F%A3.md)<br>
", Assign "at most 3 tags" to the expected json: {"id":"9151","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"