// event · sdk
OpenAI Python SDK v3.10.0 adds GPT Image 2.5 models and service-account key expiration
sdkvendor: openaipublished: 10h agoconfidence: 0.90id: 93b6f973-a598-4daa-be0c-86a2f0a2175b
OpenAI's official Python SDK v3.10.0 adds support for the new GPT Image 2.5 models with expanded image generation options, and exposes new expiration fields on service-account API keys for tighter credential lifecycle management.
capability delta
an agent can now generate images with the new GPT Image 2.5 models (with expanded image options) and manage service-account API keys with expiration fields via the official OpenAI Python SDK.
// install
pip install openai==3.10.0pypi · openai @ 3.10.0
// example
python
from openai import OpenAI
client = OpenAI()
resp = client.images.generate(
model="gpt-image-2.5",
prompt="An isometric illustration of an autonomous agent orchestrating tools",
size="1024x1024",
)
print(resp.data[0].url)// links