Skip to main content

pipecat-akapulu

Pipecat processor for an Akapulu Labs talking avatar. Maintained by Akapulu Labs.

AkapuluAvatar sits after your speech model. It sends assistant audio to the Akapulu worker. The worker joins the Daily room already stored on the session and publishes the face and the played audio. This processor does not publish either.

Tested with Pipecat 1.12.0.

Install

uv add pipecat-akapulu

Use

Create the Daily room yourself, then POST /api/live-sessions/ from your server with your Akapulu API key before the bot starts. The body is avatar_id, show_ai_label, room_url, and avatar_token. The response is session_id.

from pipecat_akapulu import AkapuluAvatar

avatar = AkapuluAvatar(sample_rate=24000, session_id=session_id)

sample_rate is a positive multiple of 25 and must match the assistant audio frames. tail_secs defaults to 0.6, which is how long assistant audio stays open after speech stops.

Leave transport audio out and video out off. The worker is the Daily publisher for the face and the played audio.

AKAPULU_API_URL selects the API origin. Unset, the processor uses https://akapulu.com. A set value that is empty or not an http or https origin raises.

On StartFrame the processor posts {} to POST /api/live-sessions/<session_id>/status/. It polls GET on that same route for the worker socket and for loading status, and pushes each status body as an RTVI server message.

Example

examples/foundational.py is a Daily bot: speech-to-text, a model, speech output, then AkapuluAvatar. It greets when the Daily client connects.

uv add "pipecat-ai[daily,deepgram,cartesia,google,silero]==1.12.0" pipecat-akapulu

Set DAILY_ROOM_URL, DAILY_TOKEN, and AKAPULU_SESSION_ID from the session you created. Also set DEEPGRAM_API_KEY, GOOGLE_API_KEY, and CARTESIA_API_KEY. Then:

python examples/foundational.py

Metadata

Release files for pipecat-akapulu 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-akapulu 0.1.0
File Size Uploaded Provenance
pipecat_akapulu-0.1.0.tar.gz 12.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 22.3 kB

Release files / pipecat_akapulu-0.1.0.tar.gz

Download URL pipecat_akapulu-0.1.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5f29dae93b63a2c79836033030bdb2cf90cbc1065ab82e96f02cc68e7e5eba54
BLAKE2b-256 checksum
How to use checksums
387cb4706fd803bcd80ae572027b72ef06291234819f6b7f278fb000faaff017
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

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

Download URL pipecat_akapulu-0.1.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ce64f479110e547416eeb05ed880fde61d5d1417857a85223ca4052bd07479a
BLAKE2b-256 checksum
How to use checksums
8560f0314f70001fdf224c6a4158a134dae5830df58f2ef8f9db4e5d1f56b902
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for pipecat-akapulu 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.

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