Cover image
Try Now
2025-04-08

Servidor MCP para la API de generación de videos de Vidu

3 years

Works with Finder

1

Github Watches

1

Github Forks

1

Github Stars

Vidu MCP Server

smithery badge

A Model Context Protocol (MCP) server for interacting with the Vidu video generation API. This server provides tools for generating videos from images using Vidu's powerful AI models.

Features

  • Image to Video Conversion: Generate videos from static images with customizable settings
  • Check Generation Status: Monitor the progress of video generation tasks
  • Image Upload: Easily upload images to be used with the Vidu API

Prerequisites

  • Node.js (v14 or higher)
  • A Vidu API key (available from Vidu website)
  • TypeScript (for development)

Installation

Installing via Smithery

To install Vidu Video Generation Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @el-el-san/vidu-mcp-server --client claude

Manual Installation

  1. Clone this repository:
git clone https://github.com/el-el-san/vidu-mcp-server.git
cd vidu-mcp-server
  1. Install dependencies:
npm install
  1. Create a .env file based on the .env.template and add your Vidu API key:
VIDU_API_KEY=your_api_key_here

Usage

  1. Build the TypeScript code:
npm run build
  1. Start the server:
npm start

The MCP server will start and be ready to accept connections from MCP clients.

Tools

1. Image to Video

Converts a static image to a video with customizable parameters.

Parameters:

  • image_url (required): URL of the image to convert to video
  • prompt (optional): Text prompt for video generation (max 1500 chars)
  • duration (optional): Duration of the output video in seconds (4 or 8, default 4)
  • model (optional): Model name for generation ("vidu1.0", "vidu1.5", "vidu2.0", default "vidu2.0")
  • resolution (optional): Resolution of the output video ("360p", "720p", "1080p", default "720p")
  • movement_amplitude (optional): Movement amplitude of objects in the frame ("auto", "small", "medium", "large", default "auto")
  • seed (optional): Random seed for reproducibility

Example request:

{
  "image_url": "https://example.com/image.jpg",
  "prompt": "A serene lake with mountains in the background",
  "duration": 8,
  "model": "vidu2.0",
  "resolution": "720p",
  "movement_amplitude": "medium",
  "seed": 12345
}

2. Check Generation Status

Checks the status of a running video generation task.

Parameters:

  • task_id (required): Task ID returned by the image-to-video tool

Example request:

{
  "task_id": "12345abcde"
}

3. Upload Image

Uploads an image to use with the Vidu API.

Parameters:

  • image_path (required): Local path to the image file
  • image_type (required): Image file type ("png", "webp", "jpeg", "jpg")

Example request:

{
  "image_path": "/path/to/your/image.jpg",
  "image_type": "jpg"
}

How It Works

The server uses the Model Context Protocol (MCP) to provide a standardized interface for AI tools. When you start the server, it listens for commands through standard input/output channels and responds with results in a structured format.

The server handles all the complexity of interacting with the Vidu API, including:

  • Authentication with API keys
  • File uploads and format validation
  • Asynchronous task management and polling
  • Error handling and reporting

Troubleshooting

  • API Key Issues: Make sure your Vidu API key is correctly set in the .env file
  • File Upload Errors: Check that your image files are valid and under 10MB in size
  • Connection Problems: Ensure you have internet access and can reach the Vidu API servers

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • HiveNexus
  • Un bot de chat de IA para equipos pequeños y medianos, que apoyan modelos como Deepseek, Open AI, Claude y Gemini. 专为中小团队设计的 ai 聊天应用 , 支持 Deepseek 、 Open ai 、 Claude 、 Géminis 等模型。

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。

    Reviews

    3 (1)
    Avatar
    user_WpfEMGEa
    2025-04-15

    MCP SQL Server by dennismartis is a game-changer for database management. Its intuitive interface and robust features make handling SQL operations seamless and efficient. I highly recommend this tool for any database administrator looking to streamline their workflow and enhance productivity. Check it out at https://mcp.so/server/sql_mcp_server/dennismartis.