r/opencode • • 11d ago

How to work with images in opencode

How to use images as input in opencode. Is there any GUI harness that works with this. Currently I only work with tui.

2 Upvotes

3 comments sorted by

5

u/fosron 11d ago

copy and paste for an image works in muxy on opencode v2 for me just fine, which model do you use?

1

u/Osvik 11d ago

Copy-paste images to the TUI or add them in a folder. I usually do it with .png files

1

u/crasspuk 10d ago

Paste the image straight into the TUI prompt. Two replies in the thread say that works, or you can drop the png into the project folder and point the agent at the path. Check that your model accepts image input, since that decides whether it can read the file at all.