Skip to main content
Glama

Lip-sync a video

lip_sync

Make the person in a video say new words: their lips follow a speech or song track. Ask the user to confirm they may use the face and voice first, then set consent. Uses PopNow credits (from 12 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": {
      "video_url": "<video_url>",
      "audio_url": "<audio_url>"
    },
    "name": "lip_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoOptional: lip-sync-v1 (default), sync-lipsync-3 (clips up to 5 minutes), sync-lipsync-2 (clips up to 2 minutes), sync-lipsync-2-pro (sharper close-ups, billed by the audio length), bytedance-lip-sync or infinitetalk. All of them cost more than the default.
consentNoRequired. Set true only after the user confirms all of this: the face and voice are theirs or they have the person's permission, nobody in it is under 18, and it won't be used to mislead anyone, including about who someone is, or for anything unlawful. Never set it on your own.
audio_urlYesThe speech or song to match (popnow:// or https link, for example from create_speech).
video_urlYesThe video of the person whose lips to sync (popnow:// or https link).
max_creditsNoThe most PopNow credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / model / description
      Previous value: -"Optional: lip-sync-v1 (default) or sync-lipsync-3 (clips up to 5 minutes, costs more)."New value: +"Optional: lip-sync-v1 (default), sync-lipsync-3 (clips up to 5 minutes), sync-lipsync-2 (clips up to 2 minutes), sync-lipsync-2-pro (sharper close-ups, billed by the audio length), bytedance-lip-sync or infinitetalk. All of them cost more than the default."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "lip-sync-v1",
      -  "sync-lipsync-3"
      -]New value: +[
      +  "lip-sync-v1",
      +  "sync-lipsync-3",
      +  "sync-lipsync-2",
      +  "sync-lipsync-2-pro",
      +  "bytedance-lip-sync",
      +  "infinitetalk"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / model
      Added value: +{
      +  "description": "Optional: lip-sync-v1 (default) or sync-lipsync-3 (clips up to 5 minutes, costs more).",
      +  "enum": [
      +    "lip-sync-v1",
      +    "sync-lipsync-3"
      +  ],
      +  "type": "string"
      +}
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, open-world operation. The description adds materially more: a per-second credit cost with the default model, a mandatory consent gate that the agent must never self-set, and a two-pass quoting protocol to avoid unauthorized spend. It omits processing time, whether the job is asynchronous, and what is produced, so it is strong rather than complete.

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?

Three dense sentences, front-loaded with what the tool does before moving to prerequisites and cost. Every sentence carries operational weight; only the consent confirmation sentence mildly duplicates the schema's consent description instead of adding to it.

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 a five-parameter, credit-consuming generation tool with no output schema, the description covers the two riskiest agent behaviors — consent and unbounded spending. The remaining gap is return behavior: with no output schema present, an agent is not told what it gets back (a video reference, a job handle, or a URL), which matters for a non-idempotent generation call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning on top: max_credits is explained as part of a quote-then-confirm loop, and the default model's pricing anchors the model enum choice. The consent flag's warning is repeated but the workflow context is new.

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?

The description gives a concrete verb and resource — 'Make the person in a video say new words: their lips follow a speech or song track' — which is unmistakably distinct from sibling tools like translate_video or change_voice. It stops short of explicitly naming which sibling to use when a face/voice swap is not what the user wants, so it is clear but not sibling-routing.

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?

It prescribes a concrete operational sequence: get the user's confirmation on face/voice rights, set consent, call once to obtain a price, then call again with max_credits after the user agrees. That is genuinely actionable guidance. It does not name alternative tools or state when this tool is the wrong choice, which keeps it off the top score.

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.