vision-agents-plugins-elevenlabs


Namevision-agents-plugins-elevenlabs JSON
Version 0.1.8 PyPI version JSON
download
home_pageNone
SummaryElevenLabs TTS integration for Vision Agents
upload_time2025-10-22 01:51:04
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords ai tts agents elevenlabs text-to-speech voice agents
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ElevenLabs Text-to-Speech Plugin

A high-quality Text-to-Speech (TTS) plugin for GetStream that uses the ElevenLabs API.

## Installation

```bash
pip install getstream-plugins-elevenlabs
```

## Usage

```python
from getstream.plugins.elevenlabs import ElevenLabsTTS
from getstream.video.rtc.audio_track import AudioStreamTrack

# Initialize with API key from environment variable
tts = ElevenLabsTTS()

# Or specify API key directly
tts = ElevenLabsTTS(api_key="your_elevenlabs_api_key")

# Create an audio track to output speech
track = AudioStreamTrack(framerate=16000)
tts.set_output_track(track)

# Register event handlers
@tts.on("audio")
def on_audio(audio_data, user):
    print(f"Received audio chunk: {len(audio_data)} bytes")

# Send text to be converted to speech
await tts.send("Hello, this is a test of the ElevenLabs text-to-speech plugin.")
```

## Configuration Options

- `api_key`: ElevenLabs API key (default: reads from ELEVENLABS_API_KEY environment variable)
- `voice_id`: The voice ID to use for synthesis (default: "VR6AewLTigWG4xSOukaG")
- `model_id`: The model ID to use for synthesis (default: "eleven_multilingual_v2")

## Requirements

- Python 3.10+
- elevenlabs>=2.5.0

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "vision-agents-plugins-elevenlabs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "AI, TTS, agents, elevenlabs, text-to-speech, voice agents",
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/3e/23/ca680c2b1642a54bab006e37721305512aa26f8f13d7871d554002729cb6/vision_agents_plugins_elevenlabs-0.1.8.tar.gz",
    "platform": null,
    "description": "# ElevenLabs Text-to-Speech Plugin\n\nA high-quality Text-to-Speech (TTS) plugin for GetStream that uses the ElevenLabs API.\n\n## Installation\n\n```bash\npip install getstream-plugins-elevenlabs\n```\n\n## Usage\n\n```python\nfrom getstream.plugins.elevenlabs import ElevenLabsTTS\nfrom getstream.video.rtc.audio_track import AudioStreamTrack\n\n# Initialize with API key from environment variable\ntts = ElevenLabsTTS()\n\n# Or specify API key directly\ntts = ElevenLabsTTS(api_key=\"your_elevenlabs_api_key\")\n\n# Create an audio track to output speech\ntrack = AudioStreamTrack(framerate=16000)\ntts.set_output_track(track)\n\n# Register event handlers\n@tts.on(\"audio\")\ndef on_audio(audio_data, user):\n    print(f\"Received audio chunk: {len(audio_data)} bytes\")\n\n# Send text to be converted to speech\nawait tts.send(\"Hello, this is a test of the ElevenLabs text-to-speech plugin.\")\n```\n\n## Configuration Options\n\n- `api_key`: ElevenLabs API key (default: reads from ELEVENLABS_API_KEY environment variable)\n- `voice_id`: The voice ID to use for synthesis (default: \"VR6AewLTigWG4xSOukaG\")\n- `model_id`: The model ID to use for synthesis (default: \"eleven_multilingual_v2\")\n\n## Requirements\n\n- Python 3.10+\n- elevenlabs>=2.5.0\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "ElevenLabs TTS integration for Vision Agents",
    "version": "0.1.8",
    "project_urls": {
        "Documentation": "https://visionagents.ai/",
        "Source": "https://github.com/GetStream/Vision-Agents",
        "Website": "https://visionagents.ai/"
    },
    "split_keywords": [
        "ai",
        " tts",
        " agents",
        " elevenlabs",
        " text-to-speech",
        " voice agents"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "51fbd3b0e5ca4366b13adb0d94c9362405678611cff81587c7ae48d0d220b6a9",
                "md5": "3916d6ac049a1b2c4c2e03abf3017f70",
                "sha256": "bfc71f5dc9535f190bfb65444f801730a245aedf67977c6d6f235c9940b1fdbd"
            },
            "downloads": -1,
            "filename": "vision_agents_plugins_elevenlabs-0.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3916d6ac049a1b2c4c2e03abf3017f70",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 8125,
            "upload_time": "2025-10-22T01:51:02",
            "upload_time_iso_8601": "2025-10-22T01:51:02.989967Z",
            "url": "https://files.pythonhosted.org/packages/51/fb/d3b0e5ca4366b13adb0d94c9362405678611cff81587c7ae48d0d220b6a9/vision_agents_plugins_elevenlabs-0.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3e23ca680c2b1642a54bab006e37721305512aa26f8f13d7871d554002729cb6",
                "md5": "34bbd5bdcf5bd5cfbef18f17ee8c82f7",
                "sha256": "920c19ba31277b184630241f6dd44d73fe2da9f0402fd6c94ca48fd9edf27d74"
            },
            "downloads": -1,
            "filename": "vision_agents_plugins_elevenlabs-0.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "34bbd5bdcf5bd5cfbef18f17ee8c82f7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 3094,
            "upload_time": "2025-10-22T01:51:04",
            "upload_time_iso_8601": "2025-10-22T01:51:04.078659Z",
            "url": "https://files.pythonhosted.org/packages/3e/23/ca680c2b1642a54bab006e37721305512aa26f8f13d7871d554002729cb6/vision_agents_plugins_elevenlabs-0.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-22 01:51:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GetStream",
    "github_project": "Vision-Agents",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "vision-agents-plugins-elevenlabs"
}
        
Elapsed time: 1.77779s