Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Swarmauri Logo

Swarmauri Sync Labs Lip Sync

swarmauri_video_lipsync_synclabs is the standalone Sync Labs provider for Swarmauri lip-sync video generation. SyncLabsLipSync implements the common LipSyncBase contract and exposes Sync Labs' queued job lifecycle without misrepresenting progress events as streamed video.

PyPI Downloads Hits Python Versions License PyPI Version

Features

  • Common synchronous and asynchronous predict workflows.
  • Observable queued jobs through submit, get_status, iter_events, and aiter_events.
  • Normalized queued, running, completed, failed, and rejected job events.
  • Public URL inputs and local video/audio uploads through Sync Labs assets.
  • Preflight cost estimation through Sync Labs' estimate endpoint.
  • Retry handling for rate limits and safe transient requests.
  • API credentials excluded from serialized component state and external media requests.
  • Current Sync Labs models: sync-3, lipsync-2, lipsync-2-pro, lipsync-1.9.0-beta, and react-1.

Installation

uv add swarmauri_video_lipsync_synclabs
pip install swarmauri_video_lipsync_synclabs

Set SYNC_API_KEY before submitting billable work.

Usage

Generate from public media URLs:

import os

from swarmauri_video_lipsync_synclabs import SyncLabsLipSync

lip_sync = SyncLabsLipSync(api_key=os.environ["SYNC_API_KEY"])
result = lip_sync.predict(
    "https://example.com/speaker.mp4",
    "https://example.com/dialogue.wav",
    "dubbed.mp4",
    sync_mode="cut_off",
)
print(result)

Local paths are uploaded as reusable Sync Labs assets before generation:

result = lip_sync.predict("speaker.mp4", "dialogue.wav", "dubbed.mp4")

Observe a queued job without blocking for the final artifact:

job_id = lip_sync.submit(
    "https://example.com/speaker.mp4",
    "https://example.com/dialogue.wav",
)
for event in lip_sync.iter_events(job_id):
    print(event)

These iterators report job progress. Sync Labs returns a completed video artifact rather than incremental video bytes, so this provider intentionally does not expose stream or astream.

Contributing

This package is part of the Swarmauri SDK. Contributions should follow the repository contribution and style guides.

License

Apache-2.0

Metadata

Release files for swarmauri_video_lipsync_synclabs 0.1.0.dev5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swarmauri_video_lipsync_synclabs 0.1.0.dev5
File Size Uploaded Provenance Actions
swarmauri_video_lipsync_synclabs-0.1.0.dev5.tar.gz 6.1 kB Without provenance Details for swarmauri_video_lipsync_synclabs-0.1.0.dev5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_video_lipsync_synclabs 0.1.0.dev5
File Interpreter ABI Platform Actions
swarmauri_video_lipsync_synclabs-0.1.0.dev5-py3-none-any.whl Python 3 none any Details for swarmauri_video_lipsync_synclabs-0.1.0.dev5-py3-none-any.whl

Total release size: 13.3 kB

Release files / swarmauri_video_lipsync_synclabs-0.1.0.dev5.tar.gz

Download URL swarmauri_video_lipsync_synclabs-0.1.0.dev5.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3c742c5d1bea18ee20f32a152a6d4c98576303258c3eb765b722e0b6a96aff3c
BLAKE2b-256 checksum
How to use checksums
2647318d62940dc41f543fad3900a1bfb838bceed59495b79ab1ca434a3e44a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / swarmauri_video_lipsync_synclabs-0.1.0.dev5-py3-none-any.whl

Download URL swarmauri_video_lipsync_synclabs-0.1.0.dev5-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
177bc4345b5059a7c326981f50ff28fa2e2ba9d5725f4a08ee4e4af3cf71a0e0
BLAKE2b-256 checksum
How to use checksums
7af1ca45ce21554ccc97bb181428a7e78f0606a95992003cf8223a49d240aeb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for swarmauri_video_lipsync_synclabs 0.1.0.dev5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page