product updateOpenAI

OpenAI Python SDK v2.27.0 adds Sora video API improvements and character support

TL;DR

OpenAI released version 2.27.0 of its Python SDK on March 13, 2026, adding significant improvements to the Sora video generation API. The update introduces character API support, video extension and editing capabilities, and higher resolution export options.

1 min read
0

OpenAI has released v2.27.0 of its Python SDK, the latest update to the official library for integrating OpenAI APIs into Python applications.

Key Changes

The release centers on expanding Sora video generation capabilities. The primary feature addition is Sora API improvements, which include:

  • Character API: Introduces character-based controls for video generation
  • Video extensions and edits: Enables developers to extend existing videos and apply targeted edits
  • Higher resolution exports: Supports video output at elevated resolutions

These features appear designed to give developers more granular control over video generation workflows, moving beyond simple prompt-to-video creation toward more iterative and controlled editing capabilities.

Technical Updates

Beyond the Sora enhancements, v2.27.0 includes:

  • API schema updates: General API definition updates reflected across the SDK
  • Bug fixes: Repair of the merged videos resource, addressing a previously broken endpoint
  • Infrastructure improvements: WebSocket protocol alignment and proper capitalization standardization
  • Codegen updates: Internal tooling changes for SDK code generation

The bug fix for the merged videos resource suggests this functionality had issues in v2.26.0 that are now resolved.

What This Means

The Sora API improvements indicate OpenAI is prioritizing video generation as a development platform, not just an internal capability. The addition of character controls and editing features suggests the company is moving toward production-ready video generation workflows that support professional use cases requiring iterative refinement rather than one-shot generation.

Developers using the Python SDK should update to access these new Sora capabilities. The merged videos resource fix is a necessary update for anyone relying on that functionality.

For context, the OpenAI Python SDK serves as the primary interface for developers building applications with OpenAI's APIs, making each release significant for the developer ecosystem. This version demonstrates continued investment in expanding Sora's feature set beyond basic video generation.

Related Articles

changelog

OpenAI Python SDK v3.15.0 Adds Managed WebSocket Sessions and Prompt-Cache Prewarming

OpenAI released v3.15.0 of its Python SDK on September 18, 2026, adding managed Responses WebSocket sessions, prompt-cache prewarming, compaction progress events, and audio-mini model choices. The release also fixes a bug affecting chat stream moderation results.

benchmark

Robot Safety Benchmark Finds GPT-6 Astra and Claude Fable 5.1 Rarely Refuse Dangerous Commands

A new benchmark called RoboHarm tested whether AI models controlling robotic arms would refuse dangerous commands. GPT-6 Astra completed 60 of 100 dangerous tasks and Claude Fable 5.1 completed 34, with neither model showing a reliable safety layer.

product update

Claude Code 2.1.277 Adds AGENTS.md Support Via New Mods System

Anthropic engineer Thariq Shihipar announced that Claude Code version 2.1.277 now supports AGENTS.md files as a fallback when no CLAUDE.md is present. The feature is implemented through Claude Code mods, a new customization system for the coding agent's harness.

product update

OpenAI Launches Astra for Law, a Legal Research Tool Built on GPT-6 Astra

OpenAI has launched Astra for Law, a legal-focused version of GPT-6 Astra that combines the model with a case law search index and specialized analysis instructions. The tool scored 54 percent on Vals AI's Legal Research Bench in OpenAI's own testing, up from 38.7 percent for the base model with web search.

Comments

Loading...