API Gateway Active & Healthy
Supercharged AI Engines for
NID Image & Background Processing
Enterprise-grade API ecosystem powering high-speed PDF extraction, studio portrait background cleaning, and crisp signature isolation.
📄
PDF Image Extractor
Intelligently carves and isolates citizen portrait photos and signature images from NID server copies. Automatically ignores logos and watermarks.
POST /imageextract/images
👤
Photo Background Remover
Adaptive border-seeded flood fill eliminates studio blue, white, and grey backgrounds without eroding white clothing or facial highlights.
POST /remove/rembg
✍️
Signature BG Remover
Adaptive luminance inversion removes paper shadows, stains, and scanner grain while preserving crisp, anti-aliased dark ink strokes.
POST /removebg/rembg
Developer Integration Guide
Effortless integration across all standard programming languages.
<?php
$apiKey = "YOUR_API_KEY_HERE";
$endpoint = "https://python.blackfiretools.sbs/remove/rembg";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $endpoint);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, [
'file' => new CURLFile('/path/to/photo.jpg', 'image/jpeg')
]);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"X-API-Key: " . $apiKey
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
echo "Transparent PNG: " . $result['image'];
?>