> For the complete documentation index, see [llms.txt](https://docs.warp.dev/llms.txt).
> Markdown versions of each page are available by appending .md to any URL.

# Images as Context

Attach screenshots, diagrams, or other images to your prompt so Warp’s Agent can use visual context when generating responses.

Attach screenshots, diagrams, or other images directly to agent prompts so the agent can use visual context when generating responses. Warp supports drag-and-drop, copy-paste, and file upload in local and cloud conversations.

## **Attaching images as context**

To provide visual context, you can attach images directly to an agent prompt. This is useful for including screenshots, diagrams, or other visual references alongside your query.

You can attach images in the following ways:

-   Select the **image upload button** in the agent input.
-   Copy and paste images directly (e.g. right-click an image > “Copy image” or copy from a file manager) into Warp.
-   Drag and drop images, such as from a file manager or screenshot utility.

Note

Warp accepts the following image formats: `.jpg`, `.jpeg`, `.png`, `.gif`, and `.webp`.

## Images in cloud conversations

In an interactive cloud conversation, attach an image with the file button in the input footer, paste an image from your clipboard, or drag and drop an image into the input.

Legacy `oz agent run-cloud --attach` task creation uses separate file-attachment limits. See [running agents remotely](https://docs.warp.dev/agents/cli/oz-cli/#running-agents-remotely-oz-agent-run-cloud) for those limits.

### Model behavior and image handling

All supported models listed in [Model Choice](https://docs.warp.dev/agents/inference/model-choice/) can interpret image input.

Attaching images will consume additional requests, proportional to the number of images added. To stay within model limits, Warp will intelligently resize images before passing them as context, minimizing token usage and respecting the model’s maximum image dimensions.
