CapabilityWire
// event · sdk

openai-node v7.28.0 adds custom voice creation and agent session events

sdk
vendor: openaipublished: 8d agoconfidence: 0.85id: 33786030-bdba-4c96-ac92-e8176c5c57f7

The official OpenAI Node SDK v7.28.0 adds API support for creating custom voices and emits new agent session events, expanding what TypeScript/JavaScript agent builders can do with OpenAI's voice and Agents APIs.

capability delta

An agent can now create custom voices and subscribe to agent session events directly from the openai-node SDK in TypeScript/JavaScript.

curator note

Minor feature bump; custom voice creation API shape should be verified against OpenAI docs before relying on example snippet.

// install
npm i openai@7.28.0
npm · openai @ 7.28.0
// example
typescript
import OpenAI from "openai";

const client = new OpenAI();

// Create a custom voice from a reference sample
const voice = await client.audio.voices.create({
  name: "my-agent-voice",
  // @ts-ignore - new in 7.28.0
  sample: await fetch("https://example.com/sample.wav").then(r => r.blob()),
});

console.log("Created voice:", voice.id);
// links
openaivoiceagentsnodejssdk
source: github_release · https://github.com/openai/openai-node/releases/tag/v7.28.0