According to monitoring by Beating, Google has announced that the Gemini Interactions API will undergo an incompatible update. The new interface will become the default on May 26, and the old version will be completely offline by June 8. Requests still using Python or JavaScript 1.x.x SDKs will result in errors. Developers must modify two areas of code logic: first, how to extract returned content. The original outputs array has been deprecated, and content reading has been entirely moved to a more detailed steps array. Whether reading text generated by the model or the results of function calls, the parsing code must be rewritten according to the new structure. Second, how to configure output formats. The previously scattered MIME type declarations and image generation parameters (`image_config`) have now been consolidated into the response_format parameter. This unified format introduces a new capability: developers can pass an array to response_format, allowing the model to output text and audio as multimodal results in a single request. SDK users can now upgrade to version 2.0.0 or above to automatically complete the switch. REST API users can add the Api-Revision: 2026-05-20 request header to actively test the new version; after the new version becomes default on May 26, if the code is not fully updated, users can temporarily revert using the 2026-05-07 request header until the complete disconnection on June 8.
All Comments