Skip to main content
Glama

Generate an AI motion clip

autoshort_generate_motion_clip
Idempotent

Turn a text-to-video prompt into ONE AI motion clip (Seedance 2.0 unless another model is named). The prompt is sent EXACTLY as written: no script is written, no still images are made, no voice is added, nothing is rewritten or shortened. USE THIS TOOL when the user pastes or asks for a cinematic / video-model prompt (camera moves, lens, lighting, a scene description, "9:16 vertical", "slow dolly-in", the kind ChatGPT or Claude writes for Seedance, Sora or Veo). For a narrated story or facts video use autoshort_generate_chat_video. The clip is silent (no audio, no lip-sync, no talking), 4-12 seconds (default 5), resolution 480p/720p/1080p (default 480p; higher resolutions need a higher plan: PLAN_TIER_LOCKED). Standard price: 20 credits per second, so 5 s = 100 credits and 12 s = 240; call autoshort_quote_video first and tell the user the price before creating. The per-second prices written in this description are STANDARD prices, not necessarily yours: an account whose credits were bought at full list price pays less. Your own price is credits in autoshort_estimate_cost and autoshort_quote_video (with priceClass, standardCredits and lowerCredits) and creditsPerSecond per model and resolution in autoshort_list_options -> clipPrices (autoshort_list_options -> clipPriceClass says why and how an account becomes eligible). The credits are held when the clip is accepted and returned in full if no clip comes back. Optional model: "wan-3.0" makes the clip with Wan 3.0 instead (must be asked for by name; silent like every clip here; 30 at 480p, 59 at 720p, 118 at 1080p standard credits per second; its resolutions need the plan the answer names; not with source_video_id). The only text added to the prompt is a short server suffix ("No spoken dialogue, no lip-sync, no talking to camera, no watermark."); the answer echoes promptSent and the seed so the user can see and repeat exactly what was made. Not accepted (CONTENT_POLICY, nothing charged): real or famous people, minors, sexual content, protected characters or brands, deepfakes. This tool makes SILENT clips from text: speech and lip-sync are not available here, and a first-frame photo is not supported yet. For a speaking shot of a stylised or fictional character from the user's own image (never a real person), use autoshort_generate_image_to_video with speech. Optional character_id: the id of one of YOUR character sheets (autoshort_get_character_sheet); the clip then opens on your character already inside the scene you describe (a start frame drawn from that sheet's chosen image; if it cannot be drawn, the sheet image itself). The character can still drift while it moves; it is not a guarantee of an identical face. A sheet that is not yours or not ready is CHARACTER_NOT_FOUND (nothing charged). Same price. Optional templateId: one of the 26 ready clip templates from autoshort_list_templates (kind "motion"); its prompt, seconds and aspect ratio are used. If you also pass prompt, the prompt wins and the template is ignored. An unknown templateId is refused (INVALID_INPUT, nothing charged). Trial accounts get up to 10 clips of up to 5 s each (MOTION_TRIAL_LIMIT); at most 2 clips run at once; a daily capacity limit applies (DAILY_CAP_REACHED). Rendering is asynchronous: poll autoshort_get_video every 20 seconds until COMPLETED (videoUrl is an MP4) or FAILED (errorCode, creditsRefunded). Pass idempotencyKey so a retry never charges twice. DRAFT THEN FINAL: iterate at 480p, then pass finalize_from (the chosen clip id) to make that take at 720p: same prompt, first frame, length and seed, priced as a 720p clip; asking twice returns the first final. It is a new generation, so the motion will differ from the draft. On this server only a clip made with model "wan-3.0" has a final: a clip of the default model is 480p only (RESOLUTION_NOT_AVAILABLE / PLAN_TIER_LOCKED otherwise, nothing charged).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "autoshort_generate_motion_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoOptional. The answer always returns the seed used; pass it again to ask for a similar take (the provider treats it as best effort). With model "wan-3.0": at most 2147483647.
modelNoOptional. "seedance" (default) or "wan-3.0". The price per second and the plan each resolution needs differ by model; autoshort_quote_video prices the exact call.
promptNoThe video prompt, exactly as the user wrote or pasted it (8-2000 characters). Do not summarise, translate or "improve" it: it is sent to the video model unchanged. Required unless templateId is given.
durationNoClip length in whole seconds (default 5). Trial accounts: at most 5.
resolutionNoOutput resolution (default 480p). Higher ones cost more credits per second and need a higher plan.
templateIdNoOptional. The id of a motion clip template (autoshort_list_templates, kind "motion"): its ready-made prompt is sent as written. Ignored when prompt is also given.
aspect_ratioNoFrame shape (default 9:16, vertical).
character_idNoOptional. The id of one of your own READY character sheets: the clip opens on your character inside the scene you describe (the sheet is the identity reference). Describe the scene and the motion in the prompt.
finalize_fromNoDraft-then-final: the id of one of YOUR finished clips (typically a cheap 480p draft). Makes it again at resolution (default 720p) with the SAME prompt, first frame, length, aspect and seed; send only this, resolution and idempotencyKey. A film draft (autoshort_draft_video scenes[].clip_id = the draft clip) then renders with the final take automatically. This is a NEW generation at the higher resolution from the same prompt, first frame, length, aspect and seed as the draft. Video models do not replay a take exactly: the camera move and the action will be close but not identical to the 480p draft. Watch the final before using it; if the draft take was the one you wanted, keep the draft (it is scaled to the film frame at render). A character clip starts from the sheet's CURRENT chosen image. Not happy with the final? Call again with another seed for a new take (charged as a new clip).
idempotencyKeyNoRetry-safe: a repeat with the same key returns the first answer (replayed: true) and charges nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / seed / description
      Previous value: -"Optional. The answer always returns the seed used; pass it again to ask for a similar take (the provider treats it as best effort)."New value: +"Optional. The answer always returns the seed used; pass it again to ask for a similar take (the provider treats it as best effort). With model \"wan-3.0\": at most 2147483647."
  2. Changed2 schema fields changed
    • addedInput schema / properties / model
      Added value: +{
      +  "description": "Optional. \"seedance\" (default) or \"wan-3.0\". The price per second and the plan each resolution needs differ by model; autoshort_quote_video prices the exact call.",
      +  "enum": [
      +    "seedance",
      +    "wan-3.0"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / resolution / enum
      Previous value: -[
      -  "480p"
      -]New value: +[
      +  "480p",
      +  "720p",
      +  "1080p"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / character_id / description
      Previous value: -"Optional. The id of one of your own READY character sheets: the clip starts from that sheet's chosen image. Describe the motion in the prompt."New value: +"Optional. The id of one of your own READY character sheets: the clip opens on your character inside the scene you describe (the sheet is the identity reference). Describe the scene and the motion in the prompt."
    • addedInput schema / properties / finalize_from
      Added value: +{
      +  "description": "Draft-then-final: the id of one of YOUR finished clips (typically a cheap 480p draft). Makes it again at resolution (default 720p) with the SAME prompt, first frame, length, aspect and seed; send only this, resolution and idempotencyKey. A film draft (autoshort_draft_video scenes[].clip_id = the draft clip) then renders with the final take automatically. This is a NEW generation at the higher resolution from the same prompt, first frame, length, aspect and seed as the draft. Video models do not replay a take exactly: the camera move and the action will be close but not identical to the 480p draft. Watch the final before using it; if the draft take was the one you wanted, keep the draft (it is scaled to the film frame at render). A character clip starts from the sheet's CURRENT chosen image. Not happy with the final? Call again with another seed for a new take (charged as a new clip).",
      +  "maxLength": 64,
      +  "minLength": 8,
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which only declare mutation/open-world/idempotency), the description discloses credit hold-and-refund behavior, asynchronous rendering with a 20s polling cadence, content-policy rejections that cost nothing, trial and daily caps, plan-gated resolutions, and character drift risk. None of this contradicts the supplied annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the 'USE THIS TOOL' trigger are correctly front-loaded, but the middle collapses into a dense pricing disquisition (standard vs. account-specific credits, wan-3.0 per-second rates, plan tiers) whose key facts are restated in later sentences. It is informative but over-long for a description, and a reader must untangle repeated pricing caveats.

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 10-parameter, zero-required, mutation tool with no output schema, the description covers the full lifecycle: quote-then-create pricing flow, idempotency, async polling, draft-then-final iteration, and error codes. An agent has everything needed to call it and to interpret what comes back.

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 coverage is 100%, so the schema already documents each parameter; the description nonetheless adds real meaning, notably that prompt overrides templateId, that character_id causes the clip to open on the sheet's chosen image, and that finalize_from reuses prompt/frame/length/seed at a higher resolution. Some of that overlaps with the schema text, keeping it at 4 rather than 5.

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 opening sentence names a specific verb and resource ('Turn a text-to-video prompt into ONE AI motion clip') and pins the default model (Seedance 2.0). It explicitly contrasts with siblings autoshort_generate_chat_video and autoshort_generate_image_to_video, so an agent can route correctly without opening another 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?

The description gives an explicit trigger ('USE THIS TOOL when the user pastes or asks for a cinematic / video-model prompt') with concrete signals like camera moves and '9:16 vertical', then names two alternatives with the conditions that select them. It also states when this tool cannot serve the request (speech/lip-sync, first-frame photo).

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