Chat2API平替(支持gpts&4o及o1模型)

rt的话 除非封号 或者改密码 他是不会过期的 at过一段时间就会过期哈

感谢佬的分享

8 Likes

rt是怎么用的呀 :cold_face:

8 Likes

佬,这个能像始皇的 chatapi 用在 lobechat 上吗,我进行连通性检测的时候报错

{
  "error": {
    "headers": {
      "access-control-allow-headers": "Content-Type,Authorization,X-Requested-With, x-platform-version, x-client-version, x-platform, x-language, authorization, content-type, openai-organization",
      "access-control-allow-methods": "GET,PUT,POST,DELETE,OPTIONS, GET,OPTIONS,POST,PUT,DELETE",
      "access-control-allow-origin": "*, *",
      "connection": "keep-alive",
      "content-length": "1242",
      "content-type": "text/html; charset=utf-8",
      "date": "Mon, 14 Oct 2024 02:58:38 GMT",
      "server": "openresty",
      "set-cookie": "p_uv_id=14086f7f06a5784f1ca4bd5f2c642491; path=/; expires=Tue, 15-Oct-24 00:00:00 GMT; HttpOnly"
    },
    "stack": "Error: 500 \n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\"content=\"width=device-width, initial-scale=1.0\">\n    <title>Magic API</title>\n    <style>\n        body {\n            margin: 0; /* 确保这一行没有错误 */\n            padding: 0;\n            background-image: url ('https://jihulab.com/amzayo/1/-/raw/main/img/background/web.webp');\n            background-size: cover;\n            background-position: center;\n            height: 100vh; /* 设置页面高度 */\n            color: white; /* 设置文本颜色 */\n            font-family: Arial, sans-serif; /* 设置字体 */\n            display: flex; /* 使用 flexbox 对齐内容 */\n            justify-content: center; /* 水平居中 */\n            align-items: center; /* 垂直居中 */\n            text-align: center; /* 文本居中对齐 */\n        }\n\n        p {\n            background-color: rgba (0, 0, 0, 0.5); /* 半透明背景 */\n            padding: 20px; /* 内边距 */\n            border-radius: 10px; /* 边角圆润 */\n        }\n    </style>\n</head>\n<body>\n    <script src=\"https://cdn.jsdelivr.net/gh/mocchen/cssmeihua/js/yinghua.js\"></script>\n    <p > 梦想最开始的地方!!!请敬请享用~</p>\n</body>\n</html>\n\n    at tu.generate (/app/.next/server/edge-chunks/31.js:4:20899)\n    at sH.makeStatusError (/app/.next/server/edge-chunks/31.js:4:13322)\n    at sH.makeRequest (/app/.next/server/edge-chunks/31.js:4:14266)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.chat (/app/.next/server/edge-chunks/275.js:9:3181)\n    at async /app/.next/server/app/(backend)/api/chat/openai/route.js:1:1706\n    at async /app/.next/server/edge-chunks/490.js:1:90730\n    at async $.execute (/app/.next/server/edge-chunks/490.js:1:88440)\n    at async $.handle (/app/.next/server/edge-chunks/490.js:1:91997)\n    at async ex.handler (/app/.next/server/edge-chunks/490.js:2:32454)",
    "status": 500
  },
  "endpoint": "https://freeapi.***.icu/v1/chat/completions",
  "provider": "openai"
}
2 Likes

我用的官方web版本app.nextchat.dev,直接在里面填api接口的;
现在已经可以使用了,因为我在接口密钥填了你后面附赠的普号rt,感谢分享;

15 Likes

不连通测试 直接用嘞?

2 Likes

那啥 能不能发一下下面的那张图 嘿嘿嘿

7 Likes

https://jihulab.com/amzayo/1/-/raw/main/img/background/web.webp :see_no_evil:

8 Likes

似乎也不行

9 Likes

因为:poop:黄的机器被拔网线了,带不动chat2api了

5 Likes

感谢附赠的rt。我自己只有一个账号有rt,另外几个账号都是通过微软账号登录的不好搞rt

1 Like

感谢佬~~~,樱花咋没有了 哈哈哈

1 Like

樱花是个js 哈哈
图片

4 Likes

不懂问一下 rt at 分别是什么东西啊?

10 Likes

这个好啊,用了

15 Likes

感谢分享,已用

14 Likes

楼主有指出Gemini-1.5-pro 模型吗?

6 Likes

gpt-4o调用有次数限制吗 :face_with_peeking_eye: :face_with_peeking_eye:

4 Likes

没有的喔~~~

6 Likes

有的 不让商用

2 Likes