1.32.0 (2025-08-27)
Features
- Add
sdkHttpResponse.headers
to *Delete responses. (0101d47) - Add add_watermark field for recontext_image (Virtual Try-On, Product Recontext) (0428877)
- Add GenerateContentResponse.parts, Part.as_image(), and Blob.as_image() (75c0955)
- Add output_gcs_uri to Imagen upscale_image (3fecf29)
- Add the response body for generateContent (8cc4754)
- Add the response body for generateContent (917cc2c)
- Add VALIDATED mode into FunctionCallingConfigMode (f6bf934)
- Add VideoGenerationReferenceType enum for generate_videos (cd53aff)
- Support GenerateVideosSource for Veo GenerateVideos (a6c2bb7)
- Support tunings.cancel in the genai SDK for Python, Java, JS, and Go (ffd8b06)
Documentation
- Fix typo in README (0cef3e6)
- Prompt and schema fix for json schema sample (6efd242)
- Regenerate docs for 1.31.0 (51903d4)
- Update TokensInfo docstring (921afa1)
- Updating Imagen 4 code snippet (630262b)
- Updating Veo model to Veo 3 and adding instruction to edit images using the native image-out model (codegen instructions). (b34a5c6)