Skip to content

[Bug]: LiteLLM does not support image editing for Vertex AI models #16565

@logansgitsetup

Description

@logansgitsetup

What happened?

Issue
LiteLLM currently lacks support for image editing capabilities when using Google Vertex AI models. While other providers may support image editing operations, the Vertex AI integration does not expose or implement this functionality. Issue remains same until Latest version v1.79.3

Expected Behavior
LiteLLM should support image editing operations (such as image modification, inpainting, or variation generation) for Vertex AI models that have these capabilities, similar to how it supports image editing for other providers like OpenAI.

Relevant log output

.venv\Lib\site-packages\litellm\images\main.py", line 741, in image_edit
    raise ValueError(f"image edit is not supported for {custom_llm_provider}")
ValueError: image edit is not supported for vertex_ai

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v.1.78.5

Twitter / LinkedIn details

https://www.linkedin.com/in/loganathan-r/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions