wowmachine
smart_toy

trim-alpha-channel

wowmachine/trim-alpha-channel

Auto-crop transparent borders from a PNG with optional padding. Tightens cut-outs so they composite cleanly into product mockups and marketing assets.

Input

URL of the image to trim transparent borders from.

add_photo_alternate

Pixels of padding to add uniformly around the trimmed content.

min: 0max: 500

Output

image

Run the model to see output here.

Pricing

**1 credit per call.** Flat per call — the price does not depend on input size, output size, or parameters. *Wowmachine utilities are deterministic, non-AI media operations (ffmpeg, Pillow, yt-dlp, O...

Features

## Trim Alpha Channel Auto-crop transparent borders from a PNG, with optional padding. The output bounding box hugs the opaque content. ## What it does - Detects the opaque bounding box automatical...

API Examples

curl -X POST \
  /api/v1/model/wowmachine/trim-alpha-channel \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {}
}'

Tags