Skip to main content
Glama

Make a video from reference pictures

create_video_from_references

Make a video that keeps characters, products, outfits or places from reference pictures (or a saved character) the same, following a description of the shot. Uses PopNow credits (from 31 credits per second with the default model). Call it once for the price, then again with max_credits after the user agrees.

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": "create_video_from_references"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional model that can make videos from references (list_models with category video shows them). Leave empty for the default, MiniMax H3.
promptYesThe shot to make. Refer to the pictures in order as image 1, image 2 and so on, for example: the woman in image 1 walks her dog from image 2 through a park.
max_creditsNoThe most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
aspect_ratioNoShape: 16:9 (wide, default), 9:16 (phone) or 1:1 (square).
character_idNoOptional character from list_characters (or create_character): keeps the same face, look or product in the result.
production_idNoOptional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.
duration_secondsNoLength in seconds. Default 5. Longer costs more.
reference_image_urlsNoPictures of the characters, objects, outfits or places to keep the same in the video (https or popnow:// links), up to 7.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / production_id
      Added value: +{
      +  "description": "Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.",
      +  "type": "string"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / character_id
      Added value: +{
      +  "description": "Optional character from list_characters (or create_character): keeps the same face, look or product in the result.",
      +  "type": "string"
      +}
    • removedInput schema / properties / currency
      Removed value: -{
      -  "description": "Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).",
      -  "type": "string"
      -}
    • removedInput schema / properties / image
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "ChatGPT only: a reference picture the user attached. It becomes image 1.",
      -  "properties": {
      -    "download_url": {
      -      "description": "Temporary download link of the attached file",
      -      "type": "string"
      -    },
      -    "file_id": {
      -      "description": "ID of the attached file",
      -      "type": "string"
      -    },
      -    "file_name": {
      -      "description": "Original file name",
      -      "type": "string"
      -    },
      -    "mime_type": {
      -      "description": "MIME type of the file",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "download_url",
      -    "file_id"
      -  ],
      -  "type": "object"
      -}
    • changedInput schema / properties / max_credits / description
      Previous value: -"OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."New value: +"The most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price."
    • removedInput schema / properties / max_usd
      Removed value: -{
      -  "description": "API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.",
      -  "type": "string"
      -}
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare the mutation/side-effect profile (non-read-only, non-idempotent, open-world, non-destructive). The description adds the material behavior an agent needs: the credit cost baseline (31 credits per second with the default model) and an approval gate before spending. It leaves ambiguous whether the first 'price' call consumes credits and doesn't restate that repeats are non-idempotent and billable.

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

Conciseness5/5

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

Three short sentences ordered by importance: what it makes, what it costs, how to sequence the calls. No filler, no restatement of the title, and the cost/approval rule lands before any detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter generation tool with no output schema and fully documented params, the description covers the two things the schema can't: pricing and the human-approval sequence. It is close to complete; the remaining gap is not clarifying whether the initial price query is itself a billable generation.

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 coverage is 100%, so every parameter already has documentation and the description need not repeat it. The description reinforces the max_credits confirmation precondition, which adds mild value, but says nothing new about model, duration, aspect ratio, character_id or reference limits. Baseline 3 applies when the schema carries the load.

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?

States a specific verb and resource plus the differentiator: consistency of characters, products, outfits or places drawn from reference pictures or a saved character. That distinguishes it from the generic create_video sibling without needing to name it. The shot-description framing makes the output intent unmistakable.

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

Usage Guidelines4/5

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

Gives an explicit two-step protocol: call once to get the price, then call again with max_credits after the user agrees. This is clear when-to-use guidance for the credit flow. It stops short of stating when to prefer this over create_video or the branded-film tools, and the production_id budgeting path is only documented in the schema.

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.