BerriAI / litellm

Python SDK, Proxy Server (LLM Gateway) to call 100+ LLM APIs in OpenAI format - [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, Replicate, Groq]
https://docs.litellm.ai/docs/
Other
14.16k stars 1.68k forks source link

[Feature]: Support Edition methods for Image Generation Models #6772

Open emerzon opened 1 week ago

emerzon commented 1 week ago

The Feature

Today for image generation models, only the /images/generation method is supported. However, there are other methods such as /images/edits and /images/variations as described in https://platform.openai.com/docs/guides/images/?lang=curl&context=python

Google image generation models like imagen-2 and imagen-3 do have similar editing capabilities that could be unified. (https://cloud.google.com/vertex-ai/generative-ai/docs/image/edit-inpainting)

Motivation, pitch

Feature requested by internal users

Twitter / LinkedIn details

No response