-
securityF
license-
qualityA server that provides Luma AI's video generation API as the Model Context Protocol (MCP)
Last updated -
2
TypeScript
Luma AI 的 Dream Machine API 的模型上下文协议服务器。
该 MCP 服务器与 Luma AI 的 Dream Machine API (v1) 集成,提供通过大型语言模型生成、管理和处理 AI 生成的视频和图像的工具。它实现了模型上下文协议 (MCP),从而实现 AI 助手与 Luma 创意工具之间的无缝交互。
ping
create_generation
prompt
(字符串,必需):要生成的视频的文本描述model
(字符串,可选):要使用的模型(默认值:“ray-2”)resolution
(字符串,可选):视频分辨率(选项:“540p”,“720p”,“1080p”,“4k”)duration
(字符串,可选):视频时长(目前仅支持“5s”和“9s”)aspect_ratio
(字符串,可选):视频宽高比(例如,“16:9”,“1:1”,“9:16”,“4:3”,“3:4”,“21:9”,“9:21”)loop
(布尔值,可选):是否使视频循环keyframes
(对象,可选):高级视频生成的开始帧和结束帧:frame0
和/或frame1
具有以下任一功能:{"type": "image", "url": "image_url"}
用于图像关键帧{"type": "generation", "id": "generation_id"}
用于视频关键帧get_generation
generation_id
(字符串,必需):要检查的世代的 IDlist_generations
limit
(数字,可选):返回的最大代数(默认值:10)offset
(数字,可选):跳过的代数delete_generation
generation_id
(字符串,必需):要删除的世代的 IDupscale_generation
generation_id
(字符串,必需):要升级的世代的 IDresolution
(字符串,必需):升级视频的目标分辨率(“540p”、“720p”、“1080p”或“4k”之一)add_audio
generation_id
(必需):要添加音频的世代的 IDprompt
(必需):音频生成的提示negative_prompt
(可选):音频生成的负面提示callback_url
(可选):音频处理完成时通知的 URLgenerate_image
prompt
(字符串,必需):要生成的图像的文本描述model
(字符串,可选):用于图像生成的模型(默认值:“photon-1”)aspect_ratio
(字符串,可选):图像纵横比(与视频相同的选项)image_ref
(数组,可选):用于指导生成的参考图像{"url": "image_url", "weight": optional_float}
style_ref
(数组,可选):样式参考图像{"url": "image_url", "weight": optional_float}
character_ref
(对象,可选):角色参考图像{"identity_name": {"images": ["url1", "url2", ...]}}
modify_image_ref
(对象,可选):要修改的图像{"url": "image_url", "weight": optional_float}
get_credits
get_camera_motions
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
代替:
/path/to/your/luma-ai-mcp-server
替换为服务器目录的实际路径your-luma-api-key-here
为你的实际 Luma API 密钥如果您遇到问题:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
Luma API 支持通过关键帧生成各种类型的高级视频:
frame0``type: "image"
和图像 URLframe1
提供type: "image"
和图像 URLframe0``type: "generation"
和 generation IDframe1
提供type: "generation"
和 generation IDframe0
和frame1``type: "generation"
和 generation IDs麻省理工学院
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
使用 Luma AI 创建视频和图像,此 MCP 服务器处理来自 Claude Desktop 的 Luma Dream Machine 的所有 API 功能。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bobtista/luma-ai-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server