Skip to main content
Glama

Lip Sync with Sync 3

sync3_lip_sync_video

Main SwitchApp lip-sync for your videos. Uses Switch lip sync (Sync 3) only — never Kling. Call action="create" with video_url plus either sound_file (a base64 audio data URI) or audio_url; then call action="status" with the returned task_id. Sync 3 processes the whole clip in one pass with occlusion-aware lip sync, preserves the supplied audio, and returns a branded SwitchApp view_url when complete. Charges credits on create; failed jobs are refunded. PRICE: One price per lip sync job, charged when the job is created; returned if it fails. Checking status is free. Pass quote_only: true first to get the exact price; nothing is made and nothing is charged. To run it (not for a quote) send action.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sync3_lip_sync_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoCreate a Sync 3 lip-sync job or check its status.
task_idNostatus: the sync: task_id returned by create.
audio_urlNocreate: the audio: an https link (the audio_url from generate_audio works as is) or the asset_id from upload_reference_asset (kind audio). Use instead of sound_file.
video_urlNocreate: the source video: an https link, the id of one of your Switch videos (from generate_video or list_my_videos), or the asset_id from upload_reference_asset.
quote_onlyNotrue answers the price only: nothing is made and nothing is charged.
sound_fileNocreate: base64 data URI of the audio (for example data:audio/mpeg;base64,...).
speak_spansNocreate, two-voice scenes: the seconds when the person ON CAMERA speaks: the time windows you wrote in front of her lines in generate_audio's text (exact), or from its sentences and words (timestamps: true) when a line was not timed. Switch silences everything else in a copy of the audio so the mouth follows only those lines; the other voice never moves it. Up to 60 spans, in order, no overlap.
keep_backgroundNocreate: keep the clip's own music and room under the new speech (default true). Switch splits the soundtrack into layers and lays the non-voice layers back; only the voice changes. false gives the new speech alone.
scene_audio_urlNocreate: the full scene mix (both voices and the room) to lay onto the synced picture when it is done, usually the same audio_url (an https link or an upload_reference_asset asset_id). With speak_spans this makes one dialogue do both jobs: drive the lips and play underneath. Replaces keep_background.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / quote_only
      Added value: +{
      +  "description": "true answers the price only: nothing is made and nothing is charged.",
      +  "type": "boolean"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "action"
      -]
  2. Changed3 schema fields changed
    • changedInput schema / properties / audio_url / description
      Previous value: -"create: public or Switch-resolvable URL of the audio. Use instead of sound_file."New value: +"create: the audio: an https link (the audio_url from generate_audio works as is) or the asset_id from upload_reference_asset (kind audio). Use instead of sound_file."
    • changedInput schema / properties / scene_audio_url / description
      Previous value: -"create: the full scene mix (both voices and the room) to lay onto the synced picture when it is done, usually the same audio_url. With speak_spans this makes one dialogue do both jobs: drive the lips and play underneath. Replaces keep_background."New value: +"create: the full scene mix (both voices and the room) to lay onto the synced picture when it is done, usually the same audio_url (an https link or an upload_reference_asset asset_id). With speak_spans this makes one dialogue do both jobs: drive the lips and play underneath. Replaces keep_background."
    • changedInput schema / properties / video_url / description
      Previous value: -"create: source video URL."New value: +"create: the source video: an https link, the id of one of your Switch videos (from generate_video or list_my_videos), or the asset_id from upload_reference_asset."
  3. Changed1 schema field changed
    • changedInput schema / properties / speak_spans / description
      Previous value: -"create, two-voice scenes: the seconds when the person ON CAMERA speaks, from generate_audio's sentences (timestamps: true). Switch silences everything else in a copy of the audio so the mouth follows only those lines; the other voice never moves it. Up to 60 spans, in order, no overlap."New value: +"create, two-voice scenes: the seconds when the person ON CAMERA speaks: the time windows you wrote in front of her lines in generate_audio's text (exact), or from its sentences and words (timestamps: true) when a line was not timed. Switch silences everything else in a copy of the audio so the mouth follows only those lines; the other voice never moves it. Up to 60 spans, in order, no overlap."
  4. Changed2 schema fields changed
    • addedInput schema / properties / scene_audio_url
      Added value: +{
      +  "description": "create: the full scene mix (both voices and the room) to lay onto the synced picture when it is done, usually the same audio_url. With speak_spans this makes one dialogue do both jobs: drive the lips and play underneath. Replaces keep_background.",
      +  "type": "string"
      +}
    • addedInput schema / properties / speak_spans
      Added value: +{
      +  "description": "create, two-voice scenes: the seconds when the person ON CAMERA speaks, from generate_audio's sentences (timestamps: true). Switch silences everything else in a copy of the audio so the mouth follows only those lines; the other voice never moves it. Up to 60 spans, in order, no overlap.",
      +  "items": {
      +    "properties": {
      +      "end": {
      +        "type": "number"
      +      },
      +      "start": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "start",
      +      "end"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / keep_background
      Added value: +{
      +  "description": "create: keep the clip's own music and room under the new speech (default true). Switch splits the soundtrack into layers and lays the non-voice layers back; only the voice changes. false gives the new speech alone.",
      +  "type": "boolean"
      +}
  6. Added

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: one-pass occlusion-aware processing, audio preservation, branded view_url return, credit charge on create, refund on failure, free status checks, and quote-only no-charge behavior. The annotations only cover read/write/destructive/open-world traits, so this description adds real operational context.

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

Conciseness3/5

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

The purpose and workflow are front-loaded, but pricing is repeated across sentences and the final sentence is truncated at 'send action.', leaving the execution instruction incomplete. The dense run-on structure also reduces scanability for a 9-parameter tool.

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?

Covers the create/status workflow, pricing, audio options, and key output URL for a complex tool with no output schema. However, without an output schema, the status response shape beyond task_id and view_url is not explained, and the truncated final sentence weakens the execution guidance.

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

Parameters5/5

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

Although schema description coverage is 100%, the description adds meaningful semantics: sound_file as base64 data URI versus audio_url, quote_only as a no-charge quote mode, speak_spans silencing all other audio in a copy, keep_background defaulting true, and scene_audio_url replacing keep_background. These are operational details beyond the schema text.

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 operation and resource: lip-sync videos using Switch Sync 3 only, explicitly excluding Kling. This distinguishes it from the sibling lip-sync tool and makes the engine choice clear.

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 a clear create-then-status workflow, specifies video_url plus either sound_file or audio_url, and recommends quote_only first for pricing. It does not explicitly compare when to choose this versus the sibling lip_sync_video beyond ruling out Kling.

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.

Resources