Skip to content

add support of doubao image#16

Merged
OrenZhang merged 2 commits intoOVINC-CN:mainfrom
yuzukumo:main
Apr 20, 2026
Merged

add support of doubao image#16
OrenZhang merged 2 commits intoOVINC-CN:mainfrom
yuzukumo:main

Conversation

@yuzukumo
Copy link
Copy Markdown
Contributor

Support text-to-image, image-to-image, multi-image input, and grouped image generation
Support Seedream 5.0 options including size, output_format, watermark, and optional web search

@OrenZhang
Copy link
Copy Markdown
Contributor

请先执行 pre-commit 格式化代码哈

pip install pre-commit pylint

make lint

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new OpenWebUI pipe that integrates Doubao (Seedream 5.0) image generation, including multi-image inputs and Seedream-specific options, returning generated images via OpenWebUI file uploads.

Changes:

  • Introduces pipes/doubao_image.py implementing a Doubao image generation pipe.
  • Adds message parsing to collect prompts + input images (markdown/file refs and image_url items).
  • Uploads returned base64 images to OpenWebUI and formats results as markdown in SSE responses.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pipes/doubao_image.py
Comment thread pipes/doubao_image.py
@yuzukumo
Copy link
Copy Markdown
Contributor Author

Run and pass the developer-required formatting and checks via make lint (pre-commit + pylint)

@OrenZhang OrenZhang merged commit f3f3d7e into OVINC-CN:main Apr 20, 2026
1 check passed
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.

3 participants