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

feature: 支持 replicate 的绘图 #1954

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Laisky
Copy link
Contributor

@Laisky Laisky commented Nov 28, 2024

功能

增加对 Replicate Image Creation 的支持。

相关 Issue: #798

截图

CleanShot 2024-11-28 at 17 23 11@2x

CleanShot 2024-11-28 at 16 57 45@2x

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

Attention: Patch coverage is 0.92166% with 215 lines in your changes missing coverage. Please review.

Project coverage is 1.20%. Comparing base (6ab87f8) to head (4dd2b9d).

Files with missing lines Patch % Lines
relay/adaptor/replicate/image.go 0.00% 138 Missing ⚠️
relay/adaptor/replicate/adaptor.go 0.00% 41 Missing ⚠️
relay/adaptor/replicate/model.go 0.00% 20 Missing ⚠️
relay/controller/image.go 0.00% 12 Missing ⚠️
relay/adaptor/openai/util.go 0.00% 2 Missing ⚠️
relay/channeltype/helper.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main   #1954      +/-   ##
========================================
- Coverage   1.21%   1.20%   -0.01%     
========================================
  Files        145     148       +3     
  Lines      12281   12490     +209     
========================================
+ Hits         149     151       +2     
- Misses     12118   12325     +207     
  Partials      14      14              

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

@Laisky Laisky changed the title feat: add Replicate adaptor and integrate into channel and API types feature: 支持 replicate 的绘图 Nov 28, 2024
@ClarkChin08
Copy link

这个赞!我们有计划把replicate上collections里popular的那些都支持吗?

@Laisky
Copy link
Contributor Author

Laisky commented Dec 8, 2024

这个赞!我们有计划把replicate上collections里popular的那些都支持吗?

慢慢来,先支持 replicate image,再支持 remix/inpainting,最后是 chat。

最近痴迷于 cyberpunk,好几天没写代码了。

这边 merge 很慢,得等 owner 有空。要用的话可以考虑用我的 https://github.com/Laisky/one-api

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