Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elevenlabs-latency

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elevenlabs-latency

Package to measure the latency of a websocket connection to ElevenLabs' text-to-speech API - specifically the time to first byte

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
Maintainers
0
Weekly downloads
 
Created
Source

ElevenLabs - Websockets Server - Node

Package to measure the latency of a websocket connection to ElevenLabs' text-to-speech API - specifically the time to first byte

Hosted on npm at https://www.npmjs.com/package/elevenlabs-latency

Usage

Using NPX

The easiest way to run this example is to use npx by running the following command:

npx elevenlabs-latency ELEVENLABS_API_KEY

Optionally you can specify the model to use by adding the -m flag:

npx elevenlabs-latency ELEVENLABS_API_KEY -m eleven_turbo_v2

In addition, you can optionally specify the voice id to use by adding the -v flag:

npx elevenlabs-latency ELEVENLABS_API_KEY -v Xb7hH8MSUJpSbSDYk0k2

From source

  1. Clone the repository and cd into this folder
  2. Run npm install to install the dependencies
  3. Run npm run start -- ELEVENLABS_API_KEY to run the test; Optionally specify the model to use by adding the -m flag or the voice id to use by adding the -v flag

FAQs

Package last updated on 07 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc