PublicGPTService || Free GPT3 API || Darkmash
- Public API url : https://main--publicgptservice.repl.co/generate
/generate [Get] - > generate reply,
You can pass in the prompt in
the prompt header..
And you get json response.. Like :
{
"return" : "[gpt's response]"
}
Using curl :
curl -i -H "Accept: application/json" -H "prompt: [what you wanna ask]" https://main--publicgptservice.repl.co/generate
- (currently only works on linux/macOS):
- This will start a local API at "http://127.0.0.1:5000/"
git clone https://github.com/darkmash-org/PublicGPTService.git
cd PublicGPTService
python main.py # use python3 if python is python2 (the code only work on python3)