API setup · No direct connection
Claude Code + Luma Cloud
Direct connection needs Anthropic Messages compatibility, which is not a documented Luma API interface.
This client does not offer a verified direct Luma Cloud connection. Follow the alternatives below. SuperGPT desktop installation and sign-in are separate.
Before you start
- For a direct Luma connection, choose a client that supports Chat Completions or Responses.
Set up Claude Code
- Understand the protocol
Claude Code treats ANTHROPIC_BASE_URL as an Anthropic-format endpoint and sends Messages requests. Pointing that setting at an OpenAI-compatible base URL does not translate the request.
- Choose a direct alternative
Use OpenCode, Aider, Cline, or another documented compatible client with a Luma API key. Keep your existing Claude Code login and configuration.
Check the connection
- There is no direct Claude Code acceptance test in this guide. Follow the setup and verification steps for the compatible client you choose.
For errors or a request that stops, see troubleshooting. A visible model list alone does not confirm that a chat or editing task can complete.
What to expect
- Luma's documented API does not include an Anthropic /v1/messages endpoint. This page does not provide an ANTHROPIC_BASE_URL configuration.
- A third-party protocol translator is a separate integration and requires its own authentication, tools, streaming, and usage validation.
Troubleshooting Claude Code
Changing ANTHROPIC_BASE_URL returns 404
Claude Code is still sending Anthropic Messages. An OpenAI-compatible Base URL cannot change that protocol. Restore only the endpoint override you added, retaining your original Claude configuration and login.
A Luma key is rejected as an Anthropic key
Do not replace your Anthropic credentials. Create a named Luma API key for a compatible client and follow that client's recipe. Paying for a Luma plan does not authenticate Claude Code to Anthropic.
A plugin or MCP server offers Luma access
An MCP tool connection is not a replacement for Claude Code's primary model provider. Treat an external translator as a separate integration; this guide does not claim its tools, billing or streaming have been validated.
Client documentation
Settings checked on 2026-09-28. These instructions are based on the client’s documentation; installed versions may differ.
