OpenAI SDK Integration

Privocio implements the OpenAI Whisper API surface. Route your existing OpenAI client to Privocio — same methods, same parameters, privacy-first infrastructure.

Python

from openai import OpenAI

client = OpenAI(
    api_key="your-privocio-key",
    base_url="https://api.privocio.com/v1",  # ← only change
)

transcript = client.audio.transcriptions.create(
    model="whisper-1",
    file=open("meeting.mp3", "rb"),
)

Node.js

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.PRIVOCIO_API_KEY!,
  baseURL: "https://api.privocio.com/v1", // ← only change
});

const transcript = await client.audio.transcriptions.create({
  model: "whisper-1",
  file: await fs.openAsBlob("meeting.mp3"),
});

More detail in API docs, Python SDK page, and the migration guide.

Full API reference