how to send images along with my text prompt?

Hey guys, i am trying to send images along with my text prompt but i think mindstudio doesn’t allow that? I can send it as a url but i dont want to do that because it impacts the quality of the result. can someone please help me with this? how can i attach image in my generate text block in mindstudio?

You upload the image in the upload block and save that as a variable, e.g. {{image}}

Then in the next block, use a Generate text block and refer to the variable in your prompt, for example:

Look at the following image and tell me what you see:
{{image}}

Wouldn’t it be better to use an analyze image block (vision model)?

1 Like

Yeah unless he wants to use LLMs like Gemma 3 for analysis. But op didn’t mention what he wants to do exactly and he said he wants the Generate text block, so I guess that’s what he will have to do.

1 Like

Yes i understand it makes sense to use image block here but when i use those vision blocks i get error-
ERRORModel Error:

GPT-4o-2024-05-13 Error while downloading https://api.urlbox.io/v1/OPR4m92cciepzBnl/39d887f1c96285a95931098c90f5eaf61a2bd1ef0c1de5106743fe0b2cdc2b00/jpg?ttl=86400&unique=2025-05-06T04%3A54%3A09.952Z&url=https%3A%2F%2Fwww.coyuchi.com%2Fproducts%2Forganic-linen-sheets%3Fvariant%3D50400990331172&device=desktop&full_page=true&scroll_page=false&block_ads=true&block_trackers=true&no_cookie_banners=true&hide_cookie_banners=true&no_modals=true&click_accept=true&block_frames=true&max_height=3098&wait_until=requestsfinished&quality=80.

I think i will have to raise a separate help ticket for this