Skip to main content
Glama

txt2vid

Generate a video from a text prompt with Puter AI using Sora, Veo, or TogetherAI, and set resolution, duration, and reference images.

Instructions

Generate a video from a text prompt using Puter AI (supports Sora, Veo, TogetherAI).

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": {
      "prompt": "<prompt>"
    },
    "name": "txt2vid"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoResolution (e.g., 1280x720)
modelNoModel name (e.g., sora-2, veo-3.1-generate-preview)
promptYesVideo content description
secondsNoVideo duration in seconds
test_modeNo
last_frameNoBase64 last frame image
output_formatNobase64
input_referenceNoBase64 first frame image
negative_promptNo
reference_imagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and delivers little. Video generation is typically long-running, asynchronous and costly, yet the description says nothing about latency, job/polling behavior, cost, auth requirements, or what is returned (base64 vs url).

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, if thin.

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?

For a 10-parameter, mutation-style, no-output-schema tool with zero annotations, one sentence is not enough. An agent cannot tell what a successful call yields, how long it takes, or how to pick a model.

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

Parameters2/5

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

Schema coverage is 60% across 10 parameters, and the description adds no parameter meaning beyond naming a few model families. Params like test_mode, negative_prompt, and reference_images are undocumented in both schema and prose, so the gap is not compensated.

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?

States a specific verb and resource ('Generate a video from a text prompt') and names the backing providers (Sora, Veo, TogetherAI). The resource type alone separates it from siblings like txt2img and txt2speech, though it never explicitly says so.

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 pick this tool over txt2img, how to choose among the listed model families, or when test_mode is appropriate. Usage is only inferable from the name and one-line purpose.

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