Skip to content

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

Closed
Laisky wants to merge 12 commits intosongquanpeng:mainfrom
Laisky:patch/replicate-flux-inpainting
Closed

feat: image edits/inpaiting 支持 replicate 的 flux remix #1986
Laisky wants to merge 12 commits intosongquanpeng:mainfrom
Laisky:patch/replicate-flux-inpainting

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

@codecov
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

❌ 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 186 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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@songquanpeng
Copy link
Owner

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

@Laisky Laisky closed this Sep 16, 2025
@Laisky Laisky deleted the patch/replicate-flux-inpainting branch September 16, 2025 23:12
iceyarmu pushed a commit to iceyarmu/one-api that referenced this pull request Nov 16, 2025
…and_yarn/electron/electron-35.7.5

chore(deps-dev): bump electron from 28.3.3 to 35.7.5 in /electron
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