fal-mcp-server

fal-mcp-server

2

The AI Video Generator MCP Server is a tool that uses AI models to convert text or images into videos. It supports advanced models for high-quality video production, offers customization options for the output, and integrates with tools like Claude Desktop for seamless operation.

AI Video Generator MCP Server

Overview

  • This project provides a Model Context Protocol (MCP) server that uses AI image generation models to create videos from text prompts or images.

Supported Models

  • Luma Ray2 Flash for advanced image-to-video conversion.
  • Kling v1.6 Pro for high-quality image-to-video conversion.

Features

  • Video generation from text prompts.
  • Video creation using start and/or end images.
  • Control over video parameters (aspect ratio, resolution, length, loop).
  • Select AI models for generation.

Installation

  1. Clone the repository.
  2. Install dependencies.
  3. Create a .env file and set the FAL.AI API key.

Building and Running

  • Build the server with npm run build.
  • Run the server with npm start.

Integration with Claude Desktop

  • Add server configuration in claude_desktop_config.json to use it within Claude Desktop.

Tools Available

generate-video

Generate videos from text prompts or images using AI models.

check-video-status

Check the status of video generation requests.

Model Comparison

  • Luma Ray2 Flash: Smooth motion and realistic effects.
  • Kling v1.6 Pro: Detailed textures and stylized results.

Limitations

  • Video generation may take time, especially for higher resolutions.
  • A valid FAL.AI API key and credits are required.

Troubleshooting

API Key Error

Ensure that the FAL_KEY environment variable is set correctly.

Video Generation Error

Check logs for detailed error messages and common issues.