Images, videos, and file uploads
You can attach images, videos, audio, documents, code, and other assets to give v0 context or add them to your application. v0 supports uploading files directly into the chat or copying and pasting images from your clipboard.
Uploading files
Using the attachment button
- Click the + icon in the chat input area and choose Upload from computer
- Select a supported file from your device
- The file will be uploaded and displayed in the chat
- Add your prompt describing how v0 should use the file
Drag and drop
You can also drag and drop files directly into the chat area:
- Select a supported file from your file explorer
- Drag it over the chat interface
- Drop it when you see the upload indicator
Copy and paste
For quick additions, you can copy images directly from other applications and paste them into the chat:
- Copy an image from any application (browser, design tool, etc.)
- Use
Cmd+V(Mac) orCtrl+V(Windows/Linux) to paste
Supported file types
The upload server accepts the following formats:
| Category | Supported formats |
|---|---|
| Images | PNG, JPEG/JPG, WebP, GIF, SVG, ICO, AVIF |
| Video | MP4, WebM, OGG, MOV/QuickTime |
| Audio | MP3/MPEG, WAV, OGG |
| Documents | PDF, DOCX, XLSX |
| 3D and model assets | GLB, glTF, OBJ |
| Text, code, and data | Plain text and other text/* files; common code and configuration files; JSON, TypeScript, JavaScript, YAML, SQL, XML, shell, PHP, Ruby, and AWK |
| Archives | ZIP, GZIP/GZ |
| Fonts | WOFF, WOFF2, TTF |
| EML | |
| Rive assets | RIV |
File acceptance is based primarily on the file's detected MIME type. Known text, code, and Rive extensions are handled separately when browsers do not report a useful MIME type.
DOCX and XLSX files are available in VM-backed chats, where v0 materializes and reads them in the sandbox. Legacy DOC and XLS files are not supported.
Use Cases
Product galleries and catalogs
Add product images to create rich e-commerce experiences:
Media players and video content
Include video files for media-rich applications:
User avatars and profiles
Add user profile images and avatars:
Hero sections and banners
Incorporate images into landing pages and hero sections:
Limits
File size limits vary depending on where you're uploading and your subscription tier:
| Upload Type | Free Users | Premium/Plus/Business/Enterprise Users |
|---|---|---|
| Chat attachments | 5 MB | 20 MB |
| ZIP file uploads | 10 MB | 50 MB |
Best practices
- Use high-resolution images (at least 1024px wide) for better display quality
- Optimize images for web use to ensure fast loading times
- Combine media with clear instructions to get better results
Troubleshooting
If you're having trouble uploading files:
- Check that your file is under the size limit
- Ensure the file format is supported
- Try refreshing the page and uploading again
If v0 isn't properly integrating your media:
- Provide more specific instructions about how you want the media displayed
- Specify the component type (gallery, player, background, etc.)
- Include layout preferences (grid, carousel, single display)
By leveraging images and videos in your v0 workflow, you can create rich, media-enhanced applications that provide engaging user experiences.