Skip to main content
Glama

image_to_video

Convert a static image into a dynamic video by supplying an image URL and a prompt. Choose from modes like first-frame, tail-frame, or recamera, and set duration and resolution.

Instructions

图生视频:将静态图片转换为动态视频(约需 1~5 分钟)。

  • image_url: 首帧图片 URL(JPEG/PNG,最大 4.7MB)

  • prompt: 视频内容描述(必填)

  • mode(模式):

    • first 首帧驱动 720P(默认)

    • first_1080p 首帧驱动 1080P

    • first_tail 首尾帧驱动 720P(需提供 tail_image_url)

    • first_tail_1080p 首尾帧驱动 1080P(需提供 tail_image_url)

    • recamera 重新运镜 720P(需提供 template_id,通过 prompt 描述运镜效果)

    • pro 视频生成 3.0 Pro 1080P(首帧,效果更好)

  • duration_sec: 5(默认)或 10

  • tail_image_url: 尾帧图片 URL(仅 first_tail / first_tail_1080p 模式需要)

recamera 模式可用运镜模板(在 prompt 中指定 template_id): hitchcock_dolly_in / hitchcock_dolly_out / robo_arm / dynamic_orbit / central_orbit / crane_push / quick_pull_back / counterclockwise_swivel / clockwise_swivel / handheld / rapid_push_pull

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNofirst
promptYes
image_urlYes
duration_secNo
tail_image_urlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description must carry the behavioral transparency burden. It does so admirably by disclosing an estimated duration ('约需 1~5 分钟'), image constraints (JPEG/PNG, max 4.7MB), mode resolutions (720P/1080P), and conditional requirements for tail_image_url and template_id. It stops short of explaining the async nature or result retrieval, but the output schema may cover that.

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

Conciseness5/5

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

The description is well-organized with a clear one-sentence purpose, followed by structured bullet points for each parameter and mode. It is slightly long but every line adds operational value, with no redundant or filler content.

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

Completeness5/5

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

For a tool with five parameters and multiple modes, the description is remarkably complete. It covers all input constraints, mode-specific behaviors, duration options, and even provides sub-list of template IDs. Since an output schema exists, not describing return values is acceptable. The only minor omission is an explicit statement about whether the operation is synchronous, but the time estimate strongly implies asynchronous.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate. It does so fully by explaining every parameter: image_url's format and size, prompt as required, mode's enumerated values with meanings, duration_sec allowed values, and tail_image_url's conditional use. It even lists specific recamera template IDs, going far beyond the bare schema.

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 opens with '图生视频:将静态图片转换为动态视频', which clearly states the tool's purpose: converting a static image into a dynamic video. This is a specific verb+resource combination that distinguishes it from sibling tools like generate_video (likely text-to-video) and image_to_image.

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

Usage Guidelines3/5

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

The description details the various modes and their prerequisites (e.g., first_tail requires tail_image_url, recamera requires template_id), giving implicit usage context. However, it never explicitly states when to choose this tool over alternatives like generate_video or image_to_image, lacking a direct comparison or exclusion note.

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/andyleimc-source/jimeng-ai-mcp'

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