Skip to content

Releases: googleapis/js-genai

v1.21.0

26 Sep 00:04
beef4e3

Choose a tag to compare

1.21.0 (2025-09-25)

Features

  • Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFunctions (61620f6)
  • Support Imagen 4 Ingredients on Vertex (56cccfc)

Bug Fixes

  • #963 allow leading whitespace before data chunks (24f4153)
  • Expose JOB_STATE_RUNNING and JOB_STATE_EXPIRED for Gemini Batches states (b513c69)
  • initialization of pre_tuned_model_checkpoint_id from tuning config. (2e10e7f)

v1.20.0

16 Sep 23:56
da2f89b

Choose a tag to compare

1.20.0 (2025-09-16)

Features

  • Add 'turn_complete_reason' and 'waiting_for_input' fields. (cb54332)
  • Add VideoGenerationMaskMode enum for Veo 2 Editing (3e850fd)

v1.19.0

09 Sep 22:56
35188ca

Choose a tag to compare

1.19.0 (2025-09-09)

Features

  • Add labels to create tuning job config (220c4d6)
  • Support Veo 2 Editing on Vertex (6e34fd0)

Bug Fixes

  • Enable id field in FunctionCall for Vertex AI. (7c6e047)

v1.18.0

09 Sep 11:44
826eb30

Choose a tag to compare

1.18.0 (2025-09-09)

Features

  • generate the function_call class's converters (e57a7bc)
  • Implement embed content batches. (9cb8613)

v1.17.0

03 Sep 23:00
f3f7f3d

Choose a tag to compare

1.17.0 (2025-09-02)

Features

  • Add resolution field for Gemini Developer API Veo 3 generation (5ce467b)

v1.16.0

27 Aug 20:44
170adf0

Choose a tag to compare

1.16.0 (2025-08-27)

Features

  • add sdkHttpResponse.headers to *Delete responses. (397c602)
  • Add add_watermark field for recontext_image (Virtual Try-On, Product Recontext) (e182fe8)
  • Add output_gcs_uri to Imagen upscale_image (8db102a)
  • add outputSchema support for MCP (e2d4e50)
  • Add VALIDATED mode into FunctionCallingConfigMode (af410e7)
  • Add VideoGenerationReferenceType enum for generate_videos (eb17013)
  • Support GenerateVideosSource for Veo GenerateVideos (2241749)
  • support tunings.cancel in the genai SDK for Python, Java, JS, and Go (2d67d25)
  • Update server test recordings to JSON. (dd0a033)

Bug Fixes

  • js: empty env vars should be treated as undefined. (16a80c0)

v1.15.0

18 Aug 23:28
3e8f6d8

Choose a tag to compare

1.15.0 (2025-08-18)

Features

  • Support Imagen image segmentation on Vertex (6b86bae)
  • Support Veo 2 Reference Images to Video Generation on Vertex (6bca6ad)

Bug Fixes

  • chats: Drop the validation on part with empty text (d2602d2)
  • Fix the bug to support Gemini Batch inlined requests system instruction (843c774)

v1.14.0

14 Aug 00:49
5ba44cf

Choose a tag to compare

1.14.0 (2025-08-13)

Features

  • add an _exclude_fields characteristic in the config for unused values to avoid unnecessary and unused code in converter and type generation. (15a4504)
  • enable continuous fine-tuning on a pre-tuned model in the SDK. (027f09d)
  • support document name in grounding metadata (b801236)
  • Support exclude_domains in Google Search and Enterprise Web Search (8ed49f1)

Bug Fixes

  • Replace gemini-2.5-flash-preview-04-17 with gemini-2.5-flash. (d7f1c30)

v1.13.0

06 Aug 22:53
a537567

Choose a tag to compare

1.13.0 (2025-08-06)

Features

  • Add image_size field for Gemini Developer API Imagen 4 generation (9841ecb)
  • Add Lyria enum for music generation mode for vocalization (b05821f)
  • allow methods in batch to return headers in sdk_http_response by default (55a2be4)
  • enable responseId for Gemini Developer API (40e3a58)
  • Support image recontext on Vertex (e417867)
  • Support new enum types for UrlRetrievalStatus (88b47e6)

v1.12.0

30 Jul 22:05
f5ada3c

Choose a tag to compare

1.12.0 (2025-07-30)

Features

  • allow methods in models to return headers in sdk_http_response by default. (efdcb8a)
  • allow methods in tuning to return headers in sdk_http_response by default (f81c16a)

Bug Fixes

  • Correctly populated the Rai filter reasons on Video Generation (316cdb0)