Skip to main content
Glama

Generate a video

generate_video

Makes a video from an image the user owns. MOST EXPENSIVE: per second, charged on completion, purchased credits only. Async: poll get_task. Quote with dry_run:true (free), confirm with the user. Pick by job (credits/s, std/pro):

  • Still to life: kling-v3. 120/160; sound +40; 4K 600; 3-15s; end_frame_id.

  • Cheapest with sound: veo-3.1-lite-generate-preview. 4/6/8s; 8s = 280 (1080p 440); end_frame_id.

  • Keep a clip's acting, new person or scene: kling-v3-omni + reference_video_id (180/240, silent) + 3 reference_image_ids (6 with no clip).

  • Same at 120/160 when 10s, 1080p, silent do: kling-video-o1 + the clip.

  • Copy a dance onto the still's person: kling-motion-control. 180/240 per second of the clip (3-30s), silent.

  • Edit a clip by describing it: gemini-omni-1.1-flash. 140 at 720p (1080p 290, 4K 430, upscales); 3-10s set by the model; 3 reference_image_ids.

  • Long takes, dialogue, many refs: dreamina-seedance-2-5-260628. 150/330/820 (lite/std/pro), 4-30s, sound. No generation_id: follows reference_image_ids / reference_video_ids (billed as input) or text alone, in aspect_ratio. clip_task + reference_video_id edits/extends it. draft:true = 480p; finalize_draft_id renders it 1080p. whoami: default + models off. @slug or entity_ids attach entities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoDefault std 720p; pro 1080p; lite 480p; 4k per guide.
nameNoLibrary title.
audioNoKling 3.0/Omni only, never with a reference clip.
draftNo
modelNoDefault: whoami's.
promptNoThe motion; for an edit, the change.
dry_runNoQuote only (exact credits), free.
durationNoWhole seconds within the model's range. Default 5 (Veo 8); Motion Control uses the clip's.
clip_taskNo
entity_idsNo
keep_soundNoEdit: false = new sound
project_idYes
aspect_ratioNo
end_frame_idNoImage the clip lands on.
generation_idNoFirst-frame image id (Seedance: optional).
extend_directionNo
finalize_draft_idNoDraft video id; alone.
reference_video_idNoFinished video id: acting to keep, movement to copy, or clip to edit.
reference_image_idsNoStills to stay faithful to; per-model counts above.
reference_video_idsNoSeedance: clips to follow, max 30s.
character_orientationNoMotion Control: whose face, the still's or the clip's. Default video.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • addedInput schema / properties / aspect_ratio
      Added value: +{
      +  "enum": [
      +    "16:9",
      +    "9:16",
      +    "1:1",
      +    "4:3",
      +    "3:4",
      +    "21:9"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / clip_task
      Added value: +{
      +  "enum": [
      +    "edit",
      +    "extend"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / draft
      Added value: +{
      +  "type": "boolean"
      +}
    • changedInput schema / properties / dry_run / description
      Previous value: -"Quote only: exact credits_cost, nothing submitted or charged."New value: +"Quote only (exact credits), free."
    • changedInput schema / properties / end_frame_id / description
      Previous value: -"Image the clip lands on (Kling 3.0, Veo, Gemini Omni, Seedance)."New value: +"Image the clip lands on."
    • addedInput schema / properties / extend_direction
      Added value: +{
      +  "enum": [
      +    "forward",
      +    "backward"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / finalize_draft_id
      Added value: +{
      +  "description": "Draft video id; alone.",
      +  "type": "string"
      +}
    • changedInput schema / properties / generation_id / description
      Previous value: -"Source image id (generation or upload)."New value: +"First-frame image id (Seedance: optional)."
    • addedInput schema / properties / keep_sound
      Added value: +{
      +  "description": "Edit: false = new sound",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / mode / description
      Previous value: -"Default std (720p-class); pro 1080p-class; 4k where the guide lists it."New value: +"Default std 720p; pro 1080p; lite 480p; 4k per guide."
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "std",
      -  "pro",
      -  "4k"
      -]New value: +[
      +  "lite",
      +  "std",
      +  "pro",
      +  "4k"
      +]
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Library title.",
      +  "type": "string"
      +}
    • changedInput schema / properties / prompt / description
      Previous value: -"The motion to depict; for a Gemini Omni edit, the change to make."New value: +"The motion; for an edit, the change."
    • changedInput schema / properties / reference_video_id / description
      Previous value: -"A finished video id: the acting to keep (Omni/O1), the movement to copy (Motion Control), the clip to edit (Gemini Omni)."New value: +"Finished video id: acting to keep, movement to copy, or clip to edit."
    • addedInput schema / properties / reference_video_ids
      Added value: +{
      +  "description": "Seedance: clips to follow, max 30s.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "generation_id",
      -  "project_id",
      -  "prompt"
      -]New value: +[
      +  "project_id"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Default kling-v3."New value: +"Default: whoami's."
  3. Changed2 schema fields changed
    • changedInput schema / properties / end_frame_id / description
      Previous value: -"Image the clip lands on (Kling 3.0, Veo, Gemini Omni)."New value: +"Image the clip lands on (Kling 3.0, Veo, Gemini Omni, Seedance)."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "kling-v3",
      -  "kling-v3-omni",
      -  "kling-video-o1",
      -  "kling-motion-control",
      -  "veo-3.1-lite-generate-preview",
      -  "gemini-omni-1.1-flash"
      -]New value: +[
      +  "kling-v3",
      +  "kling-v3-omni",
      +  "kling-video-o1",
      +  "kling-motion-control",
      +  "veo-3.1-lite-generate-preview",
      +  "gemini-omni-1.1-flash",
      +  "dreamina-seedance-2-5-260628"
      +]
  4. Changed2 schema fields changed
    • addedInput schema / properties / entity_ids
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / reference_image_ids / description
      Previous value: -"Stills to stay faithful to. Omni/O1 up to 6, or 3 beside a reference clip (Kling counts both against one list). Gemini Omni 3."New value: +"Stills to stay faithful to; per-model counts above."
  5. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources