Skip to main content

pipecat-talksign

A Talksign sign language avatar for Pipecat. Your bot's replies are signed in ASL by an Echo 2.0 avatar while its voice still plays.

pip install pipecat-talksign   # then add TalksignVideoService() after your TTS

Maintainer: Talksign · Tested with: Pipecat 1.17.0 · Python 3.10+

What it does

TalksignVideoService is a frame processor that goes right after the TTS service:

  • reads the text the bot speaks (TTSTextFrame) and streams it to Echo 2.0, sentence by sentence;
  • pushes the avatar video as OutputImageRawFrame (RGB) at 30 FPS, with the avatar's idle loop between answers;
  • on InterruptionFrame (the user barges in) stops signing at once and returns to idle;
  • passes every frame through unchanged, so audio and text reach the transport as before.

Sign → text (Palm) is coming soon.

Usage

Get an API key in the Developer Console and set TALKSIGN_API_KEY.

from pipecat_talksign import TalksignVideoService

signer = TalksignVideoService(avatar="arthur", language="asl", width=1280, height=720)

pipeline = Pipeline(
    [
        transport.input(),
        stt,
        user_aggregator,
        llm,
        tts,
        signer,  # after TTS
        transport.output(),
        assistant_aggregator,
    ]
)

Enable video on the output transport with the same size: video_out_enabled=True, video_out_is_live=True, video_out_width=1280, video_out_height=720.

Argument Default
api_key TALKSIGN_API_KEY Talksign API key
avatar "arthur" Avatar id
language "asl" Sign language
width, height, fps 1280, 720, 30 Output video
text_source "tts" "tts": sign spoken text (TTSTextFrame). "llm": sign LLMTextFrame (place after the LLM; lower latency)
client new client Reuse a talksign.AsyncTalksign
source_options {} Extra talksign.video.EchoFrameSource options (crossfade_ms, background, …)

Example

examples/signing_bot.py: Deepgram + OpenAI + Cartesia voice bot with a signing avatar, run with the Pipecat development runner (python examples/signing_bot.py -t daily).

Development

pip install -e ../talksign-python[video] -e ".[dev]"
pytest   # offline: a fake Talksign API serves tiny ffmpeg-made clips

License

Apache-2.0

Metadata

Release files for pipecat-talksign 0.1.0

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

Source distribution (sdist)

Source distribution for pipecat-talksign 0.1.0
File Size Uploaded Provenance Actions
pipecat_talksign-0.1.0.tar.gz 13.3 kB Without provenance Details for pipecat_talksign-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 23.4 kB

Release files / pipecat_talksign-0.1.0.tar.gz

Download URL pipecat_talksign-0.1.0.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f36f2c1f46eb58a3ea1377096895f0fa9a9855aa0a7b2238cd24406b305a6439
BLAKE2b-256 checksum
How to use checksums
1fb87b30d65b0de97a4005a4bc1864bb568db2c38a7d6f9c55de2db78beb6397
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / pipecat_talksign-0.1.0-py3-none-any.whl

Download URL pipecat_talksign-0.1.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51c72150835a1d2cca36ca64a42dd746cbef890a7211da28f5e451379d6b799d
BLAKE2b-256 checksum
How to use checksums
feee8e962a196371208f114f137aabeea621a145347e6074f90011c36047322b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for pipecat-talksign 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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