Skip to main content
Glama

MiniMax MCP JS

Official
by MiniMax-AI

image_to_video

Convert an image into a video using a text prompt and specify the output path. Integrates with MiniMax API for video generation tasks, supporting synchronous or asynchronous modes.

Instructions

Generate a video based on an image.

Note: This tool calls MiniMax API and may incur costs. Use only when explicitly requested by the user.

Input Schema

NameRequiredDescriptionDefault
asyncModeNoWhether to use async mode. Defaults to False. If True, the video generation task will be submitted asynchronously and the response will return a task_id. Should use `query_video_generation` tool to check the status of the task and get the result.
firstFrameImageYesPath to the first frame image
modelNoModel to use, values: ["I2V-01", "I2V-01-Director", "I2V-01-live"]I2V-01
outputDirectoryNoThe directory to save the output file. `outputDirectory` is relative to `MINIMAX_MCP_BASE_PATH` (or `basePath` in config). The final save path is `${basePath}/${outputDirectory}`. For example, if `MINIMAX_MCP_BASE_PATH=~/Desktop` and `outputDirectory=workspace`, the output will be saved to `~/Desktop/workspace/`
outputFileNoPath to save the generated video file, automatically generated if not provided
promptYesText prompt for video generation

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "asyncMode": { "default": false, "description": "Whether to use async mode. Defaults to False. If True, the video generation task will be submitted asynchronously and the response will return a task_id. Should use `query_video_generation` tool to check the status of the task and get the result.", "type": "boolean" }, "firstFrameImage": { "description": "Path to the first frame image", "type": "string" }, "model": { "default": "I2V-01", "description": "Model to use, values: [\"I2V-01\", \"I2V-01-Director\", \"I2V-01-live\"]", "type": "string" }, "outputDirectory": { "description": "The directory to save the output file. `outputDirectory` is relative to `MINIMAX_MCP_BASE_PATH` (or `basePath` in config). The final save path is `${basePath}/${outputDirectory}`. For example, if `MINIMAX_MCP_BASE_PATH=~/Desktop` and `outputDirectory=workspace`, the output will be saved to `~/Desktop/workspace/`", "type": "string" }, "outputFile": { "description": "Path to save the generated video file, automatically generated if not provided", "type": "string" }, "prompt": { "description": "Text prompt for video generation", "type": "string" } }, "required": [ "prompt", "firstFrameImage" ], "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/MiniMax-AI/MiniMax-MCP-JS'

If you have feedback or need assistance with the MCP directory API, please join our Discord server