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.
Use the media library
Section titled “Use the media library”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 and the media library
Section titled “Agents and the media library”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.
Storage for your app
Section titled “Storage for your app”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.