Veo and Gemini image models such as Nano Banana are now live in the OpenAI compatibility layer! Test our models in your existing Python/JS pipelines with zero SDK rewrite. Just update exactly 3 lines of code (๐๐๐_๐๐๐ข, ๐๐๐๐_๐๐๐, ๐๐๐๐๐). https://t.co/C0eIZq4jqg
Google adds Veo and Gemini image models to OpenAI compatibility layer
Googleยท Updated
Google expanded its OpenAI compatibility layer to include Veo video generation and Gemini image models. Developers can now switch between providers by changing only three lines of code in their existing Python or JavaScript pipelines. This removes the technical friction of testing Google's multimodal capabilities against industry standards.
veo-3.1-generate-preview, gemini-2.5-flash-image, and gemini-3-pro-image-preview. The integration requires minimal changes, specifically updating the api_key, base_url, and model parameters.This update targets the high switching costs of proprietary SDKs. By adopting the OpenAI API specification for multimodal models, Google allows teams to benchmark performance against competitors with zero code rewrites. It also introduces a standardized way to handle long-running video generation tasks through a Sora-compatible /v1/videos endpoint.
You can now trigger generation using familiar workflows, passing parameters like aspect_ratio or safety_settings through the extra_body field. Video generation returns an operation ID for polling until the status is completed. These features are in beta and available via the Gemini API using a standard API key.
Every HeadsUpAI update is written based on its original source and reviewed before it's published. Read our editorial standards โ

