EXTEND
Images
Show Uno a screenshot, a mockup or a diagram, and it can work from it.
IN ONE LINEDrag a file in, type
@path, or press Ctrl-V. With -p, use --image.uno -p "make the settings page match this" --image mock.png
uno -p "what's wrong in @shot.png?"
- PNG, JPEG, GIF (first frame) and WebP. HEIC and PDF are named and refused.
- An
@word that names no file is sent as typed, so@property,@types/node,@/lib/utilsor a Vim@astays text. A missing name that looks like a picture or a path, such as@shot.pngor@./shot, stops the prompt. Punctuation around a name is fine:@shot.png?and(@shot.png)attachshot.png. - With
-p, an@file that is not an image (@README.md) is sent as text with a note; in the chat it stops the prompt. - Over 2,000 px on the long side is shrunk. Location data and other EXIF is removed before sending.
- About 1,600 tokens an image on Haiku, up to about 4,800 on newer Claude models. Only the newest 20 are sent with each request.
- The model can also
readimages in your project, such as screenshots from a test run.
Use cases
Mockup to component
Paste the design; get the JSX and CSS.
--image design.png"It looks broken"
Paste a screenshot of the bug instead of describing it.
Ctrl-V