Proton Lumo

Lumo API

@Carlostkd OpenAI compatible endpoint powered by Proton Lumo API
active

Overview

For a limited time you can use the Proton Lumo API at no cost to test, tinker, and experiment on your side projects. Drop it into any OpenAI compatible client OpenCode custom scripts, or any tool that lets you set a custom OpenAI compatible base URL.

Endpoints

GET /v1/models — list available models
POST /v1/chat/completions — chat completions skills and subagents available.

OpenCode Config

Paste this into your project's opencode.json, then start opencode it should connect automatically.

opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "lumo": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Lumo",
      "options": {
        "baseURL": "https://api.carlostkd.ch/v1"
      },
      "models": {
        "auto": {
          "name": "Lumo Auto"
        }
      }
    }
  }
}

Quick Start

  1. Copy the config into your project's opencode.json.
  2. Should connect automatically to Lumo Auto.
  3. If not Run /models and pick Lumo Auto.
  4. Start coding.

Usage (use any string for a key) you can also use stream: false

List models
curl https://api.carlostkd.ch/v1/models \
  -H "Authorization: Bearer YOUR_KEY"
Chat completion
curl https://api.carlostkd.ch/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "auto",
    "messages": [{"role": "user", "content": "hello"}],
    "stream": true
  }'
copied