Gemini CLI Integration with Luma MCP

📘 Complete Guide: Use Ace Data Cloud MCP in Gemini CLI →

Luma AI's Dream Machine video model features natural camera movement, strong physical realism, and support for image-to-video. After integrating through MCP with Gemini CLI, it can be called directly in conversations, without switching windows or copying and pasting.

Obtain an API Token

Create or copy an API Key with access to this service from General Applications in the console. For account applicability, see Gemini CLI Overview.

Obtain Ace Data Cloud API Key

Configuration

Set the environment variable ACEDATACLOUD_API_TOKEN in the terminal where Gemini CLI is launched, using an application API Key authorized to access this service. Execute the following commands in a trusted working directory to register it to your personal configuration. Single quotes preserve the variable reference.

gemini mcp add --scope user --transport http luma https://luma.mcp.acedata.cloud/mcp --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}'
gemini mcp list

After confirming that luma is shown as connected, start gemini from the same terminal.

Usage Examples

Use Luma to generate a 5-second video: a lighthouse on the sea, nighttime, waves crashing

Turn this product image (link xxx) into a 360-degree rotating showcase video

Extend the previous 5-second video to 10 seconds, maintaining the camera style

Tools

Tool Description
luma_generate_video Generate a video based on text
luma_generate_video_from_image Generate a video using a reference image
luma_extend_video Extend an existing video