Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

Ojin Speech-To-Video Client

A WebSocket client for Ojin STV model that handles communication with Inference Server. It is used for example by Ojin Video Service for Pipecat https://github.com/pipecat-ai/pipecat

Requirements

  • Python 3.10+
  • pip or uv package manager

Installation

pip install ojin-client

Usage

from ojin.ojin_client import OjinClient

avatar = OjinClient(
        ws_url="THE_OJIN_URL",
        api_key="YOUR_OJIN_API_KEY",
        avatar_config_id="YOUR_OJIN_CONFIGURATION"M
    )

API methods

  • connect: Establishes the websocket connection with the ojin inference server
  • start_interaction: Creates a UUID to send in the interaction messages
  • send_message: Sends messages to the ojin inference server
  • receive_message: Receives messages from the ojin inference server
  • close: closes the connection with ojin inference server

Messages

  • OjinInteractionReadyMessage: Message indicating that an interaction is ready to begin

  • OjinSessionReadyMessage: Message to start a new interaction with an Ojin Persona

  • OjinCancelInteractionMessage: Message to cancel an interaction

  • OjinAudioInputMessage: Contains the audio data as bytes and a flag indicating if this is the last input

Responses

  • StartInteractionResponseMessage: Response message for a successful interaction start

  • OjinInteractionResponseMessage: Response message containing video data from the avatar

  • ErrorResponseMessage: Response message informing the client there was an error

Metadata

Release files for ojin-client 0.6.11

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

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for ojin-client 0.6.11
File Size Uploaded Provenance
ojin_client-0.6.11.tar.gz 145.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ojin-client 0.6.11
File Interpreter ABI Platform
ojin_client-0.6.11-py3-none-any.whl Python 3 none any Details

Total release size: 288.9 kB

Release files / ojin_client-0.6.11.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL ojin_client-0.6.11.tar.gz
Size 145.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ad20278ea788f3715bc8da193751987f87b9f111ec5bce447dde8616c9fa8a23
BLAKE2b-256 checksum
How to use checksums
fa65fb2cc401e01ddebcf1ec978df1a5f3fd16c19466d55acf5818347feb74d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release files / ojin_client-0.6.11-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL ojin_client-0.6.11-py3-none-any.whl
Size 143.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7e7f31484316bbc89be7577be61fb86eb5ebe77f1803ceecd1eb2382b17a5eb
BLAKE2b-256 checksum
How to use checksums
e8490291c5469c050cf8e4014c8241c0ab989e7297d4ef9212a7f593798af276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Security for ojin-client 0.6.11

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.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.12.2 2 files With provenance
  • Added 0.6.11 2 files Without provenance

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.

Release history Release notifications | RSS feed

This release

0.6.11 This release

2 release files Loss of 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