Skip to content
Docs/Integrations/n8n

n8n

A workflow automation tool. The HTTP Request node can call the chat endpoint directly, with the key held in an n8n credential.

Settings

Method
POST
URL
https://uncensoredllm.xyz/v1/chat/completions
Authentication
Generic Credential Type, Bearer Auth
Bearer Token
your vk-... key
Body Content Type
JSON

Steps

  1. Add an HTTP Request node to the workflow.
  2. Set Method to POST and URL to the address above.
  3. Set Authentication to a generic credential type and choose Bearer Auth. Create a credential and paste your vk- key as the Bearer Token.
  4. Turn on Send Body, set the content type to JSON, and enter the body using the JSON option.
payload.jsonJSON
{  "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

  • 401 The credential holds a wrong key, or the token was pasted with the word Bearer in front. Paste the bare key. See errors.
  • 400 The body is not valid JSON, or model or messages is missing.
  • 404 unknown_url The URL must end in /chat/completions for this node, unlike clients that only take the base URL.