Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: image edits/inpaiting 支持 replicate 的 flux remix #1986

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

Laisky
Copy link
Contributor

@Laisky Laisky commented Dec 16, 2024

功能说明

前端以统一的 OpenAI Image Edits 接口,后端同时支持 OpenAI dall-e-2 和 replicate 的 flux remix。

前提

该 PR 依赖于以前的两个 PR(本次提交中包含了这两个历史 PR)

自测

CleanShot 2024-12-16 at 17 33 25@2x

CleanShot 2024-12-16 at 17 15 36@2x

Copy link

codecov bot commented Dec 20, 2024

Codecov Report

Attention: Patch coverage is 12.88660% with 338 lines in your changes missing coverage. Please review.

Project coverage is 1.57%. Comparing base (7c8628b) to head (d2bc9eb).
Report is 20 commits behind head on main.

Files with missing lines Patch % Lines
relay/adaptor/replicate/image.go 0.00% 138 Missing ⚠️
relay/adaptor/replicate/adaptor.go 0.00% 72 Missing ⚠️
relay/adaptor/replicate/model.go 48.00% 44 Missing and 8 partials ⚠️
relay/controller/image.go 0.00% 25 Missing ⚠️
common/gin.go 0.00% 14 Missing ⚠️
relay/adaptor/openai/image.go 0.00% 11 Missing ⚠️
middleware/utils.go 0.00% 6 Missing ⚠️
controller/relay.go 0.00% 4 Missing ⚠️
relay/adaptor/ollama/main.go 0.00% 3 Missing ⚠️
relay/adaptor/common.go 0.00% 2 Missing ⚠️
... and 7 more
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1986      +/-   ##
========================================
+ Coverage   1.21%   1.57%   +0.36%     
========================================
  Files        146     149       +3     
  Lines      12295   12644     +349     
========================================
+ Hits         149     199      +50     
- Misses     12132   12423     +291     
- Partials      14      22       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@songquanpeng
Copy link
Owner

可能跟我的合并顺序有关系,目前有些冲突

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants