Skip to main content
Glama

AI Chili Video Generation Studio & API

create_video_generation

Submit a live AI video generation job via POST /v1/generations (always run plan_video_generation first).

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": {
      "api_key": "<api_key>",
      "mode": "<mode>",
      "model_id": "<model_id>",
      "prompt": "<prompt>"
    },
    "name": "create_video_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
ratioNo
promptYes
api_keyYesAI Chili Bearer key prefixed with chili_sk_.
model_idYes
workflowNoOptional workflow (general, reference, photo, talk).
ref_rolesNo
duration_sNo
resolutionNo
ref_asset_idsNo
idempotency_keyNoUnique client key sent in JSON body to prevent duplicate charges on retry.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose the two most important traits: this is a live/charged submission and it must be preceded by a planning call. It says nothing about asynchronous behavior, whether a job ID is returned, or what the response looks like — significant unknowns for a submit-style tool.

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?

A single sentence with the action, endpoint, and gating prerequisite front-loaded. No filler and nothing redundant.

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?

This is a high-complexity mutation tool (11 params, low schema coverage, no annotations, no output schema), and the description does not address what is returned or how the job is tracked. The behavioral essentials for a job-submission call — result shape, polling expectations, charge implications beyond 'live' — are missing.

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 only 27% across 11 parameters, so the description should compensate, yet it mentions nothing about mode (t2v vs i2v), ratio, resolution, duration_s, ref_asset_ids/ref_roles, or workflow. Undocumented fields like ref_roles and the interaction between mode and ref_asset_ids are left entirely for the agent to guess.

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 ('Submit a live AI video generation job') and anchors it to an endpoint (POST /v1/generations), so an agent can tell it apart from get_video_generation and plan_video_generation. The parenthetical prerequisite reinforces the distinction, though it never spells out that plan is a non-charged preview of this same job.

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 one explicit, actionable rule: always run plan_video_generation first. The word 'live' signals this is the charged/real execution branch versus planning. It stops short of naming when NOT to call it (e.g., cost estimation or read-back paths) or what to do on failure.

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.