← Home
FEATURE

File Uploads & Attachments

Attach images, documents, and code files to your prompts for context-aware builds.

Why Upload Files?

Text prompts work great, but sometimes a picture is worth a thousand words. Uploading a screenshot of a design you like, a wireframe, or a reference site gives the AI visual context that dramatically improves the output.

You can also upload code files, JSON data, or documents that you want the AI to incorporate into the build. For example, upload a CSV of product data and ask the AI to build a catalog displaying that data.

Supported File Types

IMAGES

  • PNG
  • JPG / JPEG
  • GIF
  • SVG
  • WebP

DOCUMENTS

  • PDF
  • TXT
  • Markdown (.md)

CODE

  • JavaScript (.js)
  • TypeScript (.ts)
  • HTML
  • CSS
  • JSON

DATA

  • CSV
  • JSON
  • XML

How to Upload

1

Click the Attachment Icon

In the Studio prompt input, click the paperclip icon to the left of the text field. A file picker will open.

2

Select Your File

Choose a file from your device. You can upload one file at a time. The file will appear as a thumbnail or filename badge above the input.

3

Add Your Prompt

Type your prompt alongside the attachment. For example: "Build a landing page that looks like this" with a screenshot attached.

4

Send

Hit send. The AI processes both the text and the file together. For images, it analyzes the visual layout, colors, and structure. For code and data files, it reads the content directly.

Size Limits

  • Images: Up to 10 MB per file
  • Documents & code: Up to 5 MB per file
  • One file per message. If you need to provide multiple files, send them in separate follow-up messages.

Best Practices

  • Pair images with text. Do not just upload a screenshot — explain what you want from it. "Build this exact layout" is much better than uploading an image with no prompt.
  • Use high-quality screenshots. Clear, full-screen captures give the AI more detail to work with than small or cropped images.
  • Upload data early. If your app needs to display specific data, upload the data file in your first message so the AI can structure the app around it.