v1
latestOpenAPI 3.0.02026-08-062312216.0 KBv2 endpoints
Crop out foreground
Description
The Crop Route is used to remove the background from an image and crop tightly around the foreground or remaining region of interest. It supports both images with and without a background.
Content Moderation
This endpoint includes granular content moderation controls to ensure safe usage across all stages of processing:
- Input Image Moderation – Scans the uploaded image and stops processing if inappropriate or restricted content is detected.
- Output Image Moderation – Evaluates the generated image and blocks the response if it violates safety guidelines.
post/crop_foreground
Headers
api_tokenstring required
Request body
Response
Successful operation (Synchronous Success)