Media Library: Structured media management for teams
发布时间:2026-11-06 | 浏览:1
Treat your assets like structured content, not files
Structured, queryable, and versioned media that live alongside your content and serves your whole organization.
Structured, queryable, and versioned media that live alongside your content and serves your whole organization.
Stop duplicating assets across projects
One logo, 8 projects. Upload once, reference everywhere. No reuploading the same file over and over.
Preserve the original file
Every video and image maintains its unmodified source alongside the delivery-optimized versions.
Find assets by meaning, not filename
AI reads what's in your images. You add the business context, like license type and campaign.
Update once, fix everywhere
Upload a better version. See where it's used. Set it live everywhere. Revert anytime.
Rights management lives with the asset
License terms, expiration dates, and approved territories right on the asset. No Slack threads.
AI extracts subjects, scenes, colors, and concepts automatically.
AI analyzes images so you can search by what you see
Upload an image of a woman riding a bike by a mountain, and Media Library understands what's in it, not just that it's called DSC_0847.jpg. AI extracts subjects, scenes, colors, and concepts automatically.
Filter by what matters
Find assets in active use, specific aspect ratios, approval status, referenced products, license, or by any other field.
Bulk operations that feel native
Select assets like you'd select files on your desktop. Shift-click a range, cmd-click specific ones, then bulk-update copyright info or move to a new collection.
Stop paying for assets no one uses
Identify what's actually referenced. Spot orphaned files. Delete with confidence, not guesswork.
defineAssetAspect ({ name : 'rights' , title : 'Rights' , type : 'object' , fields : [ defineField ({ name : 'licence' , title : 'Licence' , type : 'array' , of : [{ type : 'string' }], }), defineField ({ name : 'photographer' , title : 'Photographer' , type : 'string' , }) ] })
Structure assets with code
Define fields and references in code. Query assets for front-end display and filter to enforce governance, like surfacing license status.
Let agents check usage and draft metadata
Sanity MCP shows agents which documents use an asset and validates edits against the library's schema. Ask before swapping a hero image.
Automate workflows when assets change
Run code when assets are uploaded, updated, or deleted. Automatically generate alt text or video captions.
Store high-resolution originals in Media Library. Sanity's image CDN delivers optimized versions on-demand: WebP/AVIF formats, responsive sizes, quality adjustments, focal-point cropping.
Version control with instant rollback
Every asset version is preserved. Upload updated product shots and push them live across all channels in one action. Need to revert? Select any previous version and make it active.
Keep sensitive assets secure
Control access to confidential or time-sensitive assets with authenticated delivery and role-based permissions. Prevent accidental reuse and early leaks.
Choose which fields are public
Mark fields like alt text as public for fast, unauthenticated queries. Everything else stays private by default.
Manage assets in your editorial workspace
An all-code content workspace configured by you, where editors collaborate in real time and preview changes live before publishing.
Automate asset workflows
Deploy custom functions to automate content operations. Validate data, run Agent API workflows, and integrate with any system — no infrastructure to manage.
Auto-generate alt text
Event-driven, schema-aware APIs to automate content operations — AI enrichment, translation, and system syncs — triggered by any dataset change.
Query your assets
Your content should be live by default. Deliver updates instantly across every frontend without complex cache invalidation.