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

  1. Click the + icon in the chat input area and choose Upload from computer
  2. Select a supported file from your device
  3. The file will be uploaded and displayed in the chat
  4. 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:

  1. Select a supported file from your file explorer
  2. Drag it over the chat interface
  3. 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:

  1. Copy an image from any application (browser, design tool, etc.)
  2. Use Cmd + V (Mac) or Ctrl + V (Windows/Linux) to paste

Supported file types

The upload server accepts the following formats:

CategorySupported formats
ImagesPNG, JPEG/JPG, WebP, GIF, SVG, ICO, AVIF
VideoMP4, WebM, OGG, MOV/QuickTime
AudioMP3/MPEG, WAV, OGG
DocumentsPDF, DOCX, XLSX
3D and model assetsGLB, glTF, OBJ
Text, code, and dataPlain text and other text/* files; common code and configuration files; JSON, TypeScript, JavaScript, YAML, SQL, XML, shell, PHP, Ruby, and AWK
ArchivesZIP, GZIP/GZ
FontsWOFF, WOFF2, TTF
EmailEML
Rive assetsRIV

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:

Build a product catalog page that displays these product images in a responsive grid.

Media players and video content

Include video files for media-rich applications:

Create a video player component that can display this video with custom controls.

User avatars and profiles

Add user profile images and avatars:

Build a user profile page that displays this avatar image and allows users to upload their own.

Hero sections and banners

Incorporate images into landing pages and hero sections:

Create a hero section using this background image with overlay text and call-to-action buttons.

Limits

File size limits vary depending on where you're uploading and your subscription tier:

Upload TypeFree UsersPremium/Plus/Business/Enterprise Users
Chat attachments5 MB20 MB
ZIP file uploads10 MB50 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.