How to integrate with DigitalOcean's GenAI Platform?

Describe the problem/error/question

I am trying to configure a new credential for my GenAI platform in Digital Ocean.

What is the error message (if any)?

Couldn’t connect with these settings
Not Found

Please share your workflow

None to share as this is a credential

Information on your n8n setup

  • n8n version: 1.80.4
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): N/A
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 24.10 x64

Hey @authex To connect n8n to DigitalOcean’s GenAI Platform API, you can utilize the HTTP Request node in n8n.
HTTP Request node

hi @authex DigitalOcean’s GenAI Platform doesn’t have direct integration with n8n yet, but you can connect using HTTP Request nodes:

  1. Create a Generic API credential:
  2. Use HTTP Request node with these settings:
Method: POST
URL: https://api.digitalocean.com/v2/ai/completions
Authorization: Bearer Token
Token: {{$credentials.DigitalOcean_GenAI.apiKey}}
Headers: Content-Type: application/json
Body (JSON):
{
  "model": "llama3-70b-instruct",
  "prompt": "Your prompt here",
  "max_tokens": 500
}
  1. For different operations:
  • Text completions: /v2/ai/completions
  • Embeddings: /v2/ai/embeddings

if my comment helped solving your question please consider marking it as solution that would be a great help, and few likes would make my day.
Thank you

@jan — any chance the n8n team is working on either a generic chat model component that’s widely configurable (endpoint, keys, etc) or a specific Digital Ocean GenAI platform chat model component?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.