Luma APIBLOCK
Powered by Ray (video) and Photon (image) models by Luma AI
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Setup
- Install Claude Desktop App or any MCP client
- Get API Key from https://lumalabs.ai/api/keys
- 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: textaspect_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 8style_ref: single image URL with weight to influence style (optional), max 1character_ref: list of character image URLs (optional), max 4modify_image_ref: single image URL to modify with weight (optional), max 1
Create Video
prompt: textaspect_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 frame0image/frame1image 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
5b1ab2fc797cOBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add luma-mcp --env LUMA_API_KEY=${LUMA_API_KEY} -- uvx luma-mcp{
"mcpServers": {
"luma-mcp": {
"command": "uvx",
"args": [
"luma-mcp"
],
"env": {
"LUMA_API_KEY": "${LUMA_API_KEY}"
}
}
}
}Exposed tools (2)
0 read · 2 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
create_image | write | Generates AI images using Luma API based on the provided parameters. |
create_video | write | Generates AI videos using Luma API based on the provided parameters. |
Trust audit
BLOCKgrade D · trust 66/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (7 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (5)
sudo apt-get update && sudo apt-get install -y jq || warn "Failed to install jq using apt-get."
sudo yum install -y jq || warn "Failed to install jq using yum."
sudo dnf install -y jq || warn "Failed to install jq using dnf."
sudo pacman -Syu --noconfirm jq || warn "Failed to install jq using pacman."
system use found in code, not declared in the description
Gates applied: no_behavioural_pass.
5b1ab2fc797cfull audit observations/trust-audit/mcp-server/lumalabs__luma-api.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 5b1ab2fc797c | BLOCK | D | 66 | first audit |
Questions
What is the Luma API MCP server?
Powered by Ray (video) and Photon (image) models by Luma AI
What tools does Luma API expose?
2 in total: 0 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Luma API safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (66/100) and found 4 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Luma API need?
It reads LUMA_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (5b1ab2fc797c), read on 2026-10-09. The repository is watched and re-audited when it changes.