Skip to main content
Glama

hailuo_generate_video_from_image

Generate a video by animating a reference image based on a text prompt that describes motion and content.

Instructions

Generate AI video from a reference image using Hailuo (MiniMax).

This allows you to create a video based on a reference image. Hailuo will
animate the image content according to your text prompt.

Use this when:
- You have a specific image you want to animate
- You want to create a video based on visual content
- You need image-to-video generation

The first_image_url parameter is required for this tool.

Returns:
    Task ID and generated video information including URLs and status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesDescription of the video motion and content. Describe what should happen in the video, how objects should move, what transitions to include.
first_image_urlYesURL of the reference image for image-to-video generation. The video will be generated based on this image. Required for minimax-i2v and minimax-i2v-director models.
modelNoVideo generation model. Options: 'minimax-i2v' (image-to-video, default for this tool), 'minimax-i2v-director' (director-mode image-to-video with more creative control).minimax-i2v
callback_urlNoWebhook callback URL for asynchronous notifications. When provided, the API will call this URL when the video is generated.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It mentions that Hailuo will animate the image content, but lacks important behavioral details such as authentication requirements, rate limits, data handling, or whether the input image is consumed or stored. The return type is mentioned vaguely, but not comprehensively.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a main sentence, explanatory paragraph, bullet-like usage scenarios, and a note on required parameter. It is concise but could be slightly trimmed; the 'Use this when' list is helpful but somewhat redundant with the opening statement.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given moderate complexity (4 params, output schema exists), the description provides a high-level overview and mentions return info. However, it omits practical details like asynchronous behavior, error handling, or potential delays, which are important for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% coverage with descriptions for all parameters, so baseline is 3. The description adds little beyond the schema: it reiterates that first_image_url is required and gives a one-sentence context for prompt. This is adequate but does not significantly enhance understanding.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Generate AI video from a reference image using Hailuo (MiniMax)' and explains that the image is animated according to the text prompt. It distinguishes from sibling tools (like hailuo_generate_video, likely text-to-video) by specifying 'image-to-video generation' and emphasizing that first_image_url is required.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description includes a 'Use this when' list with three specific scenarios (have an image to animate, want video based on visual content, need image-to-video generation). This provides clear context, but it does not explicitly state when not to use it or mention alternatives such as the text-to-video sibling.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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/AceDataCloud/HailuoMCP'

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