17 views
-/https://github.com/berriai/litellm/issues/20961
GitHub · issue

#20961 [Feature]: Enable image edits for Xinference provider

  • State: open
  • Author: @lazariv
  • Labels: enhancement, proxy, llm translation

### Check for existing issues

- [x] I have searched the existing issues and checked that my issue is not a duplicate.

### The Feature

Enable `/images/edits` endpoint to be used with Xinference provider

### Motivation, pitch

It is great that LiteLLM can use Xinference as openai-compatible image generation endpoint. Many open-source models such as FLUX.2-dev, that can be hosted with Xinference also support `image2image`. It would be great to allow using `/images/edits` endpoint for Xinference provider as well.

``` curl -o >(jq -r '.data[0].b64_json' | base64 --decode > image-edit.jpeg) \ -X POST "http://localhost:9997/v1/images/edits" \ -H "Authorization: Bearer sk-key" \ -F "model=FLUX.2-dev" \ -F "image[]=@image.jpeg" \ -F 'prompt=Add a rainy sky outside' \ -F "response_format=b64_json" ```

### What part of LiteLLM is this about?

Proxy

### LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

### Twitter / LinkedIn details

_No response_

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (1 events)
#0 of 0 · 31d18h7m25s ago — entered · #import:https:::github.com:berriai:litellm post #2834
The right issue is substantially harder because it spans multiple cross-cutting subsystems, regressions, authorization paths, accounting, and performance work, whereas the left issue is a focused provider-specific endpoint integration.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search