Skip to content

Releases: googleapis/java-genai

v1.22.0

10 Oct 23:30
ac12c4c

Choose a tag to compare

1.22.0 (2025-10-10)

Features

  • Enable Google Maps tool for Genai. (a4baf3c)
  • Support enableWidget feature in GoogleMaps (aefbd5c)
  • Support Gemini batch inline request's metadata and add test coverage to safety setting (17033b3)

v1.21.0

08 Oct 22:34
845d814

Choose a tag to compare

1.21.0 (2025-10-08)

Features

  • Add NO_IMAGE enum value to FinishReason (6b00c0b)
  • Add labels field to Imagen configs (e69cf68)
  • Add thinking_config for live (274c21d)
  • Add utility methods for creating FunctionResponsePart and creating FunctionResponse Part with FunctionResponseParts (af16a4c)
  • Enable Ingredients to Video and Advanced Controls for Veo on Gemini Developer API (Early Access Program) (4c42e65)

Bug Fixes

  • Ensure Live server message are properly converted (206dc88)

v1.20.0

02 Oct 00:24
6210214

Choose a tag to compare

1.20.0 (2025-10-01)

Features

  • Add ImageConfig to GenerateContentConfig (6fb5eba)

v1.19.0

30 Sep 21:43
02d5635

Choose a tag to compare

1.19.0 (2025-09-30)

Features

  • expose session id in Live API (b6d5389)
  • rename ComputerUse tool (early access) (4bbba2b)

v1.18.0

25 Sep 22:07
fbfbe6a

Choose a tag to compare

1.18.0 (2025-09-25)

Features

  • Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFunctions (1a24bed)
  • Support Imagen 4 Ingredients on Vertex (b5eed8d)

Bug Fixes

  • Expose JOB_STATE_RUNNING and JOB_STATE_EXPIRED for Gemini Batches states (c5b4fdf)
  • initialization of pre_tuned_model_checkpoint_id from tuning config. (c293633)
  • Make async generateContent and generateContentStream truly non-blocking (5cb18fd)
  • only run unit tests in github action (9b2861b)

v1.17.0

16 Sep 23:31
cce9a37

Choose a tag to compare

1.17.0 (2025-09-16)

Features

  • Add 'turn_complete_reason' and 'waiting_for_input' fields. (5bc4873)
  • Add VideoGenerationMaskMode enum for Veo 2 Editing (e5c8277)
  • Add labels to create tuning job config (695e17a)
  • generate the function_call class's converters (38703c7)
  • java local tokenizer (d774185)
  • Support Veo 2 Editing on Vertex (d401d3c)

Bug Fixes

  • Enable id field in FunctionCall for Vertex AI. (3773fe7)
  • update Live API audio example with better interruption handling (cad8df9)

v1.16.0

10 Sep 23:37
b41fe36

Choose a tag to compare

1.16.0 (2025-09-02)

Features

  • Add resolution field for Gemini Developer API Veo 3 generation (eec410c)
  • add the response body for generateContent (a011580)

Documentation

  • Refactor/update docstrings for Imagen and Veo (2470101)

v1.15.0

27 Aug 22:47
b6fdea2

Choose a tag to compare

1.15.0 (2025-08-27)

Features

  • add sdkHttpResponse.headers to *Delete responses. (4be038d)
  • Add output_gcs_uri to Imagen upscale_image (7649467)
  • add the response body for generateContent (6e28ab4)
  • add the response body for generateContent (b2a5b3f)
  • Add VALIDATED mode into FunctionCallingConfigMode (4bb8680)
  • Add VideoGenerationReferenceType enum for generate_videos (df9d910)
  • Support GenerateVideosSource for Veo GenerateVideos (c26af63)
  • support tunings.cancel in the genai SDK for Python, Java, JS, and Go (9982251)

Documentation

  • Refactor model IDs into a Constants class (dacd787)

v1.14.0

22 Aug 20:20
66dc94d

Choose a tag to compare

1.14.0 (2025-08-22)

Features

  • Add add_watermark field for recontext_image (Virtual Try-On, Product Recontext) (5aacbc0)

Bug Fixes

  • Fix the bug that files.create doesn't return the upload URL correctly (eb40c5f)

Documentation

  • update TokensInfo docstring (48eba7f)

v1.13.0

18 Aug 23:35
0a2fed6

Choose a tag to compare

1.13.0 (2025-08-18)

Features

  • expose JsonSerializable.stringToJsonNode to help user better use *JsonSchema fields. (35d783b)
  • Return response headers for all methods (except streaming methods) (7e8b71b)
  • Support Imagen image segmentation on Vertex (e2a561b)
  • Support Veo 2 Reference Images to Video Generation on Vertex (2f5580f)