---
name: amt-ecommerce-assets
description: Prepare consistent storefront-ready product images with Agent Media Tools by removing backgrounds, cropping, resizing, converting, compressing, stripping metadata, watermarking, and producing a delivery manifest. Use for ecommerce listings, marketplace exports, product catalogs, and batch image preparation.
---

# Ecommerce assets

Create a reproducible asset set without overwriting source files.

## Establish the specification

Before processing, confirm the marketplace or exact dimensions, aspect ratio, background, output format, quality target, filename convention, and whether watermarks are allowed. Do not guess marketplace requirements; use the user's supplied specification or label the preset as unverified.

## Run the workflow

Check `GET /api/usage` or `GET /api/agent/usage` before a batch. If hosted capacity runs out mid-batch, preserve completed outputs, report unprocessed files, and ask before switching to an available local toolchain.

1. Inspect representative inputs with `analyze_image` or the browser image analyzer. Record dimensions, format, and orientation.
2. Remove backgrounds only when requested:
   - MCP `remove_background` with a public `image_url`
   - REST `POST /api/remove-bg`
   This may consume flexible credits. Preserve the original when edges or transparency need review.
3. Crop and resize to the agreed canvas:
   - MCP `crop_image`, then `resize_image`
   - REST `POST /api/crop-image`, then `POST /api/resize-image`
4. Convert and compress:
   - MCP `convert_image` and `compress_image`
   - REST `POST /api/convert-image` and `POST /api/compress-image`
   Follow the returned `downloadUrl`; REST image operations return JSON rather than raw image bytes.
5. Apply privacy or branding only when requested:
   - `strip_exif` removes metadata.
   - `watermark_image` adds approved text; confirm text and position first.
6. Validate every result for expected dimensions, format, transparency/background, legibility, and nonzero file size. Visually review a sample from every transformation path.
7. Produce a manifest with source filename, output filename, dimensions, format, byte size, transformations, warnings, and download URL. Use `generate_xlsx` when a spreadsheet is useful.

## Return

Deliver the processed assets, manifest, before/after size summary, and a `needs_review` list. Never label assets marketplace-compliant unless their current requirements were supplied or verified.

Product-image workflow: https://agentmediatools.com/workflows/product-image-pipeline
Browser tools: https://agentmediatools.com/app?t=image
