Skip to main content
Glama

happyhorse_generate_video_from_image

Generate a video from a first-frame image by animating it with optional motion and camera prompts. Set duration, resolution, and watermark for AI image-to-video output.

Instructions

Animate a first-frame image with Happy Horse.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "image_url": "<image_url>"
    },
    "name": "happyhorse_generate_video_from_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoOptional reproducibility seed.
modelNoImage-to-video model: happyhorse-1.0-i2v or happyhorse-1.1-i2v.happyhorse-1.1-i2v
ratioNoIgnored compatibility parameter: image animation inherits the source image aspect ratio.16:9
promptNoOptional motion and camera instructions for animating the image.
durationNoOutput duration in seconds, from 3 through 15.
image_urlYesPublic URL of the image to use as the first frame.
watermarkNoWhether to add a Happy Horse watermark.
resolutionNoOutput resolution: 720P or 1080P.1080P
callback_urlNoOptional webhook URL. Omit it to receive a task ID for polling.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.6
    • addedInput schema / properties / ratio / deprecated
      Added value: +true
    • changedInput schema / properties / ratio / description
      Previous value: -"Output aspect ratio: 16:9, 9:16, 1:1, 4:3, or 3:4."New value: +"Ignored compatibility parameter: image animation inherits the source image aspect ratio."
  2. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / ratio
      Added value: +{
      +  "default": "16:9",
      +  "description": "Output aspect ratio: 16:9, 9:16, 1:1, 4:3, or 3:4.",
      +  "enum": [
      +    "16:9",
      +    "9:16",
      +    "1:1",
      +    "4:3",
      +    "3:4"
      +  ],
      +  "title": "Ratio",
      +  "type": "string"
      +}
  3. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it says nothing about this being an asynchronous job — the polling/task-ID workflow is only hinted at inside the callback_url parameter. It also omits cost, latency, or failure behavior for a generative operation that likely takes seconds to minutes.

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

Conciseness3/5

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

The single sentence is front-loaded and free of waste, but at this length it is under-specified rather than genuinely concise for a 9-parameter generative tool. There is room for one more sentence on async behavior at no cost to clarity.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but the description never signals that generation is asynchronous and requires polling via happyhorse_get_task. For a long-running generation tool with a webhook option, that is a meaningful omission.

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?

Schema description coverage is 100%, including the deprecated ratio flag and the callback_url polling hint, so the baseline of 3 applies. The description adds no meaning beyond the schema for prompt, seed, duration, or resolution.

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

Purpose4/5

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

"Animate a first-frame image" states a specific verb and resource, and the image-to-video framing implicitly separates it from the text-to-video sibling happyhorse_generate_video. It stops short of naming the alternatives (references, edit_video) explicitly, so differentiation relies partly on the tool name.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this over happyhorse_generate_video_from_references or happyhorse_edit_video, and no mention of prerequisites such as the image needing a public URL. The agent must infer selection entirely from the tool name.

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