n8n
A workflow automation tool. The HTTP Request node can call the chat endpoint directly, with the key held in an n8n credential.
Settings
Steps
- Add an
HTTP Requestnode to the workflow. - Set
MethodtoPOSTandURLto the address above. - Set
Authenticationto a generic credential type and chooseBearer Auth. Create a credential and paste yourvk-key as the Bearer Token. - Turn on
Send Body, set the content type toJSON, and enter the body using the JSON option.
{ "model": "uncensoredllm-1", "messages": [{ "role": "user", "content": "Say hello in five words." }]}The reply is the usual chat completion object; the text is at choices[0].message.content. See chat completions for every field.
The OpenAI nodes
n8n also has OpenAI nodes and an OpenAI Chat Model node for its AI agents. Their documentation lists an API key and an optional organization ID, and does not describe a base URL setting. If your n8n version shows a base URL in the credential or in the node's options, set it to https://uncensoredllm.xyz/v1 and use the model id above. If it does not, use the HTTP Request node. The Chat Model node's Use Responses API switch is off by default, which means it sends chat completions.
Check that it works
Use the node's test step. A JSON reply with a choices array means the URL, credential and body are right.
When something does not work
401The credential holds a wrong key, or the token was pasted with the word Bearer in front. Paste the bare key. See errors.400The body is not valid JSON, ormodelormessagesis missing.404 unknown_urlThe URL must end in/chat/completionsfor this node, unlike clients that only take the base URL.