High-performance private gateway for on-the-fly image optimization, video conversion, and secure SMTP form relays.
Resize, crop, and optimize remote images dynamically. Output as high-performance WebP at 81% quality.
Accept arbitrary form inputs via POST, compile into styled HTML emails, and relay them to specified inbox.
Convert remote video URLs or local file uploads to highly compressed, web-optimized WebM using FFmpeg presets.
Generate, cache, and test resized images dynamically.
Processing and rendering WebP image...
Submit image settings to view live WebP render.
Test form POST relay by entering recipient parameters and custom key-values.
Relaying post payload to email client...
Fill form settings and click Send to view API responses.
Transcode media streams to optimized WebM.
Optimizing video... This may take some time depending on file size.
Initiate video transcoding to preview the WebM outcome.
Copy-paste setup instructions to fetch items via this Private CDN node into your live production apps.
<!-- 1. Dynamic WebP Image Sizing -->
<img src="https://cdn.eidcloud.de/?service=image&url=https://site.com/pic.jpg&w=400&h=300&fit=cover" alt="Optimized WebP Grid File">
<!-- 2. Embed Web-Optimized WebM Video directly inside your layout -->
<video controls width="640" height="360">
<source src="https://cdn.eidcloud.de/?service=video&url=https://site.com/video.mp4&w=640" type="video/webm">
Your browser does not support WebM playback.
</video>
<!-- 3. Secure AJAX Form Submission to Mail Relay -->
<script>
const relayContactForm = async () => {
const payload = {
api_key: "cdn_key_secret_123456",
to: "[email protected]",
title: "User Message Subscribed",
// Custom variables
visitor_name: "Ahmed Al-Syrian",
feedback: "Awesome CDN suite, extremely fast and light!"
};
const response = await fetch("https://cdn.eidcloud.de/?service=mail", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": "cdn_key_secret_123456"
},
body: JSON.stringify(payload)
});
const result = await response.json();
console.log("Mail Relay Response:", result);
};
</script>
# 1. Fetch & Download Resized Image locally as WebP
curl -L -o thumbnail.webp "https://cdn.eidcloud.de/?service=image&url=https://site.com/pic.jpg&w=300&h=200&fit=contain"
# 2. Trigger Mail Relay relay using POST Form-Data with API Key
curl -X POST "https://cdn.eidcloud.de/?service=mail" \
-H "X-API-Key: cdn_key_secret_123456" \
-F "[email protected]" \
-F "title=Alert notification" \
-F "message=This is an alert event generated on the server." \
-F "severity=critical"
# 3. Transcode remote video directly to WebM file
curl -L -o optimized.webm "https://cdn.eidcloud.de/?service=video&url=https://site.com/input.mp4&w=1280"
<?php
// PHP Integration client example:
// Post form submission details to Private Mail CDN endpoint
$mailApiUrl = "https://cdn.eidcloud.de/?service=mail";
$fields = [
'api_key' => 'cdn_key_secret_123456',
'to' => '[email protected]',
'title' => 'Web App Diagnostic Report',
// Custom diagnostic metrics
'client_version' => '1.0.0',
'server_load' => '0.32',
'status' => 'OK'
];
$ch = curl_init($mailApiUrl);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query($fields),
CURLOPT_TIMEOUT => 15
]);
$response = curl_exec($ch);
$info = curl_getinfo($ch);
curl_close($ch);
if ($info['http_code'] === 200) {
$resDecoded = json_decode($response, true);
echo "Relay active! Details: " . $resDecoded['message'];
} else {
echo "Relay Error: HTTP status " . $info['http_code'] . "\nResponse: " . $response;
}
?>