ElevenLabsCredential (speech/_credentials.py)

zeenie-ai/OpenCompany · server/nodes/speech/_credentials.py · python · MIT
voice

Credentials for speech-only providers. Only two live here. OpenAI, Groq and Sarvam already have credentials under ``nodes/model/_credentials.py`` because the same stored key authenticates their chat surfaces, and a second class for the same ``id`` would collide in ``CREDENTIAL_RE

# Source: https://github.com/zeenie-ai/OpenCompany | License: MIT | Copyright 2025 MachinaOs
# Provided via justclaw.it.com; keep this notice with the code.
"""Credentials for speech-only providers.

Only two live here. OpenAI, Groq and Sarvam already have credentials under
``nodes/model/_credentials.py`` because the same stored key authenticates
their chat surfaces, and a second class for the same ``id`` would collide in
``CREDENTIAL_REGISTRY``. The speech nodes import those rather than
redeclaring them -- the same cross-plugin import ``nodes/sarvam/`` already
does.
"""

from __future__ import annotations

from typing import Any, Dict

from services.plugin.credential import ApiKeyCredential


class ElevenLabsCredential(ApiKeyCredential):
    """ElevenLabs API key.

    Sent as a bare ``xi

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key