Skip to main content
Glama

generate_video

Generate a video from a text prompt or animate a start image using LTX-2.3 on your local GPU. Returns a prompt ID; video is saved to output/video/.

Instructions

Generate a short video from a text prompt (text-to-video), or animate a start image (image-to-video when image is given) — the high-level entry point. Composes an LTX-2.3 distilled workflow on your LOCAL GPU using the render-verified Comfy-Org node stack (gemma text encoder + abliterated/distilled LoRAs). Needs the LTX-2.3 models (~24-46GB): install with apply_manifest --path packs/ltx-2.3-txt2vid/manifest.yaml (or ltx-2.3-img2vid for i2v); returns an actionable error if the checkpoint is missing. seconds is converted to an 8n+1 frame count. For i2v, higher strength means MORE adherence to the start frame but LESS motion (1.0 can freeze the clip) — keep ~0.6. This minimal path omits the synchronized audio + stage-2 spatial upscale that the full ltx-2.3 packs ship. Returns prompt_id immediately; the video is written under output/video/ — find it with list_output_images (VHS/SaveVideo outputs may not appear in /history).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cfgNoCFG scale (default 1.0 for the distilled model)
fpsNoFrames per second (default 25)
seedNoSeed (omit to randomize)
imageNoFor image-to-video: filename of the start image in ComfyUI's input dir (upload it first)
stepsNoSampling steps (default 8 for the distilled model)
promptYesText description of the video (actions over time, visual details)
secondsNoClip length in seconds (default 4; ~10s max)
strengthNoi2v only: adherence to the start frame, 0-1 (default 0.6; higher = less motion)
checkpointNoLTX checkpoint filename in models/checkpoints/; auto-selected if omitted
resolutionNo'WIDTHxHEIGHT' e.g. '768x512' (rounded to multiples of 32; default 768x512)
filename_prefixNoOutput filename prefix (default 'video/ltx-2.3')
negative_promptNoNegative prompt (default: empty / from defaults)
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: it runs on local GPU, requires LTX-2.3 models, provides actionable errors for missing checkpoints, describes the frame count formula, explains the strength parameter effect, notes the omission of audio/upscale, and details output behavior (returns prompt_id immediately, writes to output/video/). No contradictions.

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 the purpose front-loaded. Each sentence adds value, covering prerequisites, usage modes, parameter details, and output handling. It is fairly concise given the technical depth, though slightly long but appropriate.

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?

The description covers all necessary context: prerequisites (model installation), input modes, parameter explanations, output behavior (prompt_id, file location), and how to retrieve the video. Despite missing output schema, it provides sufficient information for an agent to use 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 100%, but the description adds significant value by explaining defaults (e.g., cfg=1.0, steps=8, strength=0.6), usage tips (e.g., 'keep ~0.6'), and the seconds-to-frames conversion. This enhances understanding beyond the 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 clearly states the tool's purpose: 'Generate a short video from a text prompt (text-to-video), or animate a start image (image-to-video when `image` is given)'. It differentiates itself from siblings like generate_audio and generate_image by specifying video generation and being the high-level entry point.

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 provides usage guidance by explaining when to use it (text-to-video or image-to-video), mentions that it's a minimal path without audio/upscale, and suggests using list_output_images to find the video. It does not explicitly compare to siblings but the context is clear.

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/artokun/comfyui-mcp'

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