Skip to main content
Convertly is a media toolkit, not just a format switcher. The API can power upload cleanup, optimization, batch processing, file packaging, and delivery workflows for products that receive user media. Media tool endpoints accept multipart uploads or sourceUrl remote input. Add async=true to queue heavier work such as video watermarking, PDF previews, poster frames, audio extraction, or large thumbnails. Queued media tools return a jobId and complete through the same GET /api/jobs/{id} endpoint as conversion jobs. Some work is async-only when it is likely to run longer than a normal request or produce large output. Convertly returns 422 with code: "async_required" when a request must be queued. This protects your users from browser timeouts and keeps large generated files in the job system where they can be retried, stored, and delivered through webhooks. Sync remains available for small previews and direct downloads. Queue requests with async=true for video/audio conversion, audio concatenation, video watermarking, large trims, large audio extraction, large GIF previews, large PDF previews, and frame-sequence exports above the direct-download safety limits.

Current tools

API endpoints

Common request options

Build with media tools

See request examples and response shapes for the Media Tools API.

Transform chains and presets

The transform endpoint can resize, crop, change format, and set quality in one request. Pass gravity, crop=smart, or fp=x,y for the same smart-crop behaviour as the image CDN. Use this for upload pipelines where a single source image needs a production-ready derivative.
Smart presets are shortcuts for common business outputs:

Background removal

Use POST /api/media/remove-background for product images, profile photos, thumbnails, and marketplace uploads where the foreground subject should stay and the background should become transparent. PNG is the default recommendation because it preserves transparency. For high-resolution images or batches, send async=true. Convertly runs background removal on our infrastructure — you do not install or configure an ML runtime. Use the model parameter (small, medium, or large) to balance speed and edge quality; see Media tool options for details. This endpoint counts as one Media API operation and does not consume Forma AI units. The file-lightbox Remove BG preview is a separate convenience flow that displays and consumes its Forma AI unit estimate before processing. If the source image already has meaningful transparency, Convertly preserves the existing cutout instead of running segmentation again. Send force=true only when you intentionally want to re-segment an already-transparent image.
Supported output formats are png, webp, and jpg. Use png or webp when you need transparency.

Signed transform URLs

Create a signed URL when your app wants cacheable, CDN-style derivatives without exposing API keys to browsers.
The response returns a URL that can be used directly in an image tag until it expires.

CDN image URLs for stored files

For files already in Convertly Storage, create a signed CDN-style transform URL:
The returned URL has a browser-friendly shape such as /api/cdn/image/{fileId}?w=800&format=webp&q=86&... and can be used in image tags or cached by a CDN until it expires.
Last modified on July 28, 2026