mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #794] [MERGED] feat: add openai image tool #1553
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/794
Author: @fdb02983rhy
Created: 4/25/2025
Status: ✅ Merged
Merged: 4/25/2025
Merged by: @crazywoola
Base:
main← Head:feat-add-openai-gpt-image-tool📝 Commits (2)
59904b6feat: add openai image toole41475aUpdate manifest.yaml📊 Changes
19 files changed (+1336 additions, -0 deletions)
View changed files
➕
tools/openai/.env.example(+4 -0)➕
tools/openai/README.md(+42 -0)➕
tools/openai/_assets/icon.png(+0 -0)➕
tools/openai/_assets/openai_1.png(+0 -0)➕
tools/openai/_assets/openai_2.png(+0 -0)➕
tools/openai/_assets/openai_3.png(+0 -0)➕
tools/openai/main.py(+6 -0)➕
tools/openai/manifest.yaml(+37 -0)➕
tools/openai/provider/openai.py(+15 -0)➕
tools/openai/provider/openai.yaml(+69 -0)➕
tools/openai/requirements.txt(+2 -0)➕
tools/openai/tools/dalle2.py(+51 -0)➕
tools/openai/tools/dalle2.yaml(+80 -0)➕
tools/openai/tools/dalle3.py(+106 -0)➕
tools/openai/tools/dalle3.yaml(+131 -0)➕
tools/openai/tools/gpt_image_edit.py(+223 -0)➕
tools/openai/tools/gpt_image_edit.yaml(+144 -0)➕
tools/openai/tools/gpt_image_generate.py(+207 -0)➕
tools/openai/tools/gpt_image_generate.yaml(+219 -0)📄 Description
Related Issues or Context
https://platform.openai.com/docs/guides/image-generation?image-generation-model=gpt-image-1
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
Generate





Edit-1
Edit-2
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.1.0,<0.2.0in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.