Skip to main content
Glama

Generate a video

generate_video

Start a video generation from a text prompt (optionally with a start image). Returns immediately with a request_id and the cost in credits: poll get_generation_status every 30 seconds until it completes (typically 1 to 5 minutes, up to 30 for long jobs). Failures are refunded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audioNoGenerate audio, for models that support it.
modelNoModel key from list_models (kind video). Default: seedance-2.
promptYesWhat to generate, in natural language. English works best.
durationNoDuration in seconds, among the model's durations (see list_models).
image_urlNoOptional start image URL (image-to-video). Must be media hosted on the Imaginode account (Firebase Storage URL from the media library or a previous generation).
resolutionNoResolution among the model's resolutions (see list_models).
aspect_ratioNoAspect ratio like 16:9 or 9:16 (text-to-video only).

TDQS

A4.5/5.0
Behavior5/5

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

With zero annotations, the description carries the full burden and delivers rich behavioral disclosure: the call returns immediately (async), returns a request_id and credit cost, requires polling at a specified cadence, has stated time expectations (1–5 min typical, up to 30 min), and failures are refunded. This is exactly the context an agent needs beyond the schema.

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?

Two sentences, front-loaded with the core action, followed by the critical async behavior and polling instruction. Every clause earns its place; nothing is redundant or wasted. The timing and refund details are packed into the second sentence without bloat.

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 7-parameter async tool with no output schema and no annotations, the description covers the key gaps an agent cannot infer: the return shape (request_id + cost), the follow-up procedure (polling target and cadence), expected latency, and failure handling. All parameters are fully documented in the schema, so nothing essential is missing.

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%, so baseline 3 applies. The description adds minimal parameter-level meaning beyond the schema — it echoes that prompt is the input text and image_url is optional ("optionally with a start image") — but the schema already documents all seven parameters, so the description does not need to compensate.

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 states a specific verb and resource — "Start a video generation from a text prompt" — and distinguishes itself from siblings: it explicitly names get_generation_status as the follow-up polling tool, and the phrase "optionally with a start image" adds the image-to-video scope. The word "Start" precisely signals asynchronous initiation rather than blocking generation.

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 gives clear workflow guidance: "Returns immediately... poll get_generation_status every 30 seconds until it completes," including expected duration bounds. However, it does not explicitly state when NOT to use this tool versus its siblings generate_image or list_models — the alternative selection is implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct purpose: image generation, video generation, status polling, and model listing. There is no functional overlap between them; the async nature of video generation and the status tool clearly complement each other without ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: generate_image, generate_video, get_generation_status, list_models. The verb prefixes (generate, get, list) map predictably to actions and resources.

Tool Count5/5

With 4 tools, the set is tightly scoped for a media generation server. Each tool serves a necessary role: creating images, creating videos, checking async status, and discovering models. No redundant tools exist.

Completeness5/5

The domain is AI media generation, and the lifecycle is fully covered: start an image generation, start a video generation, poll for status/results, and list available models. There are no dead ends; even timeout scenarios are addressed via get_generation_status.