Skip to main content
Glama

Lip sync video

lip_sync_video

Make the mouths in an existing video match a voice, keeping the original picture and motion. Send the video in video_url and the voice in audio_url, which replaces the video's audio; leave audio_url out when the video already has the voice in it. To place a shorter voice at a set moment, give audio_start_seconds: only that stretch is lip-synced and the video's own sound plays around and under the voice. Model: pixverse (default) or sync-3; leave model out unless the user names one. Animals, cartoons and other non-human faces can fail or come out distorted; say so before a paid attempt.

Only the voiced lines are sent for lip sync, each with a short margin; the rest of the picture is untouched. Long pauses in the video's own voice are not sent; with a new voice, pauses shorter than 2 seconds are sent so the mouth closes during them. The quote counts the whole voice up to the video's length (pixverse 20 + 12 credits a second, sync-3 60 + 36); the final charge counts only the seconds sent, so it is often lower, never higher. estimate_generation with operation lip_sync gives the quote.

Speakers are found from the picture. With model sync-3, describe who says what in prompt when it isn't obvious ("the man on the right", "the first voice is the owl, the second is the squirrel"): only that character's mouth is synced in each line; lines whose speaker is off screen or has the mouth out of view are left alone, not charged, and listed in warnings. When prompt does not pick out one character, the job stops before anything is sent, nothing is charged, and the error says how to describe the speaker. pixverse cannot be told who speaks: there prompt is not used and the result warns.

In Review mode the request waits for the user's approval in the attached card. Returns a job; a short clip takes a few minutes, a minute of dialogue longer. check_job returns the permanent video URL once it is completed. A failed job is refunded automatically. Identical requests within 10 minutes reuse the job; set force_new only when the user wants another result.

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>"
    },
    "name": "lip_sync_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNopixverse (default) or sync-3. Leave it out unless the user names a model.
promptNoWho says what, in plain words, for example "the first voice is the owl, the second is the squirrel". Used with model sync-3; leave it out when the speakers are obvious.
audio_urlNoThe voice, which replaces the video's audio. Leave it out when the video already has the voice in it.
force_newNoAn identical request submitted in the last 10 minutes returns that job without charging again; true generates it again.
video_urlYesThe existing video whose mouths should move.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.
budget_projectNoOptional budget project this generation's cost counts toward, for tracking spend per client or job. Pass its slug; an id or the exact display name also works. Create one with create_budget_project and find slugs with list_budget_projects. An unknown project never stops the generation: it runs without one, and the result warns how to add it with assign_to_budget_project.
audio_start_secondsNoSeconds into the video where the voice in audio_url starts, when it is shorter than the video and belongs at a set moment. Only that stretch is lip-synced; the video's sound plays around and under the voice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover the generic safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false); the description supplies the real behavioral context: Review mode blocks on user approval, jobs are deduplicated for 10 minutes unless force_new, failed jobs are auto-refunded, and sync-3 jobs abort before sending (no charge) when prompt fails to identify a speaker. Billing mechanics are spelled out precisely — quoted on full voice length but charged only on seconds actually sent, never higher.

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 and the two core inputs are front-loaded, and nearly every sentence carries unique operational detail. It is on the long side for a description — six paragraphs where bullets grouped by billing, model choice, and speaker attribution would scan faster — and a few clauses restate schema parameter descriptions, but there is little pure filler.

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?

For an 8-parameter paid generation tool with no output schema, the description covers the return contract (a job, then check_job yields the permanent URL), latency expectations, partial-failure handling via warnings, and cost estimation. Nothing an agent needs in order to call it correctly or advise the user is missing.

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 is 3, but the description adds meaning the schema does not: sync-3 uses prompt for speaker attribution while pixverse ignores prompt entirely and warns, and audio_start_seconds narrows lip-syncing to one stretch with the video's own sound playing around it. Only minor gaps remain (format expectations for video_url/audio_url), so it is above baseline rather than exceptional.

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?

Opens with a concrete verb and resource plus the constraint that distinguishes it: "Make the mouths in an existing video match a voice, keeping the original picture and motion." That separates it from siblings like add_audio_to_video (audio only) and swap_video_characters (identity, not mouth motion) without needing to name them.

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

Usage Guidelines5/5

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

Gives explicit when-to-use conditions for every non-obvious input: omit audio_url when the video already carries the voice, use audio_start_seconds only for a shorter voice at a set moment, omit model unless the user names one, use prompt only with sync-3. It also routes to specific siblings for follow-on steps (estimate_generation with operation lip_sync for the quote, check_job for the finished URL) and sets a precondition to warn users about non-human faces before a paid attempt.

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.