Cost: sending a message with attachments runs a normal generation, so it costs the usual
3 credits (build) or 2 credits (edit) — the same as any prompt. Attaching costs nothing on its
own. See Credits & usage.
Why use it
- Show, don’t describe. A screenshot of a layout you like communicates a design faster than a paragraph trying to describe it.
- Build from your own data. Hand the agent a CSV, a logo, or a document and ask it to use that in the project.
- Fewer back-and-forth edits. Giving the agent the real reference up front beats correcting it afterward.
Upload photo vs upload file
The two menu items are not interchangeable — pick by intent.| You pick | What it’s for | What happens |
|---|---|---|
| Upload photo | A visual reference — a design, a screenshot, a mockup | The agent sees the image and uses it as a reference. |
| Upload file | A project file — data, a document, a logo to embed | The file is committed into your project so the agent can read it. |
How to attach
Choose Upload photo or Upload file
Pick Upload photo for a visual reference, or Upload file for a project file. Select the
file from your device.
Review the chips
Each attachment appears as a chip on your message. Add more, or remove one before sending.
Examples
Attach a screenshot as a reference (Upload photo), then prompt:Limitations & good to know
- Up to 10 images per message. That’s the per-message cap for photos.
- Files attached in chat are committed before the build runs, so a build that fails, times out, or a plan you reject can’t lose them.
- Files are not published with your site. A file you attach in chat is readable by the agent but is not served on your live site, so a screenshot with private details can’t leak to a published URL. (To make something part of the public site, ask the agent to use it, or add it via the Files tab Upload.)
- An attachment-only message still runs a full generation and costs credits. To just store a file without building, use the Upload button in the Files tab.
- Text files in non-UTF-8 encodings are treated as binary. A file in an encoding like Windows-1251 may not be read as readable text.
FAQ
What's the difference between Upload photo and Upload file?
What's the difference between Upload photo and Upload file?
Upload photo gives the agent an image to look at as a reference. Upload file adds a file into your project that the agent can read and use. Pick by what you want it to do, not by the file type.
How many images can I attach?
How many images can I attach?
Up to 10 per message.
Does attaching a file cost credits?
Does attaching a file cost credits?
Attaching is free. Sending the message runs a normal build or edit, which costs the usual credits.
Is my attached file public?
Is my attached file public?
No. Files attached in chat are readable by the agent but are not served on your published site unless you ask the agent to use them in the site.
I just want to store a file, not build. How?
I just want to store a file, not build. How?
Use the Upload button in the Files tab — that stores a file without spending credits. Chat attachments always run a generation.
Related
- Files and artifacts — where uploaded and generated files live.
- Skills — reusable instructions that apply across projects.
- Credits & usage — what sending a prompt costs.