Skip to content

[FEATURE] Add support for gemini 2.5 image (Nano banana) on the .paint action #473

@myxoh

Description

@myxoh

Scope check

  • This is core LLM communication (not application logic)
  • This benefits most users (not just my use case)
  • This can't be solved in application code with current RubyLLM
  • I read the Contributing Guide

Due diligence

  • I searched existing issues
  • I checked the documentation

What problem does this solve?

The Gemini 2.5 image family requires a different calling pattern to generate an image with the .paint command - my goal is to add support for this model on the famifly of supported image models

Proposed solution

When calling the API for Gemini models - we should check whether the image models supports predict or generateContent - and decide the API params and structure accordingly

Why this belongs in RubyLLM

This is the best image model as per various benchmarks and it is currently not possible to call it using .paint

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions