Skip to main content
Glama

mcp-luma-dream-machine

generate_image

Transform text prompts into custom images with specified models, aspect ratios, and references for character or style adjustments. Ideal for dynamic visual content creation.

Instructions

Generates an image from a text prompt

Input Schema

NameRequiredDescriptionDefault
aspect_ratioNo
callback_urlNo
character_refNo
image_refNo
modelNophoton-1
modify_image_refNo
promptYes
style_refNo

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" }, "ImageIdentity": { "description": "Collection of images representing an identity.", "properties": { "images": { "items": { "type": "string" }, "title": "Images", "type": "array" } }, "required": [ "images" ], "title": "ImageIdentity", "type": "object" }, "ImageModel": { "description": "Image generation models supported by the Luma API.", "enum": [ "photon-1", "photon-flash-1" ], "title": "ImageModel", "type": "string" }, "ImageRef": { "description": "Reference to an image with optional weight.", "properties": { "url": { "title": "Url", "type": "string" }, "weight": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Weight" } }, "required": [ "url" ], "title": "ImageRef", "type": "object" }, "ModifyImageRef": { "description": "Reference to an image to modify with optional weight.", "properties": { "url": { "title": "Url", "type": "string" }, "weight": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "default": null, "title": "Weight" } }, "required": [ "url" ], "title": "ModifyImageRef", "type": "object" } }, "description": "Input parameters for image generation.", "properties": { "aspect_ratio": { "anyOf": [ { "$ref": "#/$defs/AspectRatio" }, { "type": "null" } ], "default": null }, "callback_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Callback Url" }, "character_ref": { "anyOf": [ { "additionalProperties": { "$ref": "#/$defs/ImageIdentity" }, "type": "object" }, { "type": "null" } ], "default": null, "title": "Character Ref" }, "image_ref": { "anyOf": [ { "items": { "$ref": "#/$defs/ImageRef" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Image Ref" }, "model": { "$ref": "#/$defs/ImageModel", "default": "photon-1" }, "modify_image_ref": { "anyOf": [ { "$ref": "#/$defs/ModifyImageRef" }, { "type": "null" } ], "default": null }, "prompt": { "title": "Prompt", "type": "string" }, "style_ref": { "anyOf": [ { "items": { "$ref": "#/$defs/ImageRef" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Style Ref" } }, "required": [ "prompt" ], "title": "GenerateImageInput", "type": "object" }

Other Tools from mcp-luma-dream-machine

Related Tools

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