CapabilityWire
// event · sdk

openai-node v7.12.0 adds GPT Image 2.5 models and image options

sdk
vendor: openaipublished: 10h agoconfidence: 0.85id: 4ac7b0c4-b80c-47d5-b0b6-8a2fc63bde2e

The official OpenAI Node.js SDK ships v7.12.0, adding API support for the new GPT Image 2.5 image-generation models and their image options. Also includes assistants run-step delta validation, monotonic clock for file processing timeouts, and preserved suppressed workload authorization.

capability delta

An agent can now generate and edit images via GPT Image 2.5 models with expanded image options directly from the OpenAI Node SDK.

// install
npm i openai@7.12.0
npm · openai @ 7.12.0
// example
typescript
import OpenAI from 'openai';

const client = new OpenAI();

const image = await client.images.generate({
  model: 'gpt-image-2.5',
  prompt: 'A cinematic photo of a robot barista pouring latte art',
  size: '1024x1024',
});

console.log(image.data[0].b64_json?.slice(0, 64));
// links
openainodejssdkimage-generationgpt-image
source: github_release · https://github.com/openai/openai-node/releases/tag/v7.12.0