[FEATURE]:: paste images directly into the chat UI like another chat cllients #8544

Open
opened 2026-02-16 18:10:14 -05:00 by yindo · 1 comment
Owner

Originally created by @skyySea1 on GitHub (Feb 4, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Main problem: Unable to paste images directly into the chat UI

Context
In the OpenCode chat graphical interface, it’s currently not possible to paste images directly from the clipboard (Ctrl+V / Cmd+V).
This breaks common workflows such as sharing screenshots of errors, diagrams, UI bugs, or visual outputs.

Current behavior

  • Pasting an image into the chat → nothing happens
  • Only manual uploads (when available) or external links work

Expected behavior

  • Support direct image pasting from clipboard to chat
  • Immediate image preview
  • Image sent together with the message

Critical use cases

  • Visual debugging (stack traces, broken UI, rendered logs)
  • Fast discussion of layouts and flows
  • Visual comparison without leaving the chat context
  • Create designs more quickly using Kimi k2

Possible suggestion

  • Listen to clipboard paste events
  • Detect image/png, image/jpeg MIME types
  • Convert to blob/base64 and attach to the message payload
Originally created by @skyySea1 on GitHub (Feb 4, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request ### Main problem: Unable to paste images directly into the chat UI **Context** In the **OpenCode** chat graphical interface, it’s currently not possible to **paste images directly from the clipboard** (`Ctrl+V / Cmd+V`). This breaks common workflows such as sharing screenshots of errors, diagrams, UI bugs, or visual outputs. **Current behavior** * Pasting an image into the chat → nothing happens * Only manual uploads (when available) or external links work **Expected behavior** * Support **direct image pasting** from clipboard to chat * Immediate image preview * Image sent together with the message **Critical use cases** * Visual debugging (stack traces, broken UI, rendered logs) * Fast discussion of layouts and flows * Visual comparison without leaving the chat context * Create designs more quickly using Kimi k2 **Possible suggestion** * Listen to clipboard `paste` events * Detect `image/png`, `image/jpeg` MIME types * Convert to blob/base64 and attach to the message payload
yindo added the discussionweb labels 2026-02-16 18:10:14 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 4, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #906: Feature request: Paste to attach image
  • #8340: [FEATURE]:Add an Alt+V feature to paste images from the clipboard
  • #8490: [FEATURE]: Accept Alt+V for image pasting by default
  • #4983: AI_APICallError - base64 encoded image pasted
  • #5927: [FEATURE]: Make pasted / attached image fit below 5 MB

There are also several terminal-specific image pasting issues:

  • #10154: Image Clipboard Paste Not Working in OpenCode
  • #10859: Can not paste images when running in JetBrains terminal
  • #4687: Cannot paste image on Zed
  • #6331: pasting images doesn't work on konsole, linux
  • #9868: ubuntu 25.10 cant paste image on desktop app

Feel free to ignore if your specific case differs from these, but reviewing these issues may provide useful context or existing discussions about this feature.

@github-actions[bot] commented on GitHub (Feb 4, 2026): This issue might be a duplicate of existing issues. Please check: - #906: Feature request: Paste to attach image - #8340: [FEATURE]:Add an Alt+V feature to paste images from the clipboard - #8490: [FEATURE]: Accept Alt+V for image pasting by default - #4983: AI_APICallError - base64 encoded image pasted - #5927: [FEATURE]: Make pasted / attached image fit below 5 MB There are also several terminal-specific image pasting issues: - #10154: Image Clipboard Paste Not Working in OpenCode - #10859: Can not paste images when running in JetBrains terminal - #4687: Cannot paste image on Zed - #6331: pasting images doesn't work on konsole, linux - #9868: ubuntu 25.10 cant paste image on desktop app Feel free to ignore if your specific case differs from these, but reviewing these issues may provide useful context or existing discussions about this feature.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8544