Skip to content

Media Library

Every project has a media library for images, video, audio, PDFs and other files. Files are served publicly from Frontend’s CDN, so you can use their URLs anywhere in your app.

Open Media in the project’s sidebar to upload files (up to 20 MB each), browse and search them, and delete them. Choosing files pastes their URLs into the active agent’s prompt, so you can say where to use them.

Agents manage the library through the Frontend MCP server’s LIST_MEDIA, UPLOAD_MEDIA and DELETE_MEDIA tools, and images and videos they generate with OpenRouter are saved there too.

The media library holds the files you and your agents add while building. For files your app’s own users upload at runtime, use Supabase Storage.