Remove text overlays and watermarks from images.
POSThttps://api.aitronos.com/v1/images/remove-text
provider string required
Provider to use. Values: openai, clipdrop.
organization_id string required
Organization ID (org_ prefixed string).
image_file file required
Image file to process (PNG, JPEG, WebP).
mask_file file conditional
Mask file (PNG with alpha channel). Required for OpenAI, optional for Clipdrop.
Clipdrop: Automatically detects and removes text without requiring a mask.
OpenAI: Requires mask file with dimensions matching the source image.
Returns raw image bytes (PNG format) with provider metadata in response headers.
X-Provider- Provider that processed the requestX-Provider-Request-Id- Provider's request IDX-Provider-Credits-Consumed- Credits consumed (Clipdrop only)
Bash
- Bash
- Python
- JavaScript
curl -X POST "https://api.aitronos.com/api/v1/images/remove-text" \
-H "X-API-Key: $FREDDY_API_KEY" \
-F "provider=clipdrop" \
-F "organization_id=org_123abc" \
-F "image_file=@image.jpg"Text
- Text
- JSON
- JSON
- JSON
Content-Type: image/png
X-Provider: clipdrop
X-Provider-Request-Id: req_abc123
X-Provider-Credits-Consumed: 1
[PNG image bytes]