From dcc7d804ed2e803e0c7ba9eb2f62da60aa629c72 Mon Sep 17 00:00:00 2001 From: Matan Date: Sun, 5 Nov 2023 12:19:57 +0200 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index ffd506a..2ee0000 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,17 @@ Inputs: Outputs: * Serving Config - A basic reference for this serving, used by the other nodes of this toolkit to get arguments and return images. + +**WebsocketServing** + +This will connect to a websocket and wait for JSON of {_requestId, prompt, arguments} and will return a json of {_requestId, base64_img} +You can see an example ws server over at examples/websocket.js + +Inputs: +* websocket_url - the url of the websocket you connect to, if you use the example it will be ws://localhost:8080 + +Outputs: +* Serving Config - A basic reference for this serving, used by the other nodes of this toolkit to get arguments and return images.