Skip to main content
Glama

h3_image_to_video

Generate video with synchronized audio from a text prompt, optionally using first and last keyframe images as anchors.

Instructions

Generate video with synchronized audio from a text prompt, optionally anchored by a first and/or last keyframe (MiniMax-H3 fl2va model).

With no keyframes this is pure text-to-video. Images may be a local file path (uploaded automatically) or a name already in ComfyUI's input folder. length is a frame count at 24 fps and snaps up to the model's 17k+5 grid; 124 frames is about 5 seconds, and the trained range is roughly 124-362. Leave width/height unset: they default to 864x480, which is both faster and closer to the prompt than larger canvases. Only raise it if the user asks. This produces ONE continuous shot - it cannot contain cuts, so for a multi-shot sequence call this once per shot and edit the clips together rather than describing several shots in one prompt. Takes MINUTES: ~3-4 min at the defaults on an RTX 4090, longer at higher resolution or step count. The response carries estimated_seconds; poll job_status at that cadence instead of assuming a long run has hung. Do NOT set sage_attention without first checking list_assets - if ComfyUI runs with --use-sage-attention, sage is already on and this is redundant. Returns immediately with a prompt_id - poll job_status to get the output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNo
stepsNo
widthNo
heightNo
lengthNo
promptYes
schedulerNosimple
last_frameNo
megapixelsNo
first_frameNo
shift_audioNo
shift_videoNo
sampler_nameNores_multistep
sage_attentionNodisabled
filename_prefixNovideo/h3_i2v
Behavior5/5

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

With no annotations, the description fully discloses operational behavior: execution time ('~3-4 min at the defaults on an RTX 4090'), immediate return with a prompt_id, polling recommendation using estimated_seconds, the single-continuous-shot limitation, resolution defaults and trade-offs, frame length constraints, and the sage_attention redundancy caveat. This is exceptional transparency for a complex tool.

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 longer than typical but every sentence earns its place. It is front-loaded with the core purpose, then delivers practical operational details, performance expectations, and caveats in a structured, scannable format. No redundancy or filler.

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 15-parameter tool with no output schema, this description is remarkably complete. It covers the execution flow (returns prompt_id, poll job_status), performance, constraints, parameter defaults, and gotchas. The only minor omission is detailed error handling, but the provided context is sufficient for an agent to invoke and monitor the tool correctly.

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

Parameters4/5

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

Schema description coverage is 0%, so the description compensates by explaining the most significant parameters: length (frame count, 24fps, grid snapping, range), width/height (defaults and advice), sage_attention (do not set without list_assets), and first_frame/last_frame (local path or input-folder name). However, several parameters like steps, seed, scheduler, sampler_name, megapixels, shift_audio/video, and filename_prefix are left unexplained, though many are conventional.

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?

The description clearly states a specific action: 'Generate video with synchronized audio from a text prompt, optionally anchored by a first and/or last keyframe (MiniMax-H3 fl2va model)'. It distinguishes between text-to-video and image-anchored modes but does not explicitly differentiate from the sibling tool h3_reference_to_video, which is a similar generation tool.

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?

Provides concrete usage context such as 'With no keyframes this is pure text-to-video' and warns against multi-shot use: 'cannot contain cuts, so for a multi-shot sequence call this once per shot and edit the clips together'. Also advises checking list_assets before setting sage_attention. Does not explicitly name alternative tools, but clear situational guidance is present.

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/jonpojonpo/comfy-h3-mcp'

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