Setup
- In n8n, go to Credentials and add a new OpenAI credential.
- Fill in:
- API Key: your luv13 key
- Organization ID: leave blank
- Base URL:
https://api.luv13.ai/v1
- Save the credential.
- Add a chat node that uses OpenAI credentials, such as OpenAI Chat Model in an AI Agent or chain workflow, and select your luv13 credential.
- Set the model to a luv13 id, such as
luv13/glm-5.3-flash.
What works and what doesn't
luv13 serves GET /v1/models and POST /v1/chat/completions. Features that call other OpenAI endpoints, such as the Embeddings OpenAI node or image and audio actions, return errors because luv13 doesn't serve those paths. See Endpoints.
Check your settings first
If a workflow fails, test the same key and model outside n8n:
curl https://api.luv13.ai/v1/chat/completions \
-H "Authorization: Bearer $LUV13_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "luv13/glm-5.3-flash", "messages": [{"role": "user", "content": "Hi"}]}'For errors you might see, see Errors and Status Codes.
