API Docs ¶
Request Mode Websocket WSS ¶
ChatGPT+ws:///ws
Example URI
wss /ws
Payload Send
- websocket.send()
string(required)send payload json {"prompt":"text anda", "type":"chatgpt3"}
Request
returns chatResponse
200Headers
api-key: <apikey anda>;
type: chat
model: chatgpt3Messages Output
messages{
{type: text}
{type: text}
{type: text}
{type: text}
{type: text}
}