Installation & Setup
Install and initialize the Branofy Voice SDK in Node.js or Python.
Install
npm install @branofy/voice-sdk-node
# or: yarn add / pnpm add / bun add @branofy/voice-sdk-nodepip install branofy-voice-sdk
# or: poetry add / uv add branofy-voice-sdkRequires Python 3.10+.
Initialize
import { BranofyVoiceSdk } from "@branofy/voice-sdk-node";
const voice = new BranofyVoiceSdk({
baseUrl: "https://api.branofy.cloud",
apiKey: process.env.BRANOFY_VOICE_API_KEY,
});import os
from branofy_voice_sdk import BranofyVoiceClient
client = BranofyVoiceClient(
base_url="https://api.branofy.cloud",
api_key=os.environ["BRANOFY_VOICE_API_KEY"],
)| Option | Type | Required | Description |
|---|---|---|---|
baseUrl / base_url | string | Yes | Base URL of the Voice API (without the /v1 suffix). |
apiKey / api_key | string | No | Secret API key, sent as the X-API-Key header. |
Keep your API key on the server. Never embed it in client-side bundles.