> ## Documentation Index
> Fetch the complete documentation index at: https://subframe-59800133-gtmbot-restructure-dark-mode-docs-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Image to design

> Upload images to prompt AI when generating designs.

Upload screenshots or mockups and Ask AI to recreate designs using your components and theme.

## Upload an image

1. Click the **image icon** in the Ask AI toolbar or drag an image directly into the prompt area.
2. Add a prompt describing how to use the image
3. Press <kbd>Enter</kbd> to generate

AI analyzes the image and creates 1-4 variations that match the structure using your Subframe components.

Supported formats: PNG, JPG, JPEG, WebP

## Import from Figma

1. In Figma, select a frame to copy as PNG (right-click or press <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd>)
2. In Ask AI, paste the image into the prompt area
3. Add a prompt and press <kbd>Enter</kbd>
