本站免费提供OpenAI API反向代理,无需API KEY即可使用(We offer a free OpenAI API proxy, which can be used without the need for an API KEY)

API接口地址:https://api.gravityengine.cc

https://api2.gravityengine.cc

请求方法同官方API(https://api.openai.com)

使用本站提供的API接口会自动带key请求,因此不需要自己的API Key也可以使用该接口。

使用方法示例:

如果你按照我上一篇文章的方法搭建了自己的ChatGPT-Next-Web,在Vercel找到你的项目设置,然后在环境变量里增加一条BASE_URL,值填写为:https://api.gravityengine.cc即可,具体如下图,保存即可,记住要Redeploy后才会生效。

如果你目前使用的项目不是ChatGPT-Next-Web,使用我提供的API方法也类似。

API Interface URL: https://api.gravityengine.cc
This interface employs the same request method as the official OpenAI API (https://api.openai.com). Notably, the API interface provided on this site automatically carries a key to request, negating the need for your own API Key for usage.
For an illustrative example of its usage:
Suppose you’ve configured your own ChatGPT-Next-Web instance in line with the guidelines from my previous article. Proceed by navigating to your project settings in Vercel and subsequently introduce a new environment variable, BASE_URL. The value to be entered should correspond to: https://api.gravityengine.cc or https://api2.gravityengine.cc. After successfully performing these steps, ensure to save the changes and remember to redeploy to enable the changes.
In case your current project is not ChatGPT-Next-Web, you can still leverage the provided API in a similar way.

留下评论

您的电子邮箱地址不会被公开。 必填项已用*标注