Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Luma API

FreeNot checked

Enables image and video generation using Luma's API, supporting multiple models, aspect ratios, and advanced features like keyframes and style references.

GitHubEmbed

About

Enables image and video generation using Luma's API, supporting multiple models, aspect ratios, and advanced features like keyframes and style references.

README

Setup

  1. Install Claude Desktop App or any MCP client
  2. Get API Key from https://lumalabs.ai/api/keys
  3. Run sh setup.sh, here it will ask the API Key - paste it from 2.

Run

Open Claude Desktop or any MCP client

Features

Create Image

  • prompt: text
  • aspect_ratio: "1:1", "16:9", "9:16", "4:3", "3:4", "21:9", "9:21" (default: "16:9")
  • model: "photon-1", "photon-flash-1" (default: "photon-1")
  • image_ref: list of image URLs with weights to influence generation (optional), max 8
  • style_ref: single image URL with weight to influence style (optional), max 1
  • character_ref: list of character image URLs (optional), max 4
  • modify_image_ref: single image URL to modify with weight (optional), max 1

Create Video

  • prompt: text
  • aspect_ratio: "1:1", "16:9", "9:16", "4:3", "3:4", "21:9", "9:21" (default: "16:9")
  • model: "ray-2", "ray-flash-2", "ray-1-6" (default: "ray-2")
  • loop: boolean (default: false)
  • resolution: "540p", "720p", "1080p", "4k" (default: "720p")
  • duration: "5s", "9s" (default: "5s")
  • frame0_image: image URL (optional)
  • frame1_image: image URL (optional)
  • frame0_id: generation ID (optional)
  • frame1_id: generation ID (optional)

Technical Notes

  • Keyframes: Providing frame0_image/frame1_image gives more control over video start/end points
  • Video Response Time: Typical video generation takes 15-60 seconds depending on duration and resolution
  • Image Response Time: Typical generation takes 5-15 seconds depending on model complexity

from github.com/lumalabs/luma-api-mcp

Install Luma API in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install luma-api-mcp

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add luma-api-mcp -- uvx luma-mcp

FAQ

Is Luma API MCP free?

Yes, Luma API MCP is free — one-click install via Unyly at no cost.

Does Luma API need an API key?

No, Luma API runs without API keys or environment variables.

Is Luma API hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Luma API in Claude Desktop, Claude Code or Cursor?

Open Luma API on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Luma API with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All media MCPs