KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
vercel-chatgpt
★ 20
Open GitHub ↗
one step, chatgpt api in serverless
Download README (.md)
Explore Similar Repositories
FineFind
:
Enhances your browser with an animation that makes Ctrl+F results more noticeable! MAINLY MANAGED ON CODEBERG https://codeberg.org/LeonsDepot/FineFind. Please open new pull request on Codeberg.
debiSH
:
Debian (10) on iSH-AOK
kernel
:
puppy-rtos kernel
eas-docs-site
:
No description available.
sms
:
A collection of phone number provider wrappers
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
vercel-chatgpt
?
Download (.md)
# Chatgpt on Vercel  <img src="http://cdn.hocgin.top/icons/vercel-chatgpt.qrcode.jpg" width="120"/> > Easily chatgpt/openai api as a ## Usage service. [](https://vercel.com/new/clone?repository-url=https://github.com/hocgin/vercel-chatgpt) ```bash curl https://${your_vercel_chatgpt}.vercel.app/api?ask=${your_ask} ``` ## Example ### Input ```bash # chatgpt curl https://vercel-chatgpt.vercel.app/api?ask=什么是Java # or openai curl https://vercel-chatgpt.vercel.app/api/openai?ask=什么是Java # or chatgpt3.5-turbo curl https://vercel-chatgpt.vercel.app/api/chatgpt?ask=什么是Java ``` ### Output ```json { "status": 200, "success": true, "message": "ok", "data": "Java 是一种广泛使用的编程语言,它可以用于开发各种各样的应用程序,包括移动应用、企业级应用和 Web 应用程序。Java 是一种面向对象的语言,它拥有丰富的类库和工具,可以帮助开发人员更快速地开发应用程序。Java 是跨平台的,这意味着可以在多种操作系统上运行,包括 Windows、macOS 和 Linux 等。Java 程序通常使用一个独立的 Java 虚拟机来执行,这样就可以保证程序在不同平台上的一致性" } ``` ## Deploy your own instance [](https://vercel.com/new/clone?repository-url=https://github.com/hocgin/vercel-chatgpt) Vercel ENV: ```env SESSION_TOKEN=${your_session_token} // or openai OPENAI_TOKEN=${your_openai_token} ``` ## License MIT