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: support openai images edits api #1369

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

Conversation

Laisky
Copy link
Contributor

@Laisky Laisky commented Apr 25, 2024

说明

支持 OpenAI 的 ImagesEdits 接口

https://platform.openai.com/docs/api-reference/images/createEdit

这个接口比较特殊的地方在于接受的是 FORM 而不是 JSON。

自测

我已确认该 PR 已自测通过,相关截图如下:

CleanShot 2024-04-25 at 11 10 50@2x

@ye4293
Copy link
Contributor

ye4293 commented Apr 25, 2024

nb

@songquanpeng
Copy link
Owner

周末处理~

@Laisky
Copy link
Contributor Author

Laisky commented Apr 28, 2024

实用效果图,支持这个接口是为之后即将推出的 dall-e-3 inpaiting 作准备。

My.Movie.mp4

@popdo
Copy link

popdo commented May 7, 2024

这个功能是不是还没提交到最新版,试了一下不行。

@Laisky
Copy link
Contributor Author

Laisky commented May 7, 2024

这个功能是不是还没提交到最新版,试了一下不行。

尚未合并,目前只能用我的 fork 试。

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.

None yet

4 participants