POST /v1/capabilities/{id}/run, or use it as a step in a
workflow.
Prices are on the live catalogue — they change, and a stale price here would be
worse than none.
image.add_alpha_channel
image → image · Billed per request
Ensure an image has an RGBA (transparency) channel, converting RGB images to RGBA without modifying existing pixels.
When to use
- Pre-compositing — images without alpha cannot be used as overlays; add the channel first.
- Downstream transparency edits — prepare an opaque image for a pipeline step that will make parts transparent.
- Safe no-op — if the image already has alpha, this operation is a no-op, making it safe to include unconditionally.
Inputs & outputs
Parameters
This capability takes no parameters — the alpha channel is always added at full opacity (255).Examples
Convert JPEG to RGBA for compositing
Pricing
Billed per megapixel of output image. See pricing dashboard for current rates.Related capabilities
image.flatten— inverse operation: remove alpha and fill with a solid colourimage.composite— overlay images; both base and overlay should have alpha for best resultsimage.pipeline— chain add_alpha_channel with other ops in a single execution
Examples
Convert RGB → RGBAimage.add_padding
image → image · Billed per request
Extend an image canvas by adding padding on each side with a specified background colour.
When to use
- Square up an image — add equal padding to all sides to make a non-square image fill a square container.
- Add breathing room — provide whitespace around product photos for marketplace listings.
- Pre-print margins — add bleed margins before sending to a print pipeline.
Inputs & outputs
Parameters
Examples
50 px white padding on all sides
Top and bottom letterbox bars
Pricing
Billed per megapixel of output image. See pricing dashboard for current rates.Related capabilities
image.resize— resize to specific dimensions instead of extending canvasimage.flatten— flatten alpha after padding to prepare for JPEG outputimage.pipeline— chain padding with other ops in a single execution
Examples
50px each side whiteimage.composite
image → image · Billed per request
Overlay one image on top of a base image at a specified gravity and blend mode.
When to use
- Add a logo or watermark — place a brand mark in a corner of product images.
- Combine design layers — merge a background with a foreground graphic.
- Apply a frame or border overlay — superimpose a decorative frame PNG over photographs.
Inputs & outputs
Parameters
Examples
Logo in bottom-right corner
Screen-blend texture overlay
Pricing
Billed per megapixel of output image. See pricing dashboard for current rates.Related capabilities
image.resize— resize overlay to desired dimensions before compositingimage.add_alpha_channel— ensure overlay has transparency before blendingimage.pipeline— chain composite with other ops in a single execution
Examples
Logo bottom-rightimage.convert_format
image → image · Billed per request
Re-encode an image to PNG, JPEG, or WebP with optional quality control.
When to use
- Reduce file size — convert PNG screenshots to JPEG or WebP for web delivery.
- Ensure transparency — convert JPEG to PNG or WebP when alpha channel is needed downstream.
- Quality/size trade-off — lower JPEG/WebP quality (e.g. 75) for bandwidth-constrained environments.
Inputs & outputs
Parameters
Examples
PNG to JPEG at quality 80
Convert to WebP for modern browsers
Pricing
Billed per megapixel of output image. See pricing dashboard for current rates.Related capabilities
image.resize— resize before converting formatimage.flatten— remove alpha before converting to JPEG (alpha not supported in JPEG)image.pipeline— chain format conversion with other ops in a single execution
Examples
PNG → JPEG quality 80image.crop
image → image · Billed per request
Extract a rectangular region from an image at a specified offset and size.
When to use
- Focus on subject — cut out the relevant part of a photograph, removing borders or whitespace.
- Prepare for compositing — extract a sub-image before overlaying it on another canvas.
- Aspect-ratio normalization — crop to exact dimensions for social media or print templates.
Inputs & outputs
Parameters
Examples
Center-crop to 400 × 400
Extract top-left banner region
Pricing
Billed per megapixel of output image. See pricing dashboard for current rates.Related capabilities
image.resize— resize to target dimensions before or after croppingimage.rotate— rotate before cropping to align contentimage.pipeline— chain crop with other ops in a single execution
Examples
Center 400×400image.flatten
image → image · Billed per request
Remove the alpha (transparency) channel from an image, filling transparent areas with a solid background colour.
When to use
- Prepare for JPEG output — JPEG does not support transparency; flatten before converting format.
- Consistent rendering — ensure transparent PNGs display a predictable background in all viewers.
- Reduce file size — images without alpha compress more efficiently in JPEG/WebP lossy mode.
Inputs & outputs
Parameters
Examples
Flatten to white background
Flatten to dark background for dark-mode export
Pricing
Billed per megapixel of output image. See pricing dashboard for current rates.Related capabilities
image.convert_format— convert to JPEG after flattening (JPEG requires no alpha)image.add_alpha_channel— inverse operation: add alpha to an opaque imageimage.pipeline— chain flatten with other ops in a single execution
Examples
White backgroundimage.pipeline
image → image · Billed per request
Chain up to 10 image operations in a single request, executing them sequentially on the same image.
When to use
- Reduce round-trips — combine resize + flatten + convert_format in one API call instead of three.
- Atomic image transforms — all operations run as a single Sharp pipeline; the image is never written to intermediate storage.
- Complex workflows — build reusable transform recipes (e.g. “thumbnail preset”) that apply several ops at once.
Inputs & outputs
Parameters
Examples
Resize then convert to JPEG quality 80
Rotate, add padding, flatten, save as PNG
Pricing
Billed per megapixel of output image, once per pipeline execution (not per operation). See pricing dashboard for current rates.Related capabilities
image.resize— standalone resize opimage.convert_format— standalone format conversionimage.composite— standalone compositing
Examples
Resize → JPEG quality 80image.resize
image → image · Billed per request
Scale an image to target dimensions using the Sharp library’s high-performance resize engine.
When to use
- Generate thumbnails — produce preview images at fixed width or height.
- Normalize uploads — standardize user-uploaded images to a maximum size before storage.
- Responsive variants — generate multiple resolutions (1x, 2x) for a responsive image pipeline.
Inputs & outputs
Parameters
Examples
Thumbnail at 300 × 300 cover
Constrain to max 1280 px wide (preserve aspect)
Pricing
Billed per megapixel of output image. See pricing dashboard for current rates.Related capabilities
image.crop— crop to a specific rectangle after resizingimage.convert_format— change format/quality after resizeimage.pipeline— chain resize with other ops in a single execution
Examples
800×600 coverimage.rotate
image → image · Billed per request
Rotate an image by an arbitrary angle in degrees using the Sharp library.
When to use
- Fix orientation — correct portrait photos taken sideways (90°, 180°, 270°).
- Creative angle — apply non-orthogonal rotations (e.g. 15°) for design compositions.
- Normalize EXIF orientation — rotate and strip EXIF so all consumers see the same orientation.
Inputs & outputs
Parameters
Examples
90° clockwise rotation
15° tilt with white background fill
Pricing
Billed per megapixel of output image. See pricing dashboard for current rates.Related capabilities
image.crop— crop after rotating to remove exposed cornersimage.flatten— flatten transparency before converting to JPEGimage.pipeline— chain rotate with other ops in a single execution