[GH-ISSUE #15529] feat: Generate multiple Images and view as gallery #56255

Closed
opened 2026-05-05 19:02:35 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @j2L4e on GitHub (Jul 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15529

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Sometimes I use rather vague prompts and generate lots of images from the same prompt, just to collect ideas. Waiting for generation and then hitting regenerate is cumbersome and pretty inefficient.

Desired Solution you'd like

It would be nice if I there was a "Multiple Images" button in the "more" menu. This button should open a prompt that allows the user to specify (maybe within reasonable bounds) the number of images they want to create. A gallery with the appropriate number of loading spinners should appear. A should be replaced with a thumbnail of the generated image as soon as it's available. Images should be generated concurrently if possible.

Bounds for the number of images should be configurable globally or per model as they pretty much depend on specific model's and API's capabilities and your willingness to spend resources.

Alternatives Considered

No response

Additional Context

No response

Originally created by @j2L4e on GitHub (Jul 4, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/15529 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description Sometimes I use rather vague prompts and generate lots of images from the same prompt, just to collect ideas. Waiting for generation and then hitting regenerate is cumbersome and pretty inefficient. ### Desired Solution you'd like It would be nice if I there was a "Multiple Images" button in the "more" menu. This button should open a prompt that allows the user to specify (maybe within reasonable bounds) the number of images they want to create. A gallery with the appropriate number of loading spinners should appear. A should be replaced with a thumbnail of the generated image as soon as it's available. Images should be generated concurrently if possible. Bounds for the number of images should be configurable globally or per model as they pretty much depend on specific model's and API's capabilities and your willingness to spend resources. ### Alternatives Considered _No response_ ### Additional Context _No response_
Author
Owner

@ZainAli104 commented on GitHub (Jul 8, 2025):

@tjbck Can you assign me this issue. I want to do my first contribution :)

<!-- gh-comment-id:3049597442 --> @ZainAli104 commented on GitHub (Jul 8, 2025): @tjbck Can you assign me this issue. I want to do my first contribution :)
Author
Owner

@silentoplayz commented on GitHub (Jan 8, 2026):

Hi! I've created an Action function that addresses your request: Generate Image Action

This function adds a "Generate Image" button to the message toolbar and supports:

✅ Multiple image generation - Configure how many images to generate at once (tested up to 100 images)
✅ Incremental display - Images appear one-by-one as they complete, with real-time progress updates (e.g., "Generated 2/5 Image(s)...")
✅ Configurable settings - Adjust image size, quality steps, and bulk generation steps
✅ User-level customization - Per-user settings via UserValves
✅ Works with various backends - Compatible with ComfyUI, Automatic1111, DALL-E, etc.

The function generates images sequentially (to prevent database locking issues) but displays them incrementally for a responsive UX. While true concurrent generation isn't implemented yet and may not be implemented any time in the near future, the incremental display mode provides immediate visual feedback as each image completes.

You can install it directly from the Open WebUI Community and configure it to your needs!

<!-- gh-comment-id:3721330153 --> @silentoplayz commented on GitHub (Jan 8, 2026): Hi! I've created an Action function that addresses your request: **[Generate Image Action](https://openwebui.com/posts/3fadc3ca-c955-4c9e-9582-7438f0911b62)** This function adds a "Generate Image" button to the message toolbar and supports: ✅ **Multiple image generation** - Configure how many images to generate at once (tested up to 100 images) ✅ **Incremental display** - Images appear one-by-one as they complete, with real-time progress updates (e.g., "Generated 2/5 Image(s)...") ✅ **Configurable settings** - Adjust image size, quality steps, and bulk generation steps ✅ **User-level customization** - Per-user settings via UserValves ✅ **Works with various backends** - Compatible with ComfyUI, Automatic1111, DALL-E, etc. The function generates images **sequentially** (to prevent database locking issues) but displays them incrementally for a responsive UX. While true concurrent generation isn't implemented yet and may not be implemented any time in the near future, the incremental display mode provides immediate visual feedback as each image completes. You can install it directly from the Open WebUI Community and configure it to your needs!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#56255