Optimize Asset
Component Assets
Optimize Asset
Optimize a component asset for size and format
POST
Optimize Asset
Optimize an image asset by converting format, adjusting quality, or resizing.Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Organization ID
Project ID
Component ID
Asset ID
Request Body
Optimization options (at least one property required)
Image quality (1-100)
Output format:
jpeg, png, webp, or avifTarget width in pixels (1-10000)
Target height in pixels (1-10000)
Example Request
Response
Returns the optimized Component Asset object.Optimization replaces the original file. The original size is stored in metadata for reference.