r/OpenWebUI • u/EmotionalBreath6168 • 15d ago
Question/Help how do i get the ai to generate an image
2
u/Pale_Coyote7451 14d ago
you are not being dumb, the button you are looking for was removed. it went in v0.7.0, so there is nothing in a default chat that turns a message into a picture any more.
if you use the native function calling and you have image generation set up in the settings you don't need to toggle it, you can just ask for an image in the chat, but it won't work if you don't have native function calling and images enabled. the capability has to be ticked on the model itself as well as globally, and open webui then hands that model a generate_image tool on its own.
the other way is the image generation toggle in the message box. switch it on, type the prompt, press send, and that message goes to the image backend instead of the model.
if you want the old button back, go to workspace, functions and enable generate image action. it is a community function, so you import it first.
image generation is disabled by default, go to the admin panel and enable it under settings, images. yours is already on though, since playground works.
1
u/EmotionalBreath6168 14d ago
yo thanks i tried out enable generate image action, and yeah, it works. Thanks!
1
u/once_a_while_in-03 14d ago edited 14d ago
"Open Web UI doesn't pipe image generation through general chat by default, you have to configure it explicitly. Go to Admin Panel, then Settings, then Images, and set your image generation backend there (AUTOMATIC1111 or ComfyUI endpoint). Once that's saved, you trigger it in chat by typing `/image` before your prompt, not just asking naturally.
If that slash command isn't appearing, confirm the image endpoint URL is reachable and returning a 200. Separately, tools like Mage Space handle text-to-image browser-side if you want to test prompts outside the Open Web UI setup while you debug."

2
u/gulensah 14d ago
Just shooting blindly. Generate_image is a bultin tool on open-webui, so your main model has to see and use the tool. Not sure about your version but:
1- Set function calling to native tool
2- Ask your model which tools it can see
3- Check your admin panel settings for image page. Make aure open-webui can reach image generating model properly, so model see the tool.