BL

bobtista/luma-ai-mcp-server

Analytics & monitoring

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

7 stars 4 forks 品質 47 トレンド 0

Luma AI の Dream Machine API 用のモデルコンテキストプロトコルサーバ.

概要

Luma AI の Dream Machine API 用のモデルコンテキストプロトコルサーバ。 このMCPサーバーは、Luma AIのDream Machine API (v1) と連携し、AI 生成された動画や画像の生成、管理、操作を行うためのツールを提供しています。 モデルコンテキストプロトコル(MCP)を実装し、AIアシスタントとLumaのクリエイティブツール間のシームレスなやり取りを実現します。 - テキスト・ツー・ビデオの生成 - キーフレームで高度なビデオ生成 - 画像・ツー・ビデオ変換 - ビデオの拡張と補間 - 参照画像と画像の生成 - ビデオへのオーディオの追加 - ビデオ・アップスケーリング - クレジット管理 - 生成追跡とステータスチェック - Luma APIが実行されているかどうかをチェック - パラメータは必要ありません - 新しいビデオ生成を作成します - 入力: - プロンプト(文字列、必須):生成するビデオのテキストの説明 - モデル(文字列、オプション): 使用するモデル(デフォルト: "ray-2") - 利用可能なモデル: "ray-1-6", "ray-2", "ray-flash-2" - 解像度(文字列、オプション):ビデオ解像度...

概要(AI 翻訳)

Luma AI の Dream Machine API 用のモデルコンテキストプロトコルサーバ。

概要

このMCPサーバーは、Luma AIのDream Machine API (v1) と連携し、AI 生成された動画や画像の生成、管理、操作を行うためのツールを提供しています。 モデルコンテキストプロトコル(MCP)を実装し、AIアシスタントとLumaのクリエイティブツール間のシームレスなやり取りを実現します。

特長 ✨

  • テキストツービデオ生成
  • キーフレームによる高度なビデオ生成
  • 映像への変換
  • ビデオ拡張と補間
  • 参照画像による画像生成
  • 動画の音声追加
  • ビデオアップスケール
  • クレジット管理
  • 生成追跡とステータスチェック

ツール

  1. [ping]
  • Luma APIが実行されているかどうかを確認します
  • 必要な変数無し
  1. [create_generation
  • 新しいビデオ生成を作成する
  • 入力:
  • prompt: 生成するビデオのテキストの説明
  • [model (文字列、オプション): 使用するモデル (デフォルト: “ray-2”)
  • 利用可能なモデル: “ray-1-6”, “ray-2”, “ray-flash-2”
  • [resolution(文字列、オプション):ビデオ解像度(choices: “540p”, “720p”, “1080p”, “4k”)

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Luma AI MCP Server 🎥

A Model Context Protocol server for Luma AI’s Dream Machine API.

Overview

This MCP server integrates with Luma AI’s Dream Machine API (v1) to provide tools for generating, managing, and manipulating AI-generated videos and images via Large Language Models. It implements the Model Context Protocol (MCP) to enable seamless interaction between AI assistants and Luma’s creative tools.

Features ✨

  • Text-to-video generation
  • Advanced video generation with keyframes
  • Image-to-video conversion
  • Video extension and interpolation
  • Image generation with reference images
  • Audio addition to videos
  • Video upscaling
  • Credit management
  • Generation tracking and status checking

Tools 🛠️

  1. ping

    • Check if the Luma API is running
    • No parameters required
  2. create_generation

    • Creates a new video generation
    • Input:
      • prompt (string, required): Text description of the video to generate
      • model (string, optional): Model to use (default: “ray-2”)
        • Available models: “ray-1-6”, “ray-2”, “ray-flash-2”
      • resolution (string, optional): Video resolution (choices: “540p”, “720p”, “1080p”, “4k”)
      • duration (string, optional): Video duration (only “5s” and “9s” are currently supported)
      • aspect_ratio (string, optional): Video aspect ratio (e.g., “16:9”, “1:1”, “9:16”, “4:3”, “3:4”, “21:9”, “9:21”)
      • loop (boolean, optional): Whether to make the video loop
      • keyframes (object, optional): Start and end frames for advanced video generation:
        • frame0 and/or frame1 with either:
          • {"type": "image", "url": "image_url"} for image keyframes
          • {"type": "generation", "id": "generation_id"} for video keyframes
  3. get_generation

    • Gets the status of a generation
    • Input:
      • generation_id (string, required): ID of the generation to check
    • Output includes:
      • Generation ID
      • State (queued, dreaming, completed, failed)
      • Failure reason (if failed)
      • Video URL (if completed)
  4. list_generations

    • Lists all generations
    • Input:
      • limit (number, optional): Maximum number of generations to return (default: 10)
      • offset (number, optional): Number of generations to skip
  5. delete_generation

    • Deletes a generation
    • Input:
      • generation_id (string, required): ID of the generation to delete
  6. upscale_generation

    • Upscales a video generation to higher resolution
    • Input:
      • generation_id (string, required): ID of the generation to upscale
      • resolution (string, required): Target resolution for the upscaled video (one of “540p”, “720p”, “1080p”, or “4k”)
    • Note:
      • The generation must be in a completed state to be upscaled
      • The target resolution must be higher than the original generation’s resolution
      • Each generation can only be upscaled once
  7. add_audio

    • Adds AI-generated audio to a video generation
    • Input:
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "luma": { "command": "uv", "args": [ "run", "--project", "/path/to/your/luma-ai-mcp-server", "-m", "luma_ai_mcp_server" ], "env": { "LUMA_API_KEY": "your-luma-api-key-here" } } } }