How to integrate Luma Labs MCP with OpenClaw

OpenClaw is the fastest growing agent harness out there, which can work 24/7 to automate almost any kind of tasks. However, its capabilities are limited to the tools it has access to. Composio allows your OpenClaw to access Luma Labs with authentication management handled for you. You can execute actions on Luma Labs via your favorite OpenClaw interface (Telegram, WhatsApp, TUI, etc), whichever you prefer.

Luma Labs logoLuma Labs
Api Key

Luma Labs is an AI media generation platform for creating images, videos, and reusable assets through its Agents API. Use it to turn prompts and files into polished visual content fast.

11 Tools

Introduction

OpenClaw is the fastest growing agent harness out there, which can work 24/7 to automate almost any kind of tasks. However, its capabilities are limited to the tools it has access to. Composio allows your OpenClaw to access Luma Labs with authentication management handled for you. You can execute actions on Luma Labs via your favorite OpenClaw interface (Telegram, WhatsApp, TUI, etc), whichever you prefer.

Also integrate Luma Labs with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • Programmatic tool calling allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Handling Large tool responses out of LLM context to minimize context rot.
  • Dynamic just-in-time access to 20,000 tools across 1000+ other Apps for cross-app workflows. It loads the tools you need, so LLMs aren't overwhelmed by tools you don't need.

How to install Luma Labs with OpenClaw

Using Composio API Key and Setup Prompt

Copy the setup prompt from the OpenClaw dashboard
  • Run it in your OpenClaw chat interface.
  • Authenticate Luma Labs from the dashboard
  • Go back to your OpenClaw interface and start asking questions.

Using OpenClaw/Composio Plugin

1. Install OpenClaw Composio plugin

bash
openclaw plugins install @composio/openclaw-plugin

2. Copy the API Key from dashboard.composio.dev

3. Setup OpenClaw Config

bash
openclaw config set plugins.entries.composio.config.consumerKey "ck_your_key_here"

4. Restart OpenClaw

bash
openclaw gateway restart

5. Go to your chat interface and start asking questions.

6. When prompted, authenticate the app and you're all set.

How It Works

The plugin connects to Composio's MCP server at https://connect.composio.dev/mcp and registers all available tools directly into the OpenClaw agent. Tools are called by name — no extra search or execute steps needed.

If a tool returns an auth error, the agent will prompt you to connect that toolkit at dashboard.composio.dev.

Configuration

bash
{
  "plugins": {
    "entries": {
      "composio": {
        "enabled": true,
        "config": {
          "consumerKey": "ck_your_key_here"
        }
      }
    }
  }
}
OptionDescriptionDefault
enabledEnable or disable the plugintrue
consumerKeyYour Composio consumer key (ck_...)—
mcpUrlMCP server URL (advanced)https://connect.composio.dev/mcp

What is the Luma Labs MCP server, and what's possible with it?

The Luma Labs MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Luma Labs account. It provides structured and secure access to your AI generations and reusable files, so your agent can create images and videos, edit media, reframe videos, extract image layers, and manage files on your behalf.

  • AI image creation and editing: Have your agent generate new images from your instructions or submit edits to existing images.
  • Video generation and editing: Direct your agent to create videos with Ray 3.2 or edit existing footage based on your request.
  • Video reframing: Let the agent reframe a video to better suit a different composition or viewing format.
  • Image layer extraction: Instruct your agent to separate an image into reusable layers for further creative work.
  • Generation and file management: Have your agent upload, list, inspect, or delete reusable files, and check generation progress, failures, and finished outputs.

Conclusion

You've successfully integrated Luma Labs with OpenClaw using Composio plugin. Now interact with Luma Labs directly from your terminal, Web UI, or any messenger app using natural language commands.

Key benefits of this setup:

  • Seamless integration across TUI, Web UIs, and Messenger apps like Telegram, WhatsApp, Slack, etc.
  • Natural language commands for Luma Labs operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1000+ apps for cross-app workflows
  • Programmatic tool calling for complex tool chaining

Next steps:

  • Try asking OpenClaw to perform various Luma Labs operations
  • Explore cross-app workflows by connecting more toolkits like Calendar, Slack, Notion, etc.
  • Build complex automation scripts that leverage OpenClaw's 24/7 running capabilities
TOOLS

Supported Tools

Every Luma Labs action and event your agent gets out of the box.

Delete File

Soft-delete a Luma file so new generations cannot reference it.

Edit Image

Submit a paid, asynchronous Luma image-edit job.

Edit Video

Submit a paid, asynchronous Ray 3.

Extract Image Layers

Submit a paid, asynchronous Luma image layer-extraction job.

Generate Image

Submit a paid, asynchronous Luma image generation job.

Generate Video

Submit a paid, asynchronous Ray 3.

Get File

Get a Luma file's metadata and current ingest, moderation, or deletion state.

Get Generation

Get the current state, failure details, and output URLs for a Luma generation.

List Files

List files in the connected Luma account, newest first, with optional state and purpose filters.

Reframe Video

Submit a paid, asynchronous Ray 3.

Upload File

Directly upload file bytes to Luma and return the file ID, metadata, and current upload/ingest state.

FAQ

Frequently asked questions

With a standalone Luma Labs MCP server, the agents and LLMs can only access a fixed set of Luma Labs tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Luma Labs and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. OpenClaw fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Luma Labs tools.

Yes, absolutely. You can configure which Luma Labs scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Luma Labs data and credentials are handled as safely as possible.

Start with Luma Labs.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Luma Labs tool your agent needs.Free to start.

Start building