V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
unknown666
V2EX  ›  分享创造

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

  •  
  •   unknown666 · 2023-04-21 18:16:41 +08:00 · 3087 次点击
    这是一个创建于 372 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

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

    10 条回复    2023-04-26 15:07:20 +08:00
    googlefans
        1
    googlefans  
       2023-04-21 18:47:45 +08:00
    直接来个网址
    yumubi
        2
    yumubi  
       2023-04-21 19:53:47 +08:00
    centos&报错:exec /usr/local/chatgpt/chatgpt: exec format error
    randomstream
        3
    randomstream  
       2023-04-21 20:04:34 +08:00
    直接用 poe.com 得了。
    unknown666
        4
    unknown666  
    OP
       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
        5
    unknown666  
    OP
       2023-04-22 01:43:35 +08:00
    @yumubi
    已经重新推送了镜像。
    yumubi
        6
    yumubi  
       2023-04-22 13:19:57 +08:00
    可以了(✿◠‿◠)
    glovebx
        7
    glovebx  
       2023-04-25 02:32:27 +08:00
    刚试了下返回错误:{"code":500,"data":"","msg":"error: API 可能已失效!"}
    angelmake
        8
    angelmake  
       2023-04-25 15:49:09 +08:00 via Android
    怎么只有 arm 的?拉了半天😂
    unknown666
        9
    unknown666  
    OP
       2023-04-26 15:00:15 +08:00
    @glovebx vercel 估计更新了, 还没去研究。
    unknown666
        10
    unknown666  
    OP
       2023-04-26 15:07:20 +08:00   ❤️ 1
    @angelmake 估计是后面更新 build 少了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1421 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:13 · PVG 01:13 · LAX 10:13 · JFK 13:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.