Latest Gemini and Nano Banana Enhancements in LangChain4j
A few days ago, LangChain4j 1.11.0 was released, and with this version, a few notable enhancements to the support of the Gemini model family have landed. Let’s dive in!
New Image Generation Models (Gemini 2.5 & 3.0 Preview, aka 🍌 Nano Banana)
Note: Before showing some snippets of code, let me give you the link to the full documentation on the new image model: docs.langchain4j.dev/integrations/image-models/gemini
There’s a new GoogleAiGeminiImageModel class which allows text-to-image generation and image editing using the latest 🍌 Nano Banana models.
