Luma AI MCP Server logo

Luma AI MCP Server

by MCP-Mirror

This MCP server integrates with Luma AI's Dream Machine API (v1) to provide tools for generating, managing, and manipulating AI-generated videos and images via Large Language Models. It implements the Model Context Protocol (MCP) to enable seamless interaction between AI assistants and Luma's creative tools.

View on GitHub

Last updated: N/A

What is Luma AI MCP Server?

This is a Model Context Protocol (MCP) server designed to interface with Luma AI's Dream Machine API, enabling AI assistants to generate, manage, and manipulate AI-generated videos and images.

How to use Luma AI MCP Server?

To use this server, you need to configure it within an AI assistant like Claude Desktop. This involves setting the command, arguments, and environment variables (including your Luma API key) in the assistant's configuration file. Once configured, you can use the various tools provided by the server through the AI assistant's interface.

Key features of Luma AI MCP Server

  • Text-to-video generation

  • Advanced video generation with keyframes

  • Image-to-video conversion

  • Video upscaling

Use cases of Luma AI MCP Server

  • Generating AI videos from text prompts

  • Creating videos from images

  • Upscaling existing video generations

  • Adding AI-generated audio to videos

FAQ from Luma AI MCP Server

How do I get a Luma API key?

Sign up or log in to Luma AI to obtain your API key.

What video durations are supported?

Currently, the API only supports durations of 5s or 9s.

What resolutions are supported?

Valid values are 540p, 720p, 1080p, and 4k.

How do I upscale a video?

Use the upscale_generation tool with the generation ID and target resolution. The generation must be in a 'completed' state and the target resolution must be higher than the original.

What do I do if I'm having issues?

Check your API key, ensure the server path is correct, and view the logs for errors.