Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

zbronya/free-chat-to-api

Repository files navigation

Free chat to api

中文文档

Features

  • free chat to api
  • free chat gateway

Installation

docker run -d -p 8484:8484 --name free-chat-to-api ghcr.io/zbronya/free-chat-to-api:latest

Usage

curl 'http://127.0.0.1:8484/v1/chat/completions' \
--header 'Content-Type: application/json' \
--data '{
    "model": "gpt-3.5-turbo",
    "messages": [
        {
            "role": "user",
            "content": "Say this is a test! "
        }
    ],
    "stream": true
}'

Environment Variables

  • PORT - port to listen on (default: 8484)
  • BIND - address to bind to (default: 0.0.0.0)
  • PROXY_URL - proxy url
  • GATEWAY_URL - gateway url (default: https://chatgpt.com)

What's next

About

Free ChatGPT API (No login required)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published