Skip to main content
Glama

mcp-luma-dream-machine

create_generation

Generate custom videos from text, images, or existing clips using specified prompts, models, resolutions, and aspect ratios with the MCP server for Luma Dream Machine.

Instructions

Creates a new video generation from text, image, or existing video

Input Schema

NameRequiredDescriptionDefault
aspect_ratioNo
callback_urlNo
durationNo
keyframesNo
loopNo
modelNoray-2
promptYes
resolutionNo

Input Schema (JSON Schema)

{ "$defs": { "AspectRatio": { "description": "Supported aspect ratios for video and image generations.", "enum": [ "1:1", "16:9", "9:16", "4:3", "3:4", "21:9", "9:21" ], "title": "AspectRatio", "type": "string" }, "Duration": { "description": "Duration options for Luma API video generations.\nAs of the current API version, only \"5s\" and \"9s\" are supported.", "enum": [ "5s", "9s" ], "title": "Duration", "type": "string" }, "Resolution": { "enum": [ "540p", "720p", "1080p", "4k" ], "title": "Resolution", "type": "string" }, "VideoModel": { "description": "Video generation models supported by the Luma API.", "enum": [ "ray-1-6", "ray-2", "ray-flash-2" ], "title": "VideoModel", "type": "string" } }, "description": "Input parameters for video generation.", "properties": { "aspect_ratio": { "anyOf": [ { "$ref": "#/$defs/AspectRatio" }, { "type": "null" } ], "default": null }, "callback_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Callback Url" }, "duration": { "anyOf": [ { "$ref": "#/$defs/Duration" }, { "type": "null" } ], "default": null }, "keyframes": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "default": null, "title": "Keyframes" }, "loop": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Loop" }, "model": { "$ref": "#/$defs/VideoModel", "default": "ray-2" }, "prompt": { "title": "Prompt", "type": "string" }, "resolution": { "anyOf": [ { "$ref": "#/$defs/Resolution" }, { "type": "null" } ], "default": null } }, "required": [ "prompt" ], "title": "CreateGenerationInput", "type": "object" }

MCP directory 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