Skip to main content
Glama

Generate clip

generate_clip

Start a short video clip generation. This spends credits and returns immediately. Search list_recipes and read promising matches with get_recipe before choosing a model. Prefer a close-fitting recipe through generate_with_recipe; use this direct tool when none fits, with parameters from the chosen model's guide. Presets add Style, Motion, Lighting and Framing through the presets map. Name the account's Subjects in subjects — the server seats each one's face. Several models require a reference image, video or audio track — list_models has each model's durations, resolutions and required_inputs; create_upload, import_media or request_upload_link bring media in. One call is one shot. Longer motion: carry the last frame into the next call (extract_video_frame), then join_clips. Speech is the exception: each line of at most 15 seconds starts from the same portrait, never a chained frame. Models (credits for 5s at 720p):

  • seedance-2.5: ~96.5

  • seedance-2.0: ~75

  • seedance-2.0-fast: ~62.5

  • seedance-2.0-mini: ~37.5

  • grok-imagine-video-1.5: ~33.5, needs image

  • veo-3.1: ~83.5

  • veo-3.1-fast: ~42

  • veo-3.1-lite: ~21

  • gemini-omni-1.1: ~62.5, length set by input

  • kling-v3-omni-video: ~70

  • kling-v3-video: ~70

  • happyhorse-1.0: ~58.5

  • wan-3: ~42

  • wan-3-prime: ~58.5

  • gen-4.5: ~50

  • p-video: ~8.5

  • p-video-2: ~12.5

  • flux-3: ~71

  • minimax-h3-max: ~33.5

  • p-video-avatar: ~10.5, needs image+audio, length set by input

  • p-video-animate: ~12.5, needs image+video, length set by input

  • p-video-replace: ~12.5, needs image+video, length set by input

  • omni-human-1.5: ~67, needs image+audio, length set by input

  • kling-avatar-v2: ~22, needs image+audio, length set by input

  • kling-v3-motion-control: ~29.5, needs image+video, length set by input

  • sync-lipsync-2: ~21, needs video+audio, length set by input

  • kling-lip-sync: ~6, needs video, length set by input

  • genjutsu-motion-transfer: ~284, needs image+video, length set by input …and 1 more; list_models has every model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo
promptNo
presetsNo
subjectsNoNames or ids of the account's Subjects (list_subjects). The server supplies each one's face and description — seated against the model's capacity — so do not also attach pictures of them.
last_frameNo
resolutionNo
first_frameNo
recreate_ofNo
aspect_ratioNoDefaults to 9:16 (vertical). Confirm the shape with the user when the destination is unclear — a feed, a banner and a phone screen want different ones. With a first frame, leave it out: the clip takes the frame's own shape, and a ratio that disagrees with the frame is refused.
generate_audioNo
idempotency_keyNoOptional. Pass the same value to retry one operation without spending twice; omit it for a new operation. Different arguments under a reused key are refused.
duration_secondsNo
reference_audiosNo
reference_imagesNo
reference_videosNoThe video this clip is driven by — a source performance to copy, or the take a mouth is re-synced in. Uploads and clips you generated alike, in the shape list_media returns.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes
generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / generation / properties / ready_in_seconds
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / generation / required
      Previous value: -[
      -  "generation_id",
      -  "kind",
      -  "status",
      -  "model",
      -  "prompt",
      -  "aspect_ratio",
      -  "refined_from",
      -  "caption_style",
      -  "output_url",
      -  "credits_cost",
      -  "error",
      -  "vendor_phase",
      -  "stalled",
      -  "created_at",
      -  "app_url"
      -]New value: +[
      +  "generation_id",
      +  "kind",
      +  "status",
      +  "model",
      +  "prompt",
      +  "aspect_ratio",
      +  "refined_from",
      +  "caption_style",
      +  "output_url",
      +  "credits_cost",
      +  "error",
      +  "vendor_phase",
      +  "stalled",
      +  "ready_in_seconds",
      +  "created_at",
      +  "app_url"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / reference_audios / maxItems
      Previous value: -3New value: +10
    • changedInput schema / properties / reference_images / maxItems
      Previous value: -9New value: +30
    • changedInput schema / properties / reference_videos / maxItems
      Previous value: -3New value: +10
  3. Changed1 schema field changed
    • changedInput schema / properties / duration_seconds / anyOf
      Previous value: -[
      -  {
      -    "const": -1,
      -    "type": "number"
      -  },
      -  {
      -    "maximum": 15,
      -    "minimum": 1,
      -    "type": "integer"
      -  }
      -]New value: +[
      +  {
      +    "const": -1,
      +    "type": "number"
      +  },
      +  {
      +    "maximum": 1800,
      +    "minimum": 1,
      +    "type": "integer"
      +  }
      +]
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources