github googleapis/python-genai v1.22.0

latest releases: v1.32.0, v1.31.0, v1.30.0...
2 months ago

1.22.0 (2025-06-25)

Features

  • Add compressionQuality enum for generate_videos (b132387)
  • Add enhance_input_image and image_preservation_factor fields for upscale_image (cdcd4f5)
  • Allow users to access headers for generateContent method and generateContentStream (80c8964)
  • Expose the responseJsonSchema in GenerateContentConfig (714452f)
  • Improve repr for pydantic objects. (80ab054)
  • Support Batches create/get/list/cancel in Gemini Developer API (5ab8a56)
  • Support IntEnums when processing JSON schemas (6cc2bdb)

Bug Fixes

  • Keep chunk content history when thought summaries are enabled in the stream response (91e7246)
  • The send_client_content function with Blob input. (8491e4c)

Documentation

  • Improve generate images documentation (15b2144)
  • Update description of thinking_budget. (7c2ae32)

Don't miss a new python-genai release

NewReleases is sending notifications on new releases.