Skip to main content
Glama

Put your AI influencer into your own video

create_scene_replace_clip

Put an AI influencer into a video the user filmed or holds the rights to: the AI influencer takes the place of the person in it, in that video's own room, light and camera, and the clip carries a visible "AI generated" label.

Instructions

Put an AI influencer into a video the user filmed or holds the rights to: the AI influencer takes the place of the person in it, in that video's own room, light and camera, and the clip carries a visible "AI generated" label. Same as clipugc videos replace. Needs a look of an AI influencer designed in ClipUGC (not the user's own photo) and a local video file, mp4/mov, at most 50 MB and 30 seconds; it is uploaded first. Costs 3 credits per second of the video, rounded up, capped at 30 seconds (confirm with get_credits). Rendering takes several minutes. Returns the clip id and status. Generation runs in the background. Poll get_video with {"id": , "kind": "clip"} every 5 to 10 seconds until status is "completed" or "failed", then call download_video.

Input Schema

NameRequiredDescriptionDefault
imageYesId of a look of an AI influencer designed in ClipUGC (same as --image).
driverYesLocal path of the user's own video, mp4/mov, max 50 MB and 30s (same as --driver).
keep_soundNoKeep the video's original sound (same as --keep-sound).
resolutionNo480p, 580p or 720p, default 720p (same as --resolution).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.2
    • changedInput schema / properties / image / description
      Previous value: -"Id of a generated character look (same as --image)."New value: +"Id of a look of an AI influencer designed in ClipUGC (same as --image)."
  2. Addedv1.4.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), the description discloses credit cost per second with a cap, background/asynchronous generation, multi-minute render latency, the visible "AI generated" label burned into the output, and upload behavior. That is far richer than annotations alone.

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

Conciseness4/5

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

Purpose is front-loaded, followed by requirements, cost, and the polling workflow in a logical order with no filler. It is a dense block of text rather than cleanly separated sentences, which slightly hurts scannability, but every clause carries useful information.

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?

With no output schema, the description compensates by stating the return value (clip id and status), that generation is asynchronous, and the exact polling loop (get_video with {"id": <clip id>, "kind": "clip"} every 5-10s until completed/failed) followed by download_video. Nothing an agent needs to complete the workflow is missing.

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 the parameters are already documented. The description reinforces the image and driver semantics (influencer look vs. user photo, mp4/mov limits) but adds little syntax beyond the schema, and keep_sound and resolution are only covered by the schema. Baseline 3 applies.

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: an AI influencer takes the place of the person in the user's own video, preserving the original room, light and camera. This is clearly distinguishable from sibling tools like create_clip, create_motion_clip and create_character, which do not perform person replacement on an existing clip.

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 concrete preconditions (a ClipUGC-designed influencer look, not the user's own photo; a local mp4/mov under 50 MB and 30s) and an explicit cost-check step via get_credits. It does not directly contrast with sibling generation tools, but the prerequisites are specific enough to route the agent correctly.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.