Skip to main content
Glama

Generate Video From References

beatra.videos.generate_from_references
Idempotent

Generate from ordered image, video, and audio references. Use animate for one strict opening image and interpolate for strict first and last frames. Call beatra.models.list before model or cost comparisons. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.

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": {
      "references": "<references>",
      "client_request_id": "<client_request_id>"
    },
    "name": "beatra.videos.generate_from_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNo
modelNoUse auto for request-dependent selection from the ordered live candidates. A concrete model is evaluated exactly as requested and is never substituted.auto
promptNoOptional instructions describing how the ordered references should guide the output.
durationNoRequested output duration as integer seconds, or 'auto' when the selected model may choose its documented duration. Omit to use the selected model default.
watermarkNoWhether generated video should include the model watermark.
referencesYesOne to fifty ordered image, video, or audio references. Model-specific kind, count, duration, and combination limits still apply.
resolutionNoRequested model-defined output resolution tier. Omit to use the selected model's declared default; unsupported tiers are rejected rather than coerced.
web_searchNoWhether the selected model may use web search during generation.
aspect_ratioNoExplicit output ratio when the selected model accepts it. Omit for a declared model default, source-derived ratio, or fixed model behavior.
output_formatNoOptional output container. Omit or use mp4 for the existing default; models that advertise mov can return MOV without transcoding.
enhance_promptNoAsk the selected model to rewrite the prompt before generation. Omit or use null to keep the prompt exactly as written.
generate_audioNoWhether the selected model should generate synchronized audio.
negative_promptNoContent or qualities to avoid when supported by the selected model.
client_request_idYesStable retry identity for this billable operation. Reuse only for the exact same generation arguments.
return_last_frameNoWhether to return the generated video's last frame as an image artifact.

Output Schema

NameRequiredDescriptionDefault
taskNo
errorNo
usageNo
statusNo
billingNo
task_idNo
terminalNo
artifactsNo
resolved_modelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare mutation, idempotency, and open-world reach, but not cost or lifecycle. The description adds materially beyond them: the call is billable and consumes credits, it creates an asynchronous task rather than returning a video, it must be submitted exactly once, and client_request_id may only be reused for an identical retry. Those are exactly the operational facts an agent needs to avoid double-billing.

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?

Five short sentences, front-loaded with the purpose and alternative routing before the cost/lifecycle warnings. Slightly redundant: the client_request_id retry rule restates the schema's own description of that field, though the emphasis is defensible for a billable, idempotent call.

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 billable async generation tool with 93% schema coverage, an output schema, and full annotations, the description covers the remaining gaps: routing to siblings, the models.list prerequisite, cost, async lifecycle, and retry identity. An agent has everything needed to call it once and correctly.

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 93%, so the schema already documents model, duration, resolution, aspect_ratio, references, and client_request_id in detail. The description adds only the retry semantics of client_request_id and the notion that references are order-sensitive, both of which are already present in the schema. Baseline 3 is appropriate when the schema carries almost all parameter meaning.

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?

Opens with a specific verb+resource plus the distinguishing input shape: 'Generate from ordered image, video, and audio references.' It immediately separates itself from the two closest siblings by naming animate (one strict opening image) and interpolate (strict first and last frames), so an agent can route without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use-this vs when-to-use-alternatives ('Use animate for... and interpolate for...'), plus a prerequisite ('Call beatra.models.list before model or cost comparisons') and the required workflow after submission ('poll with beatra.tasks.get'). Nothing about selection is left to inference.

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.

Resources