写了个免费且无需账号即可使用的 chatgpt api 代理。

2023-04-21 18:16:41 +08:00
 unknown666

基于 https://play.vercel.ai/开发了个 API 代理。

https://github.com/ClassmateLin/free-chatgpt

支持上下文,可超过 1024 个 token 。

3109 次点击
所在节点    分享创造
10 条回复
googlefans
2023-04-21 18:47:45 +08:00
直接来个网址
yumubi
2023-04-21 19:53:47 +08:00
centos&报错:exec /usr/local/chatgpt/chatgpt: exec format error
randomstream
2023-04-21 20:04:34 +08:00
直接用 poe.com 得了。
unknown666
2023-04-22 01:39:56 +08:00
@googlefans


curl --silent --location --request POST 'https://api.classmatelin.top/api' \
--header 'Content-Type: application/json' \
--data-raw '{

"model": "openai:gpt-3.5-turbo",
"prompt": "您是一个 Rust 语言专家,我有问题需要问你。\n\n 请问如何写一个 hello world 程序?"
}'
unknown666
2023-04-22 01:43:35 +08:00
@yumubi
已经重新推送了镜像。
yumubi
2023-04-22 13:19:57 +08:00
可以了(✿◠‿◠)
glovebx
2023-04-25 02:32:27 +08:00
刚试了下返回错误:{"code":500,"data":"","msg":"error: API 可能已失效!"}
angelmake
2023-04-25 15:49:09 +08:00
怎么只有 arm 的?拉了半天😂
unknown666
2023-04-26 15:00:15 +08:00
@glovebx vercel 估计更新了, 还没去研究。
unknown666
2023-04-26 15:07:20 +08:00
@angelmake 估计是后面更新 build 少了。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/934405

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX