// event · sdk
openai-node v7.12.1 adds GPT Image 2.5 models and image options
sdkvendor: openaipublished: 9h agoconfidence: 0.85id: e91dde31-2d52-4a7f-b60e-86c4afa6ba5c
The OpenAI Node SDK v7.12.1 ships support for the new GPT Image 2.5 model family along with additional image generation options. This release republishes the 7.12.0 feature set (which didn't reach npm) and adds a CI fix ensuring Cloudflare example regressions run before release.
capability delta
An agent can now call GPT Image 2.5 models with expanded image generation options directly from the official OpenAI Node SDK.
// install
npm i openai@7.12.1npm · openai @ 7.12.1
// example
typescript
import OpenAI from "openai";
const client = new OpenAI();
const result = await client.images.generate({
model: "gpt-image-2.5",
prompt: "A cyberpunk fox agent debugging code at midnight",
size: "1024x1024",
});
console.log(result.data[0].b64_json?.slice(0, 64));
// links